/srv/irclogs.ubuntu.com/2017/12/08/#cloud-init.txt

smoserrharper: do you reproduce https://jenkins.ubuntu.com/server/job/cloud-init-ci/598/console ?03:19
smoserok. that was on a different revision. you must have updated and p ushed. and it looks like run 599 is going now.03:23
smoserwell, i think this is good at this point.03:33
smoserthanks.03:33
smoserblackboxsw: for tomororw, need to update04:58
smoser https://bugs.launchpad.net/ubuntu/artful/+source/cloud-init/+bug/173365304:58
ubot5Launchpad bug 1733653 in cloud-init (Ubuntu Artful) "sru cloud-init (17.1-27-geb292c18) update to 17.1.46-g7acc9e86-0ubuntu1" [Medium,Fix committed]04:58
smoserand /me to bed.04:58
=== shardy is now known as shardy_afk
=== shardy_afk is now known as shardy
sinanpI have "disable_root: 1" in my cloud.cfg but I am still able to log in with root via SSH. Am I missing something?09:30
blackboxswI see disable_root: true in my /etc/cloud/cloud.cfg over here sinanp10:02
blackboxswI would have thought 1 should work too. but checking10:02
sinanpI tried it with 1, true and True.10:02
sinanpI see that /root/.ssh/authorized_keys is prefixed with: no-port-forwarding,no-agent-forwarding,no-X11-forwarding,command="echo 'Please login as the user \"username\" rather than the user \"root\".';echo;sleep 10"10:07
blackboxswas scott mentioned yesterday I think. that login as root only occurs for the keys you've specified in #cloud-config10:11
blackboxswso when sshing using other unauthorized keys, we wouldn't expect to see the message10:12
blackboxswhrm, actually I see that message when I log into my ec2 instance no matter what key I'm using10:14
blackboxswand I see that prefix in /root/.ssh/authorized_keys as well10:16
blackboxswthx for the bug https://bugs.launchpad.net/cloud-init/+bug/173713010:20
ubot5Launchpad bug 1737130 in cloud-init "disable_root: 1 but root can still log in" [Undecided,New]10:20
ybaumynayone here12:16
ybaumyanyone12:16
ybaumyi need help debugging script12:16
ybaumyhttp://pastebin.centos.org/457036/  (<unknown>): could not find expected ':' while scanning a simple key at line 47 column 112:17
ybaumywhat does that mean i cant find any errors in that line12:17
ybaumyok fixed that other one put i still have a problem running a script from a datasource14:42
ybaumywhere is the error http://pastebin.centos.org/457096/14:43
ybaumyi tried it with -[ command ] and without14:45
ybaumybut the runcmd is completly ignored14:45
robjosmoser: time for more ntp/chrony fun?15:04
robjoAdded new comment to https://hackmd.io/CwEwHARgbAzDDsBaArPOjhQMYEZEEMBOHQjQkeAUxgCYb9h8og==?view15:26
ybaumycan i make runcmd run again when booted or do i have reinstall?15:53
rharperybaumy: there is a frequency=always15:53
rharperlemme see the docs15:53
ybaumycloud-init single --name cc_ssh --frequency always15:54
ybaumyfound it15:54
ybaumylets try15:54
ybaumycannot be user with init15:56
ybaumyused15:56
rharperif you dump your scripts into /var/lib/cloud/data/scripts/per-boot15:59
rharperthey'll get run each boot15:59
rharpererr,  here /var/lib/cloud/scripts/per-boot15:59
ybaumyok15:59
rharperalso, i see, you can invoke 'cloud-init-per <frequency> cmd15:59
rharperso maybe that'll work with your runcmd16:00
rharperone example in the docs looks like this16:00
rharperbootcmd:16:00
rharper    - echo 192.168.1.130 us.archive.ubuntu.com > /etc/hosts16:00
rharper    - [ cloud-init-per, once, mymkfs, mkfs, /dev/vdb ]16:00
ybaumylooks good16:04
ybaumywill install a new vm now16:04
ybaumy"/usr/lib/python2.7/site-packages/cloudinit/config/cc_phone_home.py" IOError: [Errno 2] No such file or directory: '/etc/ssh/ssh_host_dsa_key.pub'16:36
ybaumyyou  should consider that there no dsa keys anymore16:37
ybaumyhow does phone_home accept https url16:39
ybaumyic the problem is foreman16:41
blackboxswsmoser: can you check my commit message at https://code.launchpad.net/~msaikia/cloud-init/+git/cloud-init/+merge/33010517:13
blackboxswor rharper17:14
blackboxswI reworded it a bit (and structured for git log length)17:14
blackboxswI'm running tox on that branch locally and will push once either of you get a chance to spot-check the adapted commit message17:16
rharperblackboxsw: commit msg content is fine;  on the web the last line gets wrapped after 'scripts' and then has a newline;  I think that's just the web format17:24
blackboxswrharper: good deal thx. yeah in vi I've set tw=74 to ensure it's formatted properly17:24
rharpercool17:25
blackboxswgah. scripts carried over17:25
blackboxswdumb17:25
smoseryall good ?17:29
blackboxswsmoser: about, what's two characters between friends (in the body of the commit)17:29
blackboxswI don't really want to --force but landed maitreyee's branch with a length at 76 chars on the 2nd to last line17:30
smoserhttps://hastebin.com/raw/abizeqaviw17:30
smoserblackboxsw: ^ that is 'go-test-proposed' for now.17:31
smoseri jsut wanted to have that. so i can run that on diglett if you'd like and post to the bug.17:31
blackboxswsaving it off locally and on our SRU trello card17:31
blackboxswand in ubuntu-sru/manual/nocloud-kvm log17:32
smoseroh. yeah. ubuntu-sru.17:32
smosergood idea17:32
blackboxswthat'd be great smoser thanks if you can run it. I'll push the initial script reference to ubuntu-sru in the right file17:32
blackboxswI added a17:32
blackboxswI added a manual subdir there17:32
blackboxswjust to collect logs we've manually attached to our SRU process bugs17:33
rharpersmoser: we added tox 1.7.1, in curtin we did 1.7.4 , was there a reason not to run 1.7.4 in cloud-init tox ?17:46
smoserblackboxsw: your paste looks good to my ovf. i'll add that and then push.17:46
smoserthanks!17:46
smoserhm..17:46
smoseroh. i bet that i had stale .tox/pylint-tip17:46
smoserand that was teh version in there.17:47
smoseri'm quite happy to move it to 1.7.417:47
smosersorry17:47
rharpernp17:50
rharperjust noticed that when I committed the curtin change17:50
blackboxswpushed everything up to  ubuntu-sru17:58
blackboxswonly remains getting smoser's nocloud-kvm runs into manual/nocloud-kvm-sru-17.1.46.txt17:59
* blackboxsw steps away for a few17:59
smoserblackboxsw: xenial just finished.17:59
smoserblackboxsw: so i have a xenial-nocloud-kvm.log and xenial-nocloud-kvm-results.d.tar.xz18:01
smoserwhere do you want me to put those ?18:01
blackboxswsmoser: https://github.com/cloud-init/ubuntu-sru/blob/master/manual/nocloud-kvm-sru-17.1.46.txt18:07
blackboxswand please attach to bug  https://bugs.launchpad.net/ubuntu/artful/+source/cloud-init/+bug/173365318:08
ubot5Launchpad bug 1733653 in cloud-init (Ubuntu Artful) "sru cloud-init (17.1-27-geb292c18) update to 17.1.46-g7acc9e86-0ubuntu1" [Medium,Fix committed]18:08
blackboxswthen all we are waiting on is MAAS and solutions validation. and aging on pending-sru for 1 more day18:08
smoserblackboxsw: ok. i'll get those. it is running zesty and took xenial 16 minutes-ish. so probably < 30 minutes till done.18:14
blackboxswsaw the push of your content smoser thanks19:16
smoseruploading now19:20
paulmeyHi all, I was hoping to sneak https://bugs.launchpad.net/cloud-init/+bug/1722959 into the upcoming release19:30
ubot5Launchpad bug 1722959 in cloud-init "Implement Key-Value Pair Telemetry for Azure" [Undecided,In progress]19:30
smoserwow. telemetry19:31
paulmeyIt's a new reporter, which is not enabled by default19:31
paulmeylol19:31
blackboxswgood timing paulmey, we were trying to clean up the review queue and will be talking about getting branches in the upcoming status meeting monday.19:32
paulmeyyeah I was the email that came down the list19:32
paulmeyalso, is there something that still needs to happen on https://code.launchpad.net/~dojordan/cloud-init/+git/cloud-init/+merge/334341 from Douglas' side?19:34
paulmeyah now rereading that email... you wanted MP's merged by today... so that's pretty late for mine then. :-/19:35
blackboxswgood deal. we are trying to blitz the queue today. I told folks here that I'd try to get though douglas' update today. I'm just a bit sluggish on that. wanted to get another azure run on that to make sure we haven't regressed instance behavior currently.19:36
blackboxswwe'll see what there's time for. paulmey, can't rule it out yet (small changeset, might move fast)19:38
blackboxswinitial comments, can you add test intent docstrings to those unit tests and import mock  from cloudinit.tests.helpers19:39
blackboxswminor style nits/comments posted https://code.launchpad.net/~paul-meyer/cloud-init/+git/cloud-init/+merge/33498919:47
paulmeywill do19:56
paulmeydone20:13
smoserrobjo: ?20:42
smoserhttps://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/334337 ?20:42
smoserdid you get an answer there?20:42
robjoNot yet, sorry20:42
smoserrobjo: if you ahd to come up with a prefix for opensuse.org bugs20:47
smoser"right now"20:47
smoserwhat woudl you choose20:47
smoser(ie, launchpad: LP: #XXXXXXX20:47
smoserrhbz: https://bugzilla.redhat.com/show_bug.cgi?id=119445120:48
ubot5bugzilla.redhat.com bug 1194451 in cloud-init "[PATCH] Add dnf support to cloud-init" [Low,Closed: rawhide]20:48
robjoWe use "boo"  as in "Bugzilla,opensuse.org"20:48
smoser:)20:49
smoserboo it is.20:49
smoserboo: https://bugzilla.opensuse.org/show_bug.cgi?id=106963520:49
ubot5bugzilla.opensuse.org bug 1069635 in Other "cloud-init packages differ for each build" [Normal,New]20:49
blackboxswcouple comments posted to https://code.launchpad.net/~dojordan/cloud-init/+git/cloud-init/+merge/33434121:07
blackboxswtesting on azure next21:08
rharperhehe, boo21:08
robjochrony support :) : https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/33499221:22
robjothis can wait until after 17.2 , but would love to have it in 18.1 with the assumption that 18.1 will be released sometime in March 201821:23
blackboxswgood plan. working out a unittest patch for https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/333772 at the moment.21:30
blackboxswshould have something shortly21:30
blackboxswbaby steps for me when hitting robjo's queue :)21:30
smoserblackboxsw: do you want to do a MP for me ?21:33
blackboxswsure21:33
smoserfor new upload to bionic ?21:33
blackboxswsure smoser will do21:33
blackboxswsmoser: only has one commit not released right?21:35
blackboxsw  * New upstream snapshot.21:35
blackboxsw    - VMware: Support for user provided pre and post-customization scripts21:35
blackboxsw      [Maitreyee Saikia]21:35
* blackboxsw checks bionic apt policy now to validate21:36
robjoI don't think it was me: https://jenkins.ubuntu.com/server/job/cloud-init-ci/603/console help please21:37
robjoSays: ERROR: InvocationError: '/var/lib/jenkins/slaves/torkoal/workspace/cloud-init-ci/.tox/pylint/bin/python -m pylint cloudinit tests tools'21:38
blackboxswrobjo: hrm.... /me looks at what we should be using in python going forward21:40
blackboxswcloudinit/distros/opensuse.py:171: [W1505(deprecated-method), Distro._set_default_timesync_client] Using deprecated method linux_distribution()21:40
smoserhm..21:43
blackboxswso we could attempt http://pastebin.ubuntu.com/26141985/21:44
smoserdistro is not a ubiltin21:44
smoseri think we need to build our own.21:45
robjoyes, it would introduce a new dependency21:46
robjohttps://github.com/nir0s/distro21:47
blackboxswdeprecate happens in python 3.721:47
robjowe do have packages in openSUSE and I suspect all other distros will have packages for this as well21:48
smoserrharper: what are the kwargs you use for yaml.dump ?21:48
smoserdefault_flow_style=false  i think ?21:48
rharperprint yaml.dump(y, default_flow_style=False, indent=4)21:48
blackboxswhttps://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/334996 smoser bionic upstream MP21:50
smoserbuild-and-pushing, blackboxsw22:00
smoserthanks.22:00
blackboxswthanks for the ubu-creds22:00
blackboxswgonna cash them in for a candy bar someday22:00
smoseror an ubuntu cola22:01
smoserhttps://www.amazon.com/Ubuntu-Fairtrade-Fluid-Ounce-Italian/dp/B018SSM75622:01
blackboxswnice. my world is now complete, if I drink it out of an ubuntu mug22:02
smoserrobjo: you have some merge conflicts showing22:03
smoser https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/33433822:03
robjoI'll rebase the branch22:04
* smoser has to go22:08
robjosmoser all set22:16
blackboxswrobjo just finished a suggested patch on https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/333772 I set it work in progress for you to click back to needs review if you think it's acceptable.22:52

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