kimchi-project / gingers390x

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

Incorrect status data for LUN scanning #4

Closed harche closed 8 years ago

harche commented 8 years ago

Method for returning the LUN Scanning status returns a python dictionary containing 'current' as well 'boot' time status of LUN Scanning. But the add LUN and remove LUN methods are checking against a boolean for LUN scanning status. These leads to rejection of user requests to add LUNs despite of having LUN Scanning disabled.

This can be fixed with correctly reading the return value of the method responsible for reporting LUN Scanning status