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.
##### 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
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 ##### allback, client] Stopping factory <txlongpoll. client. AMQFactory instance at 0x7f4f4d11f7e8> allback, client] Logged OOPS id OOPS-09ff5a9629126f39d99d364b93ae9cd2: No exception type: No exception value allback, client] Logged OOPS id OOPS-bffd13f4baf74b1e4bdbdc33592e44ad: Closed: [Failure instance: Traceback (failure with no frames): < internet. error.Connectio nLost'> : Connection to the other side was lost in a non-clean fashion.
2014-04-07 16:42:45-0500 [AMQClientWithC
2014-04-07 16:42:45-0500 [AMQClientWithC
2014-04-07 16:42:45-0500 [AMQClientWithC
class 'twisted.
##### pserv.log ##### ss(TCP, '127.0.0.1', 59611) PEER:IPv4Addres s(TCP, u'127.0.0.1', 38365)) client] ClusterClient connection lost (HOST:IPv4Addre ss(TCP, '127.0.0.1', 35532) PEER:IPv4Addres s(TCP, u'127.0.0.1', 49852)) client] ClusterClient connection lost (HOST:IPv4Addre ss(TCP, '127.0.0.1', 35532) PEER:IPv4Addres s(TCP, u'127.0.0.1', 49852)) client] Stopping factory <twisted. internet. endpoints. OneShotFactory instance at 0x7ffcf17c1680> client] Stopping factory <twisted. internet. endpoints. OneShotFactory instance at 0x7ffcf17c1680>
2014-04-02 20:49:18-0500 [Uninitialized] ClusterClient connection established (HOST:IPv4Addre
2014-04-02 20:49:18-0500 [ClusterClient,
2014-04-02 20:49:18-0500 [ClusterClient,
2014-04-02 20:49:18-0500 [ClusterClient,
2014-04-02 20:49:18-0500 [ClusterClient,
2014-04-02 20:50:04-0500 [-] Received SIGTERM, shutting down.
2014-04-02 20:50:04-0500 [-] Received SIGTERM, shutting down.
##### maas.log ##### python2. 7/dist- packages/ django/ core/handlers/ base.py" , line 114, in get_response callback( request, *callback_args, **callback_kwargs) python2. 7/dist- packages/ django/ views/generic/ base.py" , line 69, in view request, *args, **kwargs) python2. 7/dist- packages/ django/ views/generic/ base.py" , line 87, in dispatch python2. 7/dist- packages/ maasserver/ views/nodes. py", line 206, in get python2. 7/dist- packages/ django/ views/generic/ list.py" , line 152, in get context_ data() python2. 7/dist- packages/ maasserver/ views/nodes. py", line 333, in get_context_data update( get_longpoll_ context( )) python2. 7/dist- packages/ maasserver/ views/nodes. py", line 96, in get_longpoll_ context queue': messaging. getQueue( ).name, python2. 7/dist- packages/ maasserver/ rabbit. py", line 77, in getQueue self._session, self.exchange_name) python2. 7/dist- packages/ maasserver/ rabbit. py", line 109, in __init__ queue_declare( python2. 7/dist- packages/ maasserver/ rabbit. py", line 90, in channel connection. channel( ) python2. 7/dist- packages/ maasserver/ rabbit. py", line 56, in connection _connection = connect() python2. 7/dist- packages/ maasserver/ rabbit. py", line 40, in connect python2. 7/dist- packages/ amqplib/ client_ 0_8/connection. py", line 144, in __init__ python2. 7/dist- packages/ amqplib/ client_ 0_8/abstract_ channel. py", line 95, in wait channel_ id, allowed_methods) python2. 7/dist- packages/ amqplib/ client_ 0_8/connection. py", line 202, in _wait_method method_ reader. read_method( ) python2. 7/dist- packages/ amqplib/ client_ 0_8/method_ framing. py", line 221, in read_method
ERROR 2014-04-07 16:42:02,716 django.request Internal Server Error: /MAAS/
Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
return self.dispatch(
File "/usr/lib/
return handler(request, *args, **kwargs)
File "/usr/lib/
return super(NodeListView, self).get(request, *args, **kwargs)
File "/usr/lib/
context = self.get_
File "/usr/lib/
context.
File "/usr/lib/
'longpoll_
File "/usr/lib/
return RabbitQueue(
File "/usr/lib/
self.queue_name = self.channel.
File "/usr/lib/
self._channel = self._session.
File "/usr/lib/
self.
File "/usr/lib/
insist=False)
File "/usr/lib/
(10, 30), # tune
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise m
error: [Errno 104] Connection reset by peer