nova doesn't list services if it can't connect to a cell DB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Surya Seetharaman | ||
Queens |
Fix Committed
|
Medium
|
Surya Seetharaman |
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: 8d21d711000fff8
Changed in nova: | |
assignee: | nobody → Belmiro Moreira (moreira-belmiro-email-lists) |
Changed in nova: | |
assignee: | Surya Seetharaman (tssurya) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Surya Seetharaman (tssurya) |
importance: | Undecided → Medium |
Set the status to In-progress because this report has an assignee.