/srv/irclogs.ubuntu.com/2017/07/18/#cloud-init.txt

nilujesmoser: blackboxsw: thanks a lot for your help for the MR08:29
nilujeand sorry it took so long to make it good - is it that long for every datasource?08:30
nilujedo you have a release schedule?08:30
=== ahasenac` is now known as ahasenack
=== ahasenack is now known as Guest49405
blackboxswniluje I think that time was due in part to multiple vacations on our end impacting the branch review, discussion and landing.  (Yes, we were thinking we held you up a bit too long on the feedback loop). As per releases, we get something into ubuntu artful fairly frequently. And then monthly-ish try to get backported critical bug fixes through an SRU process into xenial, yakkety and zesty13:39
nilujeblackboxsw: honestly, I think it's 100% my fault if it has been so long :)13:44
nilujeone of my coworker asked me to review his PR in 2015, I had to rewrite it, some unittests were failing, I had something else to do and looked back to fix the issue less than 2 months ago :p13:45
nilujethe first commit of the scaleway datasource was nearly 2 years ago13:45
blackboxswniluje: well we ❤ the contributions, doesn't matter how long they take, and Scaleway datasource is a bit more complex than most given the secure port requirement.13:45
nilujeyeah13:45
blackboxsw:)13:45
nilujeoh and anyway13:45
nilujedo you still want servers for cloud-init?13:45
blackboxswniluje: it would be nice if there were a comp'd account with limited resources, like an account that would allow us to spin up one instance for integration and QA/automated testing.  We would make sure we only spin up the instance in limited capacity, such as when we are preparing to release SRU updates to make sure it doesn't break Scaleway.13:51
blackboxswbut I'm not sure if that's hard to do.13:52
blackboxswor if we ping you once we are ready for an integration test13:52
nilujeblackboxsw: sooo I asked how our sponsorship works (I don't deal with them here)14:04
nilujewhat we ca do is give a discount of 10e/m (which is enough to have 3 small VPN) to your organization14:05
nilujebut it requires to have an account with a valid credit card, which won't be charged unless you reach more than 10e14:05
nilujes/VPN/VPS14:06
smoserniluje, we can probably work with that. just to clarify, we're not in search of "generic compute".14:09
nilujeyeah I got it :)14:10
smoserwe were asking for resources for integration test explicitly to ensure that scaleway would work and put that into some (future) continuous integration.14:10
nilujeyep14:10
smoserif you dont mind, i will feel free to bother you later.14:11
nilujeno problem, I'll be here and the offer will still stand14:11
nilujethanks a lot for everything :)14:12
smoserniluje, wrt releases... we are well over due14:17
smoserblackboxsw, if you are around, a quick read of14:19
smoser https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/327534 would be nice.14:19
smoser https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/327344 too. and then i'd like to upload that to artful to un-block python3.6 in ubuntu14:39
blackboxswsmoser: I'm going through that review now but it will probaby be in ~25  mins. Tuesday mornings I need to drop a kiddo at school at the same time as standup14:50
smoserblackboxsw, it appears apparmour will allow dhclient to run15:50
smoser /etc/dhcp/dhclient-script15:50
smoserand that does not exist15:51
blackboxswyeah, I was concerned about whether it did exist on some clouds15:51
smoserso, while it has the same issues as /sbin/dhclient-script ...15:51
smoserwell, in ubuntu we can search if anything in the archive has that file15:51
blackboxswbut maybe we could take that approach if not present.15:51
smoserand i doubt it does15:51
smoser$ apt-file search dhclient-script 2>&1 | grep -v '^W:'15:52
smoserapparmor-profiles: /usr/share/doc/apparmor-profiles/extras/sbin.dhclient-script15:52
smoserdracut-network: /usr/lib/dracut/modules.d/40network/dhclient-script.sh15:52
smoserisc-dhcp-client: /sbin/dhclient-script15:52
smoserisc-dhcp-client: /usr/share/man/man8/dhclient-script.8.gz15:52
smoserrear: /usr/share/rear/skel/default/bin/dhclient-script15:52
smoserwe should pose question to security team though15:53
smoserask what they'd recommend.15:53
blackboxswsmoser: I'll hit up the security channel.15:54
blackboxswoops you already did15:54
=== Guest49405 is now known as ahasenack
smoserblackboxsw, updated https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/327344 with comments . more palatable now i think16:24
smoserand i actually verified that all tests/unittests/ use TestCase from helpers16:24
smosererr... *now* i updated16:25
* blackboxsw is trying to rework register_helper a little bit on your to make it a bit more DRY 16:58
smoser):16:59
smoser:)16:59
blackboxswon your other branch.16:59
smoseri started that too16:59
smoseroh.16:59
smoseri thoguht you were going to say you were reworking reset_global-state()16:59
blackboxswheh16:59
smoserto use setattr16:59
blackboxswnah16:59
blackboxswsorry for the slow goings on this. I just want to make sure I understand and tested what I've reviewed.17:00
blackboxswspeed will come...17:00
smoserblackboxsw, well, ifyou're looking for generalization..17:01
smoser tests/unittests/test_datasource/test_aliyun.py17:01
smoseruses something similar17:01
smoserthats where i started with register_helper17:01
smoserbut the py3.6 one17:02
smoserif you can quick read that one.17:02
smoserthat is more important17:02
smoseras it is blocking things in ubuntu17:02
blackboxswyeah definitely. committed WIP comments on your ec2, grabbing py3.6 and playing on my aartful box17:05
smoserthere is actually nothing python3.6 specific in those changes17:15
smoserthey're all just bad expectations in tests, and one actual fix17:15
blackboxswsmoser: when I tweak tox.ini environment to basepython = python3.6.  I still hit an error: http://pastebin.ubuntu.com/25119991/ digging in now17:34
smoserblackboxsw, i think you have a bad .pyc or something17:48
smosersomething is wrong17:48
blackboxswyeah I'm running tox -r to rebuild now17:49
smoseras line 23 in your paste is not line 212 in my merge proposal17:49
smoserie, open cloudinit/net/netplan.py and go to line 21217:49
smoser        fpnplan = os.path.join(util.target_path(target), self.netplan_path)17:49
smoseris what you shoudl see17:49
blackboxswok that plus a clean_pyc worked for me17:49
powersjsmoser: submitted merge for kvm backend. I have it working locally and on torkoal. Would like to see what you think. https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/32764617:49
powersjsmoser: I also have the workflow documented and can walk you through it if you want.17:50
blackboxswok I'm out of your way on https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/327344 . approved17:52
blackboxswback to ec2 tests branch17:52
smoserthanks17:54
rharpersmoser: https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/327648  (sysconfig update MP)18:27
smoserpowersj, you want to chat in 20 minutes ?19:40
powersjsmoser: sure19:40
smoserrharper, from20:56
smoser8da074f831ce8e4ad781163b0301d6e0b07e0d1220:56
smoserer... from your link above, that first one looks fine. i'll just grab that.20:56
smoserbah. i'll look more tomrorow.21:00
smoseri'm reallyconfused.21:00
smoseri was going to cherry pick the above, but it leaves tox broken21:02
smoserwell, fixed that21:10
smoser1 commit down, 11 to go21:10
smosercommented in your mp21:10
rharpersmoser: thanks, I'll run tox on my mp (can't believe I didn't already)21:15
smoserwell just when i cherry picked that one21:18
smoserit probably means you now have merge conflicts in another commit21:18
smoserie, i bet you didn't fix that one and fixed it later.21:18
smoseri have to run.. i think the way i'll do thi sis just to work one at a time21:19
smosersound reasonable ?21:19
blackboxswsmoser, approved https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/327534   take what you will as far as review comments.21:21
smoserrharper, http://paste.ubuntu.com/25121184/21:22
smoserthats my next commit review21:22
smoserand i need to run now, really this time21:22
blackboxswit feels like those httppretty tests are expensive. ~4 seconds per test, though I haven't profiled where we are spending our time in those tests yet.21:22
blackboxswsee you smoser have a good one21:23
smoserhm..21:23
smoser:-(21:23
blackboxswsmoser: nevermind, they were expensive because I had manipulated the mocked metadata urls locally and leaked calls were timing out.21:28
blackboxswreal0m0.480s ok better21:29
rharpersmoser: ok, looks like the IPV6_ gateway prefix gets fixed in the next commit (whic his fine)21:41
powersjrharper: thx for the review22:17
powersjrharper: smoser: what is the proper way to format this command via mount-image-callback: http://paste.ubuntu.com/25121627/22:18

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