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

smoserblackboxsw, well... i was saying instead of doing os.access, you just do00:05
smoseropen(devpath, "wb", ... some flags that mean dont truncate)00:06
smoserbut now that i think about it that likely causes issues.00:06
smoseras udev or systemd watch open/close on devices.00:06
smoserso bad idea00:06
smoserugh https://bugs.launchpad.net/cloud-init/+bug/171747713:43
ubot5Ubuntu bug 1717477 in cloud-init "cloud-init generates ordering cycle via After=cloud-init in systemd-fsck" [High,New]13:43
dpb1:/13:51
blackboxswgah14:59
larsksYay ordering cycles!15:30
blackboxswyeah, larsks scott's pushing  a fix for this release && an SRU update on that today.16:22
=== shardy is now known as shardy_afk
smoserblackboxsw, https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/33084616:55
smoserordering cycles are like a game of russian roulette16:56
blackboxswsmoser: checking, just pushed https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33062617:02
blackboxswwe'd just need to carry the following for series we want to deliver apport functionality to http://paste.ubuntu.com/25541681/17:04
blackboxswadding it as a comment on the branch17:04
smoserblackboxsw, does it know that it is python somehow ?17:18
smoserthat is good though17:18
blackboxswOops missed the response yeah just tested apport knows what python to use. So I dropped the bang py3 I'll push another unit test for optional --include-userdata to collect logs17:48
blackboxswSmoser17:48
smoserok. reading. please read my branch18:03
smoserblackboxsw,18:05
smosera quick read of https://code.launchpad.net/~rbalint/cloud-init/+git/cloud-init/+merge/33084218:05
smoserwoudl be appreciated too18:05
smoserblackboxsw,18:11
smoserhttp://paste.ubuntu.com/25542078/18:11
blackboxswchecking18:12
blackboxsw+118:12
smoseron a overlayroot boot (maas), we see this:18:12
smoser14 19:45:28,372 - cc_resizefs.py[WARNING]: Device 'overlayroot' did not exist. c18:12
smoserannot resize: dev=overlayroot mnt_point=/ path=/18:12
blackboxswwant me to fold that into the drop patch?18:12
smoseryeah.18:12
smoseri'd like to do that so that we dont WARN there18:12
smoserbut just debug18:12
blackboxswmakes sense18:12
blackboxswadding a unit test on that aspect18:16
blackboxswunit test added and pushed18:24
blackboxswtests-fix-root-os-access-leak 1367b2b911d61ae95c2c635259b2f2b85c8eb54118:24
blackboxswback on your branch18:25
blackboxswflake errors https://jenkins.ubuntu.com/server/job/cloud-init-ci/309/console18:26
smoser fixing flake errors18:28
smoserdone18:29
smoserblackboxsw,18:31
smoser$ git show 1367b2b911d61ae95c2c635259b2f2b85c8eb541:cloudinit/config/cc_resizefs.py | grep overlay || echo no overlay mention there18:31
smoserno overlay mention there18:31
smosermaybe you didn't push that ?18:31
blackboxswsmoser: wrong log. was looking at the os.access branch git log18:34
blackboxswhmm18:34
blackboxswwait a sec18:35
blackboxswhah didn't commit18:35
blackboxswe19de87fdae9fb58d39ac415b73fa37e6b6e1e83 pushed sorry about that smoser18:36
blackboxswalmost done w/ your dhclient branch18:39
blackboxswreview comment posted https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/33084618:41
smoserblackboxsw, ok. i addressed that and pushed18:56
smoserand i commented on https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33062618:56
blackboxswsmoser: I saw you landed resizefs (overlayroot) thx18:59
blackboxswTIL: open a trello card and ctrl-V a link and it auto attaches18:59
smoser?19:09
dpb1oh cool tip19:11
blackboxswI had always clicked the paper clip icon, then ctrl-v in the textbox labeled link19:20
blackboxswand then clicked attach. But ctrl-v just does the right thing19:21
smoserblackboxsw, i linked a mp to19:26
smoserhttps://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33062619:26
blackboxswsmoser: you mean as prerequisite?19:30
smoserwell post req19:31
smoseri guess.19:31
smosermine depends on yours19:31
blackboxswpowersj: a couple branches ago your nose-timer additions saved me. thanks again. it alerted me to a problem w/ a unit test that I didn't know I had19:33
powersjWoohoo!! Thanks for the feedback19:33
blackboxswretreis on url_helper.read_url are costly (waiting a full second between retries) so my unit test was taking 20 seconds on retries (so I mocked it) :)19:34
blackboxswwell looking at the code, I guess I could have set sec_between parameter to 0 :)19:34
blackboxswahh well, I'll drop the mock next time19:34
blackboxswbut in either case I would have unknowingly introduced 20 seconds into our run if tox -e py3 hadn't shown me the "red" tests19:35
blackboxswless mocks == a better world19:36
blackboxswlanded https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/33084619:40
blackboxswwaiting on CI for https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/330626 then I'll land the collect-logs/apport stuff19:41
smoserblackboxsw, shoot.19:46
smoseri have that locally about to go19:46
smoserbut i can cancel19:46
smoserhere.19:46
smoserblackboxsw, i'm landing it.19:47
smosertox && git push upstream HEAD19:47
smoseri re-worked the commit message a bit19:48
smoserhttp://paste.ubuntu.com/25542524/19:48
blackboxswsmoser: sorry per your branch19:48
blackboxswohh you meant my collect-logs19:48
blackboxsw+1 on commit message19:49
blackboxswsmoser:19:49
smoserblackboxsw, can you give my https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/330858 a sanity check ?19:55
smoseror a test ?19:55
smoseran then i'd like to shove a new upload to artful19:56
smoserhm..19:58
smoserwhy isnt that packaging my apport-launcher.py19:58
blackboxswsmoser: added this https://trello.com/c/2FXn8S9x/385-centos-7-fix-cloudstack-datasource-to-regression-to-handle-dhclient-lease-filenames for hilight19:59
blackboxswchecking smoser19:59
blackboxswpowersj: this afternoon, I'm working on that trello-board  script for processing cards20:00
blackboxswonce these branches land20:00
smoserugh.20:00
smoseri need to run shortly.20:00
smoseri uploaded to xenial and to zesty the regression revert cherry-pick20:01
smoserdpb1, ^20:01
smoserbut we still need an upload to artful20:01
powersjblackboxsw: sweet20:01
blackboxswsmoser: content looks good on https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/330858 don't know how I missed that20:03
blackboxswpowersj: https://trello.com/c/zGxaIodz/372-tests-support-command-as-string is merged right? it's in doing lane20:05
smoserblackboxsw, ok. i'm adding20:05
dpb1smoser: xenial and zesty are indeed prio20:09
dpb1thx20:09
dpb1smoser: whats stopping the artful upload?20:10
smoserlanding those other things20:10
smoseri'md oing build && upload && push on it right now20:10
dpb1great20:10
smoserok. thats pushed.20:15
smoseri have to run20:15
smoserthe one thing left for right now is to update the ubuntu/xenial and ubuntu/zesty branches to drop (remove) the cherry pick patch20:15
smoseras right now our recipe builds of those branches will fail because they have a patch in them that wont apply to trunk.20:15
smoserif someone wanted to try to thikn of a way to make us not have to do that... that'd be good.20:15
smoserif we could someohow get the recipe builds to drop all 'cherry-pick-*' patches.20:16
smoseri'll check back in later20:16
powersjblackboxsw: yes landed20:17
powersjas is KVM!20:17
powersj\o/20:17
blackboxswgood push smoser !20:19
blackboxswpowersj: https://trello.com/c/XGGri1K2/315-sru-get-oil-1   and https://trello.com/c/MMRiKIL9/316-sru-get-maas-1   are these ongoing cards?20:21
blackboxswif you can't tell I'm scrubbing the board :)20:22
powersjblackboxsw: not on going. working to get sign off on the SRU exception20:23
powersjsee updates to: https://wiki.ubuntu.com/CloudinitUpdates20:23
Odd_BlokeIs https://pastebin.canonical.com/198539/ a known issue?20:42
Odd_BlokeOh, hmph, internal pastebin.20:42
Odd_Blokehttp://paste.ubuntu.com/25542802/20:42
blackboxswhrm20:52
blackboxswchecking20:52
blackboxswOdd_Bloke: don't see any outstanding bugs related to that20:54
Odd_BlokeFiled https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/171759820:57
ubot5Ubuntu bug 1717598 in cloud-init (Ubuntu) "Traceback when passing user-data on GCE" [Undecided,New]20:57
blackboxswwhat version of cloudinit? I know we toucheds cloudinit/stages.py today, and a couple of config modules, but nothing specifically in the handlers code.20:57
blackboxswahh checking the bug thanks20:57
blackboxswI have touched bootcmd module recently20:58
blackboxswSept 2nd in fact20:58
blackboxswok. digging20:58
blackboxswthx Odd_Bloke20:59
Odd_Blokeblackboxsw: An artful image built today.20:59
Odd_BlokeSo 0.7.9-267-g922c3c5c-0ubuntu1, I believe.21:00
blackboxswthanks again will work on that21:50
smoser:-(21:57
blackboxswstrange, can't reproduce w/ rev 267  on ec2 with basically the same user-data http://paste.ubuntu.com/25543349/22:24
blackboxswcloud-init0.7.9-267-g922c3c5c-0ubuntu122:24
blackboxswthough just found another bug in Ec2Local22:26
blackboxswcloudinit.util.ProcessExecutionError: Unexpected error while running command.22:26
blackboxswCommand: ['/run/cloud-init/tmp/cloud-init-dhcp-jlm8h6x2/dhclient', '-1', '-v', '-lf', '/run/cloud-init/tmp/cloud-init-dhcp-jlm8h6x2/dhcp.leases', '-pf', '/run/cloud-init/tmp/cloud-init-dhcp-jlm8h6x2/dhclient.pid', 'eth0', '-sf', '/bin/true']22:26
blackboxswExit code: -22:26
blackboxswReason: [Errno 13] Permission denied22:26
blackboxswso we are now getting perm errors trying to run dhclient. I'll debug before fiiling this one22:27
blackboxswOpen a socket for LPF: Operation not permitted.... even with apparmor disabled.  hmm22:42

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