← 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

 

Reviewed:  https://review.openstack.org/568271
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=64e76de43dc55e584c100005fa60da50dd06d352
Submitter: Zuul
Branch:    master

commit 64e76de43dc55e584c100005fa60da50dd06d352
Author: Surya Seetharaman <suryaseetharaman.9@xxxxxxxxx>
Date:   Mon May 14 13:50:12 2018 +0200

    Make nova service-list use scatter-gather routine
    
    This patch makes nova service-list use the scatter-gather routine
    so that if a cell is down, at least the services from other cells
    are listed by ignoring the down cell instead of the whole command
    failing with an API exception as is the current situation. Also
    making this query parallel for all cells is more efficient.
    
    Depends-On: https://review.openstack.org/569112/
    
    Change-Id: I90b488102eb265d971cade29892279a22d3b5273
    Closes-Bug: #1726310


** Changed in: nova
       Status: In Progress => Fix Released

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

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