[Bug 959426] Re: nova + glance services die if started before db is reachable

2012-04-05 Thread Thierry Carrez
** Changed in: glance
Milestone: essex-rc2 = 2012.1

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-04-05 Thread Thierry Carrez
** Changed in: nova
Milestone: essex-rc2 = 2012.1

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-04-02 Thread OpenStack Hudson
Reviewed:  https://review.openstack.org/6075
Committed: 
http://github.com/openstack/nova/commit/ccb93c47370d774dc7b1959f2b2d038a4819855d
Submitter: Jenkins
Branch:milestone-proposed

commit ccb93c47370d774dc7b1959f2b2d038a4819855d
Author: Thierry Carrez thie...@openstack.org
Date:   Mon Apr 2 11:55:35 2012 +0200

Ensure a functional database connection

Allow retrying database connection in get_engine() at an interval.  Resolves
the issue of nova components erroring at startup if a database connection is
unavailable, particularly at boot. Borrowed from a similar commit to glance,
(https://review.openstack.org/#change,5552).

This also fixes code duplication due to a half-backport of
commit 155ef7daab08d7f3fb8f7838df1d715bf1dc2f3f

Fixes Bug #959426 for nova.

Change-Id: Ifea94da8347714887c8cae02cc48288f3fa4fa7f


** Changed in: nova
   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/959426

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-04-02 Thread Adam Gandelman
Fixed in Ubuntu with rc2 upload (nova-2012.1~rc2-0ubuntu1)

** Changed in: nova (Ubuntu)
   Status: Triaged = 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/959426

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-04-02 Thread Adam Gandelman
Fixed in Ubuntu as of glance-2012.1~rc2-0ubuntu1

** Changed in: glance (Ubuntu)
   Status: Triaged = 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/959426

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-30 Thread OpenStack Hudson
** Changed in: nova
 Assignee: Adam Gandelman (gandelman-a) = Vish Ishaya (vishvananda)

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-30 Thread Vish Ishaya
** Changed in: nova
 Assignee: Vish Ishaya (vishvananda) = Adam Gandelman (gandelman-a)

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-30 Thread OpenStack Hudson
Reviewed:  https://review.openstack.org/5939
Committed: 
http://github.com/openstack/nova/commit/a4dd6b6f06d222f49bd0d2582dfe0f2925a1638f
Submitter: Jenkins
Branch:master

commit a4dd6b6f06d222f49bd0d2582dfe0f2925a1638f
Author: Adam Gandelman ad...@canonical.com
Date:   Wed Mar 28 18:52:41 2012 -0700

Ensure a functional database connection

Allow retrying database connection in get_engine() at an interval.  Resolves
the issue of nova components erroring at startup if a database connection is
unavailable, particularly at boot. Borrowed from a similar commit to glance,
(https://review.openstack.org/#change,5552).

Fixes Bug #959426 for nova.

Update: * Properly return an engine (fixes tests)
* Setting sql_max_retries to -1 will retry infinitely
* Bumped options count in nova.conf.sample
* i18n log warning
* Add note to flag help about -1 == infinite
* Pep8 fix

Change-Id: Id34eda9e0bad6b477a74e9a7d3575e513e6291d5


** Changed in: nova
   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/959426

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-28 Thread Thierry Carrez
** Changed in: nova
 Assignee: (unassigned) = Adam Gandelman (gandelman-a)

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-28 Thread OpenStack Hudson
Reviewed:  https://review.openstack.org/5911
Committed: 
http://github.com/openstack/glance/commit/127101a44c0708ef26572abf98a025983ae35aa4
Submitter: Jenkins
Branch:milestone-proposed

commit 127101a44c0708ef26572abf98a025983ae35aa4
Author: Adam Gandelman ad...@canonical.com
Date:   Fri Mar 23 18:23:54 2012 -0700

Ensure functional db connection in configure_db()

During initial database setup, ensure we can physically connect
to the database and allow a failed connection to make use of the
new retry mechanism instead of registry startup failing outright.

Fixes lp bug #959426.

Change-Id: I1c87b19913c4204465e5d2027f2f184f0f358fd0


** Changed in: glance
   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/959426

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-28 Thread OpenStack Hudson
Fix proposed to branch: master
Review: https://review.openstack.org/5939

** Changed in: nova
   Status: Triaged = In Progress

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-27 Thread Thierry Carrez
** Changed in: nova
   Status: Incomplete = Triaged

** Changed in: glance
   Importance: Undecided = High

** Changed in: nova
   Importance: Undecided = High

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-27 Thread Adam Gandelman
** Changed in: nova (Ubuntu)
   Status: Confirmed = Triaged

** Changed in: glance (Ubuntu)
   Status: New = Triaged

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-27 Thread Thierry Carrez
** Changed in: glance
Milestone: None = essex-rc2

** Tags removed: essex-rc-potential

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-27 Thread Vish Ishaya
** Changed in: nova
Milestone: None = essex-rc2

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-27 Thread OpenStack Hudson
Reviewed:  https://review.openstack.org/5760
Committed: 
http://github.com/openstack/glance/commit/12757d70fe6cf0d0fe6e46c5ee09a4f4d3efbd49
Submitter: Jenkins
Branch:master

commit 12757d70fe6cf0d0fe6e46c5ee09a4f4d3efbd49
Author: Adam Gandelman ad...@canonical.com
Date:   Fri Mar 23 18:23:54 2012 -0700

Ensure functional db connection in configure_db()

During initial database setup, ensure we can physically connect
to the database and allow a failed connection to make use of the
new retry mechanism instead of registry startup failing outright.

Fixes lp bug #959426.

Change-Id: I1c87b19913c4204465e5d2027f2f184f0f358fd0


** Changed in: glance
   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/959426

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-26 Thread David Kranz
Yes. It could also happen that even after startup the connection is
temporarily unavailable and the nova processes should not crash
immediately. It should be noted that this problem did not happen ever
(for me) in oneiric/diablo-stable and I was/am using a complicated
system bring-up. Right now I cannot reboot the machine running mysql
and nova-scheduler because nova-scheduler crashes every time.

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-26 Thread Thierry Carrez
** Tags added: essex-rc-potential

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-24 Thread Clint Byrum
Note that this really has nothing to do with whether the services are
all on the same host or not. The service being unavailable is not a
terminal error, since this host and the other host(s) may be starting up
in parallel (think massive powerfailure or complicated system bring-up).
So retrying for a considerable amount of time seems to be the
appropriate thing to do.

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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 959426] Re: nova + glance services die if started before db is reachable

2012-03-23 Thread OpenStack Hudson
Fix proposed to branch: master
Review: https://review.openstack.org/5760

** Changed in: glance
   Status: New = In Progress

** Changed in: glance
 Assignee: (unassigned) = Adam Gandelman (gandelman-a)

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

Title:
  nova + glance services die if started before db is reachable

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/959426/+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