[2.5] Pod websocket not notified if host interfaces change
Bug #1796426 reported by
Mike Pontillo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo |
Bug Description
Steps to reproduce:
(1) Configure a hosted pod on a MAAS controller
(2) Add, change, or remove interfaces on the controller
Expected behavior:
- The pod should be notified about an update (since changes to hosted pod interfaces mean a different set of potential VLANs or subnets to attach to), resulting in UI changes when composing a machine.
Actual behavior:
- The pod websocket is not notified (thus the pod object is never updated)
Related branches
~mpontillo/maas:add-pod-interface-trigger--bug-1796426
Merged
into
maas:master
- Andres Rodriguez (community): Approve
- MAAS Lander: Approve
-
Diff: 278 lines (+182/-15)6 files modifiedsrc/maasserver/dbviews.py (+24/-0)
src/maasserver/triggers/__init__.py (+13/-15)
src/maasserver/triggers/testing.py (+11/-0)
src/maasserver/triggers/tests/test_init.py (+1/-0)
src/maasserver/triggers/tests/test_websocket_listener.py (+88/-0)
src/maasserver/triggers/websocket.py (+45/-0)
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.5.0rc1 → 2.5.0beta3 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.