[02:50] bigjools: hello yet again [02:51] bigjools: do you know why juju might thing that maas nodes have a public-address like "calxeda01-18-00.localdomain"? [02:51] the .localdomain doesn't work in our set up [02:52] mwhudson: because you probably left the default setting on the cluster name [02:52] you have to de-enlist everything, rename the cluster and start again [02:53] oh yay! [02:53] where do i rename it? [02:53] you might get away with just releasing nodes [02:53] but you'd have to edit all the nodes' hostnames too [02:53] edit the cluster, there's a domain or name or something [02:54] the fqdn in the nodes' pages is what i want, no localdomain there [02:54] should be blindingly obvious, I hope [02:54] you need to edit the nodes then [02:54] and there is "Default domain for new nodes" on /settings/ but that's set to "local" [02:54] right [02:54] so just destroy-env and rename the nodes [02:55] afaics the node names are already correct though [02:55] no need to add a domain IIRC [02:55] i don't understand what i would rename them too [02:55] if I recall correctly (sorry this has always just worked for me), the nodes should have a name without a dot [02:55] then it uses the cluster's name as a domain [02:56] hmm [02:57] this doesn't appear to be what is happening [02:59] * mwhudson rummages through the source [03:00] hah, the cluster name is "Cluster 74184da7-7791-4a3b-a057-95d6a5b4bd60" [03:00] i don't think that's making an appearance [03:05] bigjools: is there a way of running a 'manage.py shell' sort of thing for maas? [03:05] mwhudson: "maas shell" [03:06] I'm interested in why it's gone a bit Pete Tong for you, since this stuff really does just work for me with no messing [03:06] >>> n.fqdn [03:06] u'calxeda01-17-00' [03:06] that's correct [03:07] can i see the serialized form of this node that's being sent to juju somehow? [03:09] I think one of the maas-cli ops will return it [03:09] there's a query or something [03:10] ah yeah, nodes list prints stuff [03:10] and it looks right there too [03:10] "hostname": "calxeda01-21-00", [03:11] so i kinda think it's juju's fault maybe [03:13] do you not get a domain name in there then? [03:13] no [03:13] a domain of .local is Avahi [03:14] I always make sure it's something else [03:14] this makes no effing sense :( [03:14] heh [03:15] I suggest destroying your env and starting again [03:15] and keep an eye on what maas has vs what juju thinks is going on [03:15] it's pretty clear that the machine in juju is constructed with both dns_name and private_dns_name set to the 'hostname' from the serialization of the node [03:15] (this is pyju, fwiw) [03:15] ok [03:16] is "localdomain" mentioned *anywhere* ? [03:16] it's not in the juju source [03:16] or the maas source [03:17] it's possible our dns is stupidly misconfigured somehow i guess [03:17] mmmm [03:17] does juju status show the right thing [03:17] ? [03:17] no [03:18] oh wait [03:18] the dns names for the machines are right [03:18] but the public adresses for the units are not [03:19] ARGH [03:19] ubuntu@juju:~$ ssh calxeda01-17-00 hostname -f [03:19] calxeda01-17-00.localdomain [03:19] ! [03:19] ARGH [03:20] so where does that come from? [03:20] cloudinit [03:20] it could be an artifact of not setting an explicit domain of your own [03:21] # Added by cloud-init [03:21] 127.0.1.1 calxeda01-17-00.localdomain calxeda01-17-00 [03:21] (from /etc/hosts on the node) [03:21] yeah [03:29] ok [03:29] so who makes the cloud init config? [03:29] maas? [03:29] mwhudson: no, juju [03:29] ok [03:29] well let me clarify [03:29] juju makes user-data [03:30] the cloud-init config itself is fairly static, there's a template with it in [03:35] it seems cloud-init really wants to have a fqdn with a dot in it [03:35] yeah [03:36] if you want maas to manage the domain you need to set something [03:37] i wonder if i can man dnsmasq resolve .localdomain [03:37] *make [03:38] haha, i wonder how relevant this is http://askubuntu.com/questions/281628/juju-dnsmasq-and-localdomain [03:38] "I added domain=localdomain to dnsmasq.conf file which sorts the problem out. [03:38] " [03:41] pff [03:41] ha [03:41] mwhudson: btw your tweet "like a boss"... really? :) [03:41] heh [03:41] oh look, creche pick up time! [03:43] bigjools: thanks for the help [03:43] mwhudson: no worries, hope it works eventually === kentb-out is now known as kentb === matsubara is now known as matsubara-lunch === matsubara-lunch is now known as matsubara === chuck_ is now known as zul === robbiew is now known as robbiew-afk === kentb is now known as kentb-ou === kentb-ou is now known as kentb-out