← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1495429] [NEW] Vmware: Failed to snapshot an instance with a big root disk.

 

Public bug reported:

python-nova-2015.1.1-1.el7.noarch
openstack-nova-common-2015.1.1-1.el7.noarch
python-novaclient-2.23.0-1.el7.noarch
openstack-nova-compute-2015.1.1-1.el7.noarch
python-oslo-vmware-0.11.1-1.el7.noarch

I can't snap an instance if the root disk is too large. (>8GB)

Snap in Vcenter works, OVF export works, DL image on glance node works,
but after the DL, compute have trace and delete glance image.

Trace in compute.log ==>

2015-09-14 10:46:00.003 10248 DEBUG oslo_vmware.api [-] Fault list: [ManagedObjectNotFound] _invoke_api /usr/lib/python2.7/site-packages/oslo_vmware/api.py:326
2015-09-14 10:46:00.004 10248 DEBUG oslo_vmware.exceptions [-] Fault ManagedObjectNotFound not matched. get_fault_class /usr/lib/python2.7/site-packages/oslo_vmware/exceptions.py:250
2015-09-14 10:46:00.004 10248 DEBUG nova.virt.vmwareapi.vm_util [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Destroying the VM destroy_vm /usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vm_util.py:1304
2015-09-14 10:46:00.004 10248 DEBUG oslo_vmware.api [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
2015-09-14 10:46:00.028 10248 DEBUG oslo_vmware.api [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] Waiting for the task: (returnval){
2015-09-14 10:46:00.028 10248 DEBUG oslo_vmware.api [-] Invoking VIM API to read info of task: (returnval){
2015-09-14 10:46:00.029 10248 DEBUG oslo_vmware.api [-] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
2015-09-14 10:46:05.029 10248 DEBUG oslo_vmware.api [-] Invoking VIM API to read info of task: (returnval){
2015-09-14 10:46:05.030 10248 DEBUG oslo_vmware.api [-] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
2015-09-14 10:46:05.056 10248 DEBUG oslo_vmware.api [-] Task: (returnval){
2015-09-14 10:46:05.056 10248 INFO nova.virt.vmwareapi.vm_util [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Destroyed the VM
2015-09-14 10:46:05.056 10248 DEBUG nova.virt.vmwareapi.vmops [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Deleting Snapshot of the VM instance _delete_vm_snapshot /usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py:759
2015-09-14 10:46:05.057 10248 DEBUG oslo_vmware.api [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
2015-09-14 10:46:05.084 10248 DEBUG oslo_vmware.api [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] Waiting for the task: (returnval){
2015-09-14 10:46:05.084 10248 DEBUG oslo_vmware.api [-] Invoking VIM API to read info of task: (returnval){
2015-09-14 10:46:05.085 10248 DEBUG oslo_vmware.api [-] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
2015-09-14 10:46:10.085 10248 DEBUG oslo_vmware.api [-] Invoking VIM API to read info of task: (returnval){
2015-09-14 10:46:10.086 10248 DEBUG oslo_vmware.api [-] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
2015-09-14 10:46:10.105 10248 DEBUG oslo_vmware.api [-] Task: (returnval){
2015-09-14 10:46:10.106 10248 DEBUG nova.virt.vmwareapi.vmops [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Deleted Snapshot of the VM instance _delete_vm_snapshot /usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py:765
2015-09-14 10:46:10.106 10248 DEBUG nova.compute.manager [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Cleaning up image f17662ad-8627-4323-ab57-b2240ed45b61 decorated_function /usr/lib/python2.7/site-packages/nova/compute/manager.py:397
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Traceback (most recent call last):
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 393, in decorated_function
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     *args, **kwargs)
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3278, in snapshot_instance
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     task_states.IMAGE_SNAPSHOT)
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3308, in _snapshot_instance
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     update_task_state)
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/driver.py", line 506, in snapshot
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     self._vmops.snapshot(context, instance, image_id, update_task_state)
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py", line 856, in snapshot
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     vmdk_size=vmdk.capacity_in_bytes)
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/images.py", line 484, in upload_image_stream_optimized
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     image_meta=image_metadata)
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/images.py", line 208, in start_transfer
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     read_file_handle.close()
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/rw_handles.py", line 569, in close
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     'state')
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 346, in invoke_api
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     return _invoke_api(module, method, *args, **kwargs)
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 122, in func
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     return evt.wait()
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/eventlet/event.py", line 121, in wait
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     return hubs.get_hub().switch()
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294, in switch
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     return self.greenlet.switch()
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/common/loopingcall.py", line 123, in _inner
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     idle = self.f(*self.args, **self.kw)
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 95, in _func
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     result = f(*args, **kwargs)
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 329, in _invoke_api
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     raise clazz(six.text_type(excep), excep.details)
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] VMwareDriverException: Cet objet a d\xe9j\xe0 \xe9t\xe9 supprim\xe9 ou n\u2019a pas \xe9t\xe9 enti\xe8rement cr\xe9\xe9
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Cause: Server raised fault: 'Cet objet a d\xe9j\xe0 \xe9t\xe9 supprim\xe9 ou n\u2019a pas \xe9t\xe9 enti\xe8rement cr\xe9\xe9'
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Faults: [ManagedObjectNotFound]
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Details: {'obj': 'session[f73d9a23-5aee-9deb-9f62-384a5238eca8]52973924-3d33-8ab9-7d95-75afec081b54'}
2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]

Glance log ==>

2015-09-14 10:46:06.628 19221 ERROR glance.registry.client.v1.client [req-08e83cd9-7999-4de9-ab9a-66cb012bfb30 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] Registry client request GET /images/f17662ad-8627-4323-ab57-b2240ed45b61 raised NotFound
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client Traceback (most recent call last):
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 117, in do_request
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client     **kwargs)
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 71, in wrapped
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client     return func(self, *args, **kwargs)
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 376, in do_request
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client     headers=copy.deepcopy(headers))
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 88, in wrapped
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client     return func(self, method, url, body, headers)
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 523, in _do_request
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client     raise exception.NotFound(res.read())
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client NotFound: 404 Not Found
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client The resource could not be found.
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client
2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1495429

Title:
  Vmware: Failed to snapshot an instance with a big root disk.

Status in OpenStack Compute (nova):
  New

Bug description:
  python-nova-2015.1.1-1.el7.noarch
  openstack-nova-common-2015.1.1-1.el7.noarch
  python-novaclient-2.23.0-1.el7.noarch
  openstack-nova-compute-2015.1.1-1.el7.noarch
  python-oslo-vmware-0.11.1-1.el7.noarch

  I can't snap an instance if the root disk is too large. (>8GB)

  Snap in Vcenter works, OVF export works, DL image on glance node
  works, but after the DL, compute have trace and delete glance image.

  Trace in compute.log ==>

  2015-09-14 10:46:00.003 10248 DEBUG oslo_vmware.api [-] Fault list: [ManagedObjectNotFound] _invoke_api /usr/lib/python2.7/site-packages/oslo_vmware/api.py:326
  2015-09-14 10:46:00.004 10248 DEBUG oslo_vmware.exceptions [-] Fault ManagedObjectNotFound not matched. get_fault_class /usr/lib/python2.7/site-packages/oslo_vmware/exceptions.py:250
  2015-09-14 10:46:00.004 10248 DEBUG nova.virt.vmwareapi.vm_util [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Destroying the VM destroy_vm /usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vm_util.py:1304
  2015-09-14 10:46:00.004 10248 DEBUG oslo_vmware.api [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
  2015-09-14 10:46:00.028 10248 DEBUG oslo_vmware.api [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] Waiting for the task: (returnval){
  2015-09-14 10:46:00.028 10248 DEBUG oslo_vmware.api [-] Invoking VIM API to read info of task: (returnval){
  2015-09-14 10:46:00.029 10248 DEBUG oslo_vmware.api [-] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
  2015-09-14 10:46:05.029 10248 DEBUG oslo_vmware.api [-] Invoking VIM API to read info of task: (returnval){
  2015-09-14 10:46:05.030 10248 DEBUG oslo_vmware.api [-] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
  2015-09-14 10:46:05.056 10248 DEBUG oslo_vmware.api [-] Task: (returnval){
  2015-09-14 10:46:05.056 10248 INFO nova.virt.vmwareapi.vm_util [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Destroyed the VM
  2015-09-14 10:46:05.056 10248 DEBUG nova.virt.vmwareapi.vmops [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Deleting Snapshot of the VM instance _delete_vm_snapshot /usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py:759
  2015-09-14 10:46:05.057 10248 DEBUG oslo_vmware.api [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
  2015-09-14 10:46:05.084 10248 DEBUG oslo_vmware.api [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] Waiting for the task: (returnval){
  2015-09-14 10:46:05.084 10248 DEBUG oslo_vmware.api [-] Invoking VIM API to read info of task: (returnval){
  2015-09-14 10:46:05.085 10248 DEBUG oslo_vmware.api [-] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
  2015-09-14 10:46:10.085 10248 DEBUG oslo_vmware.api [-] Invoking VIM API to read info of task: (returnval){
  2015-09-14 10:46:10.086 10248 DEBUG oslo_vmware.api [-] Waiting for function _invoke_api to return. func /usr/lib/python2.7/site-packages/oslo_vmware/api.py:121
  2015-09-14 10:46:10.105 10248 DEBUG oslo_vmware.api [-] Task: (returnval){
  2015-09-14 10:46:10.106 10248 DEBUG nova.virt.vmwareapi.vmops [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Deleted Snapshot of the VM instance _delete_vm_snapshot /usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py:765
  2015-09-14 10:46:10.106 10248 DEBUG nova.compute.manager [req-5ce7f3a7-5db7-4157-b4ae-212b585b586a 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Cleaning up image f17662ad-8627-4323-ab57-b2240ed45b61 decorated_function /usr/lib/python2.7/site-packages/nova/compute/manager.py:397
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Traceback (most recent call last):
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 393, in decorated_function
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     *args, **kwargs)
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3278, in snapshot_instance
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     task_states.IMAGE_SNAPSHOT)
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3308, in _snapshot_instance
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     update_task_state)
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/driver.py", line 506, in snapshot
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     self._vmops.snapshot(context, instance, image_id, update_task_state)
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py", line 856, in snapshot
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     vmdk_size=vmdk.capacity_in_bytes)
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/images.py", line 484, in upload_image_stream_optimized
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     image_meta=image_metadata)
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/images.py", line 208, in start_transfer
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     read_file_handle.close()
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/rw_handles.py", line 569, in close
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     'state')
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 346, in invoke_api
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     return _invoke_api(module, method, *args, **kwargs)
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 122, in func
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     return evt.wait()
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/eventlet/event.py", line 121, in wait
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     return hubs.get_hub().switch()
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294, in switch
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     return self.greenlet.switch()
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/common/loopingcall.py", line 123, in _inner
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     idle = self.f(*self.args, **self.kw)
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 95, in _func
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     result = f(*args, **kwargs)
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]   File "/usr/lib/python2.7/site-packages/oslo_vmware/api.py", line 329, in _invoke_api
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]     raise clazz(six.text_type(excep), excep.details)
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] VMwareDriverException: Cet objet a d\xe9j\xe0 \xe9t\xe9 supprim\xe9 ou n\u2019a pas \xe9t\xe9 enti\xe8rement cr\xe9\xe9
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Cause: Server raised fault: 'Cet objet a d\xe9j\xe0 \xe9t\xe9 supprim\xe9 ou n\u2019a pas \xe9t\xe9 enti\xe8rement cr\xe9\xe9'
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Faults: [ManagedObjectNotFound]
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e] Details: {'obj': 'session[f73d9a23-5aee-9deb-9f62-384a5238eca8]52973924-3d33-8ab9-7d95-75afec081b54'}
  2015-09-14 10:46:10.106 10248 TRACE nova.compute.manager [instance: 5da44d78-b0cf-44f6-9789-b0fd78906b4e]

  Glance log ==>

  2015-09-14 10:46:06.628 19221 ERROR glance.registry.client.v1.client [req-08e83cd9-7999-4de9-ab9a-66cb012bfb30 3e014852e6e642d4a11600f2d453324c eb151dcad08b434ab919a47392da4c95 - - -] Registry client request GET /images/f17662ad-8627-4323-ab57-b2240ed45b61 raised NotFound
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client Traceback (most recent call last):
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/registry/client/v1/client.py", line 117, in do_request
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client     **kwargs)
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 71, in wrapped
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client     return func(self, *args, **kwargs)
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 376, in do_request
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client     headers=copy.deepcopy(headers))
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 88, in wrapped
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client     return func(self, method, url, body, headers)
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client   File "/usr/lib/python2.7/site-packages/glance/common/client.py", line 523, in _do_request
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client     raise exception.NotFound(res.read())
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client NotFound: 404 Not Found
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client The resource could not be found.
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client
  2015-09-14 10:46:06.628 19221 TRACE glance.registry.client.v1.client

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1495429/+subscriptions


Follow ups