=== freeflying_away is now known as freeflying [00:48] Does a MaaS region or Cluster controller going down mean the provisioned servers go down or only that new servers will not be provisioned? | http://askubuntu.com/q/346048 === freeflying is now known as freeflying_away === freeflying_away is now known as freeflying [05:27] when does maas add CNAME, after enlist or after it be allocated? === CyberJacob|Away is now known as CyberJacob [06:09] freeflying: after commissioning [07:06] bigjools, is there any clue on why some node can't be added after commissionning [07:06] freeflying: what do you mean by added? [07:07] bigjools, the CNAME record [07:09] freeflying: you'd have to look a in a few places. The path from commissioned node to dns cname is a long one, I'll try to explain: [07:09] bigjools, thanks [07:09] 1. the celeryd on the cluster controller periodically scans the dhcp leases file and reports active leases to the region controller [07:10] 2. the region controller associates the lease (MAC/IP combo) with any known nodes [07:10] 3. it sends a job to the celeryd-region daemon to write a new zone file [07:10] 4. it sends a job to the celeryd-region daemon to reload the zone [07:11] so check logs for both celeryd processes to start with and see if there's any errors [07:11] also check the maas log [07:13] bigjools, celeryd scans the lease of dhcp managed by maas only, right? [07:14] freeflying: yes [07:14] unless you have dhcp controlled by maas you won't get any CNAME [07:15] bigjools, but now we running a external dhcp server for enlisting/provisioning [07:16] freeflying: then you're out of luck, you need to use DDNS to update an external DNS server [07:17] this is largely because maas needs to be able to force a static host mapping in the dhcp server [07:17] bigjools, that explains I only have 2 nodes CNAME added by maas [07:19] if the leases file is on the same server as the cluster controller it can scan the leases, but if the IP changes things will break [07:21] bigjools, the leases file is on the same server, so we have isc-dhcp-server running, bind to one eth, and maas's dhcp bind to another eth on same server [07:22] freeflying: maas does not have its own dhcp server, it uses isc [07:23] I think its ok to have another isc running for a separate eth but I've never done that [07:24] bigjools, yes, and I run into problem that node's CNAME can't be added [07:26] freeflying: so you have maas-dhcp installed? [07:27] bigjools, yes [07:27] freeflying: then there must be an error in one of the logs somewhere to say what's going on [07:27] freeflying: which version of maas? [07:28] bigjools, 1.2+bzr1373+dfsg-0ubuntu1~12.04.2 [07:28] freeflying: did you set the cluster controller to manage dhcp/dns? [07:28] in the web ui [07:28] bigjools, yes [07:30] bigjools, and I'm confused that we had 3 machines enlisted, and we successfully bootstrapped, and deployed ubuntu to another machine, I tried to add-unit, it fails, checked /etc/bind/maas/zone.maaslab.mast, only got 2 CNAME there [07:32] freeflying: that is odd [07:32] freeflying: can you look at the leases file and see if there is an entry [07:32] then can you do this: [07:32] $ maas shell [07:32] > from maasserver.models import DHCPLease [07:32] > for l in DHCPLease.objects.all(): [07:32] > print l [07:37] bigjools, only 2 entries can be found, I believe its because the third one hasn't boot up successfully after commissioning, so it never has a chance to get ip from dhcp managed by maas [07:38] freeflying: that sounds reasonable [07:39] I have to step out for a bit, back later [07:39] bigjools, so to use external dhcp, I need set ddns? [07:39] bigjools, ttyl === CyberJacob is now known as CyberJacob|Away [12:34] Not abel to destory service as agent state is down | http://askubuntu.com/q/346228 [15:12] juju error: hook failed: "config-changed" | http://askubuntu.com/q/346276 === CyberJacob|Away is now known as CyberJacob [18:14] MAAS with external DHCP TFTP time out | http://askubuntu.com/q/346339 === CyberJacob is now known as CyberJacob|Away === kentb is now known as kentb-out === bigjools_ is now known as bigjools