Bug 1304654 - Create direct LUN disk from REST ignores PopulateDirectLUNDiskDescriptionWithLUNId value
Summary: Create direct LUN disk from REST ignores PopulateDirectLUNDiskDescriptionWith...
Keywords:
Status: CLOSED DUPLICATE of bug 1304652
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: Storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-04 09:30 UTC by Raz Tamir
Modified: 2016-03-10 07:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-02-04 09:38:08 UTC
oVirt Team: Storage
Embargoed:
amureini: ovirt-3.6.z?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Raz Tamir 2016-02-04 09:30:23 UTC
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

*** This bug has been marked as a duplicate of bug 1304652 ***


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