Friday, 2017-01-27

jheskethjeblair: ah cool. Will look shortly :-)00:03
*** saneax is now known as saneax-_-|AFK00:04
*** harlowja has quit IRC00:04
openstackgerritJames E. Blair proposed openstack-infra/zuul: Add infrastructure for pre/post playbooks  https://review.openstack.org/42598900:10
jeblairjhesketh: thanks... and you can tell me if that ^ fits in with how you saw it being used00:11
jlkWith OpenStack's implementation of gerrit/zuul, Im looking at the layout, trying to determine if the system blocks on -1 reviews or -2 reviews, or if it's just human convention to do so. It looks like there are no rejects on the "gate" pipeline, there's only a requirement on verified 1 or 2 from jenkins, and a "workflow: 1". Is it just human convention to not give a workflow +1 if there are negative reviews, or does gerrit prevent that somehow?00:21
jlk(asking to read responses later, going afk)00:21
jeblairjlk: convention00:21
jeblairjlk: no -2 code reviews is a requirement.  i believe it's not encoded in the zuul config because zuul can detect that from gerrit.00:24
jeblairjlk: (so to clarify: no -1 code-reviews is a convention (i mean, it's not even a convention stated like that, it's just input for a core reviewer to consider).  no -2 code-reviews is a system requirement)00:25
*** bhavik1 has joined #zuul04:26
*** saneax-_-|AFK is now known as saneax05:40
*** bhavik1 has quit IRC05:56
*** yolanda has quit IRC07:12
*** yolanda has joined #zuul07:20
*** hashar has joined #zuul09:01
*** isaacb has joined #zuul10:50
*** isaacb has quit IRC11:01
*** saneax is now known as saneax-_-|AFK11:24
SpamapSjeblair: the talk went well btw. There were no less than _3_ Zuul users in the audience.. which surprised me. :-D14:26
*** saneax-_-|AFK is now known as saneax14:29
*** saneax is now known as saneax-_-|AFK14:40
openstackgerritJames E. Blair proposed openstack-infra/zuul: Add infrastructure for pre/post playbooks  https://review.openstack.org/42598915:28
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul: Re-enable test_dependent_behind_dequeue  https://review.openstack.org/41376815:49
*** saneax-_-|AFK is now known as saneax15:49
*** yolanda has quit IRC15:51
*** yolanda has joined #zuul15:52
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul: Re-enable test_dependent_behind_dequeue  https://review.openstack.org/41376816:19
*** saneax is now known as saneax-_-|AFK16:21
jeblairSpamapS: hooray! :)16:30
SpamapSjeblair: I notice 413768 conflicts with your stack-of-destiny ... should I rebase on top?16:33
jeblairSpamapS: an experimental cherry-pick has it applying clean, so i wouldn't worry about it16:34
jeblairi think gerrit is conservative in that calculation16:35
SpamapSjeblair: oh good16:44
SpamapStime to go find some dumplings and fried cheeze #CzechHealthFood16:59
openstackgerritJames E. Blair proposed openstack-infra/zuul: Move job running into own class  https://review.openstack.org/38596416:59
openstackgerritJames E. Blair proposed openstack-infra/zuul: Add infrastructure for pre/post playbooks  https://review.openstack.org/42598916:59
openstackgerritJames E. Blair proposed openstack-infra/zuul: Implement job aborting  https://review.openstack.org/42630616:59
*** hashar has quit IRC17:09
openstackgerritJames E. Blair proposed openstack-infra/zuul: Implement job aborting  https://review.openstack.org/42630617:13
jlkjeblair: where is the "no -2" codified? I don't see it in project-config/zuul/layout.yaml17:56
clarkbjlk: in gerrit17:56
clarkbzuul does a "can this thing merge" query against gerrit, and gerrit has rules that include no merges if you have a max negative vote17:57
jlkOIC17:58
jlkGithub has a "mergable" query, but I think its limited in what it decides against17:59
clarkbworth noting that same rule applies to verified and workflow columns for us too18:01
clarkbso its more generic than just -2 code review18:01
*** harlowja has joined #zuul18:02
jlkyeah, it's just gerrit that does it, not zuul.18:02
jlkDo you know how gerrit does it? Is it strictly /any/ -1 will block, or does it have to be more -1s than +1s? or..?18:02
jeblairjlk: theoretically -- anything.  it's user-customizable prolog.  :|18:03
jlkoof.18:03
jlkalright.18:03
jeblairjlk: but the standard is...18:03
clarkbjlk: Gerrit's default "function" (I think that is the term they use) is at least one maximum positive votes in all columns and no maximum negative votes in any columns18:03
jeblairthat ^18:03
clarkbthey ship several functions that you can apply but you can also write custom prolog to provdie the yeses as appropriate for you18:04
jlkyeah, just trying to replicate some of it over in zuul+github land. Trying to define the rules, at least for our implementation of it18:05
jeblairi don't consider the zuul-gerrit negotiation over this to be very central.  zuul can duplicate most of the basic functionality.  i'm somewhat inclined to remove the (somewhat clunky) part of zuul that does query gerrit for this, but it could be useful.18:05
jlkwas thinking of trying to map "people with write access" == 2s (+/-) and people without would be 1s (+/-), and figuring out which should block.18:06
jeblairjlk: well, zuul should just expose what's available in github and let operators configure that in the layout.18:06
jeblairdon't translate to gerrit, just expose github18:06
jlkyeah, I'm trying to assign some special meaning to reviews by people with write access though18:06
jlkbecause those are what can block (or allow) a merger18:07
jlkwhereas people without write access cannot block18:07
jlkI want to expose that difference to zuul, so that layouts can decide how to treat them18:07
jlk(instead of maintaining a list of special people in zuul to match against)18:07
jeblairjlk: that makes sense -- i would just look for a way of expressing that in those terms.  "require: {score: positive; group:owner}" or something.18:08
jlkthat would make sense for v3, where there is more flexibility. For v2.5 I'm trying to shove it into the same construct as gerrit approvals18:08
jlkso that I don't have to touch nearly as much core zuul code18:08
jeblairjlk: v3 doesn't change that18:09
jlkWell, I'm hoping it will, that's why I filed a storyboard on it.18:10
jlkmostly it's just in zuul/model.py for 2.518:11
jlkin ChangeishFilter.18:11
jeblairthe *intent* is that provides a generic base for supporting multiple systems.  you're working on the first alternative system and we know some things will need to change.18:12
jlkyup. Doing this on 2.5 now is helping us to find places where it may be awkward, so that we can inform v3(+) direction.18:13
jeblairso i guess the thing i'm trying to convey is that there is no specific design that has gone into v3 to make this easier18:13
jeblairwe just need to do it.  :)18:13
jlkagreed18:13
jeblairat any rate, i look forward to working on this once we have a minimally viable v3 running18:14
jlkme too18:14
jeblairjlk: until then, i'm going to continue to try to pull you into v3 things.  :)18:15
jlk:) I've been doing some reviews... and thinking real hard about it, I swear!18:15
jeblairjlk: thanks!  i think there will be some more interesting ansible stuff next week.18:17
clarkbspeaking of, rcarrillocruz any chance you will be able to address the comment on https://review.openstack.org/#/c/404243/13 so that we can close out that portion of the devstack-gate work?18:19
jeblairjamielennox: 406699 has some comments (and could use an update)18:21
jeblairi should probably send that again in a couple of days :)18:22
jlkheh yeah18:22
*** bhavik1 has joined #zuul19:15
*** nigelb has quit IRC19:17
*** bhavik1 has quit IRC19:38
openstackgerritMerged openstack-infra/zuul: Merger: fully update repo on repo update  https://review.openstack.org/38985020:46
openstackgerritJames E. Blair proposed openstack-infra/zuul: Cloner: use zuul_url always when project set  https://review.openstack.org/38985121:02
Shrewssometimes I *really* hate git. Especially when I back myself into a corner that I cannot find a way out of, like right now21:40
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: WIP: Assign node set to node requests  https://review.openstack.org/42640621:41
Shrewsjeblair: When you get some time, could a take a look at 426406 ^^^. Really, only the _getNodeSet() part is what I'd like your input on, and how it's using the new NodeLaunchManager to do the thread-per-launch handling we discussed yesterday21:45
Shrewsjeblair: i tried to come up with an easily understandable way to do that thread handling, and that's what my brain finally came up with (using the manager to hide the complexity)21:46
clarkbShrews: the trick I have found is thinking about what you want to do to the git dag, unfortunately some times this maens you have to learn far more about git than should be necessary22:06
Shrewsclarkb: In this instance, I got myself so lost that the only recourse I could think of was to reset the dag.22:15
Shrewsi can't even explain what i did to get so lost22:16
*** yolanda has quit IRC22:20
*** yolanda has joined #zuul22:31
jeblairShrews: that lgtm -- the process makes a lot of sense.  related: i think that we should consider having noderequestworker not be a thread (in the simple case of a 1-node request we will have 2 threads, compared to 1 today, and we're already running into thread contention problems.  distributed provider managers alleviate that somewhat, but i still don't want to lose the ground we've gained.  the requestworker is a pretty good candidate to not be ...22:38
jeblair... a thread since it's fairly straightforward -- do some zk operations, then have the nodelaunchmanager spawn launch threads if needed, then wait for them.  that could become a state machine pretty easily.)  having said all that, this is very easy to reason about right now, so if you want to proceed with this and visit de-threadifying it later, that works for me.22:38
jeblairShrews: (the main thing about this patch that would need to change is the launch_manager.wait() would become a polling method instead of a blocking method.  not too hard.)22:39
Shrewsjeblair: *nod* and thanks. let me mull on that bit over the weekend22:40
*** yolanda has quit IRC22:44
*** yolanda has joined #zuul22:49
*** yolanda has quit IRC22:54
*** saneax-_-|AFK is now known as saneax22:59
*** yolanda has joined #zuul23:00
*** greghaynes has quit IRC23:10
*** yolanda has quit IRC23:16
*** yolanda has joined #zuul23:34
*** yolanda has quit IRC23:36
*** greghaynes has joined #zuul23:37
*** yolanda has joined #zuul23:40
*** yolanda has quit IRC23:48
*** greghaynes has quit IRC23:52
openstackgerritJames E. Blair proposed openstack-infra/zuul: WIP: Reload tenant configuration on change merged  https://review.openstack.org/42643323:55
jeblairfriday afternoon brain twister ^23:56

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