Extending SCSI multipath doesn't work if Nova configuration changed

Bug #2009157 reported by Gorka Eguileor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-brick
New
Medium
Rajat Dhasmana

Bug Description

Our current extend volume code in linuxscsi.py only extends a multipath if the connector has been instantiated with `use_multipath=True`, but that wrong, because what's important is whether the volume was attached with multipath and the VM is using a multipath device, not if the current value of the parameter.

This should be easy to test:

1- Start Nova compute service with:
  [libvirt]
  volume_use_multipath = True

2- Attach a cinder volume to an instance

3- Restart nova cpu after changing configuration configuration to
  [libvirt]
  volume_use_multipath = False

4- Extend the volume

Changed in os-brick:
importance: Undecided → Medium
Changed in os-brick:
assignee: nobody → Rajat Dhasmana (whoami-rajat)
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.