If a Node is released while the DHCP server is down, its IP address remains reserved.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned | ||
1.9 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Seen in regiond.log:
2015-08-13 09:40:15 [-] Unhandled error in Deferred:
2015-08-13 09:40:15 [-] Unhandled Error
Traceback (most recent call last):
Failure: provisioningser
This could happen if the DHCPv4 service is down, or otherwise cannot be reached (via omshell) to release the IP address.
In this case, the Node is successfully released, but its "AUTO-type" StaticIPAddress remains in the table.
This was seen on an LXC where its host OS did not have an updated AppArmor profile (via the maas-dhcp package).
This defect could possibly be reproduced by doing a "chmod -x /usr/bin/omshell".
This was seen on 1.9, but we need to check if it affects 1.8 as well.
Related branches
- MAAS Maintainers: Pending requested
-
Diff: 57 lines (+21/-1)2 files modifiedsrc/maasserver/exceptions.py (+5/-0)
src/maasserver/models/node.py (+16/-1)
Changed in maas: | |
importance: | High → Critical |
Changed in maas: | |
assignee: | nobody → Ricardo Bánffy (rbanffy) |
Changed in maas: | |
assignee: | Ricardo Bánffy (rbanffy) → nobody |
Changed in maas: | |
milestone: | 1.9.0 → 1.9.1 |
status: | Triaged → New |
importance: | Critical → High |
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
milestone: | 1.9.1 → 1.9.2 |
Changed in maas: | |
milestone: | 1.9.2 → 1.9.3 |
Changed in maas: | |
milestone: | 1.9.3 → 1.9.4 |
Changed in maas: | |
milestone: | 1.9.4 → 1.9.5 |
tags: | added: canonical-bootstack |
Are we sure this is the case? If the DHCP server is down and it should be on it will be turned on before using the omshell. What your describing is just a misconfigured machine with the omshell tool has invalid permissions. Now if the DHCP server is disabled and then the node is released it will cause an issue. Is that what this bug is trying to describe?