nova/nova/virt
Sylvain Bauza eae8775f87 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 be553fb155.

Change-Id: Ibad1afa5860d611e0e0ea0ba5e7dc98ae8f07190
Closes-Bug: #1625660
(cherry picked from commit ee2c0a00db)
2016-09-21 18:21:31 +00:00
..
disk Merge "Don't use locals() and globals(), use a dict instead" 2016-07-25 20:51:16 +00:00
hyperv Merge "Add support for vd2 user context to other drivers" 2016-08-31 02:40:59 +00:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic Merge "Add support for vd2 user context to other drivers" 2016-08-31 02:40:59 +00:00
libvirt Revert "Set 'serial' to new volume ID in swap volumes" 2016-09-21 18:21:31 +00:00
vmwareapi VMware: Refactor the image transfer 2016-09-08 23:56:33 +00:00
xenapi Merge "Add support for vd2 user context to other drivers" 2016-08-31 02:40:59 +00:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
block_device.py Remove virt.block_device._NoLegacy exception 2016-06-16 09:31:25 +01:00
configdrive.py Config options: centralize "configdrive" options 2016-04-06 09:35:51 +03:00
diagnostics.py
driver.py virt: handle unicode when logging LifecycleEvents 2016-09-08 11:14:52 -04:00
event.py Add 'suspended' lifecycle event 2015-04-03 03:59:20 +03:00
fake.py driver.pre_live_migration migrate_data is always an object 2016-08-22 12:12:24 -04:00
firewall.py Fix spelling mistake 2016-06-28 08:41:09 +02:00
hardware.py Throw exception if numa_nodes is not set to integer greater than 0 2016-09-09 14:53:56 +02:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py virt/image: between two words without a space in output message 2016-08-11 20:27:58 +08:00
interfaces.template Fixes interfaces template identification issue 2014-12-07 17:52:34 +02:00
netutils.py Fix network mtu in network_metadata 2016-05-15 11:45:23 +02:00
osinfo.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
storage_users.py Use oslo.log 2015-02-22 07:56:40 -05:00
virtapi.py Remove unused provider firewall rules functionality in nova 2016-02-01 15:50:04 +01:00
volumeutils.py nova.utils._get_root_helper() should be public 2015-08-19 04:00:50 +00:00
watchdog_actions.py