KVM Page Fails to load with error "An unexpected error has occurred, please try refreshing your browser window."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Caleb Ellis | ||
2.9 |
Fix Released
|
High
|
Alberto Donato | ||
maas-ui |
Fix Released
|
Unknown
|
Bug Description
MaaS version: 2.9.1
Deployment: 1x Region+Rack Controller + 1x Rack Controller. External PostgreSQL 12 DB.
Issue seems to have came up after the restarting of the main database. All other pages in the web UI load except for the KVM page which has the error "An unexpected error has occurred, please try refreshing your browser window."
Running a grep to find any reference of the KVM page in logs returns the following:
grep -rnw /var/snap/ -e "/MAAS/r/kvm"
/var/snap/
/var/snap/
/var/snap/
/var/snap/
/var/snap/
Have tried restarting the controllers, the database and clearing any local caches. All other pages seem to load which localizes the problem to how the KVM page in the web ui is different?
Related branches
- MAAS Lander: Needs Fixing
- Alberto Donato (community): Approve
-
Diff: 110 lines (+45/-27)2 files modifiedsrc/maasserver/websockets/handlers/pod.py (+29/-27)
src/maasserver/websockets/handlers/tests/test_pod.py (+16/-0)
- Adam Collard (community): Approve
- MAAS Lander: Approve
-
Diff: 111 lines (+45/-28)2 files modifiedsrc/maasserver/websockets/handlers/pod.py (+29/-27)
src/maasserver/websockets/handlers/tests/test_pod.py (+16/-1)
tags: | added: ui |
Changed in maas-ui: | |
importance: | Undecided → Unknown |
Changed in maas: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Caleb Ellis (caleb-ellis) |
milestone: | none → 2.9.x |
Changed in maas-ui: | |
status: | New → Fix Released |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
milestone: | 2.9.x → 2.10-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
no longer affects: | maas (Ubuntu) |
I have the same issue. I can recreate it easily. I have a fresh install of MAAS 2.9 running and can see the Machines page great. I add an LXD server and the machines page shows the error "Error: An unexpected error has occurred, please try refreshing your browser window."
Nothing too special about the LXD servers. Just Ubuntu built to setup an LXD cluster.