Subnet pages take a long time to load
Bug #1873430 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Björn Tillenius | ||
2.7 |
Fix Released
|
High
|
Björn Tillenius |
Bug Description
When viewing the Subnet tab and the page for a single space in a 2.7.0 deployment, I noticed that the pages took a very long time to load. The subnet page took around 30 seconds, and the space page more than 90 seconds.
I will need to debug more, but in both cases the space.list websocket call is the one that takes a long time to return. It gets requested early in the page, but then it takes 30-90 seconds for it to return a list of one space.
I don't yet have access to the logs, but will try to debug this further.
Related branches
~bjornt/maas:bug-1873430-2.7
- Björn Tillenius: Approve
-
Diff: 126 lines (+46/-11)4 files modifiedsrc/maasserver/websockets/handlers/fabric.py (+1/-3)
src/maasserver/websockets/handlers/space.py (+12/-8)
src/maasserver/websockets/handlers/tests/test_fabric.py (+18/-0)
src/maasserver/websockets/handlers/tests/test_space.py (+15/-0)
~bjornt/maas:slow-spaces-list
Merged
into
maas:master
- Dougal Matthews (community): Approve
- Alberto Donato (community): Approve
- MAAS Lander: Approve
-
Diff: 126 lines (+46/-11)4 files modifiedsrc/maasserver/websockets/handlers/fabric.py (+1/-3)
src/maasserver/websockets/handlers/space.py (+12/-8)
src/maasserver/websockets/handlers/tests/test_fabric.py (+18/-0)
src/maasserver/websockets/handlers/tests/test_space.py (+15/-0)
Changed in maas: | |
status: | New → Incomplete |
Changed in maas: | |
milestone: | none → 2.8.0b2 |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've reproduced the slow spaces.list call when you have many ip addresses.