kimchi-project / gingers390x

Wok plug-in focused in s390x management
Other
6 stars 8 forks source link

LUN discovery fails if port has LUNs which are not LUN0 #33

Closed harche closed 8 years ago

harche commented 8 years ago

Hi,

The code incorrectly skips the adding LUN0 to given FCP port even if LUN0 doesnt' exits. The issue can be fixed by checking if LUN0 exists for the given port and determining if LUN0 needs to be added or not.