allow setting fixed MAC addresses for juju created LXC containers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Our environment requires stable IP addresses for LXC containers deployed to MAAS managed physical machines via juju.
We are smooshing OpenStack infrastructure components (glance, cinder, rabbitmq-server, swift-proxy, ...) to 3 units each on 3 physical hosts for HA.
HA enabled services using the hacluster charm require that we specify a virtual IP via config, but the IP of an LXC container comes from a pool no matter if MAAS is used for DHCP/DNS management or not. MAC addresses are randomized by default as well, using /etc/lxc/
I suggest allowing the MAC address to be pre-allocated via config, such that IP and hostname can be pre-allocated via DHCP/DNS as well.
References:
http://
https:/
http://
$ lsb_release -rd
Description: Ubuntu 12.04.4 LTS
Release: 12.04
juju-core version: 1.18.4
Target distro: trusty
From Dimiter:
We have other plans for HA/VIPs.