nova/nova/compute
Sylvain Bauza ee2c0a00db 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
2016-09-20 19:30:55 +00:00
..
monitors Fix invalid import order 2016-07-04 11:23:52 +05:30
__init__.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
api.py Add members in InstanceGroup object members field 2016-09-17 08:07:09 +00:00
arch.py Add amd64 to arch.canonicalize() 2014-09-08 08:08:00 -07:00
build_results.py Compute Add build_instance hook in compute manager 2014-12-04 10:12:00 -05:00
cells_api.py Handle ObjectActionError during cells instance delete 2016-09-08 15:42:36 -04:00
claims.py Use flavor attributes instead of deprecated instance resources 2016-07-12 08:47:56 -07:00
cpumodel.py Add VirtCPUModel nova objects 2015-02-09 10:26:10 +11:00
flavors.py Return 400 HTTP error for invalid flavor attributes 2016-05-26 09:49:39 +05:30
hv_type.py Add 'lxd' to the list of recognized hypervisors 2015-11-17 08:56:20 +00:00
instance_actions.py Report instance-actions for live migration force complete API 2016-03-10 15:02:35 +00:00
manager.py Revert "Set 'serial' to new volume ID in swap volumes" 2016-09-20 19:30:55 +00:00
power_state.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00
resource_tracker.py Clean up allocation when update available resources 2016-09-14 15:21:58 -07:00
rpcapi.py Move cell message queue switching and add caching 2016-08-31 22:33:17 +00:00
stats.py Address nits in I83a5f06ad 2016-03-09 13:19:59 +00:00
task_states.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00
utils.py Transform instance.delete notifications 2016-06-30 16:54:51 +02:00
vm_mode.py Convert nova.compute.* to use instance dot notation 2015-02-25 17:21:36 -05:00
vm_states.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00