boot from iso doesn't work with snapshot with libvirt
Bug #1023492 reported by
Yun Mao
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Mark McLoughlin | ||
qemu-kvm |
Unknown
|
Unknown
|
Bug Description
how to reproduce: boot from an iso image, then take a snapshot. error:
2012-07-11 11:48:39 TRACE nova.openstack.
2012-07-11 11:48:39 TRACE nova.openstack.
2012-07-11 11:48:39 TRACE nova.openstack.
2012-07-11 11:48:39 TRACE nova.openstack.
2012-07-11 11:48:39 TRACE nova.openstack.
It tries to snapshot the root device which is the iso file.
Changed in qemu-kvm: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-3 → 2012.2 |
To post a comment you must log in.
We are having the same issue right now, we built CentOS 6.2 64-bit from an ISO image, I try to snapshot it as a baseline image and I get the following: manager [req-86422db7- f199-4870- a1b6-66cd26a27c 43 b814182cb2ef464 9add2f4194401cb 8e 35dd40c123c74d9 0841c9802b10612 29] instance 80aa96a7- 405e-4231- a91a-ac8ca94354 1a: snapshotting manager [-] Found 1 in the database and 0 on the hypervisor. libvirt. connection [-] Compute_service record updated for artim-cloud01. td.teradata. com manager [-] Updating host status f199-4870- a1b6-66cd26a27c 43 b814182cb2ef464 9add2f4194401cb 8e 35dd40c123c74d9 0841c9802b10612 29] Exception during message handling python2. 6/site- packages/ nova/rpc/ amqp.py" , line 253, in _process_data context= ctxt, **node_args) python2. 6/site- packages/ nova/exception. py", line 114, in wrapped python2. 6/site- packages/ nova/compute/ manager. py", line 183, in decorated_function python2. 6/contextlib. py", line 23, in __exit__ python2. 6/site- packages/ nova/compute/ manager. py", line 177, in decorated_function python2. 6/site- packages/ nova/compute/ manager. py", line 952, in snapshot_instance snapshot( context, instance_ref, image_id) python2. 6/site- packages/ nova/exception. py", line 114, in wrapped python2. 6/site- packages/ nova/virt/ libvirt/ connection. py", line 708, in snapshot python2. 6/site- packages/ nova/virt/ libvirt/ utils.py" , line 223, in extract_snapshot *qemu_img_ cmd) python2. 6/site- packages/ nova/virt/ libvirt/ utils.py" , line 35, in execute *args, **kwargs) python2. 6/site- packages/ nova/utils. py", line 243, in execute
2012-07-12 10:10:04 AUDIT nova.compute.
2012-07-12 10:11:09 WARNING nova.compute.
2012-07-12 10:11:11 INFO nova.virt.
2012-07-12 10:11:11 INFO nova.compute.
2012-07-12 10:11:15 ERROR nova.rpc.amqp [req-86422db7-
2012-07-12 10:11:15 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-07-12 10:11:15 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-12 10:11:15 TRACE nova.rpc.amqp rval = node_func(
2012-07-12 10:11:15 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-12 10:11:15 TRACE nova.rpc.amqp return f(*args, **kw)
2012-07-12 10:11:15 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-12 10:11:15 TRACE nova.rpc.amqp sys.exc_info())
2012-07-12 10:11:15 TRACE nova.rpc.amqp File "/usr/lib64/
2012-07-12 10:11:15 TRACE nova.rpc.amqp self.gen.next()
2012-07-12 10:11:15 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-12 10:11:15 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs)
2012-07-12 10:11:15 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-12 10:11:15 TRACE nova.rpc.amqp self.driver.
2012-07-12 10:11:15 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-12 10:11:15 TRACE nova.rpc.amqp return f(*args, **kw)
2012-07-12 10:11:15 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-12 10:11:15 TRACE nova.rpc.amqp image_format)
2012-07-12 10:11:15 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-12 10:11:15 TRACE nova.rpc.amqp execute(
2012-07-12 10:11:15 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-12 10:11:15 TRACE nova.rpc.amqp return utils.execute(
2012-07-12 10:11:15 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-12 10:11:15 TRACE nova.rpc.amqp cmd=' '.join(cmd))
2012-07-12 10:11:15 TRACE nova.rpc.amqp Proc...