/srv/irclogs.ubuntu.com/2015/06/16/#cloud-init.txt

=== natorious is now known as zz_natorious
=== zz_natorious is now known as natorious
anotheralhey can anyone help me figure out why my cloud-config isn't working?00:32
anotheral /var/lib/cloud/instances/i-dca1cb75/user-data.txt has base64-encoded text00:33
anotheralthat decodes to a #cloud-config file00:33
=== natorious is now known as zz_natorious
=== zz_natorious is now known as natorious
=== mfisch is now known as Guest68660
=== natorious is now known as zz_natorious
smoseranotheral, it shouldnt be base64 encoded there.13:19
=== zz_natorious is now known as natorious
=== Guest68660 is now known as mfisch
=== mfisch is now known as Guest81226
Odd_Blokesmoser: I'd like to submit a talk to LinuxCon Europe/CloudOpen Europe (they're running at the same time in the same place); I was thinking that cloud-init 2.0 would be a good topic.14:53
Odd_Blokesmoser: Would you be able to help me craft a talk proposal?14:53
=== mfisch is now known as Guest25676
smosersure14:57
=== Guest25676 is now known as mfisch
Odd_Blokesmoser: CFP ends tomorrow; I'll try and come up with something tomorrow morning, and we can maybe discuss it on/just after the 2.0 call?16:36
Odd_Blokesmoser: (I've fixed the tests on that CloudStack MP)16:36
smoserok16:36
smoserOdd_Bloke, pulled16:41
Odd_Blokesmoser: Thank you, sir.16:42
Odd_BlokeI'll look at backporting it tomorrow also.16:43
Odd_Blokesmoser: Are you able to add all the releases back to precise as targets on https://bugs.launchpad.net/cloud-init/+bug/1464253 ?16:44
smoseroh. you marked that security.16:45
smoserwhy is that different then the non-security one ?16:46
smoser(i had thought it was the cpc bug or something)16:46
Odd_Blokesmoser: The other bug is actually about doing it every boot (which I don't think we want to be the default).16:46
smoseroh. i see.16:46
Odd_Blokesmoser: Someone just noted the security issue in the comments of that bug.16:46
smoserwell, why idd you mark 'fixes'16:47
smoserwhich made me mark fixes ;)16:47
Odd_Bloke>.<16:47
Odd_BlokeApologies.16:48
Odd_BlokeWasn't it easier when I use git-bzr-ng and couldn't use --fixes at all. ;)16:48
Odd_Blokesmoser: Do you mind if I assign doing the devel release to you?16:56
smosercontext ?17:00
Odd_Blokesmoser: The release of that security fix in to wily.17:00
=== natorious is now known as zz_natorious
jgarrI have a redhat atomic host I'm trying to run subscription-manager register on via runcmd but it doesn't appear to run and there's no output in /var/log/cloud-init.log (debug: true is set)18:05
jgarrother commands in runcmd work though. Is there a way I can tell cloud-init to parse a user-data file again so I can see it run and try to debug it?18:06
jgarrrunning the command manually after the system is booted works without issue18:08
ByPasSalexpilotti : Hi there, smoser told me yesterday you might have a better idea for my issue, any chance you being around ?18:33
smoserjgarr, runcmd stuff is run in 2 parts.18:46
smoserjgarr, so.. the first part, writes /var/lib/cloud/instance/scripts/runcmd from what it finds in user-data18:50
smoserso you can check to see that you have that file18:50
smoserthat part is the 'runcmd' config job. it can be regenerated by:18:52
smoser cloud-init single --name=runcmd --frequency=always18:52
smoserthe second part is in scripts_user18:53
smoserand it actually executes (via run-parts style) all programs in /var/lib/cloud/instance/scripts/runcmd18:53
smoserthat can be executed:18:53
smoser cloud-init single --name=scripts_user --frequency=always18:54
=== zz_natorious is now known as natorious
=== natorious is now known as zz_natorious
=== zz_natorious is now known as natorious
jgarrsmoser: thanks a ton for that. I'll look at my host and see what I have20:59
anotheralsmoser: i removed the base64 encoding, but it still doesn't set the hostname21:23
jgarrsmoser: sure enough. the runcmd file doesn't exist. runing cloud-init single doesn't generate it either. Now to figure out why22:20
jgarrmay be helpful to say I'm also doing this on hardware with --append"ds=nocloud\;seedfrom=/var/cloud-init/" and then putting meta-data and user-data in /var/cloud-init/22:20
=== natorious is now known as zz_natorious

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