← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1726310] Re: nova doesn't list services if it can't connect to a cell DB

 

** Also affects: nova/queens
   Importance: Undecided
       Status: New

** Changed in: nova/queens
       Status: New => Confirmed

** Changed in: nova/queens
   Importance: Undecided => Medium

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

Title:
  nova doesn't list services if it can't connect to a cell DB

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) queens series:
  Confirmed

Bug description:
  Description
  ===========
  nova doesn't list services if it can't connect to a child cell DB.

  I would expect nova to show the services from all child DBs that it can connect.
  For the child DBs that can't connect it can show for the mandatory services (nova-conductor) with the status "not available" and in the disabled reason why ("can't connect to the DB")

  
  Steps to reproduce
  ==================
  Have at least 2 child cells.
  Stop the DB in one of them.

  "nova service-list" fails with "ERROR (ClientException): Unexpected API Error."
  Not given any information about what's causing the problem.

  Expected result
  ===============
  List the services of the available cells and list the status of the mandatory services of the affected cells as "not available".

  
  Actual result
  =============
  $nova service-list
  fails.

  
  Environment
  ===========
  nova master (commit: 8d21d711000fff80eb367692b157d09b6532923f)

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


References