Comment 9 for bug 1302772

Revision history for this message
Ryan Beisner (1chb1n) wrote :

After failed apt-get upgrade of maas packages, the formerly-happy Trusty MAAS deployment is non-functional. Front end gives 'Internal server error.'

##### txlongpol.log #####
2014-04-07 16:42:45-0500 [AMQClientWithCallback,client] Stopping factory <txlongpoll.client.AMQFactory instance at 0x7f4f4d11f7e8>
2014-04-07 16:42:45-0500 [AMQClientWithCallback,client] Logged OOPS id OOPS-09ff5a9629126f39d99d364b93ae9cd2: No exception type: No exception value
2014-04-07 16:42:45-0500 [AMQClientWithCallback,client] Logged OOPS id OOPS-bffd13f4baf74b1e4bdbdc33592e44ad: Closed: [Failure instance: Traceback (failure with no frames): <
class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion.

##### pserv.log #####
2014-04-02 20:49:18-0500 [Uninitialized] ClusterClient connection established (HOST:IPv4Address(TCP, '127.0.0.1', 59611) PEER:IPv4Address(TCP, u'127.0.0.1', 38365))
2014-04-02 20:49:18-0500 [ClusterClient,client] ClusterClient connection lost (HOST:IPv4Address(TCP, '127.0.0.1', 35532) PEER:IPv4Address(TCP, u'127.0.0.1', 49852))
2014-04-02 20:49:18-0500 [ClusterClient,client] ClusterClient connection lost (HOST:IPv4Address(TCP, '127.0.0.1', 35532) PEER:IPv4Address(TCP, u'127.0.0.1', 49852))
2014-04-02 20:49:18-0500 [ClusterClient,client] Stopping factory <twisted.internet.endpoints.OneShotFactory instance at 0x7ffcf17c1680>
2014-04-02 20:49:18-0500 [ClusterClient,client] Stopping factory <twisted.internet.endpoints.OneShotFactory instance at 0x7ffcf17c1680>
2014-04-02 20:50:04-0500 [-] Received SIGTERM, shutting down.
2014-04-02 20:50:04-0500 [-] Received SIGTERM, shutting down.

##### maas.log #####
ERROR 2014-04-07 16:42:02,716 django.request Internal Server Error: /MAAS/
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 114, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 87, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/maasserver/views/nodes.py", line 206, in get
    return super(NodeListView, self).get(request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/list.py", line 152, in get
    context = self.get_context_data()
  File "/usr/lib/python2.7/dist-packages/maasserver/views/nodes.py", line 333, in get_context_data
    context.update(get_longpoll_context())
  File "/usr/lib/python2.7/dist-packages/maasserver/views/nodes.py", line 96, in get_longpoll_context
    'longpoll_queue': messaging.getQueue().name,
  File "/usr/lib/python2.7/dist-packages/maasserver/rabbit.py", line 77, in getQueue
    return RabbitQueue(self._session, self.exchange_name)
  File "/usr/lib/python2.7/dist-packages/maasserver/rabbit.py", line 109, in __init__
    self.queue_name = self.channel.queue_declare(
  File "/usr/lib/python2.7/dist-packages/maasserver/rabbit.py", line 90, in channel
    self._channel = self._session.connection.channel()
  File "/usr/lib/python2.7/dist-packages/maasserver/rabbit.py", line 56, in connection
    self._connection = connect()
  File "/usr/lib/python2.7/dist-packages/maasserver/rabbit.py", line 40, in connect
    insist=False)
  File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py", line 144, in __init__
    (10, 30), # tune
  File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/abstract_channel.py", line 95, in wait
    self.channel_id, allowed_methods)
  File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py", line 202, in _wait_method
    self.method_reader.read_method()
  File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/method_framing.py", line 221, in read_method
    raise m
error: [Errno 104] Connection reset by peer