Bug 1304652 - Create direct LUN disk from REST ignores PopulateDirectLUNDiskDescriptionWithLUNId value
Summary: Create direct LUN disk from REST ignores PopulateDirectLUNDiskDescriptionWith...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 3.6.2.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-3.6.3
: 3.6.3
Assignee: Allon Mureinik
QA Contact: Aharon Canan
URL:
Whiteboard:
: 1304654 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-04 09:29 UTC by Raz Tamir
Modified: 2016-03-10 07:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-04 10:09:18 UTC
oVirt Team: Storage
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)
engine log (942.62 KB, text/plain)
2016-02-04 09:29 UTC, Raz Tamir
no flags Details

Description Raz Tamir 2016-02-04 09:29:28 UTC
Created attachment 1121049 [details]
engine log

Description of problem:
The PopulateDirectLUNDiskDescriptionWithLUNId key of engine config:
"When creating direct LUN disk the number of characters from LUN id to populate the description with (-1 = the full id, 0 = none, >0 = number of characters)" (Value Type: Integer)

When creating the direct LUN disk from REST API, this functionality is not working


Version-Release number of selected component (if applicable):
vdsm-4.17.19-0.el7ev.noarch
rhevm-3.6.2.6-0.1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. engine-config -s PopulateDirectLUNDiskDescriptionWithLUNId=-1 # (For full ID)
2. Restart ovirt-engine service
3. Create direct LUN disk using REST API:
POST https://<fqdn>/api/disks 

<disk>
    <alias>direct_lun_test</alias>
    <size>1073741824</size>
    <interface>virtio_scsi</interface>
    <format>cow</format>
    <bootable>false</bootable>
    <lun_storage>
        <type>iscsi</type>
        <logical_unit id="<LUN_ID>">
            <port>3260</port>
            <target><IQN></target>
            <address><IP></address>
        </logical_unit>
    </lun_storage>
</disk>

Actual results:


Expected results:


Additional info:

Comment 1 Raz Tamir 2016-02-04 09:38:08 UTC
*** Bug 1304654 has been marked as a duplicate of this bug. ***

Comment 2 Raz Tamir 2016-02-04 10:09:18 UTC
I just realize that this is GUI feature only


Note You need to log in before you can comment on or make changes to this bug.