Public bug reported:

When booting a volume backend instance, there may be an error because of
volume creating error. and the following error occur when deleting the
instance:

2014-07-22 11:19:15.305 14601 ERROR nova.compute.manager [-] [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815] Failed to complete a deletion
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815] Traceback (most recent call last):
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 845, in 
_init_instance
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     self._delete_instance(context, 
instance, bdms)
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/hooks.py", line 103, in inner
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     rv = f(*args, **kwargs)
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2220, in 
_delete_instance
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     user_id=user_id)
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, 
in __exit__
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     six.reraise(self.type_, self.value, 
self.tb)
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2190, in 
_delete_instance
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     self._shutdown_instance(context, 
db_inst, bdms)
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2136, in 
_shutdown_instance
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     connector)
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 174, in wrapper
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     res = method(self, ctx, volume_id, 
*args, **kwargs)
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 276, in 
terminate_connection
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     return 
cinderclient(context).volumes.terminate_connection(volume_id,
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 92, in 
cinderclient
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     endpoint_type=endpoint_type)
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/cinderclient/service_catalog.py", line 80, in 
url_for
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     raise 
cinderclient.exceptions.EndpointNotFound()
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815] EndpointNotFound
2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]

** Affects: nova
     Importance: Undecided
     Assignee: Liyingjun (liyingjun)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Liyingjun (liyingjun)

-- 
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/1346866

Title:
  EndpointNotFound when deleting volume backended instance

Status in OpenStack Compute (Nova):
  New

Bug description:
  When booting a volume backend instance, there may be an error because
  of volume creating error. and the following error occur when deleting
  the instance:

  2014-07-22 11:19:15.305 14601 ERROR nova.compute.manager [-] [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815] Failed to complete a deletion
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815] Traceback (most recent call last):
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 845, in 
_init_instance
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     self._delete_instance(context, 
instance, bdms)
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/hooks.py", line 103, in inner
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     rv = f(*args, **kwargs)
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2220, in 
_delete_instance
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     user_id=user_id)
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, 
in __exit__
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     six.reraise(self.type_, self.value, 
self.tb)
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2190, in 
_delete_instance
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     self._shutdown_instance(context, 
db_inst, bdms)
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2136, in 
_shutdown_instance
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     connector)
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 174, in wrapper
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     res = method(self, ctx, volume_id, 
*args, **kwargs)
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 276, in 
terminate_connection
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     return 
cinderclient(context).volumes.terminate_connection(volume_id,
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 92, in 
cinderclient
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     endpoint_type=endpoint_type)
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]   File 
"/usr/lib/python2.7/dist-packages/cinderclient/service_catalog.py", line 80, in 
url_for
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]     raise 
cinderclient.exceptions.EndpointNotFound()
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815] EndpointNotFound
  2014-07-22 11:19:15.305 14601 TRACE nova.compute.manager [instance: 
dc0d5ad1-caa7-4160-9f6f-158ca1193815]

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to