Active IQ Unified Manager Discussions

WFA 4.2 / CDOT Pack 1.5.0 - "Create LUN" reservation problem

MartinRohrbach
2,735 Views

Our automated tests found another problem in the new CDOT pack.

 

We create multiple LUNs in the same workflow using a loop and use previous LUN names to create "incrementing" LUN names. This specifically works because the first LUN would create a reservation so the second LUN sees the first LUN when the next name is created and so on.

 

That worked fine with the previous CDOT pack but fails with the 1.5.0 pack. My only explanation is a change I have found in the reservation, it starts as such:

 

INSERT               
INTO
    cm_storage.lun
    SELECT
        '${OSType}' /* os_type*/,
        NULL /*id*/,
        '${LunName}' /*name*/,

However, OSType is definitely not the first field in the dictionary entry for cm_storage.LUN. The correct reservation should start (as it did before) like this

 

 

INSERT
INTO
    cm_storage.lun
    SELECT
        NULL, -- id
        '${LunName}', -- name
        '${OSType}', -- os_type

 

The workaround is obviously to clone the command and use the fixed reservation but I'd rather stick to certified commands.

 

@netapp: care to open up another bug for me? 😄

2 REPLIES 2

sivakumar_sekar
2,667 Views

Thanks for the details Martin.

We will check and updates the details.

 

 

-Shiva

sivakumar_sekar
2,625 Views

New burt is raised and it will be fixed in DB.0 release

 

New bug 1174363 [3B] - "WFA_DB.0:Create LUN command reservation is not working.

 

 

-Shiva

Public