16:01:03 #startmeeting containers 16:01:04 Meeting started Tue Dec 6 16:01:03 2016 UTC and is due to finish in 60 minutes. The chair is adrian_otto. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:01:05 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:01:08 The meeting name has been set to 'containers' 16:01:08 #link https://wiki.openstack.org/wiki/Meetings/Containers#Agenda_for_2016-12-06_1600_UTC Our Agenda 16:01:12 #topic Roll Call 16:01:14 Adrian Otto 16:01:21 o/ 16:01:22 Jaycen Grant 16:01:27 Ton Ngo 16:01:31 Michal Jura 16:01:33 o/ 16:01:33 Spyros Trigazis 16:01:36 o/ 16:02:25 Yatin Karel 16:04:33 hello Drago1 jvgrant tonanhngo mjura_ strigazi randallburt and yatin 16:05:29 #topic Announcements 16:05:31 1) Reminder, there will be no meeting on 2016-12-27 16:05:39 are there any other announcements form team members? 16:05:44 s/form/from/ 16:06:02 #topic Review Action Items 16:06:03 (none) 16:06:13 #topic Blueprints/Bugs/Reviews/Ideas 16:06:18 Essential Blueprints 16:06:33 #link https://blueprints.launchpad.net/magnum/+spec/flatten-attributes (strigazi) 16:06:36 this is (1/4) 16:07:12 strigazi: summary of progress from this week? 16:07:36 stable progress, I haven't finished yet. The only issue is that I do tests manually 16:08:14 I recall you raised this concern in our last team meeting, about testing the before/after 16:08:32 any further thoughts on how to address that? 16:09:10 We could do something similar to ironic, (other projects might also do it) 16:09:50 are you referring to grenade, or something else? 16:10:17 we discussed the need for this testing for both this and other up coming changes. and the possiblity of using grenade for testing 16:10:24 There's a file he'll link, I think. It's not grenade 16:10:33 I don't know if it's called grenade 16:11:03 https://github.com/openstack/ironic/blob/master/ironic/tests/unit/db/sqlalchemy/test_migrations.py 16:11:11 IIRC, yes, grenade tests test db upgrades etc 16:11:34 we don't use sqlalchemy, we use alembic, but it has an equivalent of that 16:12:07 alembic should be the standard so there should be things to crib from in other projects 16:12:17 It's a separate task if someone wants to work on it 16:12:18 swatson had started looking into adding some of this kind of testing, he is on vacation this week but he was interested in working on it 16:12:43 ok 16:13:06 let's open a bug ticket for that work item and link it to the blueprint 16:13:19 that way we can keep it tracked 16:13:33 strigazi: would you agree to creating that? 16:13:42 I'm creating it :) 16:13:59 ok, so I will skip recording that as an action item then. 16:14:12 any more remarks on flatten-attributes? 16:14:33 ok next is (2/4): 16:14:33 #link https://blueprints.launchpad.net/magnum/+spec/nodegroups (drago) 16:14:39 https://bugs.launchpad.net/magnum/+bug/1489908 16:14:39 Launchpad bug 1489908 in Magnum "Tech-Debt: Add tests for DB migration" [Undecided,Won't fix] 16:14:45 we have one already 16:14:46 thanks strigazi !! 16:15:07 No update on NodeGroups, unless jvgrant has an update 16:15:24 #action adrian_otto to ask swatson about claiming https://bugs.launchpad.net/magnum/+bug/1489908 16:15:38 just continued discussion the specs around it 16:16:33 ok, thanks jvgrant and Drago1 16:16:37 next is (3/4): 16:16:39 #link https://blueprints.launchpad.net/magnum/+spec/template-versioning (jvgrant) 16:16:59 This one definitely has discussion in it that's beyond the scope of the blueprint 16:17:14 lots of discussion in this review. Most of it is really around cluster upgrade now 16:17:33 it is not really out of the scope since those bps are inter-related 16:17:38 ok, so my advice on this one is to table any action on it for now. 16:18:15 we made this a dependency for the upgrade spec but it is really isn't 16:18:28 jvgrant: agreed 16:18:33 jvgrant: would you be willing to mark this one as workflow-1? 16:18:55 I don't want to stop advancing our plans for improving Magnum 16:18:58 the template versioning is more about the user experience for operators 16:19:06 but I also want to be careful not to go too far into a rabbit hole here 16:19:06 and users 16:19:36 maybe we should move some of the discussion to cluster upgrade 16:19:49 if we decouple it (by saying so) from upgrades, it won't hold up that train and can continue to be debated in isolation, sounds like a win to me 16:19:59 and my expectation is that our team will continue the discussion on a solution to the fundamental question of how to control policy with relation to acting on clusters and their templates 16:20:06 let's figure out upgrade first and then we can figure out separately how to improve the experience after 16:20:12 jvgrant: +1 16:20:16 which may adjust the direction of the spec 16:20:17 i am ok to move the discussion to cluster upgrade, however, it will be the same discussion as before 16:20:42 hongbin: but might be more productive without the template versioning muddying the waters 16:20:44 hongbin: acknowledged 16:20:59 hongbin: the discussion is a very valid one. just want to remove part so it can be more focused 16:21:06 right, I'm seeking to optimize reviewers time around the concepts that we are clear on now. 16:22:01 then, the template version spec need an revision to decouple from upgrade 16:22:09 Template versioning is also required for nodegroup? 16:22:16 hongbin: +1 16:22:17 e.g. the upgrade use cases should be removed 16:22:24 not required either. It is a nice to have 16:22:48 So we did mark this blueprint as Essential, but I think we should revisit that, as we can decouple it. We are trying to address a legitimate use case, but it's not a critical dependency for cluster upgrade. 16:22:59 i'll make it more generic and we can lower the priority and come back to it after upgrade and nodegroup are finalized 16:23:11 any objections to making this as a medium? 16:23:17 nope 16:23:30 adrian_otto, +1 16:23:32 not from me 16:23:36 ok 16:23:43 ok, I'm going to adjust it, and if anyone has a concern with it, please see me and we'll work through it together, thanks! 16:24:08 +1 16:24:21 done 16:24:34 Same question as ton, Template versioning is also required for nodegroup? 16:24:44 No, it is not required 16:25:07 next is (4/4): 16:25:07 #link https://blueprints.launchpad.net/magnum/+spec/secure-etcd-cluster-coe (yatin) 16:25:08 no 16:25:12 yeah, related but not in the critical path 16:25:13 Wonder if there is a use case left if we remove both dependencies 16:25:21 Drago1, For what you referenced about reply about jvgrant then 16:25:36 I have patches for k8s and swarm for review 16:26:20 ok, I marked the BP accordingly. 16:26:24 yatin: I am not sure what you meant in your message to me just now 16:26:31 Can you add some examples on how to test 16:26:40 yatin ^^ 16:26:58 Drago, No update on NodeGroups, unless jvgrant has an update 16:27:13 strigazi, Should i add examples in BP 16:27:18 yes 16:27:24 strigazi, OK 16:27:38 thx 16:27:51 thanks yatin 16:28:00 any more remarks on this work item? 16:28:19 No 16:28:42 ok, any other work items for team discussion today? Bugs, Reviews, etc.? 16:28:49 yes 16:29:05 would appreciate some eyes on this patch chain: https://review.openstack.org/#/c/396781 16:29:40 We check the k8s functional tests with Mathieu and found out that we don't wait for pods to reach status Running 16:30:34 we modify them to do the right thing but this change will impact the speed and stabillity of ours gates 16:30:39 You mean we just check for existence? 16:30:40 fetching the review 16:30:43 yes 16:30:57 randallburt: I will review 396781 this morning. 16:31:06 thanks adrian_otto 16:31:10 #link https://review.openstack.org/#/c/404253/ 16:31:13 I would like to RFC on https://review.openstack.org/#/c/390668 16:31:33 is bashate something worthwile for magnum? should I file bug/blueprint first? 16:31:57 in many cases the tets succeed but in others don't. 16:32:16 Should we procceed with it? 16:32:31 tech debt bug would be a good idea IMO dirk just for tracking and input 16:32:53 strigazi: I would rather have reliable, consistent gates rather than ones that fail faster intermittently 16:33:27 but we don't tests a real result 16:33:27 strigazi: can we quantify the delay that the currently contemplated fix may introduce? 16:33:37 strigazi: I think our tests should ensure we're functioning correctly. I think we can sort gate lag after 16:33:43 I think that properly testing the functionality of clusters is important 16:33:45 the problem is that we actually don't test k8s properly 16:34:24 we are checking for the creation of the pod at the api level but not wait for it to actually be scheduled 16:34:25 Third party gate! 16:34:33 Drago1: agreed 16:34:54 well, we shouldn't be testing k8s per se, but we should be testing that our drivers result in a functioning clusters and imo, that includes checking that pods are up and running 16:35:00 Drago1: lol 16:35:04 yes, ideally we'd have a third party gate per COE driver 16:35:09 randallburt: Not a joke! 16:35:25 as long as they're voting 16:35:28 is there a way to force our job to a provider ? 16:35:29 only OSIC resources would work 16:35:32 if its in our tree, it *must* work 16:35:52 mvelten: not with OpenStack CI, but with 3rd party gate yes 16:36:00 May be we can create custom image for gate tests that have already hyperkube images then gate time can be shorten up 16:36:10 yatin: +1 16:36:24 It depends on how large the hyperkube image is. I think it is small, so it should be fine 16:36:33 150MB 16:36:33 187 MB 16:36:35 yatin we thought about it, it is not that simple, there is currently no easy way to do that 16:36:51 Large images still take forever to `docker load` and cause systemd to fail it 16:36:57 exactly 16:36:58 ok, I'll have a look in tarballs again 16:37:06 so embedding a tar will not help 16:37:21 150 MB is probably too big still 16:38:07 dirk: we will get to your remarks about https://review.openstack.org/390668 in just a moment 16:38:18 mvelten, Drago1 we had some images over 500MB in tar but that didn't failed at docker load 16:38:21 Unless it could be pre-loaded into docker too, then it's fine 16:38:27 if we want that we need to package /var/lib/docker directly so it is already imported 16:38:49 yatin: Did you test that in the gate? I did too but in the gate it fails 16:39:07 Drago1, Not in gate 16:39:08 +1 the problem is again no kvm nested :) 16:39:17 mvelten: this should become a non-issue in 3rd party CI 16:39:50 right, if we can do third party voting, then I don't see why we wouldn't optimize that way 16:41:00 i want to bring up one thing if nobody else has any item to discuss 16:41:03 ok yes we need nested somehow in CI or it will come back again and again 16:41:04 Okay, so how important to us is getting a 3rd party gate 16:41:14 Because we keep finding reasons it's useful 16:42:16 let's do this... Let's set 3rd party gate testing as a top level discussion topic for next week 16:42:33 and we can invite representation form our infra team to help us make an informed decision about it 16:42:42 s/form/from/ 16:43:08 one downside I see is that someone needs to provide the infrastructure to run the driver CI 16:43:33 so we'll need to find parties willing to do that 16:43:34 i think tonanhngo got some machines from CNCF, we could leverage those servers 16:43:42 tonanhngo: ^^ 16:43:55 hongbin: that was only for a short time 16:44:08 tonanhngo: bumper 16:44:08 adrian_otto: sounds good 16:44:27 adrian_otto: sounds good 16:44:43 short term was there a decision on the review strigazi brought up? should we added waiting for the pods? 16:44:44 and we can start an ML discussion too so that we have some background set before coming back to the topic 16:44:54 for the record we dont have nested for now. We are trying to switch it on for new HV 16:44:54 I can take that action item 16:44:55 jvgrant: IMO, yes 16:45:11 +1 ^^ 16:45:19 I think we should wait for the pods, otherwise it's not really a valid test 16:45:24 agreed 16:45:28 +1 16:45:29 agreed 16:45:42 ok, dirk. 16:45:50 thanks 16:45:51 hongbin, I noted you have a topic too. 16:45:53 tonanhngo, +1 16:46:07 adrian_otto: yes :) 16:46:10 i suggested to bump the priority of the cluster-upgrade bp to essential 16:46:29 and according to spyros the rackspace vms in the common CI pools doesnt have it either 16:46:32 dirk: besides indentation, is there some other motivation to introducing a pop8 equivalent for shell scripts? 16:46:34 the cluster upgrade feature is a blocker for magnum to be production-ready imo 16:46:35 pep8 16:46:53 hongbin: agreed 16:47:03 it should be classified as essential so that we could discuss it every week at the team meeting 16:47:16 hongbin, +1 16:47:17 adrian_otto: consistency. one formatting style, less nitpicks over formatting issues for future changes.. 16:47:18 ok, I am happy to elevate set cluster upgrade to essential 16:47:28 ok 16:47:34 I'm happy to ride herd on it 16:47:34 I have a problem with the indentation patch. It can break stuff quite easily 16:47:47 dirk: from what I can see there is no test for style besides indentation. Did I miss something? 16:47:52 I think 16:47:56 Oh, nevermind, strigazi is already assigned 16:48:26 adrian_otto: I didn't want to enable all bashate tests as that made it unreviewable. I can do followups that enable more tests 16:48:39 I think that's just the first check to keep it from being too disruptive too early 16:48:41 adrian_otto: just wanted to see as a test balloon whether that route would be acceptable at all 16:48:51 if a tool or a cat or anything expect good tabbing / new lines it would break it 16:49:04 mvelten: that's kinda the point IMO 16:49:21 mvelten: run tox before you post a review to catch things like that 16:49:57 if we have a significant number of artifacts in bash (and we do), then it should be linted IMO 16:50:00 hongbin: I set https://blueprints.launchpad.net/magnum/+spec/cluster-upgrades as Essential 16:50:08 adrian_otto: thank you 16:50:09 hongbin: did you also have an additional topic, or was that it? 16:50:18 Linting for heat templates would be nice too 16:50:19 no. that is all from me 16:50:23 I have one topic. I would like to get a spec reviewed https://review.openstack.org/#/c/391537/ to proceed with implementation 16:50:32 thanks hongbin 16:50:33 Drago1: indeed. don't know if we ever built something like that 16:50:39 linting python is fine, bash which rely on calling other binaries is weid to me 16:50:40 Yes, let's discuss that, vijendar 16:51:12 vijendar: we will get to that in one moment 16:51:23 adrian_otto: ok 16:51:41 mvelten: yeah, if it did break something, we probably wouldn't see it in the gate 16:51:52 mvelten: at least, not always 16:52:00 this is checking style/formatting, not functionality 16:52:33 Is this earlier bug related: https://bugs.launchpad.net/magnum/+bug/1561232 16:52:33 Launchpad bug 1561232 in Magnum "bashisms found in /bin/sh scripts" [Low,Fix committed] 16:53:18 the stuff is that formatting can matters to underlying tools. if bashate now how to handle that fine 16:53:39 so is shell script style an actual problem for our team? If so, I have not seen the evidence of it yet. 16:54:09 I'm reluctant to shake things up unless we are sure this is solving a problem 16:54:27 lets say I write a yaml file like we do in k8s, does the bashate breaks the indentation ? it would break the fonctiunality 16:54:28 the check of any script could be helpful imo 16:54:30 adrian_otto: e.g. devstack uses it 16:54:48 the bug 1561232 happened because of upstream packaging tools had problems with bash code in shell scripts. 16:54:48 bug 1561232 in Magnum "bashisms found in /bin/sh scripts" [Low,Fix committed] https://launchpad.net/bugs/1561232 16:55:00 dirk: that makes sense, as devstack is a shell script 16:55:04 adrian_otto: inconsistent indenting can hide bugs (e.g. 2 spaces / 4 spaces in the same file) 16:55:30 It's also annoying 16:55:30 IMO, if it doesn't break things and can help increase code quality, there's no reason not to 16:55:48 randallburt, hongbin +1 16:55:50 I agree, but the worry is that it may break things that are not apparent until later 16:56:13 scripts in yaml probably won't be checked which is good, but then we could use that as the impetus to move those scripts out of the templates 16:56:25 Then we need to write tests that would cover those things, so we obviously need a 3rd party gate even more! 16:56:34 I mean we have scripts that write yaml through echo 16:56:41 sh scripts 16:56:46 mvelten: oh, gotcha 16:56:52 :) 16:56:53 adrian_otto: ok, then how about we try the consistent-indenting rule first and see whether it breaks anything? 16:57:06 dirk: +1 16:57:08 adrian_otto: I don't have a lot of experience with bashate but from all usages I had so far I had zero issues due to it 16:57:14 ok with me. Let's take this discussion to the review thread 16:57:23 we don't have strong objections to it right now 16:57:24 great, thanks for the time to discuss this! 16:57:32 vijendar: you asked for reviewers to have a look at https://review.openstack.org/391537 16:57:34 yep, thanks all 16:57:43 yes 16:58:27 so far I got couple of +1s on that, but need more reviews to get it merged 16:58:37 I'll look at the recent revision this morning 16:58:47 only one minute left for open discussion, sorry 16:58:53 #topic Open Discussion 16:59:35 [openstack-dev] [Kuryr][Magnum] How stable is kuryr-kubernetes? 16:59:50 There is an item that should be looked up 17:00:02 May be ton is working on the integration part 17:00:12 It's still in development 17:00:12 Thanks for attending. Our next team meeting will be at 1600 UTC on 2016-12-13. See you all then! 17:00:19 #endmeeting