/srv/irclogs.ubuntu.com/2017/07/07/#cloud-init.txt

mob1Hello, is there a way to install latest cloud-init to ubuntu 14.04?07:57
mob1I could compile it but I couldn't find compilation guide from tar ball07:57
mob1I got this far on ubuntu LTS 14.04 https://pastebin.com/TJJ1a1jK09:47
mob1argparse was missing, fixed.09:57
blackboxswmob1 we recently added a new make target which should pull in any system dependencies you may need to build and run cloud-init. Try 'make ci-deps-ubuntu'14:45
blackboxswfor next time :).  It'll get you everything you need.14:45
blackboxswpowersj: rharper so configuring a link-local 169.254.X.Y address on eth0 in aws ephemeral boot (init-local stage) can't wget http://169.254.169.254, but after a dhclient eth0 in that environment (getting me a 172.31.X.Y address I do get to access the metadata service.  I've tried dumping ethtool/ifconfig info in both cases and can't really determine yet why manually configured link local addresses don't get through to16:38
blackboxsw169.254.169.254. pastebins coming16:38
blackboxswany logging I added is prefaced w/ Chad :/16:38
blackboxswsuccessful init-local ephemeral instance gets metadata service after  a dhclient eth0 request http://paste.ubuntu.com/25040315/16:40
blackboxswunsuccessful init-local ephemeral instance setting static random link local 169.254.X.Y address on eth0 http://paste.ubuntu.com/25036317/16:42
blackboxswI'm about to try a tcpdump -i on eth0 to see if the interface can actually see any traffic in link-local mode vs. dhclient16:42
blackboxswif anyone has other tool suggestion besides ethtool, mii-tool, tcpdump, route  I should be looking at to triage network connectivity issues I'm all ears16:43
blackboxswI also might try statically configuring the expected dhcp ip address & routes given to this instance to see generally if the instance can touch 169.254.169.254 when statically config'd (non link-local addr)16:45
rharperblackboxsw: it's certainly possible there needs some interaction with the cloud via DHCP to authorize/enable it18:14
rharperblackboxsw: in general, you can check for carrier which should be enough; but it's possible that there needs to be some forwarding or otherwise backend things that have to happen to allow off-instance networking18:14
blackboxswpowersj: rharper: ok so looks like in ephemeral environment on AWS I can also manually setup a static IP with the ip address and route I was given to the non-ephemeral instance when it booted and that ip gets ahold of the metadata service ip 169.254.196.254 without issue. so it doesn't necessarily look like I have to dhclient in the ephemeral environment in order to talk to the metadata service. But I do wonder if the18:48
blackboxswinitial dhclient from the non-ephemeral instance set something up, sec-group or firewall wise, for the metadata service to allow traffic from the the allocated dhcp ip.18:48
blackboxswhttp://paste.ubuntu.com/25040989/ shows static IP set to the 172..... IP addr and default gateway setup18:53
blackboxswmeh, I'm not liking how this sounds http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#concepts-private-addresses20:08
blackboxswIt seems  I cannot manally configure a different private net address on the 172... network as I get the same timeouts. I also cannot seem to allocate a link-local address to the instance. I'm thinking the instance is tightly bound to the dhcp allocated ip address for aws but I can't confirm that in docs.20:15
blackboxswThe link above does say the folllowing about private ip addresses for EC2-Classic instances "We select a single private IP address for your instance; multiple IP addresses are not supported."20:15
blackboxswrharper: why is it that we don't want to dhclient eth0 in init-local of cloud-init (speed?)20:16
rharperyeah, DHCP takes longer than ip up20:16
rharperalso cleanup of lease files and other things20:20
blackboxswhmm. If dhclient ends up being the only answer to obtain a "local" ipv6 configuration setup from the AWS metadata service,  I'm not quite sure at what stage we'd want to perform the dhclient on eth020:20
blackboxswhmm got a few mins for a hangout?20:21
rharperyeah, on one with dpb at the moment20:27
blackboxswsounds good, saw a trello card moved over to me20:27
blackboxswfigured as much20:27
rharperblackboxsw: https://hangouts.google.com/hangouts/_/canonical.com/link-local?authuser=120:48

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