[Bug 1809307] Re: unable to migrate database due missing script

2019-01-15 Thread Launchpad Bug Tracker
This bug was fixed in the package placement - 0.0.1~git2018112616
.3ccbacfc-0ubuntu2

---
placement (0.0.1~git2018112616.3ccbacfc-0ubuntu2) disco; urgency=medium

  * d/placement-common.install: Install database migration scripts that deal
with migration of nova-api placement data to new placement database after
split of placement from nova code base (LP: #1809307).

 -- Corey Bryant   Mon, 14 Jan 2019 10:53:12
-0500

** Changed in: placement (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
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

[Bug 1809307] Re: unable to migrate database due missing script

2019-01-14 Thread Corey Bryant
This bug was fixed in the package placement - 
0.0.1~git2018112616.3ccbacfc-0ubuntu2~cloud0
---

 placement (0.0.1~git2018112616.3ccbacfc-0ubuntu2~cloud0) bionic-stein; 
urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 placement (0.0.1~git2018112616.3ccbacfc-0ubuntu2) disco; urgency=medium
 .
   * d/placement-common.install: Install database migration scripts that deal
 with migration of nova-api placement data to new placement database after
 split of placement from nova code base (LP: #1809307).


** Changed in: cloud-archive
   Status: Fix Committed => Fix Released

-- 
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

[Bug 1809307] Re: unable to migrate database due missing script

2019-01-14 Thread Corey Bryant
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

[Bug 1809307] Re: unable to migrate database due missing script

2019-01-14 Thread Corey Bryant
** Also affects: cloud-archive
   Importance: Undecided
   Status: New

** Changed in: cloud-archive
   Status: New => Triaged

** Changed in: placement (Ubuntu)
   Status: New => Triaged

** Changed in: cloud-archive
   Importance: Undecided => High

** Changed in: placement (Ubuntu)
   Importance: Undecided => High

** Changed in: cloud-archive
   Status: Triaged => Fix Committed

** Changed in: placement (Ubuntu)
   Status: Triaged => Fix Committed

-- 
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

[Bug 1809307] Re: unable to migrate database due missing script

2019-01-14 Thread Corey Bryant
Hi Eduardo,

Sorry for the delay. I'll take a look at this.

Corey

-- 
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/ubuntu/+source/placement/+bug/1809307/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1809307] Re: unable to migrate database due missing script

2019-01-02 Thread Eduardo Gonzalez
Any update on this? is a blocker for deployment tools consuming ubuntu
packages to test the migration from rocky to stein

-- 
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/ubuntu/+source/placement/+bug/1809307/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs