Re: [Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-14 Thread Corey Bryant
Ah.. yes, thanks!


On Thu, Mar 13, 2014 at 10:32 PM, Soren Hansen  wrote:

> "Also affects distribition" is that little link below the bug task table
> at the top of bug details pages. It's how you add bug tasks for other
> packages.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1290423
>
> Title:
>   maintainer scripts always/inconsistently run db_sync during upgrade
>
> Status in "cinder" package in Ubuntu:
>   Fix Released
> Status in "glance" package in Ubuntu:
>   Fix Released
> Status in "keystone" package in Ubuntu:
>   Fix Released
> Status in "nova" package in Ubuntu:
>   Fix Released
> Status in "cinder" source package in Trusty:
>   Fix Released
> Status in "glance" source package in Trusty:
>   Fix Released
> Status in "keystone" source package in Trusty:
>   Fix Released
> Status in "nova" source package in Trusty:
>   Fix Released
>
> Bug description:
>   The keystone maintainer script endeavours to check whether the
>   sql_connection string is set in keystone.conf; however it searches for
>   the wrong string:
>
>   if ! grep -q sql_connection /etc/keystone/keystone.conf
>   then
>   su -s /bin/sh -c 'exec keystone-manage db_sync' keystone
>   fi
>
>   The connection configuration uses the key 'connection' and inline with
>   other packages, I think we should only be doing a db_sync if the
>   connection is the default sqllite one (see glance for reference).
>
>   This is quite important - 2013.2.2 adds an index to an existing table
>   and takes a long time, resulting in quite a long outage; also running
>   from multiple locations might be bad as well.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions
>


-- 
Regards,
Corey

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread Soren Hansen
"Also affects distribition" is that little link below the bug task table
at the top of bug details pages. It's how you add bug tasks for other
packages.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread Corey Bryant
On Thu, Mar 13, 2014 at 4:51 AM, James Page 
wrote:

> Actually we probably need to deal with deprecated config as well:
>
> "^(sql_)?connection.*sqlite.*"
>

Ok new merge request at
https://code.launchpad.net/~corey.bryant/ubuntu/trusty/keystone/fix-for-1289935/+merge/210804

I used the same branch.  Hope this doesn't screw things up since you
already merged the previous one.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread Launchpad Bug Tracker
This bug was fixed in the package keystone - 1:2014.1~b3-0ubuntu3

---
keystone (1:2014.1~b3-0ubuntu3) trusty; urgency=medium

  * d/p/revoke-api.patch: Add upstream patch to resolve critical issue with
token revocation (LP: #1289935).
  * d/keystone.postinst: Ensure db_sync is only run when the default sqlite
connection is configured (LP: #1290423).
 -- Corey BryantWed, 12 Mar 2014 23:20:05 -0500

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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread Launchpad Bug Tracker
This bug was fixed in the package cinder - 1:2014.1~b3-0ubuntu2

---
cinder (1:2014.1~b3-0ubuntu2) trusty; urgency=medium

  * d/cinder-common.postinst: Correct use of getent (LP: #1224275).
  * d/cinder-common.postinst: Tidy detection of local sqlite database use
for db sync operations (LP: #1290423).
 -- James PageThu, 13 Mar 2014 10:11:20 +

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

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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread Launchpad Bug Tracker
This bug was fixed in the package nova - 1:2014.1~b3-0ubuntu2

---
nova (1:2014.1~b3-0ubuntu2) trusty; urgency=medium

  * d/nova-common.postinst: Tidy detection of default sqlite to ensure
that db sync is only run against local databases (LP: #1290423).
 -- James PageThu, 13 Mar 2014 11:00:23 +

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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread Launchpad Bug Tracker
This bug was fixed in the package glance - 1:2014.1~b3-0ubuntu2

---
glance (1:2014.1~b3-0ubuntu2) trusty; urgency=medium

  * d/glance-registry.postinst: Tidy detection of the default sqlite
connection when running db_sync (LP: #1290423).
 -- James PageThu, 13 Mar 2014 10:38:35 +

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread James Page
** Changed in: nova (Ubuntu Trusty)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread James Page
** Changed in: glance (Ubuntu Trusty)
   Status: In Progress => Fix Committed

** Changed in: cinder (Ubuntu Trusty)
   Status: In Progress => Fix Committed

** Also affects: nova (Ubuntu)
   Importance: Undecided
   Status: New

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

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

** Changed in: nova (Ubuntu Trusty)
   Status: New => In Progress

** Changed in: nova (Ubuntu Trusty)
 Assignee: (unassigned) => James Page (james-page)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-server-dev/glance/icehouse

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread James Page
** Changed in: glance (Ubuntu Trusty)
   Status: New => In Progress

** Changed in: glance (Ubuntu Trusty)
 Assignee: (unassigned) => James Page (james-page)

** Changed in: keystone (Ubuntu Trusty)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-server-dev/cinder/icehouse

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1290423] Re: maintainer scripts always/inconsistently run db_sync during upgrade

2014-03-13 Thread James Page
Actually we probably need to deal with deprecated config as well:

"^(sql_)?connection.*sqlite.*"

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/1290423

Title:
  maintainer scripts always/inconsistently run db_sync during upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1290423/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs