VM do not resume if attach an volume when suspended
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack Compute (nova) |
Medium
|
Guangya Liu (Jay Lau) | ||
| Havana |
Undecided
|
Unassigned |
Bug Description
1) nova suspend vm2
2) nova attach vm2 6ac2e985-
3) nova volume-attach vm2 6ac2e985-
4) nova resume vm2
VM failed to resume and nova compute report the following errors.
2013-10-18 12:16:33.175 ERROR nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
2013-10-18 12:16:33.175 TRACE nova.openstack.
Changed in nova: | |
assignee: | nobody → Jay Lau (jay-lau-513) |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
status: | New → In Progress |
tags: | added: havana-backport-potential |
Reviewed: https:/
Committed: http://
Submitter: Jenkins
Branch: master
commit de4158861000ded
Author: Jay Lau <email address hidden>
Date: Thu Nov 14 22:12:27 2013 +0800
Add context as parameter for resume
Now for KVM when resume an instance with block storage, nova
compute will throw exception and failed to resume the VM.
The root cause is that when resume a VM with block storage,
libvirt driver needs to call conductor via rpcapi to update
block device, but the function of resume() do not have context,
this will cause RPC api failed.
Change-Id: I712777ed1d893a
Closes-Bug: #1241337
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → icehouse-1 |
Fix proposed to branch: stable/havana
Review: https:/
Changed in nova: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit b56453526f52b6f
Author: Jay Lau <email address hidden>
Date: Thu Nov 14 22:12:27 2013 +0800
Add context as parameter for resume
Now for KVM when resume an instance with block storage, nova
compute will throw exception and failed to resume the VM.
The root cause is that when resume a VM with block storage,
libvirt driver needs to call conductor via rpcapi to update
block device, but the function of resume() do not have context,
this will cause RPC api failed.
Change-Id: I712777ed1d893a
Closes-Bug: #1241337
(cherry picked from commit de4158861000ded
tags: | added: in-stable-havana |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/52581
Review: https:/