MAAS' DHCP server is not stopped when the number of managed interfaces is zero
Bug #1283114 reported by
Raphaël Badin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Julian Edwards |
Bug Description
If you configure a DHCP-managed interface on a cluster, MAAS' DHCP server gets started. Then if you change the interface to be non-managed: the DHCP config isn't changed (it still contains the old config) and the DHCP server isn't stopped.
Related branches
lp:~julian-edwards/maas/stop-dhcp-server-bug-1283114
- Jeroen T. Vermeulen (community): Approve
-
Diff: 374 lines (+131/-45)9 files modifiedsrc/maasserver/dhcp.py (+14/-8)
src/maasserver/testing/__init__.py (+24/-0)
src/maasserver/testing/factory.py (+2/-1)
src/maasserver/testing/tests/test_factory.py (+3/-1)
src/maasserver/testing/tests/test_module.py (+39/-0)
src/maasserver/tests/test_dhcp.py (+22/-8)
src/maasserver/tests/test_forms.py (+10/-22)
src/provisioningserver/tasks.py (+7/-0)
src/provisioningserver/tests/test_tasks.py (+10/-5)
Changed in maas: | |
importance: | High → Critical |
milestone: | none → 14.04 |
tags: | added: easy |
Changed in maas: | |
assignee: | nobody → Julian Edwards (julian-edwards) |
status: | Triaged → In Progress |
summary: |
- MAAS' DHCP server is not stopped when the number of managed interface is - zero + MAAS' DHCP server is not stopped when the number of managed interfaces + is zero |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.