fresh MAAS install from ISO fails when opening the MAAS URL

Bug #1066421 reported by C de-Avillez
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
maas (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Brand new install of 20121013 image, AMD64.

* After the install, I apt-get maas-dns.
* after that I created the super user, and downloaded the PXE files.
* after that 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__
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] super(TaskPublisher, self).__init__(*args, **kwargs)
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/kombu/compat.py", line 61, in __init__
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] super(Publisher, self).__init__(connection, self.exchange, **kwargs)
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/kombu/messaging.py", line 79, in __init__
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] self.revive(self.channel)
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/kombu/messaging.py", line 168, in revive
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] channel = channel.default_channel
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 581, in default_channel
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] self.connection
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 574, in connection
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] self._connection = self._establish_connection()
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 533, in _establish_connection
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] conn = self.transport.establish_connection()
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/kombu/transport/amqplib.py", line 279, in establish_connection
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] connect_timeout=conninfo.connect_timeout)
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/kombu/transport/amqplib.py", line 89, in __init__
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] super(Connection, self).__init__(*args, **kwargs)
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py", line 144, in __init__
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] (10, 30), # tune
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/abstract_channel.py", line 95, in wait
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] self.channel_id, allowed_methods)
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py", line 202, in _wait_method
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] self.method_reader.read_method()
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/method_framing.py", line 221, in read_method
[Sat Oct 13 19:44:13 2012] [error] [client 127.0.0.1] raise m

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: maas 0.1+bzr1264+dfsg-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Sat Oct 13 19:38:57 2012
InstallationMedia: Ubuntu-Server 12.10 "Quantal Quetzal" - Release amd64 (20121013)
PackageArchitecture: all
SourcePackage: maas
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
C de-Avillez (hggdh2) wrote :
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/1066421

tags: added: iso-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in maas (Ubuntu):
status: New → Confirmed
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.