diff options
| author | Wangpan <hzwangpan@corp.netease.com> | 2012-12-18 10:06:15 +0800 |
|---|---|---|
| committer | Wangpan <hzwangpan@corp.netease.com> | 2012-12-19 14:10:06 +0800 |
| commit | 54928267e8807167fb96c8fe414a482833a39465 (patch) | |
| tree | f8c13bb9f70d2cc85b685076bf2e873cbfc16e33 /nova/openstack | |
| parent | 1d864329c6c5320bde0cd30e3b39f2f93bbe9196 (diff) | |
| download | nova-54928267e8807167fb96c8fe414a482833a39465.tar.gz nova-54928267e8807167fb96c8fe414a482833a39465.tar.xz nova-54928267e8807167fb96c8fe414a482833a39465.zip | |
Fix race condition of resize confirmation
Currently, the db update of migration status is after the db update of
instance's vm_state in _finish_resize, so a race condition occurs when an
instance's vm_state is updated but the migration status doesn't, and at
this moment a resize confirmation is performed, then an exception
'MigrationNotFoundByStatus' is raised.
Fixes: bug #1066140
Change-Id: I1dac98cc99d3491c92faaad2b9dcc40d7c0524b5
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
