[Maas-devel] juju's private-address, DNS, MAAS and postgresql

Andreas Hasenack andreas at canonical.com
Fri Nov 8 14:01:29 UTC 2013


>
>  There is no IP address in the relation data. "relation-get
>> private-address" returns a fqdn for some reason. I didn't check what
>> unit-get returns on the postgresql server.
>>
>
postgresql/0:db-relation-changed % unit-get public-address
kmkxr.maaslocal

postgresql/0:db-relation-changed % unit-get private-address
kmkxr.maaslocal

postgresql/0:db-relation-changed % relation-get
private-address: k8q9m.maaslocal

postgresql/0:db-relation-changed % cat /etc/hosts
127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
# Added by cloud-init on Fri, 08 Nov 2013 13:55:05 +0000
127.0.1.1       kmkxr.maaslocal kmkxr

postgresql/0:db-relation-changed % hostname -f
kmkxr.maaslocal

postgresql/0:db-relation-changed % hostname
kmkxr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20131108/b9d80e03/attachment.html>


More information about the Maas-devel mailing list