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

seditionanyone have an idea on why an init script would be completely ignoring the packages and runcmd blocks? it sets up my users just fine and then fails to install packages/run commands silently. nothing in the cloud-init-output.log indicates that it even tried00:09
rharpersedition: /var/log/cloud-init.log should have some info on what got run (it won't have your script output);  but maybe a reason why it couldn't run it;00:20
=== ginsul is now known as gin
=== gin is now known as ginsul
smosersedition, did you find something out on your  ppa thing ?13:27
smoserthe only thing i can come up with is that you did not have networkign at that poign.13:28
smoserand then as rharper stated, /var/log/cloud-init.log and var/log/cloud-init-output.log probaly have more info13:29
smosergholms, it sounds like a unit test bug13:29
davydotcommorning, trying to use cloud-init on Debian 8.3 image however there a known bug fixed in cloud-init 0.7.7 but apt-get only pulls down 0.7.6, how can i get 0.7.7 is on this version of debian13:40
smoserdavydotcom, https://packages.qa.debian.org/c/cloud-init.html14:07
smoserstable has 0.7.914:07
smoseryou might be able to just use that package, or build your own for older debian. i'm not aware of any othe rbackported option14:07
davydotcomsmoser: thanks ill try that out14:08
powersjsmoser: https://bugs.launchpad.net/cloud-init/+bug/1721243 might be worth looking at, he came back with a patch14:36
ubot5Ubuntu bug 1721243 in cloud-init "cc_resizefs for zfs/zpool" [Medium,New]14:36
smoserpowersj, responded14:40
powersjsmoser: any comments on the patch? ;)15:03
smoserpowersj, needs tests15:05
smoserbut  yeah, i do have comments on it.15:05
smosergholms, tox-venv py3 python3 -m nose tests/unittests/test_handler/test_handler_ntp.py15:37
smoserbah15:37
smosergholms, https://bugs.launchpad.net/cloud-init/+bug/172157315:37
ubot5Ubuntu bug 1721573 in cloud-init "ntp unit tests broken if no package program available in test environment" [Low,Confirmed]15:37
smoserand rharper ^ just fyi.15:37
rharperk15:39
rharpersmoser: huh, schema unit tests15:41
gholmssmoser: Oh, I already filed a bug for that yesterday15:56
gholmshttps://bugs.launchpad.net/cloud-init/+bug/172141115:56
ubot5Ubuntu bug 1721411 in cloud-init "cc_ntp schema validation tests don't work in the absence of a package manager" [Undecided,New]15:56
blackboxswgholms: thanks for the bug, just marked it duplicate to track under  172157316:02
gholmsThanks16:02
smoserthanks gholms sorry for the noise16:02
gholmsNo worries.  Thanks for confirming.16:02
seditionsmoser: i solved the ppa issue, now moving on to another script for a different server that's silently eating the runcmd and package block. hoping this morning i can attack it with fresh eyes. thank you for asking!16:28
seditiongreat little community16:28
powersjsmoser: We just got a pull request on github16:48
powersjhttps://github.com/cloud-init/cloud-init/pull/916:48
dpb1heh16:52
dpb1nice16:52
dpb1what was our policy there?  close and ask to submit to lp?16:53
dpb1and sign the cla16:53
dpb1:)16:53
dpb1larsks might know him actually16:53
_ixGood morning friends. Can someone let me in on the secret to versioning from 0.7.9 -> 17.1. How does this match up to EL Repos?16:58
_ixRunning into this specific issue: https://bugs.launchpad.net/cloud-init/+bug/169928216:58
ubot5Ubuntu bug 1699282 in cloud-init "cloud-init process fails to configure puppet" [Medium,Fix released]16:58
blackboxswhi _ix. EL repos should eventually update to 17.1. It's a recent release versioning decision that we just came too a few weeks ago with cloud-vendors & distro vendors.  More details here FYI https://lists.launchpad.net/cloud-init/msg00106.html16:59
blackboxswchecking the bug details now17:00
_ixOK. Thanks very much! I'll check back in just a few minutes.17:02
blackboxsw_ix have you been able to check our latest cloud-init builds as built in our copr repo? https://copr.fedorainfracloud.org/coprs/g/cloud-init/cloud-init-dev/17:02
blackboxswrepos there have tip  (which will have version 17.1+)17:03
blackboxswin which I think we have a fix for puppet config17:03
satherQuestion, where do I start debugging when I get 'Failed to start Initial cloud-init job (metadata service crawler)?18:13
sathernothing 'pops' out when grepping the source code18:14
satherI ran `cloud-init --debug init`, also nothing popping out as an 'ERROR'18:14
seditionmy script problem was 'sedition is an idiot'18:15
seditionapt will just silently zombie forever without internet access.18:16
* sedition facedesk18:16
satherI'm running version: 0.7.5 on centos18:16
_ixblackboxsw: I'll take a look at that. Thanks!18:28
rharpersmoser: https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/33189219:09
blackboxswcouple comments rharper20:00
blackboxswhttps://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/33189220:00
rharperblackboxsw: well this is the merge, that's already committed upstream; this is into release20:01
rharperyou're right though20:01
blackboxswahh right, right20:03
smoserblackboxsw, so we need to fix ?20:05
smoserupstremam ? did you fidn a b ug there ?20:05
blackboxswsmoser: I think I did find a corner case, "if 0" will never get into that non-bool check to convert it to boolean20:06
rharperit's best to fix, the network config documents use of strings 'off' and 'on' ; not 0 or 1;  but nothing prevents us from getting such a config20:06
blackboxswbridge_stp = iface.get('bridge_stp')20:06
blackboxsw57+        if bridge_stp and type(bridge_stp) != bool:20:06
rharperblackboxsw: yeah,  I should check if value is not None and type is not bool;20:06
blackboxswyeah one liner20:06
smoserok. then submit that for merge and then re-submit for package ?20:07
blackboxswsure putting it up20:09
smoserblackboxsw, ok. i'm waiting on an MP with a fix for that bug you found.20:18
smoserthen re-MP from raharper.20:19
blackboxswsmoser: pushed. writing a proper descriptiojn now20:20
blackboxswhttps://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+ref/network-stp-handle-020:21
blackboxswhttps://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33189820:23
smosership it.20:25
smoser$ tox && git push upstream HEAD20:26
smoser(that is running here)20:27
blackboxswmerged20:27
blackboxswbah20:27
smoseryou pushed ?20:27
smoserthats fine20:27
blackboxswyeah pushed20:27
* smoser ctrl-c20:27
blackboxswheh thx20:27
smoserok. now raharper for ubuntu points20:27
smoserrharper,20:27
rharpersmoser: ok, I'll re MP20:38
smosergood20:39
=== energizer1 is now known as energizer
rharperblackboxsw: thanks for spotting that21:20
blackboxswbetter late than never21:21
blackboxswthanks for going through the upload gauntlet 50 times21:21
rharpersmosers handy gist is super helpful21:22
blackboxswso for our SRU change log to xenial.... does our card need to actually capture all bugs from 0.7.9~233 until tip?21:22
smoserblackboxsw, it will.21:22
smoserhere.21:22
blackboxswthanks, I was going to post-process the changelog into the trello checklist21:23
smoserhttp://paste.ubuntu.com/25682062/21:23
blackboxsw:( why do people do so much work? :)21:24
smoserfor your reference, what i did:21:24
smoser git checkout ubuntu/xenial21:24
smoser ./debian/new-upstream-snapshot21:24
smoserit shows that log in a editor, i copy paste21:24
smosersay 'n'21:24
smoserthen21:24
smosergit reset --hard upstream/ubuntu/xenial21:25
blackboxswplacing an bash alias function for that in my env21:25
htaccesswhat is the process for newer cloud-inits getting added to a distro?21:40
htaccessie can i expect to see 17.1 in xenial cloud images?21:41
rharperhtaccess: for Ubuntu, the process is here: https://wiki.ubuntu.com/StableReleaseUpdates;  and yes you can expect 17.1 to come to xenial;21:45
blackboxswhtaccess: we are working on uploading an SRU today/tomorrow to xenial at which point we need to go through verification on the related bugs. I'd expect 1-2 weeks on when you will see 17.1 in xenial. folks can correct me if that's too optimistic21:46
htaccessthanks!21:47
blackboxswwell just wrote a dumb script for trello SRU checklists from debian changelog22:18
blackboxswheh for next time on SRU check http://paste.ubuntu.com/25682341/22:18
blackboxswyields http://pastebin.ubuntu.com/25682350/22:18
blackboxswlooks like 13 bugs to verify instead of 7 for xenial I think'22:20

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