405 method not allowed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned |
Bug Description
After upgrading deb installation of MAAS to 2.5.0 beta 3, I was able to use the MAAS for a few screens but then got a 405 Method Not Allowed error on every attempt to access MAAS UI. If I close the window and try connecting again it seems to work.
I am running MAAS 2.5.0 beta 3 in a container installed via ppa:maas/next. I have also seen this error when running very recent versions of MAAS off the master branch.
See attached tarball for logs. Here is the output of the dpkg listing:
root@bionic-
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 2.5.0~beta3-
ii maas-cli 2.5.0~beta3-
un maas-cluster-
ii maas-common 2.5.0~beta3-
ii maas-dhcp 2.5.0~beta3-
un maas-dns <none> <none> (no description available)
ii maas-proxy 2.5.0~beta3-
ii maas-rack-
ii maas-region-api 2.5.0~beta3-
ii maas-region-
un maas-region-
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-
ii python3-django-maas 2.5.0~beta3-
ii python3-maas-client 2.5.0~beta3-
ii python3-
root@bionic-
Changed in maas: | |
milestone: | 2.5.0rc1 → 2.5.0 |
Changed in maas: | |
milestone: | 2.5.0 → 2.5.x |
2018-10-16 11:02:52 twisted.scripts: [info] twistd 17.9.0 (/usr/bin/python3 3.6.6) starting up. internet. asyncioreactor. AsyncioSelector Reactor. python3/ dist-packages/ twisted/ internet/ defer.py" , line 1386, in _inlineCallbacks system/ maas-syslog. service; enabled; vendor preset: enabled)\n Active: inactive (dead) since Tue 2018-10-16 11:01:15 EDT; 1min 38s ago\n Docs: man:rsyslogd(8)\n http:// docs.maas. io/\n Main PID: 636 (code=exited, status= 0/SUCCESS) \n\nOct 16 11:00:39 bionic-maas-run systemd[1]: maas-syslog. service: Failed to reset devices.list: Operation not permitted\nOct 16 11:00:51 bionic-maas-run systemd[1]: maas-syslog. service: Failed to reset devices.list: Operation not permitted\nOct 16 11:00:53 bionic-maas-run systemd[1]: maas-syslog. service: Failed to reset devices.list: Operation not permitted\nOct 16 11:00:55 bionic-maas-run systemd[1]: maas-syslog. service: Failed to reset devices.list: Operation not permitted\nOct 16 11:00:55 bionic-maas-run systemd[1]: maas-syslog. service: Failed to reset devices.list: Operation not permitted\nOct 16 11:01:14 bionic-maas-run systemd[1]: maas-syslog. service: Failed to reset devices.list: Operation not permitted\nOct 16 11:01:15 bionic-maas-run systemd[1]: maas-syslog. service: Failed to reset devices.list: Operation not permitted\nOct 16 11:01:15 bionic-maas-run systemd[1]: Stopping MAAS Syslog Service...\nOct 16 11:01:15 bionic-maas-run rsyslogd[636]: [origin software="rsyslogd" swVersion="8.32.0" x-pid="636" x-info="http:// www.rsyslog. com"] exiting on signal 15.\nOct 16 11:01:15 bionic-maas-run systemd[1]: Stopped MAAS Syslog Service.\n', '') python3/ dist-packages/ twisted/ internet/ defer.py" , line 1386, in _inlineCallbacks python3/ dist-packages/ provisioningser ver/utils/ service_ monitor. py", line 560, in _loadSystemDSer viceState (active_ state_enum, process_state)) python3/ dist-packages/ twisted/ internet/ defer.py" , line 1363, in returnValue internet. defer._ DefGen_ Return: (<SERVICE_ STATE.OFF: 'off'>, 'dead')
2018-10-16 11:02:52 twisted.scripts: [info] reactor class: twisted.
2018-10-16 11:02:54 stderr: [error] --- Logging error ---
2018-10-16 11:02:54 stderr: [error] Traceback (most recent call last):
2018-10-16 11:02:54 stderr: [error] File "/usr/lib/
2018-10-16 11:02:54 stderr: [error] result = g.send(result)
2018-10-16 11:02:54 stderr: [error] StopIteration: (3, '● maas-syslog.service - MAAS Syslog Service\n Loaded: loaded (/lib/systemd/
2018-10-16 11:02:54 stderr: [error]
2018-10-16 11:02:54 stderr: [error] During handling of the above exception, another exception occurred:
2018-10-16 11:02:54 stderr: [error]
2018-10-16 11:02:54 stderr: [error] Traceback (most recent call last):
2018-10-16 11:02:54 stderr: [error] File "/usr/lib/
2018-10-16 11:02:54 stderr: [error] result = g.send(result)
2018-10-16 11:02:54 stderr: [error] File "/usr/lib/
2018-10-16 11:02:54 stderr: [error] returnValue(
2018-10-16 11:02:54 stderr: [error] File "/usr/lib/
2018-10-16 11:02:54 stderr: [error] raise _DefGen_Return(val)
2018-10-16 11:02:54 stderr: [error] twisted.
2018-10-16 11:02:54 stderr: [error]
2018-10-16 11:02:54 stderr: [error] During handling of the above exception, anoth...