<div dir="ltr">Hi!<br><br>I'll like to raise a question related to "How to clean Nova databases before running upgrades"<br>We want to check that Nova databases (nova, nova_api, nova_cell0, nova_placement) are in good shape before running upgrade, we know that there is some effort to "purge the deleted instances" but no patches yet for that.<br><br>In general, how can I know we have cleaned all Nova DBs? This can be i.e. for maintenance purposes or for checking it before the major upgrade.<br><br>Currently the command we run is:<br>   nova-manage db archive_deleted_rows --max_rows 100 --until-complete<br>Still,
 the archived rows are stored in shadow tables so we still have a big 
DB, and there is some specs[1] to remove them but nothing landed/usable.<br><br>[1]: <a href="https://blueprints.launchpad.net/nova/+spec/purge-deleted-instances-cmd">https://blueprints.launchpad.net/nova/+spec/purge-deleted-instances-cmd</a><br><br>Thanks,<br>Carlos<br><br></div>