Internal Server Error after installing MAAS from Trusty daily ISO
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Critical
|
Unassigned | ||
maas (Ubuntu) |
Fix Released
|
Critical
|
Andres Rodriguez | ||
Trusty |
Fix Released
|
Critical
|
Andres Rodriguez |
Bug Description
After installing MAAS from ISO using the 'Create a new MAAS on this server' option, the MAAS frontend returns 'Internal Server Error'. Confirmed in a new virtual machine on an isolated network with no other DHCP service present. Possibly an issue with rabbitmq authentication or configuration (?).
Installation medium: Trusty Daily ISO 20140326
See also QA ISO Tracker 'Test-case name: maas/maas-002' on:
http://
*** HTTP output:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.7 (Ubuntu) Server at 10.17.17.201 Port 80
*** Repeated entries from /var/log/
[2014-03-27 13:38:34,936: ERROR/Beat] beat: Connection error: [Errno 104] Connection reset by peer. Trying again in 32.0 seconds...
[2014-03-27 13:39:09,919: ERROR/MainProcess] consumer: Cannot connect to amqp://
Trying again in 32.00 seconds...
*** /var/log/
=INFO REPORT==== 27-Mar-
accepting AMQP connection <0.362.0> (127.0.0.1:44442 -> 127.0.0.1:5672)
=ERROR REPORT==== 27-Mar-
closing AMQP connection <0.362.0> (127.0.0.1:44442 -> 127.0.0.1:5672):
{handshake_
=INFO REPORT==== 27-Mar-
accepting AMQP connection <0.365.0> (127.0.0.1:44443 -> 127.0.0.1:5672)
*** Repeated entries from /var/log/
2014-03-27 13:35:17-0500 [-] Starting factory <txlongpoll.
2014-03-27 13:35:17-0500 [-] Starting factory <txlongpoll.
2014-03-27 13:35:20-0500 [AMQClientWithC
2014-03-27 13:35:20-0500 [AMQClientWithC
Traceback (most recent call last):
Failure: txamqp.
]
2014-03-27 13:35:20-0500 [AMQClientWithC
2014-03-27 13:35:20-0500 [AMQClientWithC
2014-03-27 13:35:20-0500 [AMQClientWithC
2014-03-27 13:35:20-0500 [AMQClientWithC
2014-03-27 13:35:20-0500 [AMQClientWithC
2014-03-27 13:35:20-0500 [AMQClientWithC
]
*** OOPS event:
rbeisner@
0-maas-
[Failure instance: Traceback (failure with no frames): <class 'twisted.
]tb_text
Unhandled Error
Traceback (most recent call last):
Failure: txamqp.
]
*** Repeated entries from /var/log/
2014-03-27 13:39:15-0500 [HTTPPageGetter
2014-03-27 13:39:15-0500 [HTTPPageGetter
2014-03-27 13:39:15-0500 [HTTPPageGetter
2014-03-27 13:40:19-0500 [-] Starting factory <HTTPClientFactory: http://
2014-03-27 13:40:19-0500 [-] Starting factory <HTTPClientFactory: http://
2014-03-27 13:40:35-0500 [HTTPPageGetter
Traceback (most recent call last):
Failure: twisted.
*** Package & system info:
rbeisner@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 1.5+bzr1977-
ii maas-cli 1.5+bzr1977-
ii maas-cluster-
ii maas-common 1.5+bzr1977-
ii maas-dhcp 1.5+bzr1977-
ii maas-dns 1.5+bzr1977-
ii maas-region-
ii maas-region-
ii python-django-maas 1.5+bzr1977-
ii python-maas-client 1.5+bzr1977-
ii python-
rbeisner@
Linux 0-maas-node0 3.13.0-19-generic #40-Ubuntu SMP Mon Mar 24 02:36:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
rbeisner@
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
Codename: trusty
*** from Apache error log:
[Thu Mar 27 13:59:49.533513 2014] [:error] [pid 1197:tid 140205665552128] [remote 10.17.17.201:15947] error: [Errno 104] Connection reset by peer
[Thu Mar 27 14:00:07.663804 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] mod_wsgi (pid=1198): Target WSGI script '/usr/share/
[Thu Mar 27 14:00:07.663831 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] mod_wsgi (pid=1198): Exception occurred processing WSGI script '/usr/share/
[Thu Mar 27 14:00:07.663862 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] Traceback (most recent call last):
[Thu Mar 27 14:00:07.663886 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/share/
[Thu Mar 27 14:00:07.663924 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] start_up()
[Thu Mar 27 14:00:07.663934 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.663951 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] post_start_up()
[Thu Mar 27 14:00:07.663961 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.663985 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] NodeGroup.
[Thu Mar 27 14:00:07.663995 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664009 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] refresh_
[Thu Mar 27 14:00:07.664017 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664031 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] refresh_
[Thu Mar 27 14:00:07.664039 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664054 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] **dict(
[Thu Mar 27 14:00:07.664062 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664076 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] reply_to=reply_to or self.oid, **options
[Thu Mar 27 14:00:07.664084 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664098 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] **kwargs
[Thu Mar 27 14:00:07.664106 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664120 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] routing_key, mandatory, immediate, exchange, declare)
[Thu Mar 27 14:00:07.664128 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664141 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] interval_max)
[Thu Mar 27 14:00:07.664149 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664161 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] interval_start, interval_step, interval_max, callback)
[Thu Mar 27 14:00:07.664170 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664183 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] return fun(*args, **kwargs)
[Thu Mar 27 14:00:07.664191 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664203 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] return self.connection
[Thu Mar 27 14:00:07.664211 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664223 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] self._connection = self._establish
[Thu Mar 27 14:00:07.664231 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664248 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] conn = self.transport.
[Thu Mar 27 14:00:07.664256 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664269 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] conn = self.Connection
[Thu Mar 27 14:00:07.664277 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664290 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] (10, 30), # tune
[Thu Mar 27 14:00:07.664298 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664310 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] self.channel_id, allowed_methods)
[Thu Mar 27 14:00:07.664318 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664330 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] self.method_
[Thu Mar 27 14:00:07.664339 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] File "/usr/lib/
[Thu Mar 27 14:00:07.664351 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] raise m
[Thu Mar 27 14:00:07.664370 2014] [:error] [pid 1198:tid 140205665552128] [remote 10.17.17.201:15947] error: [Errno 104] Connection reset by peer
Related branches
- Andres Rodriguez (community): Approve
-
Diff: 41 lines (+7/-3)3 files modifieddebian/changelog (+5/-1)
debian/maas-region-controller-min.maas-region-celery.upstart (+1/-1)
debian/maas-region-controller-min.maas-txlongpoll.upstart (+1/-1)
Changed in maas (Ubuntu): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Take note: the MAAS frontend works as expected when installing from apt.
ie. do a basic Trusty install from ISO, then issue:
sudo apt-get install maas maas-dhcp maas-dns
Following reboot, the MAAS http frontend is functional, and you can proceed to adding superuser, importing images, etc.
This seems to affect only the 'Create a new MAAS on this server' method.