Failure on resize should set instance to ERROR
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Brian Waldon |
Bug Description
When I resize an instance and the 'migration' plugin fails, I see the following traceback in the logs and the instance sits in 'RESIZE' status (visible through OSAPI) indefinitely. We should handle this failure and set the instance to ERROR so it can be deleted.
2011-11-03 10:04:08,049 ERROR nova.rpc [-] Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: rval = node_func(
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return f(*args, **kw)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: function(self, context, instance_id, *args, **kwargs)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: context, instance_ref, migration_
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return self._vmops.
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: self._migrate_
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: self._session.
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return done.wait()
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return hubs.get_
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return self.greenlet.
(nova.rpc): TRACE: Failure: ['XENAPI_
(nova.rpc): TRACE:
summary: |
- Xen failure on resize should set instance to ERROR + Failure on resize should set instance to ERROR |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |
Reviewed: https:/ /review. openstack. org/1297 github. com/openstack/ nova/commit/ ca6295e5dd238a8 8b731c3bf3e3370 07d12b6c1c
Committed: http://
Submitter: Jenkins
Branch: master
status fixcommitted
done
commit ca6295e5dd238a8 8b731c3bf3e3370 07d12b6c1c
Author: Brian Waldon <email address hidden>
Date: Thu Nov 3 13:40:56 2011 -0400
Gracefully handle Xen resize failure
Fixes bug 885723
Change-Id: I8cd04a88f809f4 9141dc6aa5be721 7811e0141e3