Using Multipath, iscsi sessions and multipath device's being mangled by nova during instance delete operations
Customer: When multipath is enabled with Nova, a different codepath is executed for most functions, such as connect_volume and disconnect_volume.
A series of loops exist within connect_volume when multipath is enabled
An iscsiadm discover is ran against the portal information associated with the instance, in our case a portal on the nimble storage array.
For every iqn discovered, _connect_
In our test scenario, with 183 instances - this results in 183*2 IQN targets being discovered, and logged into, every single time an instance is launched on that node. With multiple instance creation this compounds.
These calls can take upwards of 1 second to run * the number of times.
Additionally there seems to be other code paths with similar loops with iSCSI behaviour.
We may have just addressed the connect_volume loop as well. The IQN of the iSCSI device is always the same, although the portal may be different. iscsi_propertie
such as
for ip, iqn in self._get_
if iqn in iscsi_propertie
props = iscsi_propertie
props['
props['target_iqn'] = iqn
self._connect_
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Loren Erwin
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by