MAAS nodes should re-report the IP address they observe assigned to themselves at deployment time
Bug #1521376 reported by
Mike Pontillo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Low
|
Unassigned | ||
1.8 |
Won't Fix
|
Low
|
Unassigned | ||
1.9 |
Won't Fix
|
Low
|
Unassigned |
Bug Description
When I use MAAS with a DHCP server that MAAS does not manage, I see a DISCOVERED address when I commission the node (the IP address that commissioning reports back).
On a MAAS-managed network, the DHCP lease parser will update the DISCOVERED addresses based on the current state of the DHCP lease.
On an unmanaged network, this does not happen - so the IP address in the MAAS database is simply the "last seen at commissioning" IP address, which could change between commissioning and deployment.
Therefore, MAAS should update the DISCOVERED IP address at install time based on the new IP address received from the DHCP server.
Changed in maas: | |
milestone: | none → next |
importance: | Low → Wishlist |
summary: |
- MAAS should re-report the IP address it observes assigned to itself at - deployment time + MAAS nodes should re-report the IP address they observe assigned to + themselves at deployment time |
Changed in maas: | |
importance: | Wishlist → Low |
Changed in maas: | |
milestone: | next → none |
To post a comment you must log in.
This could be fixed in src/maasserver/ api/pxeconfig. py, but it would require:
(1) trusting the web request that generates it. (which is probably okay)
(2) juggling the current DISCOVERED (observed) IP addresses around, which could be non-trivial. (are they IPv4 or IPv6? are they empty? are we sure they are linked to *just* the interface which claims to have been discovered?)