=== zz_gondoi is now known as gondoi [16:48] Can we run just one module for ex:- users-group module when we run the cloud init manually? [16:50] When we run "cloudinit init" it will execute all the modules... Right...? [16:50] What if I want to run just users-group module [16:53] Pls help [17:09] Anyone here [18:07] always nice when ppl drop questions and leave... [18:08] didn't we have irc logs somewhere? [18:09] no need to stick around, just grab the rss of the public logs ;-) [20:56] Hi all, cloud-init doesn't seem to execute user-data for some reason [20:56] I see that it reads it and puts in userdata.txt [20:56] But I see no script output (it writes to /tmp/test.log), when I manually execute bash user-data.txt it works ok [20:56] What could be the reason? [20:57] Do I have to explicitly specify the need to execute user data in config somehow? [21:10] andreyst: what does your user-data look like? [21:10] just a simple bash script [21:10] @larsks #!/bin/bash then some echos [21:11] Hmm. And looking in /var/log/cloud-init.log (or cloud-init-output.log) are there any errors (or any indication that it executed)? [21:11] larsks: I see its contents in /var/lib/cloud/instance, in user-data.txt and scripts/part-001 [21:11] larsks: I see it is getting read, I see no errors and no indication that it was executed whatsoever [21:12] also I see on the internet some reference to /etc/init.d/cloud-init-user-scripts, I don't have this file for some reason [21:12] Anyway, to answer one of your earlier questions, you shouldn't need to perform any explicit configuration to get it to execute. [21:12] larsks: yeah, that's how it worked for me earlier [21:12] thought something might have changed since then [21:12] What distribution are you booting? [21:12] ubuntu@ip-10-222-222-127:/var/lib/cloud/instance$ uname -a [21:12] Linux ip-10-222-222-127 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux [21:13] it is AWS provided ubuntu server ami [21:15] Do you have the AMI ID handy? I can try booting it myself and see what happens. [21:15] yeah, sec [21:16] ami-234ecc54 [21:16] it's in eu-west-1 [21:16] Okay. Let me see about getting that booted... [21:17] this is my userdata: http://pastie.org/9992180 [21:18] oh man, this dumb version actually works. Guess it is something in the script after all! [21:18] Yay! [21:18] Thanks a ton for your help, man! [21:19] Eh, I did nothin'. Glad it's working, though. [21:19] you listened [21:19] you know that's almost always a solution :) [21:19] Yup! :)