| mob1 | Hello, is there a way to install latest cloud-init to ubuntu 14.04? | 07:57 |
|---|---|---|
| mob1 | I could compile it but I couldn't find compilation guide from tar ball | 07:57 |
| mob1 | I got this far on ubuntu LTS 14.04 https://pastebin.com/TJJ1a1jK | 09:47 |
| mob1 | argparse was missing, fixed. | 09:57 |
| blackboxsw | mob1 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 |
| blackboxsw | for next time :). It'll get you everything you need. | 14:45 |
| blackboxsw | powersj: 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 to | 16:38 |
| blackboxsw | 169.254.169.254. pastebins coming | 16:38 |
| blackboxsw | any logging I added is prefaced w/ Chad :/ | 16:38 |
| blackboxsw | successful init-local ephemeral instance gets metadata service after a dhclient eth0 request http://paste.ubuntu.com/25040315/ | 16:40 |
| blackboxsw | unsuccessful init-local ephemeral instance setting static random link local 169.254.X.Y address on eth0 http://paste.ubuntu.com/25036317/ | 16:42 |
| blackboxsw | I'm about to try a tcpdump -i on eth0 to see if the interface can actually see any traffic in link-local mode vs. dhclient | 16:42 |
| blackboxsw | if anyone has other tool suggestion besides ethtool, mii-tool, tcpdump, route I should be looking at to triage network connectivity issues I'm all ears | 16:43 |
| blackboxsw | I 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 |
| rharper | blackboxsw: it's certainly possible there needs some interaction with the cloud via DHCP to authorize/enable it | 18:14 |
| rharper | blackboxsw: 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 networking | 18:14 |
| blackboxsw | powersj: 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 the | 18:48 |
| blackboxsw | initial 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 |
| blackboxsw | http://paste.ubuntu.com/25040989/ shows static IP set to the 172..... IP addr and default gateway setup | 18:53 |
| blackboxsw | meh, I'm not liking how this sounds http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-instance-addressing.html#concepts-private-addresses | 20:08 |
| blackboxsw | It 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 |
| blackboxsw | The 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 |
| blackboxsw | rharper: why is it that we don't want to dhclient eth0 in init-local of cloud-init (speed?) | 20:16 |
| rharper | yeah, DHCP takes longer than ip up | 20:16 |
| rharper | also cleanup of lease files and other things | 20:20 |
| blackboxsw | hmm. 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 eth0 | 20:20 |
| blackboxsw | hmm got a few mins for a hangout? | 20:21 |
| rharper | yeah, on one with dpb at the moment | 20:27 |
| blackboxsw | sounds good, saw a trello card moved over to me | 20:27 |
| blackboxsw | figured as much | 20:27 |
| rharper | blackboxsw: https://hangouts.google.com/hangouts/_/canonical.com/link-local?authuser=1 | 20:48 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!