Ask Your Question
0

snapshot from dashbord stuck in qeued

asked 2011-10-14 10:38:13 -0600

otaku gravatar image

I have a single-machine http://devstack.org install of diablo. When I try to create a snapshot with the dashboard it shows up in the list, but it stays in the queued status forever.

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
0

answered 2011-10-18 15:01:41 -0600

otaku gravatar image

Yes, output attached:

2011-10-18 16:58:44,258 DEBUG nova.utils [-] Running cmd (subprocess): qemu-img convert -f qcow2 -O ami -s d0a367781b6e44bb8ebf3dc37367c281 /opt/stack/nova/nova/..//instances/instance-00000003/disk /tmp/tmp80DzPT/d0a367781b6e44bb8ebf3dc37367c281 from (pid=1886) execute /opt/stack/nova/nova/utils.py:165 2011-10-18 16:58:44,313 INFO nova.compute.manager [-] Updating host status 2011-10-18 16:58:54,120 DEBUG nova.utils [-] Result was 1 from (pid=1886) execute /opt/stack/nova/nova/utils.py:180 2011-10-18 16:58:54,121 ERROR nova.exception [-] Uncaught exception (nova.exception): TRACE: Traceback (most recent call last): (nova.exception): TRACE: File "/opt/stack/nova/nova/exception.py", line 98, in wrapped (nova.exception): TRACE: return f(args, *kw) (nova.exception): TRACE: File "/opt/stack/nova/nova/virt/libvirt/connection.py", line 459, in snapshot (nova.exception): TRACE: utils.execute(qemu_img_cmd) (nova.exception): TRACE: File "/opt/stack/nova/nova/utils.py", line 188, in execute (nova.exception): TRACE: cmd=' '.join(cmd)) (nova.exception): TRACE: ProcessExecutionError: Unexpected error while running command. (nova.exception): TRACE: Command: qemu-img convert -f qcow2 -O ami -s d0a367781b6e44bb8ebf3dc37367c281 /opt/stack/nova/nova/..//instances/instance-00000003/disk /tmp/tmp80DzPT/d0a367781b6e44bb8ebf3dc37367c281 (nova.exception): TRACE: Exit code: 1 (nova.exception): TRACE: Stdout: '' (nova.exception): TRACE: Stderr: "qemu-img: Unknown file format 'ami'\n" (nova.exception): TRACE: 2011-10-18 16:58:54,162 ERROR nova.rpc [-] Exception during message handling (nova.rpc): TRACE: Traceback (most recent call last): (nova.rpc): TRACE: File "/opt/stack/nova/nova/rpc/impl_kombu.py", line 620, in _process_data (nova.rpc): TRACE: rval = node_func(context=ctxt, *node_args) (nova.rpc): TRACE: File "/opt/stack/nova/nova/exception.py", line 98, in wrapped (nova.rpc): TRACE: return f(args, *kw) (nova.rpc): TRACE: File "/opt/stack/nova/nova/compute/manager.py", line 655, in snapshot_instance (nova.rpc): TRACE: self.driver.snapshot(context, instance_ref, image_id) (nova.rpc): TRACE: File "/opt/stack/nova/nova/exception.py", line 129, in wrapped (nova.rpc): TRACE: raise Error(str(e)) (nova.rpc): TRACE: Error: Unexpected error while running command. (nova.rpc): TRACE: Command: qemu-img convert -f qcow2 -O ami -s d0a367781b6e44bb8ebf3dc37367c281 /opt/stack/nova/nova/..//instances/instance-00000003/disk /tmp/tmp80DzPT/d0a367781b6e44bb8ebf3dc37367c281 (nova.rpc): TRACE: Exit code: 1 (nova.rpc): TRACE: Stdout: '' (nova.rpc): TRACE: Stderr: "qemu-img: Unknown file format 'ami'\n" (nova.rpc): TRACE:

Regards, Michael

edit flag offensive delete link more
0

answered 2011-10-14 15:55:46 -0600

vishvananda gravatar image

There is a bug relating to snapshotting ami images. They are exported as type 'ami' instead of 'raw'. I would guess that you will see a ProcessExecutionError in the nova-compute log. This should be a fairly easy fix but it hasn't been made yet.

Vish

On Oct 14, 2011, at 3:41 AM, Michael Hempel wrote:

New question #174278 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

I have a single-machine devstack.org install of diablo. When I try to create a snapshot with the dashboard it shows up in the list, but it stay in the queued status forever.


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-10-14 14:09:52 -0600

You should look at the Nova logs to see if you see any other relevant information. You can also search the Nova bugs to see if there are any relevant bugs related to this.

Also, check manually with nova to make sure that it is not a dashboard problem.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-10-14 10:38:13 -0600

Seen: 773 times

Last updated: Oct 18 '11