Ask Your Question
3

Snapshots stay in queued status

asked 2012-07-25 11:36:54 -0600

mx-chilly gravatar image

I've got an Openstack setup with one controller node (glance, keystone, horizon, nova-* (except nova-compute)) and three compute nodes. I wanted to create a snapshot of a vm running on one of the compute nodes, by using the option in the horizon dashboard.

What happens is that the snapshot gets listed as a snapshot, but with the status queued. And from there on nothing happens anymore.

In the nova-compute.log on the compute host I can see these entries: 2012-07-25 12:45:56 TRACE nova.rpc.amqp Traceback (most recent call last): 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 253, in _process_data 2012-07-25 12:45:56 TRACE nova.rpc.amqp rval = node_func(context=ctxt, *node_args) 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped 2012-07-25 12:45:56 TRACE nova.rpc.amqp return f(args, *kw) 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 183, in decorated_function 2012-07-25 12:45:56 TRACE nova.rpc.amqp sys.exc_info()) 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ 2012-07-25 12:45:56 TRACE nova.rpc.amqp self.gen.next() 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function 2012-07-25 12:45:56 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, *kwargs) 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 952, in snapshot_instance 2012-07-25 12:45:56 TRACE nova.rpc.amqp self.driver.snapshot(context, instance_ref, image_id) 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped 2012-07-25 12:45:56 TRACE nova.rpc.amqp return f(args, *kw) 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 714, in snapshot 2012-07-25 12:45:56 TRACE nova.rpc.amqp image_file) 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 306, in update 2012-07-25 12:45:56 TRACE nova.rpc.amqp _reraise_translated_image_exception(image_id) 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 304, in update 2012-07-25 12:45:56 TRACE nova.rpc.amqp image_meta = client.update_image(image_id, image_meta, data) 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/glance/client.py", line 195, in update_image 2012-07-25 12:45:56 TRACE nova.rpc.amqp res = self.do_request("PUT", "/images/%s" % image_id, body, headers) 2012-07-25 12:45:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/glance/common/client.py", line 58, in wrapped 2012-07-25 12:45:56 TRACE nova.rpc.amqp return func(self ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2012-07-25 11:50:53 -0600

jaypipes gravatar image

This seems like a bug in Horizon. It is not supplying the container_format required parameter to the image_add() method of the client. I will turn this into a bug on Horizon for you.

Best. -jay

edit flag offensive delete link more
0

answered 2012-07-31 08:08:12 -0600

Hi,

There is possible issue with the versions, that might cause this problem. Would you please specify what are the versions of Horizon, python-glanceclient and glance installed in your setup?

Thanks. Tihomir

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: 2012-07-25 11:36:54 -0600

Seen: 1,448 times

Last updated: Jul 31 '12