← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1408865] [NEW] "Ignoring EndpointNotFound: The service catalog is empty" error when init_host

 

Public bug reported:

the scenario:

1. create a vm using bootable volume.

2. delete this vm

3. restart service nova-compute when vm's task state is deleting.

When nova-compute is up, vm became deleted successful, but the bootable
volume is still in-use state and can't delete it using cinder delete
volume.

The error point is when nova-compute is up, "init_host" will go to
delete the vm whose task state is "deleting", but the context using is
got from "nova.context.get_admin_context()" function. There is no
auth_token.  When call "self.volume_api.terminate_connection(context,
bdm.volume_id, connector)" in deleting vm process, it will throw
"Ignoring EndpointNotFound: The service catalog is empty" error and
can't detach the bootable volume.

** Affects: nova
     Importance: Undecided
     Assignee: wanghao (wanghao749)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => wanghao (wanghao749)

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

Title:
  "Ignoring EndpointNotFound: The service catalog is empty" error when
  init_host

Status in OpenStack Compute (Nova):
  New

Bug description:
  the scenario:

  1. create a vm using bootable volume.

  2. delete this vm

  3. restart service nova-compute when vm's task state is deleting.

  When nova-compute is up, vm became deleted successful, but the
  bootable volume is still in-use state and can't delete it using cinder
  delete volume.

  The error point is when nova-compute is up, "init_host" will go to
  delete the vm whose task state is "deleting", but the context using is
  got from "nova.context.get_admin_context()" function. There is no
  auth_token.  When call "self.volume_api.terminate_connection(context,
  bdm.volume_id, connector)" in deleting vm process, it will throw
  "Ignoring EndpointNotFound: The service catalog is empty" error and
  can't detach the bootable volume.

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


Follow ups

References