Endpoint /MAAS/api/1.0/files/?op=list returns HTTP 500 with juju-core.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Expired
|
Undecided
|
Unassigned |
Bug Description
[Impact]
- Trying to reach API endpoint /MAAS/api/
[Test Case]
1) Run juju bootstrap over the maas environement
$ juju bootstrap --upload-tools -e maas
- Output: ERROR gomaasapi: got error back from server: 500 Internal Server Error
2) Check the apache access logs:
192.168.122.1 - - [07/Apr/
192.168.122.1 - - [07/Apr/
3) Apache error logs:
[Mon Apr 07 22:26:49 2014] [error] [client 192.168.122.1] Premature end of script headers: wsgi.py
No further traceback information has been generated.
[Environment]
Ubuntu version:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise
Maas package:
Version: 1.4+bzr1693+
Juju package:
Version: 1.16.3-
Thanks for the report. I couldn't reproduce that problem using the same MAAS package so I assume there is something specific to your installation that is causing this bug. Can you provide /var/log/apache2/* please?