placement/tools
Dan Smith cec0b71a2d Add nova database migration script
This adds a script that operators, grenade and deployment projects can
use to extract placement data from the nova_api database into its own
location.

Running this with --mkconfig will write out migrate-db.rc with variables
to be filled out and used to push an actual migration. Unless the
caller passes --migrate we will assume dry-run behavior.

This will run with or without existing placement schema (from
placement-manage db sync) and does not migrate/synthesize the migrate_version
table. This will also refuse to run if it looks like migration has
already been performed with a reliable return code. A reliable code is
also provided for the "this looks like a new deployment" case.

Change-Id: I88172d9527681d5456bf080e19e36d343f43c518
2018-09-21 11:30:55 -07:00
..
flake8wrap.sh tox: make it possible to run pep8 on current patch only 2015-07-24 16:15:38 +01:00
mysql-migrate-db.sh Add nova database migration script 2018-09-21 11:30:55 -07:00