cec0b71a2d
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 |
||
---|---|---|
.. | ||
flake8wrap.sh | ||
mysql-migrate-db.sh |