Not assigning static IP addresses

Bug #1363999 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Julian Edwards

Bug Description

With an installed MAAS upgraded to a package built from fresh trunk today, I'm not seeing static IP addresses on my nodes. The managed cluster interface has a static range, yet the nodes, even when deployed, have addresses in the dynamic range.

This may have happened as a consequence of recent IPv6 work, which was supposed to give a MACAddress a StaticIPAddress for each managed NodeGroupInterface to which it is connected — which may include both an IPv4 and an IPv6 one.

Related branches

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

The reason appears to be that MACAddress.cluster_interface isn't populated. It may be a matter of waiting for the next DHCP leases uploaded to set this right.

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Raphaël notices that this happens despite the leases having been uploaded. So somehow, update_mac_cluster_interfaces seems not to be updating the cluster_interface field.

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

It may be that the uploading of leases has been moved over to RPC, and simply doesn't call the API method that's supposed to set MACAddress.cluster_interface.

Changed in maas:
assignee: nobody → Julian Edwards (julian-edwards)
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

For what it's worth, manually setting MACAddress.cluster_interface works around the problem: static IP addresses get assigned, IPv4 and IPv6 both.

Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
milestone: none → 1.7.0
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.