LXC container and DNS names
Pshem Kowalczyk
pshem.k at gmail.com
Thu Oct 29 01:03:46 UTC 2015
Hi,
I'm running a stable version of juju (1.24.7-trusty-amd64) and maas
(1.8.2+bzr4041-0ubuntu1 (trusty1)). I use maas to manage DHCP and DNS on
the 'bootstrap' network.
I would like to know if it's possible to get juju to register the DNS names
for the containers it spins up. For example at this stage I get:
maascontroller:~$ juju status mysql
environment: maas
machines:
"0":
agent-state: started
agent-version: 1.24.7
dns-name: controller.maas
instance-id:
/MAAS/api/1.0/nodes/node-f2b1adb6-7603-11e5-a073-0050569a302e/
series: trusty
containers:
0/lxc/2:
agent-state: started
agent-version: 1.24.7
dns-name: 10.0.0.148
instance-id: juju-machine-0-lxc-2
series: trusty
hardware: arch=amd64
hardware: arch=amd64 cpu-cores=4 mem=65536M tags=4cpu
state-server-member-status: has-vote
services:
mysql:
charm: cs:trusty/mysql-29
exposed: false
service-status:
current: unknown
since: 29 Oct 2015 13:24:18+13:00
relations:
cluster:
- mysql
shared-db:
- glance
- keystone
- neutron-api
- neutron-gateway
- nova-cloud-controller
- nova-compute
units:
mysql/0:
workload-status:
current: unknown
since: 29 Oct 2015 13:24:18+13:00
agent-status:
current: idle
since: 29 Oct 2015 13:34:53+13:00
version: 1.24.7
agent-state: started
agent-version: 1.24.7
machine: 0/lxc/2
public-address: 10.0.0.148
networks:
maas-eth1:
provider-id: maas-eth1
cidr: 10.0.0.0/24
I would like juju to either create something like juju-machine-0-lxc-2.maas
(and preferably mysql-0.maas). Is this possible?
kind regards
Pshem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151029/6cd3dac5/attachment.html>
More information about the Juju
mailing list