0626dd0f5b
This patch makes InstanceLister and MigrationLister ignore down
cells and list the instances/records from the up cell as opposed to
giving 500 to the users as is the current situation.
Conflicts:
nova/compute/multi_cell_list.py
nova/tests/unit/compute/test_instance_list.py
because I442621e2b4acd63d2cfc8a66ab5b32b64ebcaea0 is missing in Queens.
Change-Id: I308b494ab07f6936bef94f4c9da45e9473e3534d
Partial-Bug: #1726301
(cherry picked from commit ee461b5bf6
)
11 lines
476 B
YAML
11 lines
476 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Listing server and migration records used to give a 500 to users
|
|
when a cell database was unreachable. Now only records from available
|
|
cells are included to avoid the 500 error. The down cells are basically
|
|
skipped when forming the results and this solution is planned to be
|
|
further enhanced through the `blueprint handling-down-cell`_.
|
|
|
|
.. _blueprint handling-down-cell: https://blueprints.launchpad.net/nova/+spec/handling-down-cell
|