=== harlowja is now known as harlowja_away === harlowja_away is now known as harlowja === harlowja is now known as harlowja_away === ctracey|away is now known as ctracey === ctracey is now known as ctracey|away [17:29] Hello. What comes after generating the SSH key pair? I created a snapshot of an image and when I try to boot it seems to hang after initializing SSH. Is there a way to disable cloud-init with a kernel/grub parameter? [17:40] hrmmm. I even tried setting "init=/bin/bash" and "single" to no avail. Interestingly on the first boot the log shows a root prompt but the vnc console just shows a black screen with a blinking cursor. [18:02] I am not sure what is causing this. === ctracey|away is now known as ctracey [18:25] Still trying to get cloud-init to run the user-data script on an ISO.. The script is on the ISO as openstack/latest/user_data [18:26] I turned up logging as harlowja suggested , added output: {all: '|tee -a /var/log/cloud-init-output.log} to cloud.cfg [18:27] Only thing in the log is a warning about 2012-08-10 not available and attempting to use 'latest' [18:36] might be magically working now [18:59] Chocobo, i can't answer you if you're not here. [18:59] bjweaver, working ? [19:36] harmw yt [19:37] smoser also, u might be interested in [19:37] http://paste.openstack.org/show/61294/ (config rc.d script for cloud-init) [19:37] *an inital attempt, feedback wanted (from sean) [19:38] http://paste.openstack.org/show/61295/ (cloud-final) [19:38] http://paste.openstack.org/show/61296/ (cloud-init) [19:39] http://paste.openstack.org/show/61297/ (cloud-init-local) [19:39] any feedback welcome [19:39] ^^ for freebsd [19:39] well i think that functions with a '-' in their name are not posix shell [19:39] k [19:40] $ dash -c 'foo-bar() {echo hi}' [19:40] dash: 1: Syntax error: Bad function name [19:40] ya [19:40] comment fwded ;) [19:40] actually, they dont even work for bash :) [19:41] $ bash -c 'foo-bar() {echo hi;}' [19:41] bash: -c: line 0: syntax error near unexpected token `{echo' [19:41] bash: -c: line 0: `foo-bar() {echo hi;}' [19:42] oh my, he's used - and _ as well :p [19:43] :-p [19:43] i told him, haha [19:52] harlowja_: i'm looking at 61296, I think lines 17 and 28 won't work this way [19:52] and command=bla differs between the different files :) [19:55] kk, let me bug him as this [20:54] smoser - I believe so.. I had to move the scripts-* up to the cloud_init_modules section. I haven't found docs on how init vs config vs final stages work. Seems our init scripts only run the init section. [20:55] bjweaver, ubuntu? [20:55] you dont want those in the modules section [20:55] as running in modules section does not guarantee network [20:55] This is the opensuse package port of cloud-init [20:56] i wonder are you getting networking from the config-drive ? [20:56] networking is coming from a DHCP server. [20:57] This is a project we are doing under VMware. === harlowja_ is now known as harlowja_away [22:14] does documentation exist for logging configuration? cloud-init isn't generating new ssh host keys when it's being run, and i can't figure out why... the debug logs do not have anything useful in them. [22:17] As far as I can tell, logging is configured at level debug, but ... i would expect to see something about modules running at the very least, but that is not the case. [22:18] Ah because it is supposed to bail if it doesn't find a datasource. I was expecting it to use "None" as I configured it to in /etc/cloud/cloud.cfg, but to no avail. [22:19] datasource_list: ["NoCloud", "ConfigDrive", "OVF", "MAAS", "Ec2", "CloudStack", "None"] [22:19] is this insufficient? [22:19] or incorrect? [22:26] ugh n/m. figured out how config resolution works. [22:28] and that the None datasource isn't actually something you can use. === harlowja_away is now known as harlowja_ === gondoi_ is now known as gondoi [23:43] smoser harmw so scripts are fixed, sean i think will also package this sucker into the freebsd ports repository once it works [23:43] so +1