Author: Sylvain Bauza <sba...@redhat.com>
Date: Tue Sep 20 16:50:16 2016 +0200
Revert "Set 'serial' to new volume ID in swap volumes"
The below commit introduced a regression by updating the wrong value to
the attachment field when calling the volume-update swap operation where
the value is now the previous volume ID instead of the current volume
ID. It litterally makes it now imposible to detech the volume from the
instance once it has been swapped (even after the first swap).
Given the original issue can be worked around by detaching and then
attaching the volume before swapping back to the original volume, and
because the original bug only impacts an admin API while here it impacts
a user API, it's preferrable to directly revert the regression and then
work on the next cycle about the root problem rather than leaving the
change and try to fix something which is hard to troubleshoot, also
given the lack of functional tests around the volume operations.
This reverts commit be553fb15591c6fc212ef3a07c1dd1cbc43d6866.
** Changed in: nova
Status: In Progress => Fix Released
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
Volume detach is broken when using volume-update first
Status in OpenStack Compute (nova):
https://bugs.launchpad.net/nova/+bug/1490236 was focusing on
correcting the volume-update API so that it was idempotent.
Unfortunately, the merged solution is introducing a huge regression by
incorrectly providing the old volume ID as the new attachment
Consequently, it's now impossible for an end-user to detach a volume if some
operator updated the BDM to point to a different volume.
Evidence here: http://paste.openstack.org/show/582248/
What's unfortunate is that the original bug is about to be worked
around by just detaching/attaching the volume to the instance before
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp