[Openstack-operators] Nova snapshot using image-create not working

William Josefsson william.josefson at gmail.com
Fri Nov 4 08:58:24 UTC 2016


Hi list, I have problems creating snapshots with nova image-create on
Liberty/CentOS72. I have small ubuntu instances provisioned booted
from a cinder volume, I stop the instance, then try to create a
snapshot by issuing:

As documented here:
http://docs.openstack.org/user-guide/cli-use-snapshots-to-migrate-instances.html

'nova image-create --poll instance mySnapshot'
This command is successful, and if I do glance image-list I can see
the snapshot there.

My storage backend is CEPH, and I can in neither of my pools, 'vms',
'volumes', or 'images' see this snapshot imaged stored. I also
couldn't find the file in /var/lib/glance.

==> registry.log <==
2016-11-04 15:56:38.413 3525 INFO glance.registry.api.v1.images
[req-b759199e-5180-4fcc-8ef4-a24faae81f3b
4919cce6c5d8455994447aa2bc9e6510 7308a926916848f98f2a6
                 28b36a091ad - - -] Successfully created image
6fd092d9-eab2-4176-94bc-d98bfb7a180f

2016-11-04 15:56:38.414 3525 INFO eventlet.wsgi.server
[req-b759199e-5180-4fcc-8ef4-a24faae81f3b
4919cce6c5d8455994447aa2bc9e6510 7308a926916848f98f2a628b36a091
                          ad - - -] 127.0.0.1 - - [04/Nov/2016
15:56:38] "POST /images HTTP/1.1" 200 1184 0.117521

If I try to dump the image using 'glance image-download --file
snapshot.raw UUID', I get:
NoneType object is not an interator

Can anybody advice how to get snapshots working? thx will



More information about the OpenStack-operators mailing list