[2.5] KVM installation from Web UI breaks AUTO IP address assignment
Bug #1804557 reported by
Mike Pontillo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo |
Bug Description
When deploying KVM from the Web UI, if an automatic IP address assignment is used, it may fail due to the interface_set being cached on the Node object.
This occurs because interface additions do not necessarily invalidate Django's cache of the interface_set on the Node object (which may be aggressively cached for performance reasons in the WebSocket handler).
Related branches
~mpontillo/maas:fix-websocket-claim-auto-ips--bug-1804557
Merged
into
maas:master
- Andres Rodriguez (community): Approve
- MAAS Lander: Pending (unittests) requested
-
Diff: 49 lines (+26/-1)2 files modifiedsrc/maasserver/models/node.py (+4/-1)
src/maasserver/models/tests/test_node.py (+22/-0)
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.