Comment 126 for bug 2004555

Revision history for this message
Rajat Dhasmana (whoami-rajat) wrote : Re: [ussuri] Wrong volume attachment - volumes overlapping when connected through iscsi on host

Hi Brian,

One comment regarding the glance store patch, we also have another disconnect_volume call in the attachment_state_manager[1] so we will need to pass the force flag there as well.
This file is for handling multiattach volumes where we only disconnect from os-brick if we are on the last attachment.

I also checked the backport patches by Gorka for Zed, Yoga and Xena and they do handle this case so we shouldn't require revised backports.

[1] https://github.com/openstack/glance_store/blob/6741951591ca7d6144f6089678df8cee4f0a7030/glance_store/common/attachment_state_manager.py#L233