smoser | rharper: do you reproduce https://jenkins.ubuntu.com/server/job/cloud-init-ci/598/console ? | 03:19 |
---|---|---|
smoser | ok. that was on a different revision. you must have updated and p ushed. and it looks like run 599 is going now. | 03:23 |
smoser | well, i think this is good at this point. | 03:33 |
smoser | thanks. | 03:33 |
smoser | blackboxsw: for tomororw, need to update | 04:58 |
smoser | https://bugs.launchpad.net/ubuntu/artful/+source/cloud-init/+bug/1733653 | 04:58 |
ubot5 | Launchpad 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 |
smoser | and /me to bed. | 04:58 |
=== shardy is now known as shardy_afk | ||
=== shardy_afk is now known as shardy | ||
sinanp | I 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 |
blackboxsw | I see disable_root: true in my /etc/cloud/cloud.cfg over here sinanp | 10:02 |
blackboxsw | I would have thought 1 should work too. but checking | 10:02 |
sinanp | I tried it with 1, true and True. | 10:02 |
sinanp | I 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 |
blackboxsw | as scott mentioned yesterday I think. that login as root only occurs for the keys you've specified in #cloud-config | 10:11 |
blackboxsw | so when sshing using other unauthorized keys, we wouldn't expect to see the message | 10:12 |
blackboxsw | hrm, actually I see that message when I log into my ec2 instance no matter what key I'm using | 10:14 |
blackboxsw | and I see that prefix in /root/.ssh/authorized_keys as well | 10:16 |
blackboxsw | thx for the bug https://bugs.launchpad.net/cloud-init/+bug/1737130 | 10:20 |
ubot5 | Launchpad bug 1737130 in cloud-init "disable_root: 1 but root can still log in" [Undecided,New] | 10:20 |
ybaumy | nayone here | 12:16 |
ybaumy | anyone | 12:16 |
ybaumy | i need help debugging script | 12:16 |
ybaumy | http://pastebin.centos.org/457036/ (<unknown>): could not find expected ':' while scanning a simple key at line 47 column 1 | 12:17 |
ybaumy | what does that mean i cant find any errors in that line | 12:17 |
ybaumy | ok fixed that other one put i still have a problem running a script from a datasource | 14:42 |
ybaumy | where is the error http://pastebin.centos.org/457096/ | 14:43 |
ybaumy | i tried it with -[ command ] and without | 14:45 |
ybaumy | but the runcmd is completly ignored | 14:45 |
robjo | smoser: time for more ntp/chrony fun? | 15:04 |
robjo | Added new comment to https://hackmd.io/CwEwHARgbAzDDsBaArPOjhQMYEZEEMBOHQjQkeAUxgCYb9h8og==?view | 15:26 |
ybaumy | can i make runcmd run again when booted or do i have reinstall? | 15:53 |
rharper | ybaumy: there is a frequency=always | 15:53 |
rharper | lemme see the docs | 15:53 |
ybaumy | cloud-init single --name cc_ssh --frequency always | 15:54 |
ybaumy | found it | 15:54 |
ybaumy | lets try | 15:54 |
ybaumy | cannot be user with init | 15:56 |
ybaumy | used | 15:56 |
rharper | if you dump your scripts into /var/lib/cloud/data/scripts/per-boot | 15:59 |
rharper | they'll get run each boot | 15:59 |
rharper | err, here /var/lib/cloud/scripts/per-boot | 15:59 |
ybaumy | ok | 15:59 |
rharper | also, i see, you can invoke 'cloud-init-per <frequency> cmd | 15:59 |
rharper | so maybe that'll work with your runcmd | 16:00 |
rharper | one example in the docs looks like this | 16:00 |
rharper | bootcmd: | 16:00 |
rharper | - echo 192.168.1.130 us.archive.ubuntu.com > /etc/hosts | 16:00 |
rharper | - [ cloud-init-per, once, mymkfs, mkfs, /dev/vdb ] | 16:00 |
ybaumy | looks good | 16:04 |
ybaumy | will install a new vm now | 16: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 |
ybaumy | you should consider that there no dsa keys anymore | 16:37 |
ybaumy | how does phone_home accept https url | 16:39 |
ybaumy | ic the problem is foreman | 16:41 |
blackboxsw | smoser: can you check my commit message at https://code.launchpad.net/~msaikia/cloud-init/+git/cloud-init/+merge/330105 | 17:13 |
blackboxsw | or rharper | 17:14 |
blackboxsw | I reworded it a bit (and structured for git log length) | 17:14 |
blackboxsw | I'm running tox on that branch locally and will push once either of you get a chance to spot-check the adapted commit message | 17:16 |
rharper | blackboxsw: 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 format | 17:24 |
blackboxsw | rharper: good deal thx. yeah in vi I've set tw=74 to ensure it's formatted properly | 17:24 |
rharper | cool | 17:25 |
blackboxsw | gah. scripts carried over | 17:25 |
blackboxsw | dumb | 17:25 |
smoser | yall good ? | 17:29 |
blackboxsw | smoser: about, what's two characters between friends (in the body of the commit) | 17:29 |
blackboxsw | I don't really want to --force but landed maitreyee's branch with a length at 76 chars on the 2nd to last line | 17:30 |
smoser | https://hastebin.com/raw/abizeqaviw | 17:30 |
smoser | blackboxsw: ^ that is 'go-test-proposed' for now. | 17:31 |
smoser | i jsut wanted to have that. so i can run that on diglett if you'd like and post to the bug. | 17:31 |
blackboxsw | saving it off locally and on our SRU trello card | 17:31 |
blackboxsw | and in ubuntu-sru/manual/nocloud-kvm log | 17:32 |
smoser | oh. yeah. ubuntu-sru. | 17:32 |
smoser | good idea | 17:32 |
blackboxsw | that'd be great smoser thanks if you can run it. I'll push the initial script reference to ubuntu-sru in the right file | 17:32 |
blackboxsw | I added a | 17:32 |
blackboxsw | I added a manual subdir there | 17:32 |
blackboxsw | just to collect logs we've manually attached to our SRU process bugs | 17:33 |
rharper | smoser: 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 |
smoser | blackboxsw: your paste looks good to my ovf. i'll add that and then push. | 17:46 |
smoser | thanks! | 17:46 |
smoser | hm.. | 17:46 |
smoser | oh. i bet that i had stale .tox/pylint-tip | 17:46 |
smoser | and that was teh version in there. | 17:47 |
smoser | i'm quite happy to move it to 1.7.4 | 17:47 |
smoser | sorry | 17:47 |
rharper | np | 17:50 |
rharper | just noticed that when I committed the curtin change | 17:50 |
blackboxsw | pushed everything up to ubuntu-sru | 17:58 |
blackboxsw | only remains getting smoser's nocloud-kvm runs into manual/nocloud-kvm-sru-17.1.46.txt | 17:59 |
* blackboxsw steps away for a few | 17:59 | |
smoser | blackboxsw: xenial just finished. | 17:59 |
smoser | blackboxsw: so i have a xenial-nocloud-kvm.log and xenial-nocloud-kvm-results.d.tar.xz | 18:01 |
smoser | where do you want me to put those ? | 18:01 |
blackboxsw | smoser: https://github.com/cloud-init/ubuntu-sru/blob/master/manual/nocloud-kvm-sru-17.1.46.txt | 18:07 |
blackboxsw | and please attach to bug https://bugs.launchpad.net/ubuntu/artful/+source/cloud-init/+bug/1733653 | 18:08 |
ubot5 | Launchpad 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 |
blackboxsw | then all we are waiting on is MAAS and solutions validation. and aging on pending-sru for 1 more day | 18:08 |
smoser | blackboxsw: ok. i'll get those. it is running zesty and took xenial 16 minutes-ish. so probably < 30 minutes till done. | 18:14 |
blackboxsw | saw the push of your content smoser thanks | 19:16 |
smoser | uploading now | 19:20 |
paulmey | Hi all, I was hoping to sneak https://bugs.launchpad.net/cloud-init/+bug/1722959 into the upcoming release | 19:30 |
ubot5 | Launchpad bug 1722959 in cloud-init "Implement Key-Value Pair Telemetry for Azure" [Undecided,In progress] | 19:30 |
smoser | wow. telemetry | 19:31 |
paulmey | It's a new reporter, which is not enabled by default | 19:31 |
paulmey | lol | 19:31 |
blackboxsw | good 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 |
paulmey | yeah I was the email that came down the list | 19:32 |
paulmey | also, 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 |
paulmey | ah now rereading that email... you wanted MP's merged by today... so that's pretty late for mine then. :-/ | 19:35 |
blackboxsw | good 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 |
blackboxsw | we'll see what there's time for. paulmey, can't rule it out yet (small changeset, might move fast) | 19:38 |
blackboxsw | initial comments, can you add test intent docstrings to those unit tests and import mock from cloudinit.tests.helpers | 19:39 |
blackboxsw | minor style nits/comments posted https://code.launchpad.net/~paul-meyer/cloud-init/+git/cloud-init/+merge/334989 | 19:47 |
paulmey | will do | 19:56 |
paulmey | done | 20:13 |
smoser | robjo: ? | 20:42 |
smoser | https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/334337 ? | 20:42 |
smoser | did you get an answer there? | 20:42 |
robjo | Not yet, sorry | 20:42 |
smoser | robjo: if you ahd to come up with a prefix for opensuse.org bugs | 20:47 |
smoser | "right now" | 20:47 |
smoser | what woudl you choose | 20:47 |
smoser | (ie, launchpad: LP: #XXXXXXX | 20:47 |
smoser | rhbz: https://bugzilla.redhat.com/show_bug.cgi?id=1194451 | 20:48 |
ubot5 | bugzilla.redhat.com bug 1194451 in cloud-init "[PATCH] Add dnf support to cloud-init" [Low,Closed: rawhide] | 20:48 |
robjo | We use "boo" as in "Bugzilla,opensuse.org" | 20:48 |
smoser | :) | 20:49 |
smoser | boo it is. | 20:49 |
smoser | boo: https://bugzilla.opensuse.org/show_bug.cgi?id=1069635 | 20:49 |
ubot5 | bugzilla.opensuse.org bug 1069635 in Other "cloud-init packages differ for each build" [Normal,New] | 20:49 |
blackboxsw | couple comments posted to https://code.launchpad.net/~dojordan/cloud-init/+git/cloud-init/+merge/334341 | 21:07 |
blackboxsw | testing on azure next | 21:08 |
rharper | hehe, boo | 21:08 |
robjo | chrony support :) : https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/334992 | 21:22 |
robjo | this 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 2018 | 21:23 |
blackboxsw | good plan. working out a unittest patch for https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/333772 at the moment. | 21:30 |
blackboxsw | should have something shortly | 21:30 |
blackboxsw | baby steps for me when hitting robjo's queue :) | 21:30 |
smoser | blackboxsw: do you want to do a MP for me ? | 21:33 |
blackboxsw | sure | 21:33 |
smoser | for new upload to bionic ? | 21:33 |
blackboxsw | sure smoser will do | 21:33 |
blackboxsw | smoser: 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 scripts | 21:35 |
blackboxsw | [Maitreyee Saikia] | 21:35 |
* blackboxsw checks bionic apt policy now to validate | 21:36 | |
robjo | I don't think it was me: https://jenkins.ubuntu.com/server/job/cloud-init-ci/603/console help please | 21:37 |
robjo | Says: ERROR: InvocationError: '/var/lib/jenkins/slaves/torkoal/workspace/cloud-init-ci/.tox/pylint/bin/python -m pylint cloudinit tests tools' | 21:38 |
blackboxsw | robjo: hrm.... /me looks at what we should be using in python going forward | 21:40 |
blackboxsw | cloudinit/distros/opensuse.py:171: [W1505(deprecated-method), Distro._set_default_timesync_client] Using deprecated method linux_distribution() | 21:40 |
smoser | hm.. | 21:43 |
blackboxsw | so we could attempt http://pastebin.ubuntu.com/26141985/ | 21:44 |
smoser | distro is not a ubiltin | 21:44 |
smoser | i think we need to build our own. | 21:45 |
robjo | yes, it would introduce a new dependency | 21:46 |
robjo | https://github.com/nir0s/distro | 21:47 |
blackboxsw | deprecate happens in python 3.7 | 21:47 |
robjo | we do have packages in openSUSE and I suspect all other distros will have packages for this as well | 21:48 |
smoser | rharper: what are the kwargs you use for yaml.dump ? | 21:48 |
smoser | default_flow_style=false i think ? | 21:48 |
rharper | print yaml.dump(y, default_flow_style=False, indent=4) | 21:48 |
blackboxsw | https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/334996 smoser bionic upstream MP | 21:50 |
smoser | build-and-pushing, blackboxsw | 22:00 |
smoser | thanks. | 22:00 |
blackboxsw | thanks for the ubu-creds | 22:00 |
blackboxsw | gonna cash them in for a candy bar someday | 22:00 |
smoser | or an ubuntu cola | 22:01 |
smoser | https://www.amazon.com/Ubuntu-Fairtrade-Fluid-Ounce-Italian/dp/B018SSM756 | 22:01 |
blackboxsw | nice. my world is now complete, if I drink it out of an ubuntu mug | 22:02 |
smoser | robjo: you have some merge conflicts showing | 22:03 |
smoser | https://code.launchpad.net/~rjschwei/cloud-init/+git/cloud-init/+merge/334338 | 22:03 |
robjo | I'll rebase the branch | 22:04 |
* smoser has to go | 22:08 | |
robjo | smoser all set | 22:16 |
blackboxsw | robjo 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!