[02:47] blackboxsw: i honestly dont know. [02:48] iti varies widely on clouds. as to what 'local-hostname' or 'public-hostname' would mean. [02:48] 'local' seems to imply much less. [02:50] we dont need to do it in the first round, but i'd really like to provide ip addresses if cloud-init configured them. even ideally if it used dhcp to do so. [05:11] hrm, unhappy sru validation zesty ec2 [05:11] https://bugs.launchpad.net/cloud-init/+bug/1735331 [05:11] Launchpad bug 1735331 in cloud-init "ec2: temp dhclient.pid file issues" [Undecided,New] [05:11] will improve the summary [09:38] dpb1 perhaps, that is what comes directly after generating the sshd keys? [14:15] Raboo: you can change the image, right? [14:15] and you can see the console i think [14:15] and this is 14.04. [14:25] in /etc/cloud/cloud.cfg.d/05_logging.cfg looks like [14:25] https://hastebin.com/odahevojix [14:25] change line 33 . level=WARNING to level=DEBUG [14:25] that will give debug info to the console [15:06] smoser ok, will change to DEBUG [15:38] hey all [15:39] howdy [15:39] question: i am running cloud-init (17.1) within ubuntu 16.04 running on a powervc host [15:39] ssh-authorized-keys for a default user i want to create does not seem to be populating the file [15:40] the user is created, but .ssh/authorized_keys is blank [15:40] can you pastebin your user-data ? [15:40] and or your /var/log/cloud-init.log; those bits will let us look at what's going on [15:42] are you using the default ubuntu user or are you adding a different user ? [15:43] cfg's user lines: [15:43] https://pastebin.com/yEwDjHP6 [15:45] 2017-11-30 14:43:47,070 - util.py[DEBUG]: Writing to /home/bcc/.ssh/authorized_keys - wb: [600] 0 byte [15:47] catmando: can you paste /var/log/cloud-init.log ? [15:47] also, fyi, 'pastebinit' is installed in Ubuntu by default. so you dont have to use pastebin.com [15:47] (pastebinit /var/log/cloud-init.log [15:47] or [15:48] cat /var/log/cloud-init | pastebinit ) [15:50] https://pastebin.com/uGFN9BzR [15:52] if 'ssh_authorized_keys' in kwargs: [15:52] try with _ instead of - in your user-data ; I know in some places cloud-init accepts both - and _ interchangably but this might not be one [15:53] ssh_authorized_keys instead of ssh-authorized-keys [15:56] rharper: yes. i verified that locally. [15:56] :-( [15:56] yay [15:56] more bugs! [15:56] catmando: use ssh_authorized_keys instead of ssh-authorized-keys and it does work. [15:57] Hey lost internett [15:57] Cool [15:57] it appears that the docs show use of underbar; but [15:57] http://cloudinit.readthedocs.io/en/latest/topics/examples.html#configure-instances-ssh-keys [15:57] That's what I used [15:58] Many thanks! [15:58] bug [15:58] err, but [15:58] the add users-groups shows dash [15:58] http://cloudinit.readthedocs.io/en/latest/topics/examples.html#including-users-and-groups [15:58] so cut-n-paste-modify will fail there [16:02] wow [19:57] hey @smoser, my merge build failed with an authorization error on jenkins. Any thoughts? https://code.launchpad.net/~dojordan/cloud-init/+git/cloud-init/+merge/334341 [20:00] Second question, how do I trigger a rebuild? [20:11] powersj: do you know about the jenkins auth error dojordan is seeing? [20:12] * powersj looks [20:13] Repository '~dojordan' not found. [20:13] yet it is clearly there... hmm [20:14] weird that the code.launchpad.net works but git.launchpad.net does not [20:17] oh smoser didn't start it right [20:17] blame that guy [20:19] ueaj/ [20:19] running here https://jenkins.ubuntu.com/server/job/cloud-init-ci/562/console [20:21] powersj: thanks! [20:23] that was 'yeah', offset a couple keys to the right. [21:07] whew, sorry, pulling my head out of the ground [21:07] SRU fix up for review https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/334543 [21:07] testing on ec2 now [21:13] ok validated works greate [21:33] blackboxsw: comments on that are there for you now [21:34] thx about to push status-and-clean subcommand changes [21:50] pushed review fixes and tests for clean-and-status. checking SRU bug comments [22:11] ok pushed review fixes for the SRU bug too