snapshot from dashbord stuck in qeued

Asked by Michael Hempel on 2011-10-14

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 stays in the queued status forever.

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
2011-10-14
Last reply:
2011-10-14
Todd Deshane (todd-deshane) said : #1

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.

Vish Ishaya (vishvananda) said : #2

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/+question/174278
>
> 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).

Michael Hempel (otaku) said : #3

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

Can you help with this problem?

Provide an answer of your own, or ask Michael Hempel for more information if necessary.

To post a message you must log in.