Unable to delete a node when the DHCP server is down on the cluster
Bug #1452716 reported by
Blake Rouse
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Blake Rouse |
Bug Description
When the DHCP server is down on the cluster, deletion of a node will fail. If we were to change to writing to the DHCP configuration file instead of OMAPI this would solve this issue. A quick fix without changing how the DHCP configuration is managed at the moment would be to make sure the DHCP server is running before performing OMAPI operations. The cluster should be monitoring the DHCP server anyway and keep it on if its stopped.
Related branches
lp:~blake-rouse/maas/dhcp-service
- Mike Pontillo (community): Approve
-
Diff: 1360 lines (+642/-451)12 files modifiedsrc/provisioningserver/dhcp/__init__.py (+93/-0)
src/provisioningserver/dhcp/control.py (+0/-106)
src/provisioningserver/dhcp/omshell.py (+23/-0)
src/provisioningserver/dhcp/tests/test_control.py (+0/-147)
src/provisioningserver/dhcp/tests/test_omshell.py (+45/-0)
src/provisioningserver/drivers/service/__init__.py (+6/-0)
src/provisioningserver/drivers/service/dhcp.py (+89/-0)
src/provisioningserver/drivers/service/tests/test_dhcp.py (+116/-0)
src/provisioningserver/rpc/dhcp.py (+88/-104)
src/provisioningserver/rpc/tests/test_dhcp.py (+159/-94)
src/provisioningserver/service_monitor.py (+8/-0)
src/provisioningserver/tests/test_service_monitor.py (+15/-0)
Changed in maas: | |
milestone: | none → 1.8.0 |
Changed in maas: | |
assignee: | nobody → Ricardo Bánffy (rbanffy) |
Changed in maas: | |
status: | Triaged → In Progress |
no longer affects: | maas (Ubuntu) |
Changed in maas: | |
status: | In Progress → Confirmed |
Changed in maas: | |
assignee: | Ricardo Bánffy (rbanffy) → nobody |
Changed in maas: | |
status: | Confirmed → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Triaged |
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.