Verified successfully: root@b1:~# apt install placement-common ... root@b1:~# ls /usr/share/placement/ mysql-migrate-db.sh postgresql-migrate-db.sh root@b1:~# /usr/share/placement/mysql-migrate-db.sh ERROR: Specify an RC file on the command line or create migrate-db.rc in the current directory
Usage: mysql-migrate-db.sh [flags] [rcfile] Flags: --help: this text --migrate: actually do data migration --mkconfig: write/update config to $rcfile Pass '-' as $rcfile if all config values are set in the environment. Exit codes: 0: Success 1: Usage error 2: Configuration missing or incomplete 3: Migration already completed 4: No data to migrate from nova (new deployment) 5: Unable to connect to one or both databases root@b1:~# /usr/share/placement/postgresql-migrate-db.sh Specify an RC file on the command line or create migrate-db.rc in the current directory root@b1:~# apt policy placement-common placement-common: Installed: 0.0.1~git2018112616.3ccbacfc-0ubuntu2~cloud0 Candidate: 0.0.1~git2018112616.3ccbacfc-0ubuntu2~cloud0 Version table: *** 0.0.1~git2018112616.3ccbacfc-0ubuntu2~cloud0 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/stein/main amd64 Packages 100 /var/lib/dpkg/status -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1809307 Title: unable to migrate database due missing script To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1809307/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs