MAAS 2.7.3 No Such Resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| MAAS |
Critical
|
Adam Collard |
Bug Description
There is a regression in MAAS 2.7.3 released this morning. Upon a fresh install of MAAS 2.7.3:
lxc launch ubuntu:bionic maastest
lxc shell maastest
add-apt-repository ppa:maas/2.7
apt install maas
Connecting to the UI:
HTTP://{IP Address}:5240/MAAS/
Returns 404:
No Such Resource
File not found.
Related branches
- Alberto Donato: Approve on 2020-08-24
- MAAS Lander: Pending (unittests) requested 2020-08-24
-
Diff: 200 lines (+143/-10)3 files modifieddebian/changelog (+6/-0)
utilities/release-build (+24/-10)
utilities/release-upload (+113/-0)
Lee Trager (ltrager) wrote : | #1 |
Nick Niehoff (nniehoff) wrote : | #2 |
@Lee sorry my original request included the /, I have updated the original comment and here is /var/log from my container.
description: | updated |
Lee Trager (ltrager) wrote : | #3 |
Something is preventing the region from starting. The error below seems to be the cause but I'm not sure why. Its possible something is binded to one of the ports MAAS uses
2020-08-21 13:24:49 -: [critical] WSGI application error
Traceback (most recent call last):
File "/usr/lib/
return self.currentCon
File "/usr/lib/
self.
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
self.started = True
--- <exception caught here> ---
File "/usr/lib/
self.
File "/usr/lib/
self.reactor, wsgiWrite, self.started)
File "/usr/lib/
result.
File "/usr/lib/
raise self.value.
builtins.
Dougal Matthews (d0ugal) wrote : | #4 |
I was able to reproduce this, but didn't have the error above. Nothing jumped out at me in the MAAS logs. So it might be worth getting somebody from UI team to take a look also.
Changed in maas: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
importance: | Undecided → Critical |
milestone: | none → 2.7.4b1 |
tags: | added: api ui |
Dougal Matthews (d0ugal) wrote : | #5 |
I should note that reproduction for me was as simple as;
1. lxc launch ubuntu:18.04 testing
2. lxc shell testing
3. sudo apt-add-repository -yu ppa:maas/2.7
4. apt install -y maas
Then try and visit the UI and get a resource not found.
I wasn't able to explore much further as it was past my EOW
Kit Randel (blr) wrote : | #6 |
`maas-ui` doesn't appear to be present in `usr/lib/
Changed in maas: | |
assignee: | nobody → Adam Collard (adam-collard) |
Adam Collard (adam-collard) wrote : | #7 |
The packaging process is sensitive to local development environment setup, and whilst we fixed this for 2.8 and beyond, 2.7 still relies (too much) on humans doing the right thing.
2.7.3 packages are being rebuilt now in the PPA, there's no change to the snap which didn't have this problem (whole build is run by launchpad's buildd).
Changed in maas: | |
status: | Confirmed → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
milestone: | 2.7.4b1 → 2.7.3rc1 |
tags: | removed: api |
Try adding a trailing slash e.g "HTTP://{IP Address} :5240/MAAS/ " I vaugly remember the UI used to require that. If that doesn't work please upload logs.