On Ubuntu 10.10, upgrading a nova install stalls

Bug #691174 reported by Anne Gentle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

I've replicated this on two different Rackspace cloud servers which started as 10.04 images that I manually upgraded to 10.10.

Using ttx's instructions at http://fnords.wordpress.com/2010/12/02/bleeding-edge-openstack-nova-on-maverick/, on a system where I had already installed Nova, running

sudo apt-get install nova-api nova-objectstore nova-compute nova-scheduler nova-network euca2ools unzip

stalls at

Installing new version of config file /etc/logrotate.d/nova-common ...

and never completes.

Tags: ubuntu
Anne Gentle (annegentle)
summary: - On Ubuntu 10.10, nova install stalls
+ On Ubuntu 10.10, upgrading a nova install stalls
Revision history for this message
Anne Gentle (annegentle) wrote :
Download full text (11.5 KiB)

Additional info:

In fact it didn't quite stall out all the way on the second test box I ran it on. Here's the remaining errors. I also see these errors when I try to run the VM at http://wiki.openstack.org/NovaVirtually

Installing new version of config file /etc/init.d/nova-scheduler ...
 * Starting nova scheduler nova-scheduler
WARNING:root:Starting scheduler node
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/nova-2010.1-py2.6.egg/nova/twistd.py", line 279, in serve
    twistd.runApp(options)
  File "/usr/lib/python2.6/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 374, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 439, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 450, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.6/dist-packages/twisted/application/service.py", line 390, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/usr/lib/python2.6/dist-packages/twisted/persisted/sob.py", line 210, in loadValueFromFile
    exec fileObj in d, d
  File "/usr/bin/nova-scheduler", line 48, in <module>
    application = service.Service.create()
  File "/usr/local/lib/python2.6/dist-packages/nova-2010.1-py2.6.egg/nova/service.py", line 127, in create
    proxy=service_obj)
  File "/usr/local/lib/python2.6/dist-packages/nova-2010.1-py2.6.egg/nova/rpc.py", line 149, in __init__
    topic=topic)
  File "/usr/local/lib/python2.6/dist-packages/nova-2010.1-py2.6.egg/nova/rpc.py", line 140, in __init__
    super(TopicConsumer, self).__init__(connection=connection)
  File "/usr/local/lib/python2.6/dist-packages/nova-2010.1-py2.6.egg/nova/rpc.py", line 86, in __init__
    super(Consumer, self).__init__(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/carrot/messaging.py", line 230, in __init__
    self.declare()
  File "/usr/lib/pymodules/python2.6/carrot/messaging.py", line 267, in declare
    warn_if_exists=self.warn_if_exists)
  File "/usr/lib/pymodules/python2.6/carrot/backends/pyamqplib.py", line 221, in queue_declare
    return self.channel.queue_declare(queue=queue,
  File "/usr/lib/pymodules/python2.6/carrot/backends/pyamqplib.py", line 169, in channel
    self._channel_ref = weakref.ref(self.connection.get_channel())
  File "/usr/lib/pymodules/python2.6/carrot/connection.py", line 150, in get_channel
    return self.connection.channel()
  File "/usr/lib/pymodules/python2.6/carrot/connection.py", line 120, in connection
    self._connection = self._establish_connection()
  File "/usr/lib/pymodules/python2.6/carrot/connection.py", line 133, in _establish_connection
    return self.create_backend().establish_connection()
  File "/usr/lib/pymodules/python2.6/carrot/backends/pyamqplib.py", line 183, in establish_connection
    connect_timeo...

Revision history for this message
Thierry Carrez (ttx) wrote :

Couldn't really reproduce that error...

Looking at your logs, it appears you don't have rabbitmq-server installed (or running). If you just upgraded a redis-dependent Nova into a Rabbit-using one, you might have missed that prerequisite step ? If not, could you give me more details on what you started from and what you tried to go to ?

Changed in nova:
status: New → Incomplete
Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 691174] Re: On Ubuntu 10.10, upgrading a nova install stalls

I'm reasonably sure I fixed this yesterday. Can you check if it's still a
problem?

Sent from my phone. Please pardon my brevity.

Revision history for this message
Thierry Carrez (ttx) wrote :

@Anne, any chance you could retest that, like Soren asked ?

Thierry Carrez (ttx)
tags: added: ubuntu
Revision history for this message
Thierry Carrez (ttx) wrote :

Closing as supposed fixed, without answer from OP. Please reopen if you can reproduce it.

Changed in nova:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.