[12:44] jgarr, seedfrom was busted recently. [12:44] https://bugs.launchpad.net/cloud-init/+bug/1455233 [12:46] anotheral, cna you give me example of what you're p utting in there? [13:24] Claudiu Popa proposed stackforge/cloud-init: Add the data source base classes and the HTTP OpenStack implementation https://review.openstack.org/188327 [13:48] Claudiu Popa proposed stackforge/cloud-init: Add the data source base classes and the HTTP OpenStack implementation https://review.openstack.org/188327 === Odd_Bloke changed the topic of #cloud-init to: cloud-init || 2.0 reviews: https://review.openstack.org/#/q/project:stackforge/cloud-init,n,z === zz_natorious is now known as natorious === natorious is now known as zz_natorious [15:27] smoser: I'm pretty much wholesale lifting your OpenStack talk abstract. :) [15:28] imitation is the greatest form of flattery [15:28] /nick Odd_moser === zz_natorious is now known as natorious [16:05] Odd_Bloke : has discussed with smoser curl http://169.254.169.254/openstack/latest/password is empty on linux VMs [16:05] Odd_bloke : on windows VM there is informations... [16:05] as type [16:05] as typo ! :D [16:08] ByPasS: On the OpenStack I'm looking at, there is an admin_pass key in the config drive metadata. [16:08] But not in the HTTP metadata. [16:08] (You don't want it in the HTTP metadata; you're effectively granting anyone with access to your server root if it's available from there) [16:11] Odd_Bloke : the http metadata in windows is not really the password itself since there is mix with the password and the pub key is used to hash/encrypt it and in order to do nova get-password u need the private key sent.. [16:11] Odd_Bloke : I will need to have a look at config drive metadata I never used it so far (yet) [16:55] Odd_Bloke : thanks using metada drive and this first boot command : mount /dev/sr0 /mnt; echo "ubuntu:"`cat meta_data.json | python -mjson.tool | grep admin | awk -F'"' '{print $4}'` | chpasswd; umount /mnt it now sets the passwd properly :) [16:55] ByPasS: :) [16:56] well forgot the full path for the cat but basicly u get the point [16:56] ByPasS: We'd be happy to accept a patch in to cloud-init for this, if you wanted to try that. :) [16:59] Odd_Bloke : thatd be interesting, I will brag to my project manager about the successful passwd injection and will look into it if the company gimme some time or at least I can do it in spare time [17:01] Odd_Bloke http://tinyurl.com/on6c32o try that sucker out [17:01] * harlowja nicer dashboard for gerrit [17:01] * created from https://review.openstack.org/192770 [17:03] OH YOU FANCY [17:03] :-P === harlowja changed the topic of #cloud-init to: cloud-init || 2.0 reviews: http://tinyurl.com/on6c32o [17:03] :) === Odd_Bloke changed the topic of #cloud-init to: cloud-init || cloud-init 2.0 reviews: http://tinyurl.com/on6c32o [17:03] * harlowja to fast, ha [17:04] Needs more cowbell^Wcloud-init. [17:04] lol [17:45] smoser: actually, it looks like the cloud-init part is working, but that set_hostname: does not. So i can use a shell script as a workaround. [20:38] harlowja: I'm not seeing very mucho reviews :p [21:09] harmw make some more code ;) [21:09] that hurts :p [21:10] ;) [21:11] * harlowja can't do as much as i want, got all these other code-bases to help with too [21:11] * harmw knows that problem :> [21:12] and i'm not #1 so need to make that happen ( @ http://stackalytics.com/?metric=commits ) [21:12] *see bottom loll [21:12] :-P [21:12] taking my #1 place, bums [21:12] lol === natorious is now known as zz_natorious [22:47] do runcmd entries run as root? or as one of the defined users? [22:48] * jgarr is curious if that's a problem with his subscription-manager command that doesn't appear to run [22:59] jgarr : yes it does run as root / UID 0 [23:00] jgarr : at least from my experience I can use mount with runcmd which requires root [23:00] ByPasS: k thanks, then I have no idea why subscription-manager doesn't work as a runcmd :-/ [23:00] my only thought is it runs too early in the boot process and network isn't available or something [23:02] are you using list method or string ? [23:03] as far as I know bootcmd is executed really early in the boot process [23:04] runcmd set in a string should be executed on runlevel 3 while passing the info in a string will be written to a file and ran by sh (according to the doc) [23:05] I'd add a while loop checking for network connectivity right before the subscription manager cmd to validate your suspicion [23:06] ByPasS: I see the command is in /var/lib/cloud/instance/runcmd but the machine isn't subscribed [23:07] I also try catching sterr/stout via `subscription-manager register ... >> /root/cloudinit.log 2>&1` but it never shows up in the file [23:08] I didn't think to try a loop. I'll give it a shot. thanks