/srv/irclogs.ubuntu.com/2017/11/30/#cloud-init.txt

smoserblackboxsw: i honestly dont know.02:47
smoseriti 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
smoserwe 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
blackboxswhrm, unhappy sru validation zesty ec205:11
blackboxswhttps://bugs.launchpad.net/cloud-init/+bug/173533105:11
ubot5Launchpad bug 1735331 in cloud-init "ec2: temp dhclient.pid file issues" [Undecided,New]05:11
blackboxswwill improve the summary05:11
Raboodpb1 perhaps, that is what comes directly after generating the sshd keys?09:38
smoserRaboo: you can change the image, right?14:15
smoserand you can see the console i think14:15
smoserand this is 14.04.14:15
smoserin /etc/cloud/cloud.cfg.d/05_logging.cfg looks like14:25
smoser https://hastebin.com/odahevojix14:25
smoserchange line 33 . level=WARNING to level=DEBUG14:25
smoserthat will give debug info to the console14:25
Raboosmoser ok, will change to DEBUG15:06
catmandohey all15:38
rharperhowdy15:39
catmandoquestion: i am running cloud-init (17.1) within ubuntu 16.04 running on a powervc host15:39
catmandossh-authorized-keys for a default user i want to create does not seem to be populating the file15:39
catmandothe user is created, but .ssh/authorized_keys is blank15:40
rharpercan you pastebin your user-data ?15:40
rharperand or your /var/log/cloud-init.log;  those bits will let us look at what's going on15:40
rharperare you using the default ubuntu user or are you adding a different user ?15:42
catmandocfg's user lines:15:43
catmandohttps://pastebin.com/yEwDjHP615:43
catmando2017-11-30 14:43:47,070 - util.py[DEBUG]: Writing to /home/bcc/.ssh/authorized_keys - wb: [600] 0 byte15:45
smosercatmando: can you paste /var/log/cloud-init.log ?15:47
smoseralso, fyi, 'pastebinit' is installed in Ubuntu by default. so you dont have to use pastebin.com15:47
smoser(pastebinit /var/log/cloud-init.log15:47
smoseror15:47
smosercat /var/log/cloud-init | pastebinit )15:48
catmandohttps://pastebin.com/uGFN9BzR15:50
rharper if 'ssh_authorized_keys' in kwargs:15:52
rharpertry with _ instead of - in your user-data ;  I know in some places cloud-init accepts both - and _ interchangably but this might not be one15:52
rharperssh_authorized_keys   instead of ssh-authorized-keys15:53
smoserrharper: yes. i verified that locally.15:56
smoser:-(15:56
rharperyay15:56
rharpermore bugs!15:56
smosercatmando: use ssh_authorized_keys instead of ssh-authorized-keys and it does work.15:56
catmandoHey lost internett15:57
catmandoCool15:57
rharperit appears that the docs show use of underbar; but15:57
rharperhttp://cloudinit.readthedocs.io/en/latest/topics/examples.html#configure-instances-ssh-keys15:57
catmandoThat's what I used15:57
catmandoMany thanks!15:58
rharperbug15:58
rharpererr, but15:58
rharperthe add users-groups shows dash15:58
rharperhttp://cloudinit.readthedocs.io/en/latest/topics/examples.html#including-users-and-groups15:58
rharperso cut-n-paste-modify will fail there15:58
smoserwow16:02
dojordanhey @smoser, my merge build failed with an authorization error on jenkins. Any thoughts? https://code.launchpad.net/~dojordan/cloud-init/+git/cloud-init/+merge/33434119:57
dojordanSecond question, how do I trigger a rebuild?20:00
rharperpowersj: do you know about the jenkins auth error dojordan is seeing?20:11
* powersj looks20:12
powersjRepository '~dojordan' not found.20:13
powersjyet it is clearly there... hmm20:13
dojordanweird that the code.launchpad.net works but git.launchpad.net does not20:14
powersjoh smoser didn't start it right20:17
powersjblame that guy20:17
smoserueaj/20:19
powersjrunning here https://jenkins.ubuntu.com/server/job/cloud-init-ci/562/console20:19
rharperpowersj: thanks!20:21
smoserthat was 'yeah', offset a couple keys to the right.20:23
blackboxswwhew, sorry, pulling my head out of the ground21:07
blackboxswSRU fix up for review https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/33454321:07
blackboxswtesting on ec2 now21:07
blackboxswok validated works greate21:13
smoserblackboxsw: comments on that are there for you now21:33
blackboxswthx about to push status-and-clean subcommand changes21:34
blackboxswpushed review fixes and tests for clean-and-status. checking SRU bug comments21:50
blackboxswok pushed review fixes for the SRU bug too22:11

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!