MAAS installed via d-i/tasksel: fails when opening the browser to /MAAS

Bug #1066556 reported by C de-Avillez
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Confirmed
Critical
Andres Rodriguez
Quantal
Confirmed
Critical
Andres Rodriguez

Bug Description

Fresh install of 20121014, selecting The MAAS option/new MAAS server on the initial menu.

ProblemType: BugDistroRelease: Ubuntu 12.10
Package: debian-installer (not installed)
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64

WORKAROUND:

Do *not* install MAAS via the initial installer selection; install a normal server, then, after booting into the system, 'sudo apt-get install maas'.

Revision history for this message
C de-Avillez (hggdh2) wrote :
Revision history for this message
C de-Avillez (hggdh2) wrote :

crap. It seems ubuntu-bug gets lost if you copy the apport report to another system, and call if from there. The d-i syslog that apport added in was from the reporting system, not from the failing system...

Revision history for this message
C de-Avillez (hggdh2) wrote :
Download full text (6.0 KiB)

I tried to open the MAAS URL, and received "The server encountered an internal error..."

Looking at /var/log/apache2/error.log I see the following python backtrace:

[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] mod_wsgi (pid=1456): Target WSGI script '/usr/share/maas/wsgi.py' cannot be loaded as Python module.
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] mod_wsgi (pid=1456): Exception occurred processing WSGI script '/usr/share/maas/wsgi.py'.
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] Traceback (most recent call last):
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/share/maas/wsgi.py", line 30, in <module>
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] start_up()
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/maasserver/start_up.py", line 59, in start_up
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] inner_start_up()
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/maasserver/start_up.py", line 87, in inner_start_up
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] write_full_dns_config(reload_retry=True)
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/maasserver/dns.py", line 309, in write_full_dns_config
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] args=[['reload'], reload_retry]))
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 353, in delay
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] return self.apply_async(args, kwargs)
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 449, in apply_async
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] publish = publisher or self.app.amqp.publisher_pool.acquire(block=True)
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 657, in acquire
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] R = self.prepare(R)
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/kombu/pools.py", line 54, in prepare
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] p = p()
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/kombu/pools.py", line 45, in <lambda>
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] return lambda: self.create_producer()
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/celery/app/amqp.py", line 265, in create_producer
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] pub = self.app.amqp.TaskPublisher(conn, auto_declare=False)
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/celery/app/amqp.py", line 328, in TaskPublisher
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] return TaskPublisher(*args, **self.app.merge(defaults, kwargs))
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/celery/app/amqp.py", line 158, in __init__
[S...

Read more...

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1066556

tags: added: iso-testing
C de-Avillez (hggdh2)
description: updated
C de-Avillez (hggdh2)
summary: - MAAS install via d-i/tasksel fails whe opening the browser to /MAAS
+ MAAS installed via d-i/tasksel: fails when opening the browser to /MAAS
Dave Walker (davewalker)
Changed in debian-installer (Ubuntu):
importance: Undecided → Critical
assignee: nobody → Andres Rodriguez (andreserl)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debian-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Robie Basak (racb) wrote :

I think this is a dupe of bug 1065763. Carlos, does Dann's workaround of "'dpkg-reconfigure maas-region-controller' (w/o changing any settings)" work for you?

Revision history for this message
Andres Rodriguez (andreserl) wrote :

As Robie mentioned, this is really not an issue of the debian installer. The issue is related to the way how MAAS is installing and creating the necessary RabbitMQ queues. For this reason, I'm marking this as duplicated of the bug above.

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.