[Bug 1274947] Re: juju lxc instances deployed via MAAS don't have resolvable hostnames

Alexander List 1274947 at bugs.launchpad.net
Tue Jun 17 14:26:54 UTC 2014


We also see this behaviour on LXC containers deployed to MAASified
machines where MAAS does *not* manage DHCP/DNS.

We are trying to smoosh OpenStack infra into LXC units on MAASified
machines for HA.

It is most visible with rabbitmq-server, which bails out on NXdomain for
the unit.

It's also reproducible by just trying to sudo:

ubuntu at juju-machine-5-lxc-25:~$ sudo -i
sudo: unable to resolve host juju-machine-5-lxc-25

What *could* help is to pre-allocate MACs for each LXC container, either
inside or outside MAAS doesn't really matter, and inject them into the
host machine via lxc.network.hwaddr, cf.
http://manpages.ubuntu.com/manpages/trusty/man5/lxc.container.conf.5.html

This would require that cloud-init/juju respect what they get from
DHCP/DNS in terms of hostname...

** Attachment added: "rabbitmq-server charm hook error"
   https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1274947/+attachment/4133307/+files/rabbitmq-server-error.txt

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1274947

Title:
  juju lxc instances deployed via MAAS don't have resolvable hostnames

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1274947/+subscriptions



More information about the Ubuntu-server-bugs mailing list