Ask Your Question

Snapshot failure with VMwareVCDriver

asked 2013-09-22 20:40:09 -0500

pocketlion gravatar image

updated 2013-09-23 16:16:35 -0500

I am unable to get snapshots working in my devstack setup with the VCDriver.

When I tried to snapshot a vm instance, in the glance image-list, i could firstly see a new image was create and the status was "saving", few seconds later the created image entry disappeared from the image list and when i check the vCenter, in the task history, i found the "Create virtual machine snapshot" operation is completed but there is an error of the "Copy virtual disk" operation: "The requested operation is not implemented by the server."

Anyone has the same problem and know how to solve it? Is this a bug of vmware api with the devstack?


updated info on sep23

After git clone the newest devstack repository on sep23 2013 and reinstall devstack, when i did a snapshot it still failed.

This time, from the vCenter task history i could see both the "Create virtual machine snapshot" and the "Copy virtual disk" operation are completed successfully. There was a "Copy virtual disk" operation failure before and now this issue is fixed in the new code i think.

From the horizon, the new created snapshot image status was firstly "queued" and then "deleted". And the snapshot image is not in the list when i do a nova image-list, glance image-list or look at the horizon image&snapshot list.

From the screen "g-reg" log, I found it seems like the snapshot image was created and then deleted before glance upload the image.

The output log is shown as followed:

2013-09-23 12:49:46.634 13386 INFO glance.registry.api.v1.images [61f1aefc-e56b-481e-ac5d-23e5c8a1ab6c 1e1e314becc94d2ebe8246f0a36ca99a 09ee20f776914ad7983bb2ace867623a] Successfully retrieved image 66e47135-8576-49af-a474-47a11de0c46d 2013-09-23 12:50:09.126 13386 DEBUG keystoneclient.middleware.auth_token [-] Authenticating user token __call__ /opt/stack/python-keystoneclient/keystoneclient/middleware/ 2013-09-23 12:50:09.126 13386 DEBUG keystoneclient.middleware.auth_token [-] Removing headers from request environment: X-Identity-Status,X-Domain-Id,X-Domain-Name,X-Project-Id,X-Project-Name,X-Project-Domain-Id,X-Project-Domain-Name,X-User-Id,X-User-Name,X-User-Domain-Id,X-User-Domain-Name,X-Roles,X-Service-Catalog,X-User,X-Tenant-Id,X-Tenant-Name,X-Tenant,X-Role _remove_auth_headers /opt/stack/python-keystoneclient/keystoneclient/middleware/ 2013-09-23 12:50:09.126 13386 DEBUG keystoneclient.middleware.auth_token [-] Returning cached token a06afb4e1371592a52ee6cb53b0e2bae _cache_get /opt/stack/python-keystoneclient/keystoneclient/middleware/ 2013-09-23 12:50:09.127 13386 DEBUG glance.api.policy [-] Loaded policy rules: {u'context_is_admin': 'role:admin', u'default': '@', u'manage_image_cache': 'role:admin'} load_rules /opt/stack/glance/glance/api/ 2013-09-23 12:50:09.127 13386 DEBUG routes.middleware [-] Matched GET /images/66e47135-8576-49af-a474-47a11de0c46d __call__ /usr/lib/python2.7/dist-packages/routes/ 2013-09-23 12:50:09.127 13386 DEBUG routes.middleware [-] Route path: '/images/{id}', defaults: {'action': u'show', 'controller': <glance.common.wsgi.resource 0x279ba50="" at="" object="">} __call__ /usr/lib/python2.7/dist-packages/routes/ 2013-09-23 12:50:09.127 13386 DEBUG routes.middleware [-] Match dict: {'action': u'show', 'controller': <glance.common.wsgi.resource 0x279ba50="" at="" object="">, 'id': u'66e47135-8576-49af-a474-47a11de0c46d'} __call__ /usr/lib/python2.7/dist-packages/routes/ 2013-09-23 12:50:09.138 13386 INFO glance.registry.api.v1.images [fa8c8425-0637-45cc-a80f-c188a787ad41 1e1e314becc94d2ebe8246f0a36ca99a ...

edit retag flag offensive close merge delete


This error looks different. We are taking a look at it and I'll update again. Thanks for the logs

tjones-l gravatar imagetjones-l ( 2013-09-24 22:28:27 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-22 22:49:09 -0500

tjones-l gravatar image

Yes this is a bug in the Havana vmware driver. Please see which has recently merged

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-09-22 20:40:09 -0500

Seen: 331 times

Last updated: Sep 23 '13