Public bug reported: Description ======================= Using "nova volume update" will only succeed the first time when called on a particular connection.
Steps to Reproduce ======================= This was found while creating test coverage for swap volume, so the exact reproduce steps are in the Tempest test https://review.openstack.org/#/c/258593/, but to sum it up 1) Create server 2) Create vol A and attach to server 3) Create vol B 4) nova volume update server <A> <B> 5) nova volume update server <B> <A> (this will fail Expected Result ===================== Should be able to swap two volumes, then swap them back to get to the original state Actual Result ===================== After swapping two volumes, any attempt to swap them back will fail while grabbing the BDM (https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L1414) ** Affects: nova Importance: Undecided Assignee: Ryan McNair (rdmcnair) Status: New ** Changed in: nova Assignee: (unassigned) => Ryan McNair (rdmcnair) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1569419 Title: Nova volume update fails if swapping a volume more than once on the same connection Status in OpenStack Compute (nova): New Bug description: Description ======================= Using "nova volume update" will only succeed the first time when called on a particular connection. Steps to Reproduce ======================= This was found while creating test coverage for swap volume, so the exact reproduce steps are in the Tempest test https://review.openstack.org/#/c/258593/, but to sum it up 1) Create server 2) Create vol A and attach to server 3) Create vol B 4) nova volume update server <A> <B> 5) nova volume update server <B> <A> (this will fail Expected Result ===================== Should be able to swap two volumes, then swap them back to get to the original state Actual Result ===================== After swapping two volumes, any attempt to swap them back will fail while grabbing the BDM (https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L1414) To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1569419/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

