/srv/irclogs.ubuntu.com/2018/02/26/#cloud-init.txt

=== masber is now known as masuberu
blackboxswmeh 2FA on hangout16:44
blackboxswsmoser: I'll try the manual ovf test from our docs and validate whether we can see regression for this SRU16:44
blackboxswhttps://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1737704 and  https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1731868 are the two cases I wanted to cover16:46
ubot5`Ubuntu bug 1737704 in cloud-init (Ubuntu) "Cloud-init fails if iso9660 filesystem on non-cdrom path in 20171211 image." [High,Fix released]16:46
ubot5`Ubuntu bug 1731868 in cloud-init (Ubuntu) "cloud-id: enable ESXi 6.5.0" [High,Fix released]16:46
* blackboxsw grabs a coffee16:46
smoserblackboxsw: thank you16:53
blackboxswhrm, puppet in general doesn't seem to work on bionic18:39
blackboxswcan't even use the cmdline tooling for documentation18:39
blackboxswroot@b1:~# puppet --help18:39
blackboxsw/usr/lib/x86_64-linux-gnu/ruby/2.3.0/openssl.so: symbol SSLv2_method, version OPENSSL_1.0.0 not defined in file libssl.so.1.0.0 with link time reference - /usr/lib/x86_64-linux-gnu/ruby/2.3.0/openssl.so18:39
blackboxswroot@b1:~# echo $?18:39
blackboxsw118:39
blackboxswI'll file a bug against puppet packaging in bionic. but I don't think it'll block the branch that's up for review18:40
blackboxsw.. though maybe it should18:40
blackboxswas we can't currently install a functional ubuntu-packaged puppet for bionic. get a  traceback on Command: ['service', 'puppet', 'start'].18:41
blackboxswbut I think that looks like ssl-related issues with my example config. I'll validate that before holding up the branch18:43
=== r-daneel_ is now known as r-daneel
rharperblackboxsw: you can ask in #ubuntu-devel  nacc or others may already know what's up there18:55
blackboxswrharper: confirmed PEBKAC. But puppet itself may be brittle.18:55
rharperhehe18:55
blackboxswI think I had an SSL config issue w/ puppet config I specified18:55
rharperyeah18:56
blackboxswbut, the puppet commandline falls over and doesn't even let you read it's own man/help info if misconfigured18:56
blackboxswtrying to confirm that now, and will file an upstream puppet issue if that's the case18:56
naccblackboxsw: rharper: did you figure it out?18:59
blackboxswnacc: I think I had a stale bionic container and was getting ruby ssl errors (not providing SSL_V_1_0_0 or some such dependency issue.18:59
blackboxswnacc: I can't reproduce on fresh bionic containers18:59
blackboxswif I can reproduce, I will (I had blown away my stale lxc to see if I could reproduce on something new, but no dice)19:00
naccblackboxsw: ack19:00
naccblackboxsw: to be clear, puppet has dep8 tests that do test the cli19:01
blackboxswthanks nacc. I'm not sure how I got my old container misconfigured. I shouldn't have removed it. I do think I had either a version mismatch in ruby ssl dependencies that prevented puppet's tooling from running. But, using the same puppet configs on my new instances work just fine.19:18
naccblackboxsw: it's possible you got bit by a bionic transition?19:18
naccblackboxsw: there was an ssl one recently19:18
blackboxswI'll chalk it up to that as tracebacks were complaining about missing const definition for SSL_V119:20
blackboxswhttps://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/339373 approved19:35
smoserblackboxsw: thanks.19:41
brunobronoskyAny idea why my attempt to init chef isn't working? http://termbin.com/3kyu19:43
smoserbrunobronosky: cloud-init think the world is fine it looks like19:48
smosercat /run/cloud-init/result.json19:48
smosermaybe chef has some output ?19:49
smosersystemctl status chef ?19:49
brunobronoskyIt's odd to me that chef got installed, but not from the source I requested (taken straight from the cloud-init docs example). And this:19:51
brunobronosky2018-02-26 19:16:55,045 - cc_chef.py[DEBUG]: Skipping unknown chef template key 'run_list'19:51
brunobronoskycat /run/cloud-init/result.json | tb > http://termbin.com/8bto19:53
blackboxswbrunobronosky: those skip messages are ok..  (though noisy) it just means those key values aren't interpreted but the chef template generator I think. Trying to see aobut your sources comment19:53
blackboxswI'm re-reading tip cc_chef module code right now to refresh19:54
blackboxswbrunobronosky: did you see a /etc/chef/firstboot.json on your system?19:55
brunobronoskyuserdata file: http://termbin.com/57yw19:56
blackboxswI'd expect that firstboot.json to contain ypour run_list19:56
brunobronoskyOooo. it does contain my runlist.19:57
blackboxswyeah those Skip messages, are noisy and confusing.... I think they should be dropped as the code specifically knows it19:57
blackboxswshould ignore/skip them19:57
blackboxswok so I see per your cloud-init.log that chef was installed via apt command, which is what your config specified I think.20:01
blackboxswbrunobronosky: oops20:03
blackboxswhttp://termbin.com/57yw20:03
blackboxswok looks like our doc may have a typo20:04
blackboxswI think the apt configuration is wrong20:04
smoseryeah20:04
smosermissing sources20:04
blackboxswapt:\bsource1: source1:20:04
blackboxswapt:\bsources: source1:20:04
blackboxswgeez typo city20:04
blackboxswpasting20:04
smoserapt/sources/source1:20:04
smoserrather than20:04
smoserapt/source1/20:04
blackboxswhttps://pastebin.ubuntu.com/p/RyKqPQQcN8/20:05
blackboxswyeah20:05
blackboxswthat key is bogus.20:05
brunobronoskyaha!20:05
blackboxswpultting up a trivial20:05
blackboxswbrunobronosky: smoser https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33971520:09
blackboxswthanks for raising the question brunobronosky20:14
blackboxswhttps://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/339720 rharper or smoser if you get a chance. here's the set hostname approach which I've validated on vsphere. It fixes the DHCP request containing the stock cloud-image hostname 'ubuntu'. I hadn't added the init_main unit test to get coverage on the set_hostname call, but I wanted to bounce the idea off you guys before I sink  time into21:07
blackboxswthe init-loca CLI unit test.21:07
rharperk21:07

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