← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1319648] [NEW] Error during ComputeManager._reclaim_queued_deletes: cinderclient.exceptions.EndpointNotFound()

 

Public bug reported:

2014-05-15 15:04:29.001 13593 ERROR nova.openstack.common.periodic_task [-] Error during ComputeManager._reclaim_queued_deletes:
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task Traceback (most recent call last):
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/periodic_task.py", line 182, in run_periodic_tasks
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     task(self, context)
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 5395, in _reclaim_queued_deletes
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     self._delete_instance(context, instance, bdms)
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 103, in inner
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     rv = f(*args, **kwargs)
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2220, in _delete_instance
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     user_id=user_id)
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     six.reraise(self.type_, self.value, self.tb)
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2190, in _delete_instance
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     self._shutdown_instance(context, db_inst, bdms)
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2136, in _shutdown_instance
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     connector)
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 173, in wrapper
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     res = method(self, ctx, volume_id, *args, **kwargs)
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 275, in terminate_connection
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     return cinderclient(context).volumes.terminate_connection(volume_id,
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 91, in cinderclient
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     endpoint_type=endpoint_type)
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/cinderclient/service_catalog.py", line 80, in url_for
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     raise cinderclient.exceptions.EndpointNotFound()
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task EndpointNotFound
2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task


The context object in periodic task is a blank one. no tenant id, no user id, no auth token and no endpoint.
So it can not use cinderclient.

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

Title:
  Error during ComputeManager._reclaim_queued_deletes:
  cinderclient.exceptions.EndpointNotFound()

Status in OpenStack Compute (Nova):
  New

Bug description:
  2014-05-15 15:04:29.001 13593 ERROR nova.openstack.common.periodic_task [-] Error during ComputeManager._reclaim_queued_deletes:
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task Traceback (most recent call last):
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/periodic_task.py", line 182, in run_periodic_tasks
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     task(self, context)
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 5395, in _reclaim_queued_deletes
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     self._delete_instance(context, instance, bdms)
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 103, in inner
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     rv = f(*args, **kwargs)
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2220, in _delete_instance
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     user_id=user_id)
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     six.reraise(self.type_, self.value, self.tb)
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2190, in _delete_instance
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     self._shutdown_instance(context, db_inst, bdms)
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2136, in _shutdown_instance
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     connector)
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 173, in wrapper
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     res = method(self, ctx, volume_id, *args, **kwargs)
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 275, in terminate_connection
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     return cinderclient(context).volumes.terminate_connection(volume_id,
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/nova/volume/cinder.py", line 91, in cinderclient
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     endpoint_type=endpoint_type)
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/dist-packages/cinderclient/service_catalog.py", line 80, in url_for
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task     raise cinderclient.exceptions.EndpointNotFound()
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task EndpointNotFound
  2014-05-15 15:04:29.001 13593 TRACE nova.openstack.common.periodic_task


  
  The context object in periodic task is a blank one. no tenant id, no user id, no auth token and no endpoint.
  So it can not use cinderclient.

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


Follow ups

References