Migrate of instance with no local storage fails with exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Dietz |
Bug Description
Since migration operates by means of a resize, the code attempts to resize the instance from 0 to 0 GB.
2011-07-13 01:14:36,323 DEBUG nova.virt.
This results in an exception:
2011-07-13 01:14:36,607 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/home/
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/home/
(nova.exception): TRACE: function(self, context, instance_id, *args, **kwargs)
(nova.exception): TRACE: File "/home/
(nova.exception): TRACE: self.driver.
(nova.exception): TRACE: File "/home/
(nova.exception): TRACE: self._vmops.
(nova.exception): TRACE: File "/home/
(nova.exception): TRACE: self.resize_
(nova.exception): TRACE: File "/home/
(nova.exception): TRACE: self._session.
(nova.exception): TRACE: File "/home/
(nova.exception): TRACE: return tpool.execute(f, *args)
(nova.exception): TRACE: File "/usr/local/
(nova.exception): TRACE: rv = meth(*args,
(nova.exception): TRACE: File "/usr/local/
(nova.exception): TRACE: return self.__
(nova.exception): TRACE: File "/usr/local/
(nova.exception): TRACE: result = _parse_
(nova.exception): TRACE: File "/usr/local/
(nova.exception): TRACE: raise Failure(
(nova.exception): TRACE: Failure: ['SR_BACKEND_
Related branches
- Jason Kölker (community): Disapprove
- Johannes Erdfelt (community): Needs Fixing
-
Diff: 294 lines (+134/-50)6 files modifiednova/compute/manager.py (+15/-9)
nova/tests/test_compute.py (+3/-3)
nova/tests/test_xenapi.py (+90/-21)
nova/virt/driver.py (+3/-2)
nova/virt/xenapi/vmops.py (+18/-12)
nova/virt/xenapi_conn.py (+5/-3)
- Trey Morris (community): Approve
- Rick Harris (community): Approve
- Johannes Erdfelt (community): Approve
-
Diff: 485 lines (+163/-79)10 files modifiednova/compute/manager.py (+15/-9)
nova/tests/api/openstack/test_extensions.py (+19/-19)
nova/tests/api/openstack/test_limits.py (+7/-7)
nova/tests/test_compute.py (+3/-3)
nova/tests/test_db_api.py (+2/-2)
nova/tests/test_libvirt.py (+1/-1)
nova/tests/test_xenapi.py (+90/-21)
nova/virt/driver.py (+3/-2)
nova/virt/xenapi/vmops.py (+18/-12)
nova/virt/xenapi_conn.py (+5/-3)
Changed in nova: | |
assignee: | nobody → Matt Dietz (cerberus) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-4 |
Changed in nova: | |
milestone: | diablo-4 → 2011.3 |
status: | Fix Committed → Fix Released |