[Maas-devel] Idea for dynamic/static IP allocation

Andres Rodriguez andres.rodriguez at canonical.com
Fri May 2 14:12:43 UTC 2014


>
>
>
> That's what happens now. However, it seems that dhcpd treats static
> assignments within a dynamic range as advisory only, and will give
> them out when it runs low of free addresses.
>

Not really. This is why we are seeing the bugs at this point. The IP's
become static on MAAS but never become static on the DHCP server. This is
why we see the bugs where the IP listed in the node is not the one that's
mapped with DNS, and is being assigned to a different node.  So I guess
what I'm trying to say is that this static mapping should be made available
to the DHCP server so there's no way that the DHCP gives the same IP to a
different host. (Maybe updating the config, or having a .d/ directory with
config of static leases?)

>
> >>
> >>
> >> LXC containers would come up and obtain link-local addresses, which is
> >> not going to be terribly useful. MAAS would have to provide an API by
> >> which a node could obtain additional IP addresses. Juju, for example,
> >> would be forced to obtain new IP addresses from MAAS when creating new
> >> containers. [5]
> >>
> >> What do you think?
> >>
> >>
> >> [1] MAAS dhcpd will re-issue leases for nodes
> >> <https://bugs.launchpad.net/maas/+bug/1314267>
> >>
> >> [2] (dhcp lease rollover causes loss of access to managment IP
> >> <https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1274499>
> >>
> >> [3] http://en.wikipedia.org/wiki/Link-local_address
> >>
> >> [4] Nodes are given a URL that points back to the region from which to
> >> obtain their preseed, and they report commissioning results direct to
> >> the region too. These would have to change to either be proxied via or
> >> handled by the cluster.
> >>
> >> [5] This API could be extended so that a user could obtain IP addresses
> >> for use as VIPs by multiple nodes. These wouldn't be deallocated as long
> >> as one or more of those nodes is still allocated.
> >>
> >> --
> >> Mailing list: https://launchpad.net/~maas-devel
> >> Post to     : maas-devel at lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~maas-devel
> >> More help   : https://help.launchpad.net/ListHelp
> >
> >
> >
> >
> > --
> > Andres Rodriguez
> > Engineering Manager, HWE Team
> > Canonical USA, Inc.
>



-- 
Andres Rodriguez
Engineering Manager, HWE Team
Canonical USA, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20140502/0ccbe4f6/attachment.html>


More information about the Maas-devel mailing list