aaae38d1aa
This change https://review.openstack.org/#/c/515034/ (added in queens)
makes the archive_deleted_rows CLI remove instance mappings and request
specs from the API database if there are instances archived from the
main nova/cell database. However for this to work, the api database
connection should be set in the config file. So in the case that the
API database is not configured in the config file being used to run the
CLI, we should gracefully handle the condition and and stop archiving thus
prompting the user to set the api_db config and try the archival operation
again. This patch fixes the graceful handling.
Conflicts:
nova/tests/unit/test_nova_manage.py
NOTE(tssurya): The conflict is due to not having changes
I6f87cf03d49be6bfad2c5e6f0c8accf0fab4e6ee and
Ibd824a77b32cbceb60973a89a93ce09fe6d1050d in Queens.
Change-Id: I0c7b802a453aa423c7273ab724ce78eac0cfed4c
Closes-Bug: #1753833
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
api_metadata.py | ||
api_os_compute.py | ||
api.py | ||
baseproxy.py | ||
cells.py | ||
common.py | ||
compute.py | ||
conductor.py | ||
console.py | ||
consoleauth.py | ||
dhcpbridge.py | ||
manage.py | ||
network.py | ||
novncproxy.py | ||
policy.py | ||
scheduler.py | ||
serialproxy.py | ||
spicehtml5proxy.py | ||
status.py | ||
xvpvncproxy.py |