smoser | jgrimm, here now | 01:52 |
---|---|---|
MrBleu | Hello all ! | 07:42 |
MrBleu | Is there any way to "rsync" in cloud-init ? | 08:33 |
=== shardy is now known as shardy_lunch | ||
=== shardy_lunch is now known as shardy | ||
=== shardy is now known as shardy_lunch | ||
=== shardy_lunch is now known as shardy | ||
larsks | Hey folks, I'm seeing cloud-init-local crash on boot when it tries to read /sys/class/net/eth0/carrier. It gets an EINVAL and blows up. It looks like reads of this file will always return EINVAL when the link is down, and since cloud-init-local runs *before* networking, the link is always going to be in that state. | 17:21 |
larsks | Has anyone else seen this behavior? Simply running 'ip link set eth0 down' followed by 'cat /sys/class/net/eth0/carrier' will reproduce the problem. | 17:22 |
larsks | On that topic: https://bugs.launchpad.net/cloud-init/+bug/1646919 | 18:19 |
smoser | larsks, https://code.launchpad.net/~harlowja/cloud-init/+git/cloud-init/+merge/305882 | 18:38 |
smoser | i think | 18:38 |
larsks | Looks likely. | 18:39 |
smoser | i marked yours a dupe. un-dupe if you like. | 18:39 |
smoser | if you want to give harlowja's branch a kick, go for it. | 18:39 |
harlowja | supp | 18:39 |
harlowja | lol | 18:39 |
smoser | i've just been kind of weary of pulling it as it seems like it could possibly go awry | 18:40 |
harlowja | my code is perfect | 18:40 |
harlowja | lol | 18:40 |
smoser | that, and harlowja has not been responsive ;) | 18:40 |
harlowja | oops | 18:40 |
larsks | smoser, agreed, looks like a dupe. | 18:40 |
larsks | harlowja, kick. | 18:40 |
harlowja | kick | 18:41 |
harlowja | lol | 18:41 |
harlowja | soccer time | 18:41 |
harlowja | larsks ya, i'll fix it | 18:45 |
larsks | \o/ | 18:45 |
harlowja | @smoser do u recall https://gist.github.com/harlowja/eb6f6688b3d6cefcaf302e588e034d9f | 18:50 |
harlowja | switching to building in a docker container | 18:50 |
harlowja | and hit that | 18:50 |
harlowja | on 0.7.7 | 18:51 |
harlowja | let me see if bumping up the cloud-init tag works/helps | 18:51 |
smoser | that is fixed i think | 18:51 |
harlowja | k | 18:51 |
smoser | harlowja, 9972d246947f1a6ec102b978b99b26acc43133ec | 18:52 |
harlowja | k | 18:52 |
harlowja | switching up to 0.7.8 | 18:52 |
harlowja | https://gist.github.com/harlowja/fa0ee4aa83acf8d7a35bf3b3742330e6 poop | 19:06 |
harlowja | lol | 19:06 |
smoser | suck | 19:06 |
smoser | harlowja, well, that is also fixed. | 19:07 |
harlowja | ya, prob, ha | 19:07 |
smoser | seems like maybe we need an 0.7.9 for you, eh? | 19:07 |
harlowja | https://gist.github.com/harlowja/6c403b87249c84b914e3d60dc4d388a8 (my jenkinsfile that is running all this) | 19:07 |
harlowja | can we get a 0.7.9 release with all those fixes :-P | 19:08 |
smoser | http://paste.ubuntu.com/23569017/ | 19:09 |
harlowja | woah | 19:09 |
harlowja | u the man | 19:10 |
harlowja | lol | 19:10 |
harlowja | let me see if master works, ha | 19:10 |
smoser | please do | 19:11 |
harlowja | https://gist.github.com/harlowja/ed6dc735af22a491edf021690a43a49f | 19:11 |
harlowja | poopie | 19:11 |
harlowja | lol | 19:11 |
harlowja | two instances of new-style syntax :-P | 19:11 |
smoser | do you create gists manually ? | 19:11 |
harlowja | ya | 19:11 |
harlowja | this is me copying from a jenkins console file | 19:12 |
harlowja | to a gist, lol | 19:12 |
smoser | :-( | 19:12 |
smoser | ok. | 19:12 |
smoser | i can fix that for you quick. or you can and i'll pull | 19:12 |
harlowja | i can | 19:12 |
smoser | i'd really like the other branch you have to come in | 19:12 |
harlowja | i got it covered boss | 19:12 |
smoser | it scares me though.. | 19:12 |
harlowja | lol | 19:12 |
smoser | the io errors one that larsks wants | 19:12 |
harlowja | its xmas, not halloween man | 19:12 |
harlowja | lol | 19:12 |
harlowja | don't be scared | 19:12 |
harlowja | be all santa like | 19:13 |
harlowja | lol | 19:13 |
* smoser is blamed for that set notation | 19:13 | |
harlowja | :-p | 19:13 |
smoser | i didnt know | 19:13 |
smoser | oh. thats 2.6 even. wow. | 19:13 |
harlowja | ya | 19:13 |
smoser | :-( | 19:14 |
smoser | harlowja, i'm fix and push the py26 | 19:25 |
harlowja | oh ok | 19:25 |
smoser | http://paste.ubuntu.com/23569084/ | 19:25 |
smoser | right ? | 19:25 |
harlowja | i was nearly there, ha | 19:25 |
smoser | that passes in my cent6 container now | 19:25 |
harlowja | except i just got `fatal: remote error: DNS lookup failed: address 'xmlrpc.lp.internal' not found: [Errno -2] Name or service not known.` | 19:25 |
smoser | is there something more ? | 19:25 |
harlowja | when git pushing | 19:25 |
harlowja | which was weird, ha | 19:25 |
smoser | you work on the other one. | 19:25 |
smoser | yeah, that is wierd. | 19:25 |
smoser | :-( | 19:25 |
harlowja | ha | 19:26 |
smoser | if you want to 'git show' | 19:26 |
smoser | and paste | 19:26 |
smoser | i can grab your credit too | 19:26 |
harlowja | my credit card is in there | 19:26 |
harlowja | gittttttt | 19:26 |
harlowja | lol | 19:26 |
smoser | git config user.routing_number 482959929943 | 19:27 |
smoser | bah. | 19:27 |
smoser | did i type that in irc ? | 19:27 |
harlowja | whats the security code | 19:27 |
harlowja | lol | 19:27 |
larsks | harlowja, in your sys-io-errors branch, should read_sys_net just have a on_einval parameter (since EINVAL is expected for down interfaces)? | 19:27 |
harlowja | larsks i'm gonna go with yes | 19:27 |
harlowja | :-P | 19:28 |
larsks | ...because that would simplify a lot :) | 19:28 |
harlowja | smoser paste looks ok to me | 19:29 |
harlowja | u can do https://code.launchpad.net/~harlowja/cloud-init/+git/cloud-init/+merge/312390 also | 19:29 |
harlowja | back way when i didn't know those links expired, ha | 19:29 |
harlowja | oh well | 19:29 |
smoser | oh. they do ? i didnt know that. | 19:30 |
smoser | :-( | 19:30 |
harlowja | well or amazon changed it | 19:30 |
harlowja | so its dead anyway, lol | 19:30 |
harlowja | http://bit.ly/TyoUQs ---> nowhere now | 19:30 |
smoser | ill hold off on thatone. ast here are other bit.ly broken links | 19:34 |
harlowja | k | 19:34 |
smoser | i think its all just the actual links being dead | 19:34 |
smoser | not bit.lky | 19:34 |
harlowja | ya, amazon | 19:34 |
harlowja | amazon fault | 19:34 |
harlowja | ok larsks smoser https://code.launchpad.net/~harlowja/cloud-init/+git/cloud-init/+merge/305882 updated | 19:51 |
larsks | harlowja, lgtm. | 19:56 |
harlowja | larsks u are the person who could possibly say update the package for cloud-init on epel right :-P | 19:58 |
harlowja | i'm sure mdorman_ would like that :-P | 19:58 |
harlowja | *epel 7 and 6 :) | 19:58 |
harlowja | wink wink | 19:59 |
larsks | harlowja, sort of. I'm working on an updated package in RHEL. | 19:59 |
larsks | That should work it's way into CentOS. The one in EPEL should probably just go away. | 19:59 |
larsks | But I will look into it. | 19:59 |
harlowja | u will get a cookie | 20:00 |
larsks | harlowja, oops, your patch has a bug (line 239) | 20:19 |
larsks | ...which shows up when you run the tests :) | 20:19 |
harlowja | ah | 20:36 |
harlowja | good catch, was running the test_net test, guess another one hit it or something | 20:38 |
smoser | you might as well fix larsks's comment about the super set too. | 20:39 |
smoser | names.extend(sorted(potential_interfaces)) | 20:39 |
smoser | ... | 20:39 |
smoser | for name in names: | 20:39 |
larsks | Now I'm looking at a unicodedecodeerror exception. | 20:39 |
smoser | if name not in potential_interfaces: | 20:39 |
smoser | ... | 20:39 |
harlowja | k | 20:40 |
harlowja | done | 20:40 |
smoser | harlowja, open to disagreement | 21:08 |
smoser | you use _on_excp_false once | 21:08 |
smoser | well, 3 times, one function | 21:08 |
smoser | any reason not to have it namespaced inside that function | 21:09 |
harlowja | ?? | 21:11 |
harlowja | ah | 21:12 |
harlowja | i can namespace | 21:12 |
smoser | http://paste.ubuntu.com/23569503/ | 21:13 |
harlowja | ya | 21:14 |
harlowja | updated with that | 21:14 |
smoser | powersj, magicalChicken http://paste.ubuntu.com/23569508 | 21:15 |
smoser | maybe because i'm in a container ? | 21:15 |
smoser | or because i'm root ? | 21:16 |
powersj | smoser: I think so | 21:16 |
powersj | you can run as non-root | 21:16 |
powersj | I do everything as my own user or jenkins user | 21:16 |
smoser | well, i was in a container | 21:16 |
smoser | so i was non-[real]root | 21:16 |
powersj | ah yeah | 21:16 |
smoser | what branch should i try ? | 21:16 |
powersj | start with mine as it is what I am going to push to merge https://git.launchpad.net/~powersj/cloud-init/?h=integration-testing | 21:17 |
smoser | k | 21:17 |
larsks | smoser, https://code.launchpad.net/~larsks/cloud-init/+git/cloud-init/+merge/312399 fixes a unicodedecodeerror I was hitting on centos 7. | 21:20 |
smoser | powersj, http://paste.ubuntu.com/23569531 | 21:21 |
powersj | container is already running... that's a new one | 21:22 |
powersj | still doing this in a container? | 21:22 |
smoser | larsks, is there a specific reason for utf-8 there ? | 21:22 |
smoser | rather than just encode() | 21:22 |
larsks | No specific reason, other than "make everyting utf-8". What does .encode() with no encoding do? | 21:23 |
larsks | I see, uses the default encoding. | 21:23 |
larsks | Sounds good to me. I will update. | 21:23 |
smoser | powersj, no, that was outside now | 21:24 |
smoser | harlowja, if theres a bug, try to remember to | 21:25 |
smoser | LP: #XXXX | 21:25 |
smoser | in the commit | 21:25 |
harlowja | ah | 21:26 |
larsks | smoser, does LP: do something magical? Or is that just informative? | 21:26 |
smoser | and larsks for you, not Closes-bug | 21:26 |
smoser | but LP: # | 21:26 |
smoser | launchpad does read that now. | 21:26 |
larsks | Ah, okay. | 21:26 |
powersj | smoser: https://paste.ubuntu.com/23569555/ | 21:26 |
smoser | https://help.launchpad.net/Code/Git <-- "Linking to bugs" | 21:27 |
smoser | larsks, and also, i've got stuff that scrapes that info for ubuntu changelog entries | 21:27 |
larsks | I've updated the merge request w/ LP: and .encode() with no explicit encoding. | 21:28 |
smoser | powersj, i'm on 16.04 on that system. | 21:28 |
smoser | lxc 2.05 | 21:28 |
smoser | is that relevant ? | 21:28 |
powersj | smoser: might be, torkoal is running 2.6.2 and I'm running 2.4.1 | 21:29 |
powersj | I didn't consider that | 21:29 |
powersj | actually that is the output of lxc --version... the package version on torkoal is 2.0.5.... | 21:29 |
smoser | powersj, from ? | 21:29 |
smoser | hm... odd | 21:29 |
smoser | well, that'd probably stricktly be the client | 21:30 |
smoser | maybe | 21:30 |
smoser | i dont know | 21:30 |
smoser | larsks, maybe SysConf should just convert to a string ? | 21:31 |
smoser | wait. mayb not | 21:32 |
smoser | i'm just trying to think of fallout . somone getting a string now when they expected bytes. | 21:32 |
smoser | hm.. now im' confused. | 21:33 |
larsks | smoser, I'm pretty sure this is a safe change. | 21:33 |
smoser | we're calling load_file with no 'decode' | 21:33 |
smoser | so it should get the decode=True | 21:34 |
larsks | Ah, that sounds nicer. | 21:34 |
larsks | I have to take off, but I will look at that later this evening. | 21:34 |
smoser | which means it should already return a string | 21:34 |
smoser | unless, larsks 0439d8a17d181a2546f2f7cb2d71a04bbb13b186 already fixed it for you ? | 21:35 |
smoser | and yeah, i'm turning into a pumpkin now too | 21:35 |
smoser | i'll leaev that in the MP | 21:35 |
smoser | man python2 is confusing. | 21:37 |
smoser | i'm confused. | 21:39 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!