Nova should list instances even if it can't connect to a cell DB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Surya Seetharaman | ||
Pike |
Won't Fix
|
Medium
|
Unassigned | ||
Queens |
Fix Released
|
Medium
|
Surya Seetharaman |
Bug Description
Description
===========
One of the goals of cells is to allow nova scale and to have cells as failure domains.
However, if a cell DB goes down nova doesn't list any instance. Even if the project doesn't have any instance in the affected cell. This affects all users.
The behavior that I would expect is nova to show what's available from the nova_api DB if a cell DB is not available. (UUIDs and can we look into the request_spec?)
Steps to reproduce
==================
Have at least 2 child cells.
Stop the DB in one of them.
"nova list" fails with "ERROR (ClientException): Unexpected API Error."
Not given any more information to the user.
Expected result
===============
List the project instances.
For the instances in the affect cell, list the available information in the nova_api.
Actual result
=============
$nova list
fails without showing the project instances.
Environment
===========
nova master (commit: 8d21d711000fff8
description: | updated |
Changed in nova: | |
assignee: | nobody → Belmiro Moreira (moreira-belmiro-email-lists) |
Changed in nova: | |
assignee: | Belmiro Moreira (moreira-belmiro-email-lists) → nobody |
assignee: | nobody → Belmiro Moreira (moreira-belmiro-email-lists) |
Changed in nova: | |
assignee: | Belmiro Moreira (moreira-belmiro-email-lists) → Surya Seetharaman (tssurya) |
Changed in nova: | |
assignee: | Surya Seetharaman (tssurya) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Surya Seetharaman (tssurya) |
Changed in nova: | |
assignee: | Surya Seetharaman (tssurya) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Surya Seetharaman (tssurya) |
Changed in nova: | |
assignee: | Surya Seetharaman (tssurya) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Surya Seetharaman (tssurya) |
Changed in nova: | |
status: | In Progress → Fix Released |
For sure we need to add more failproof mechanism when a cell goes down.