Get host by connector does not validate for volume name mapping during terminate connection

Bug #1892034 reported by Chhavi Agarwal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Undecided
Girish_IBM

Bug Description

During terminate_connection we pass the volume_name to ensure that volume mapping for the host is removed.

Currently get_host_by_connector() ignore the volume_name validation if the host is found in the connector wwpns

This causes issues in some scenarios where WWPNS from different host entry are passed

Proposed fix: if volume_name is passed in get_host_by_connector it should also validate if the host_name selected has mapping for the given volume.

Girish_IBM (girishibm)
Changed in cinder:
assignee: nobody → Girish Chilukuri (girishchilukuri)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/753134

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 18.0.0.0rc1

This issue was fixed in the openstack/cinder 18.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.