/srv/irclogs.ubuntu.com/2014/11/03/#maas.txt

=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== lazyWeekend is now known as lazyPower
=== jfarschman is now known as MilesDenver
tz__I added a second interface on my cluster. When commissioning a new node, it correctly gets DHCP for the new subnet, but cloud-init gives the error: url_helper.py[WARNING]: Calling 'http://169.254.168.254/2009-04-04/meta-data/instance-id failed [x/y]:  url error [[Errno 113] No route to host]' .. Where is it getting this IP/route from and how can I force it to point to the correct maas server?19:07
tz__basically the same problem as the person who posted this: http://askubuntu.com/questions/486821/url-helper-py-warning-cannot-route-to-host-ubuntu-server19:15
tz__apparently the 169.254.169.254 url is a default for EC2 instances in cloud-init. any ideas on how to tell it (maas, cloud-init, metadata server) that its not EC2 and it should connect to maas?19:32
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
tz__is there a fast way to login to a commisioned node (ie for the default ubuntu user) ? I'm trying to troubleshoot a cloud-init bug but cant login to look at the log files21:40
jhobbstz__: https://maas.ubuntu.com/docs/troubleshooting.html21:41
jhobbslook at the Debugging ephemeral image section21:41
tz__interesting, that has one too many directory wildcards. taking it down to 5 fixes it though21:48
jhobbsah, yeah, it's for 1.721:52
tz__any suggestions on reading to make the commissioning script point to the maas metadata instead of EC2? I suspect that's what these cloud-init logs are going to say is happening21:55
jhobbsEC2 shouldn't be involved in commissioning or any other time - are you sure the nodes are getting DHCP? you can ssh into them while they're commissioning?21:57
tz__yes i can confirm they are getting the correct DHCP address. It's just booting up now so I'll see what the OS says when I login with the backdoor installed.21:58
tz__url_helper.py just retries for 120s trying to contact the 169.254.169.254 (EC2) address for some reason though, as if EC2 was set as the default on this additional interface22:00
jhobbscan you reach MAAS's metadata server from the node?22:04
jhobbstz__: can you post your cloud-init.log in a pastebin22:05
tz__I can ping it, yes. It's just an additional virtual interface on the one maas controller22:05
tz__ls22:05
tz__http://pastebin.com/vFmfzWNY .. just reading through it now22:15
jhobbstz__: don't see much of use in there, how about /var/log/cloud-init-output.log, /var/log/dmesg22:19
tz__jhobbs: http://pastebin.com/GT5EKyZn .. strange it's trying to hit a webserver on the..  gateway22:35
jhobbstz__: what is MAAS's IP?22:37
tz__.1622:39
jhobbstz__: can you post dmesg?22:39
tz__it has multiple vlan interfaces, 10.100.84.16, 10.100.98.16, etc22:40
bigjoolsmorning22:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!