/srv/irclogs.ubuntu.com/2016/10/25/#cloud-init.txt

rharpersmoser: https://launchpad.net/~cloud-init-dev/+archive/ubuntu/daily/+packages  is this the daily ppa?  last publish was 8/18 -- was that the git switch over?13:45
smoser:-(13:47
smoserit has definitely built since git. i'll look.13:47
smoser:-(13:47
rharperI was going to get an updated core snap that points to cloud-init daily PPA and have it build core snap daily against that so we always have a fresh core.snap13:48
smoserhttps://code.launchpad.net/~cloud-init-dev/+recipe/cloud-init-daily13:49
smoserit sucks... that contents sometimes gets changed like randomly13:50
smoser'bzr-builder' i think is what is killing it13:50
smoserthere are no changes to bzr 'lp:cloud-init'13:50
smoserwill look at what its supposed to have13:50
rharperhuh13:51
smoseryeah, i'm not making it up. just now changed it to http://paste.ubuntu.com/23379003/13:54
smoserclick the green thing and it goes to bzr-builder13:54
smoseri'm going to delete it and hope recreating makes better13:55
rharperwhoa13:55
smoserthought i'd seen a bug at some point13:55
rharperwe should get powersj to have a jenkins job to boot lxc container, add this ppa and install it13:56
* powersj likes that idea13:56
jgrimmpowersj, good morning!13:56
powersjCan do something similar to my daily ISO test and compare when a new one comes out too13:56
powersjmorning :)13:56
smoserwell, *not* boot an lxc container and install the thing13:57
smoserthats absically the first proof of integration test13:57
smoserwgrant in launchpad pointed me at https://bugs.launchpad.net/launchpad/+bug/1623924 with work around . so looking.13:57
powersjright, so we could have a daily integration test based on the daily ppa to run a subset of tests.13:58
smoseralright. building now.14:02
smoserrharper, thanks for noticing.14:02
rharpernp14:06
NerdyBikerHey all, does anyone know of any issues using Cloud-init chef function on a HVM type instance in AWS? As soon as we use a HVM instance, we get "Running chef (<module 'cloudinit.config.cc_chef' from '/usr/lib/python2.6/site-packages/cloudinit/config/cc_chef.pyc'>) failed" in the logs15:20
smoserNerdyBiker, more info ?15:20
smoserit works on non-hvm ?15:20
NerdyBikeryup works on PV types15:21
smoserdistro ? cloud-init version ?15:21
smoserthat is really odd15:21
NerdyBikerOh sorry :D CentOS 6.515:21
smosercan you paste the cloud-init.log ?15:21
NerdyBikerversion 0.7.5 cloud-init15:21
smoseror at least the stack trace15:21
NerdyBikerPerferred method of pasting?15:22
smoserpastebin other than pastebin.com :)15:23
NerdyBikerhttp://pastebin.com/kGLPkXZf15:23
smoserthat was just rude :)15:23
NerdyBikerdamn15:23
NerdyBikerhaha!15:24
NerdyBikerterrible timing15:24
smoserthats fine.15:24
smoserits just ad-everywhere15:24
smoser/var/lib/cloud/instance/scripts/runcmd: line 3: chef-client: command not found15:24
smoserwell that'd be it.15:24
smoseri guess your ami that yul're running for vhm does not have that package installed and the pvm does15:25
NerdyBikerthe user data is set to install chef15:25
smoseruser-data runs after package install15:25
smoserbut cc_chef.py might install it.15:26
smoserlooking15:26
smoserhm..15:27
NerdyBikerhttps://gist.github.com/MattDevUK/064ece1a309616176695b9b67a866aa615:27
smoseractually, its your runcmd that is failing.15:27
NerdyBikerthats the user data we pass in15:27
smoseryou have /var/log/cloud-init-output.log ?15:27
NerdyBikerthat was the first pass15:27
NerdyBikerpaste*15:27
smoseroh. yeah.15:28
smoserdo you ahve a /var/log/cloud-init.log ?15:28
NerdyBikerin every other image we've used it on, this installs chef automatically using the params set in the chef block, then runs chef-client.15:28
smoserthat one will have the stack trace and generally more info15:28
NerdyBikersure :D15:28
NerdyBikerit's empty :(15:29
NerdyBikerany log levels we can change to try and get any content?15:34
smoserNerdyBiker, its a bug in c loud-init that leaves it empty.15:37
smosercan you get into that instance ?15:37
NerdyBikeryup, I'm on it15:37
smoservi /etc/cloud/cloud.cfg.d/05*15:37
smoserthe logging file15:37
smosercomment out15:37
smoser 15:37
smoser - [ *log_base, *log_syslog ]15:37
smoserthen reboot15:37
smosermaybe rm -Rf /var/lib/cloud /var/log/cloud*15:38
smoserand reboot15:38
smoserthat should make it think its a first instance15:38
NerdyBikerok so just leave &log_file in there?15:38
NerdyBikerooo15:39
NerdyBikerno i see it now :D15:39
NerdyBikerbooting now15:40
NerdyBikerso... it apparently worked that time15:43
smoserhm..15:43
smosermaybe the omnibus installer is doing something int he background ?15:43
smoserand we're just racing it15:43
NerdyBikerthe output after the reboot; https://gist.github.com/MattDevUK/9ad23f20e3570e82a1b2912e21d57ef015:46
NerdyBikeryou can see where the "running chef failed" line was previously, now says installing Chef15:46
NerdyBikeron a positive note, that's the first time we've managed to get that to happen on a HVM image, out of the 10 or so we've tried.15:48
smoserfollow bill's advice.15:49
smoserreboot!15:49
smoserand reinstall15:49
NerdyBikerso uninstallec chef, remvoed cloud files, rebooted and success again. wonder if it's timing when starting a fresh instance15:54
NerdyBiker@smoser just launched 2 fresh instances, both of them failed the cc_chef part on first run.16:01
smoserfirst boot io is very slow16:03
smoserbut if the omnibus installer is backgrounding... thats a pita16:03
smoserand it should not do that16:03
NerdyBikerhm, just tried a basic restart, and it failed again16:04
NerdyBikerseems to be somehting timing related. cleared the /var/lib/cloud, rebooted and it worked. :(16:08
NerdyBikerdamn that sucks16:08
NerdyBikerI'll tets out some other scenarios and see what comes up16:15
NerdyBikertest*16:16
NerdyBiker@smoser so just got the logging change into a base AMI, started an instance and it failed, this is in the cloud-init.log; https://gist.github.com/MattDevUK/9f58b9716a6914406536839a77cadcf016:30
smoserhm..16:31
NerdyBikerthere is also a stack for the cc_locale run, but don't think that impacts the chef issue as that fails een when chef succeeds16:32
NerdyBikereven*16:32
smoserright.16:33
NerdyBikeris there any more info I can give? Is this a valid problem?16:44
smoserNerdyBiker, i think probably valid18:27
smoserit seems likely to me to be related to omnibus18:27
smoserwoudl be nice to try with newer cloud-init.18:28
smosermagicalChicken, https://code.launchpad.net/~wesley-wiedenmeier/cloud-init/+git/cloud-init/+merge/306731 fails rebase for me20:34
magicalChickensmoser: I'll look into it, I hadn't noticed issues before22:19

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