Activity log for bug #907152

Date Who What changed Old value New value Message
2011-12-21 03:41:58 Paul Belanger bug added bug
2011-12-21 04:13:09 Paul Belanger attachment added nova-compute.upstart.diff https://bugs.launchpad.net/nova/+bug/907152/+attachment/2642133/+files/nova-compute.upstart.diff
2011-12-21 04:44:22 Paul Belanger attachment added nova-compute.upstart.diff.v2 https://bugs.launchpad.net/nova/+bug/907152/+attachment/2642137/+files/nova-compute.upstart.diff.v2
2011-12-21 11:16:16 Thierry Carrez affects nova ubuntu
2011-12-21 11:16:31 Thierry Carrez affects ubuntu nova (Ubuntu)
2011-12-21 12:15:59 Ubuntu Foundations Team Bug Bot tags patch
2011-12-21 12:16:07 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2012-01-04 22:40:44 Serge Hallyn nova (Ubuntu): status New Triaged
2012-01-04 22:40:47 Serge Hallyn nova (Ubuntu): importance Undecided Medium
2012-03-07 18:14:56 Paul Belanger bug added subscriber Ubuntu Sponsors Team
2012-03-07 18:15:20 Paul Belanger removed subscriber Ubuntu Sponsors Team
2012-03-07 18:27:23 Paul Belanger attachment added nova_2012.1~e4.diff https://bugs.launchpad.net/ubuntu/+source/nova/+bug/907152/+attachment/2830495/+files/nova_2012.1%7Ee4.diff
2012-03-07 18:27:43 Paul Belanger bug added subscriber Ubuntu Sponsors Team
2012-03-07 19:00:05 Paul Belanger attachment added nova_2012.1~e4.v2.diff https://bugs.launchpad.net/ubuntu/+source/nova/+bug/907152/+attachment/2830587/+files/nova_2012.1%7Ee4.v2.diff
2012-03-13 05:19:47 devendra nova (Ubuntu): assignee devendra (devedevendra)
2012-03-13 05:22:37 devendra nova (Ubuntu): assignee devendra (devedevendra)
2012-03-16 10:36:32 James Page removed subscriber Ubuntu Sponsors Team
2012-12-19 13:12:20 James Troup bug added subscriber The Canonical Sysadmins
2012-12-19 13:12:27 James Troup tags patch canonistack patch
2013-12-12 14:35:05 James Page nova (Ubuntu): status Triaged In Progress
2013-12-12 14:35:08 James Page nova (Ubuntu): assignee James Page (james-page)
2013-12-12 15:23:00 Launchpad Janitor branch linked lp:~james-page/nova/compute-plus-others
2013-12-16 15:24:35 Launchpad Janitor branch linked lp:~ubuntu-server-dev/nova/icehouse
2013-12-18 13:08:40 James Page nominated for series Ubuntu Raring
2013-12-18 13:08:40 James Page bug task added nova (Ubuntu Raring)
2013-12-18 13:08:40 James Page nominated for series Ubuntu Saucy
2013-12-18 13:08:40 James Page bug task added nova (Ubuntu Saucy)
2013-12-18 13:08:40 James Page nominated for series Ubuntu Trusty
2013-12-18 13:08:40 James Page bug task added nova (Ubuntu Trusty)
2013-12-18 13:24:53 James Page nova (Ubuntu Trusty): status In Progress Fix Committed
2013-12-18 14:05:45 Jian Wen bug added subscriber Jian Wen
2013-12-18 14:06:59 Launchpad Janitor nova (Ubuntu Raring): status New Confirmed
2013-12-18 14:06:59 Launchpad Janitor nova (Ubuntu Saucy): status New Confirmed
2014-01-09 18:34:12 Chris J Arges branch linked lp:~arges/nova/fix-lp907152-grizzly
2014-01-09 18:34:51 Chris J Arges branch linked lp:~arges/nova/fix-lp907152-havana
2014-01-09 18:36:55 Chris J Arges nova (Ubuntu Raring): status Confirmed In Progress
2014-01-09 18:36:58 Chris J Arges nova (Ubuntu Raring): importance Undecided Medium
2014-01-09 18:37:00 Chris J Arges nova (Ubuntu Saucy): importance Undecided Medium
2014-01-09 18:37:08 Chris J Arges nova (Ubuntu Raring): assignee Chris J Arges (arges)
2014-01-09 18:37:15 Chris J Arges nova (Ubuntu Saucy): status Confirmed In Progress
2014-01-09 18:37:17 Chris J Arges nova (Ubuntu Saucy): assignee Chris J Arges (arges)
2014-01-09 18:40:31 Chris J Arges description It looks like there is a race condition between nova-compute-kvm and libvirt. We should move the init script into nova-compute-kvm and add a dependency on libvirt. I'll see about updating the package to handle this --- 2011-12-20 21:56:47,255 CRITICAL nova [-] unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-compute", line 49, in <module> (nova): TRACE: service.wait() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 357, in wait (nova): TRACE: _launcher.wait() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 107, in wait (nova): TRACE: service.wait() (nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/greenthread.py", line 166, in wait (nova): TRACE: return self._exit_event.wait() (nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/event.py", line 116, in wait (nova): TRACE: return hubs.get_hub().switch() (nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/hubs/hub.py", line 177, in switch (nova): TRACE: return self.greenlet.switch() (nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/greenthread.py", line 192, in main (nova): TRACE: result = function(*args, **kwargs) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 77, in run_server (nova): TRACE: server.start() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 149, in start (nova): TRACE: self.manager.update_available_resource(ctxt) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 129, in wrapped (nova): TRACE: raise Error(str(e)) (nova): TRACE: Error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory (nova): TRACE: SRU Justification: [Impact] * If nova-compute tries to start before libvirt-bin is up it will fail. And result in the above error. [Test Case] * Execute the following commands: sudo apt-get install -y python-software-properties sudo add-apt-repository cloud-archive:grizzly sudo apt-get update sudo apt-get install -y nova-compute sudo stop nova-compute sudo stop libvirt-bin # simulate that libvirt-bin starts after nova-compute is running sudo start nova-compute sleep 5 sudo status nova-compute # expected result: # start/running # actual result: # stop/waiting [Regression Potential] * This is a modification to the upstart script, and is currently commited in icehouse. -- It looks like there is a race condition between nova-compute-kvm and libvirt. We should move the init script into nova-compute-kvm and add a dependency on libvirt. I'll see about updating the package to handle this --- 2011-12-20 21:56:47,255 CRITICAL nova [-] unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-compute", line 49, in <module> (nova): TRACE: service.wait() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 357, in wait (nova): TRACE: _launcher.wait() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 107, in wait (nova): TRACE: service.wait() (nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/greenthread.py", line 166, in wait (nova): TRACE: return self._exit_event.wait() (nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/event.py", line 116, in wait (nova): TRACE: return hubs.get_hub().switch() (nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/hubs/hub.py", line 177, in switch (nova): TRACE: return self.greenlet.switch() (nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/greenthread.py", line 192, in main (nova): TRACE: result = function(*args, **kwargs) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 77, in run_server (nova): TRACE: server.start() (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 149, in start (nova): TRACE: self.manager.update_available_resource(ctxt) (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 129, in wrapped (nova): TRACE: raise Error(str(e)) (nova): TRACE: Error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory (nova): TRACE:
2014-01-31 21:08:57 Launchpad Janitor nova (Ubuntu Trusty): status Fix Committed Fix Released
2014-03-10 17:55:31 Launchpad Janitor branch linked lp:~ubuntu-server-dev/nova/grizzly
2014-03-10 17:56:25 James Page bug task added cloud-archive
2014-03-10 18:01:35 Launchpad Janitor branch linked lp:~ubuntu-server-dev/nova/havana
2014-03-10 18:04:59 James Page nova (Ubuntu Raring): status In Progress Won't Fix
2014-03-10 18:29:55 James Page cloud-archive: status New In Progress
2014-03-13 22:15:30 Brian Murray nova (Ubuntu Saucy): status In Progress Fix Committed
2014-03-13 22:15:34 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2014-03-13 22:15:39 Brian Murray bug added subscriber SRU Verification
2014-03-13 22:15:49 Brian Murray tags canonistack patch canonistack patch verification-needed
2014-04-07 13:58:16 James Page tags canonistack patch verification-needed canonistack patch verification-done
2014-04-10 14:36:29 Launchpad Janitor nova (Ubuntu Saucy): status Fix Committed Fix Released
2014-04-10 14:36:39 Dave Walker removed subscriber Ubuntu Stable Release Updates Team
2015-03-24 16:42:18 James Page cloud-archive: status In Progress Fix Released