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