← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1289205] [NEW] VMware: 404 Not Found error when create snapshot

 

Public bug reported:

When try to create instance snapshot via 'nova image-create', I hint
following error in the nova log file:

2014-03-07 03:04:35.436 7213 DEBUG nova.virt.vmwareapi.vmware_images [req-d82fb9c2-9325-43a4-814a-4ea1bae14c5c 8f4bfb793af946b6a25288456143e920 e4a913fb2d1e4a33a4acacc806dd6153] [instance: 23261217-c2e6-472c-85e9-9afbd708391d] Uploading image 64a0b47b-ba53-4e7b-9877-f56186916d73 to the Glance image server upload_image /usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmware_images.py:141
2014-03-07 03:04:35.437 7213 DEBUG nova.virt.vmwareapi.read_write_util [req-d82fb9c2-9325-43a4-814a-4ea1bae14c5c 8f4bfb793af946b6a25288456143e920 e4a913fb2d1e4a33a4acacc806dd6153] aaaaaaa-https://172.16.151.254/folder/vmware_temp/be5acd3b-b68b-4e6e-9039-43dd7bf910bf-flat.vmdk?dsName=datastore1&dcPath=smartlcouds __init__ /usr/lib/python2.6/site-packages/nova/virt/vmwareapi/read_write_util.py:162
2014-03-07 03:04:35.438 7213 DEBUG nova.virt.vmwareapi.read_write_util [req-d82fb9c2-9325-43a4-814a-4ea1bae14c5c 8f4bfb793af946b6a25288456143e920 e4a913fb2d1e4a33a4acacc806dd6153] bbbbbbb-<urllib2.Request instance at 0xd36d680> __init__ /usr/lib/python2.6/site-packages/nova/virt/vmwareapi/read_write_util.py:163
2014-03-07 03:04:35.477 7213 DEBUG nova.compute.manager [req-d82fb9c2-9325-43a4-814a-4ea1bae14c5c 8f4bfb793af946b6a25288456143e920 e4a913fb2d1e4a33a4acacc806dd6153] [instance: 23261217-c2e6-472c-85e9-9afbd708391d] Cleaning up image 64a0b47b-ba53-4e7b-9877-f56186916d73 decorated_function /usr/lib/python2.6/site-packages/nova/compute/manager.py:317
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d] Traceback (most recent call last):
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 313, in decorated_function
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     *args, **kwargs)
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2525, in snapshot_instance
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     task_states.IMAGE_SNAPSHOT)
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2560, in _snapshot_instance
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     update_task_state)
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 614, in snapshot
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     _vmops.snapshot(context, instance, name, update_task_state)
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 939, in snapshot
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     _upload_vmdk_to_image_repository()
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 933, in _upload_vmdk_to_image_repository
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     file_path="%s/%s-flat.vmdk" % (self._tmp_folder, random_name))
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmware_images.py", line 147, in upload_image
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     kwargs.get("file_path"))
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/read_write_util.py", line 164, in __init__
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     conn = urllib2.urlopen(request)
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     return _opener.open(url, data, timeout)
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 397, in open
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     response = meth(req, response)
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     'http', request, response, code, msg, hdrs)
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 435, in error
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     return self._call_chain(*args)
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     result = func(*args)
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d] HTTPError: HTTP Error 404: Not Found
2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]

** 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/1289205

Title:
  VMware: 404 Not Found error when create snapshot

Status in OpenStack Compute (Nova):
  New

Bug description:
  When try to create instance snapshot via 'nova image-create', I hint
  following error in the nova log file:

  2014-03-07 03:04:35.436 7213 DEBUG nova.virt.vmwareapi.vmware_images [req-d82fb9c2-9325-43a4-814a-4ea1bae14c5c 8f4bfb793af946b6a25288456143e920 e4a913fb2d1e4a33a4acacc806dd6153] [instance: 23261217-c2e6-472c-85e9-9afbd708391d] Uploading image 64a0b47b-ba53-4e7b-9877-f56186916d73 to the Glance image server upload_image /usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmware_images.py:141
  2014-03-07 03:04:35.437 7213 DEBUG nova.virt.vmwareapi.read_write_util [req-d82fb9c2-9325-43a4-814a-4ea1bae14c5c 8f4bfb793af946b6a25288456143e920 e4a913fb2d1e4a33a4acacc806dd6153] aaaaaaa-https://172.16.151.254/folder/vmware_temp/be5acd3b-b68b-4e6e-9039-43dd7bf910bf-flat.vmdk?dsName=datastore1&dcPath=smartlcouds __init__ /usr/lib/python2.6/site-packages/nova/virt/vmwareapi/read_write_util.py:162
  2014-03-07 03:04:35.438 7213 DEBUG nova.virt.vmwareapi.read_write_util [req-d82fb9c2-9325-43a4-814a-4ea1bae14c5c 8f4bfb793af946b6a25288456143e920 e4a913fb2d1e4a33a4acacc806dd6153] bbbbbbb-<urllib2.Request instance at 0xd36d680> __init__ /usr/lib/python2.6/site-packages/nova/virt/vmwareapi/read_write_util.py:163
  2014-03-07 03:04:35.477 7213 DEBUG nova.compute.manager [req-d82fb9c2-9325-43a4-814a-4ea1bae14c5c 8f4bfb793af946b6a25288456143e920 e4a913fb2d1e4a33a4acacc806dd6153] [instance: 23261217-c2e6-472c-85e9-9afbd708391d] Cleaning up image 64a0b47b-ba53-4e7b-9877-f56186916d73 decorated_function /usr/lib/python2.6/site-packages/nova/compute/manager.py:317
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d] Traceback (most recent call last):
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 313, in decorated_function
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     *args, **kwargs)
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2525, in snapshot_instance
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     task_states.IMAGE_SNAPSHOT)
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 2560, in _snapshot_instance
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     update_task_state)
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 614, in snapshot
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     _vmops.snapshot(context, instance, name, update_task_state)
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 939, in snapshot
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     _upload_vmdk_to_image_repository()
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 933, in _upload_vmdk_to_image_repository
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     file_path="%s/%s-flat.vmdk" % (self._tmp_folder, random_name))
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmware_images.py", line 147, in upload_image
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     kwargs.get("file_path"))
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/read_write_util.py", line 164, in __init__
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     conn = urllib2.urlopen(request)
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     return _opener.open(url, data, timeout)
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 397, in open
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     response = meth(req, response)
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     'http', request, response, code, msg, hdrs)
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 435, in error
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     return self._call_chain(*args)
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     result = func(*args)
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]   File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d] HTTPError: HTTP Error 404: Not Found
  2014-03-07 03:04:35.477 7213 TRACE nova.compute.manager [instance: 23261217-c2e6-472c-85e9-9afbd708391d]

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


Follow ups

References