connector.py is calling iscsiadm 3 times instead of 1 when CHAP is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
From brick/initiator
if connection_
This is inefficient - there is no reason why not call iscsiadm and update all 3 parameters in one call. Multiple '-n' ... '-v'... can be used.
There is no situation in which only one of the parameters will be updated - they are all updated at once.
Certainly poor, and certainly can/should be improved but wouldn't consider this a bug.