Monday, 2017-05-22

*** jamielennox|away is now known as jamielennox00:02
openstackgerritTristan Cacqueray proposed openstack-infra/zuul feature/zuulv3: sql-connection: make _setup_tables staticmethod  https://review.openstack.org/46645501:02
openstackgerritTristan Cacqueray proposed openstack-infra/zuul feature/zuulv3: [RFC] Zuul Dashboard  https://review.openstack.org/46656101:02
tristanCHello folks, is the meeting tomorrow (monday 2200UTC) still planned?01:14
tristanCWould you mind if I add to the agenda a couple of requests for comments, namely static node support and a jobs dashboard ?01:15
clarkbyes I beliece only last week's meeting was cancelled01:16
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Re-enable F405 pep8 errors  https://review.openstack.org/46628501:36
openstackgerritTristan Cacqueray proposed openstack-infra/zuul feature/zuulv3: Zuul Dashboard  https://review.openstack.org/46656101:48
*** jamielennox is now known as jamielennox|away02:00
openstackgerritTristan Cacqueray proposed openstack-infra/zuul feature/zuulv3: RFC: Zuul Dashboard  https://review.openstack.org/46656102:01
*** adam_g has quit IRC02:24
*** adam_g has joined #zuul02:25
*** adam_g has quit IRC02:32
*** adam_g has joined #zuul02:35
*** jhesketh_ is now known as jhesketh03:08
*** adam_g has quit IRC03:24
*** adam_g has joined #zuul03:24
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: launcher: ensure builder scripts are removed  https://review.openstack.org/46451903:46
*** Cibo_ has joined #zuul03:53
*** jamielennox|away is now known as jamielennox03:53
*** adam_g has quit IRC04:30
*** adam_g has joined #zuul04:32
*** isaacb has joined #zuul04:59
*** isaacb has quit IRC05:41
*** isaacb has joined #zuul06:33
*** isaacb has quit IRC06:33
*** adam_g has quit IRC06:42
*** adam_g has joined #zuul06:43
*** DangerousDaren has joined #zuul06:56
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: launcher: add Jenkins credentials-binding support  https://review.openstack.org/46661107:07
*** Cibo_ has quit IRC07:55
*** Cibo_ has joined #zuul08:36
*** adam_g has quit IRC08:54
*** adam_g has joined #zuul08:55
*** Cibo_ has quit IRC09:48
*** adam_g has quit IRC09:54
*** adam_g has joined #zuul09:55
*** adam_g has quit IRC10:09
*** adam_g has joined #zuul10:10
*** hashar has joined #zuul10:16
*** adam_g has quit IRC10:19
*** adam_g has joined #zuul10:23
*** jkilpatr has quit IRC10:31
*** adam_g has quit IRC10:32
*** adam_g has joined #zuul10:35
*** hashar has quit IRC10:44
*** adam_g has quit IRC10:48
*** adam_g has joined #zuul10:49
*** jkilpatr has joined #zuul10:57
*** lennyb_ has quit IRC11:24
*** lennyb has quit IRC11:24
*** lennyb has joined #zuul11:28
*** lennyb_ has joined #zuul11:29
*** lennyb has quit IRC11:29
*** lennyb_ has quit IRC11:29
*** lennyb has joined #zuul11:30
ShrewsFYI, test_multi_driver.TestGerritAndGithub appears to be flapping: http://logs.openstack.org/86/466286/1/gate/gate-zuul-python35/7ffcf01/testr_results.html.gz11:33
Shrewsjlk? ^^^11:33
Shrewserr, test_multiple_project_gerrit_and_github, rather11:34
mordredtristanC: I left some comments on the dashboard patch - overall I think the idea is a great one, so I hope they come across that way11:35
tristanCmordred: that's much appreciated! Thank you for such fast comments :-)11:43
ShrewstristanC: your nodepool YAML logging change duplicates work from jamielennox (https://review.openstack.org/445656). Not sure why he hasn't picked that up, but could you two work together on that?11:45
tristanCShrews: oops, I forgot to look at open reviews, let me abandon my duplicate11:47
mordredtristanC: if you feel like it, you could probably rebase jamie's to nudge that along11:52
tristanCsure, I guess he wouldn't mind11:54
tobiashhi11:54
tobiashregarding the python3 work on zuul, nice :)11:54
tobiashbut what I'm asking myself is how does that work together with ansible?11:54
tobiashis ansible already working with that?11:55
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool feature/zuulv3: Allow loading logging config from yaml  https://review.openstack.org/44565611:56
Shrewstobiash: ansible should mostly work with py3 (mostly module dependent, i think). https://docs.ansible.com/ansible/python_3_support.html11:56
tobiashI get an error when trying to install zuul into a py3 only alpine container: http://paste.openstack.org/show/610164/11:56
tristanCisn't ansible executed through subprocess?11:57
Shrewsi don't think we've done actual real life usage in a py3 environment yet, though11:57
tobiashtristanC: yes, but zuul injects some modules to catch e.g. local actions for untrusted jobs11:58
mordredalso - running zuul in python3 doesn't mean that the remote ansible execution will be python312:03
mordredtobiash: oh - fun. that definitely looks like a ton of fun12:04
mordred(that paste)12:04
tobiashmordred: RUN cd /opt/zuul-source && . /opt/zuul/bin/activate && python3 setup.py install12:04
tobiashthat seems to work...12:04
tobiash:)12:04
mordredtobiash: WEIRD12:05
openstackgerritdongwenjuan proposed openstack-infra/nodepool master: 'print' is a function in python3  https://review.openstack.org/46670612:06
* mordred just -2'd that ^^ btw12:14
Shrewsmordred: good response. thx12:18
tobiashfirst try to run a py3 scheduler: http://paste.openstack.org/show/610166/12:32
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Read all Gerrit events from poll interruption  https://review.openstack.org/46645312:36
Shrewspabelanger: looks like we have a problem with chocolate on nl01: http://paste.openstack.org/show/610167/12:36
Shrewsi wonder if production is seeing the same error12:38
Shrewsyup12:39
tobiashmordred: regarding py3, _ssh in gerritconnection returns bytes in py3 which breaks all comparisons :(12:40
tobiasheasy fix would be to decode stdout and stderr to utf8 in the _ssh method12:41
tobiashwould you agree?12:41
tobiashwith that the scheduler at least starts up and receives events now correctly :)12:42
mordredtobiash: yah -that seems reasonable to me - Shrews ? (I think you're beating us to actually trying to _run_ in py3 - so thanks! :) )12:48
tobiash:)12:49
tobiashscheduler seems to trigger also jobs already12:49
tobiashbut behaves a bit weird12:49
tobiashcheck voted with Verified=1 and Verified=-2 at the same time...12:49
tobiash/s/Verified=-2/Verified=-1/12:50
tobiashPatch Set 12: Verified+1 Verified-112:50
tobiashBuild succeeded.12:50
mordredtobiash: hrm. that does seem ... not quite correct12:53
tobiashmordred: looks like the user name is encoded differently12:53
tobiashthe py3 zuul couldn't remove the py2 zuul's vote12:53
tobiashso at the end there was verified-1 from an earlier run12:54
tobiashremoving votes seems not to work13:02
*** Cibo_ has joined #zuul13:10
*** rcarrillocruz has quit IRC13:11
mordredtobiash: why do I get the feeling that we're going to find quite a few edge cases in encoding?13:14
tobiashmordred: ah, this one was actually a typo in my pipeline config (reports verified instead of Verified)13:16
mordredPHEW13:25
mordredShrews: didn't we implement more than one node of a given name in a node request at some point?13:25
mordredShrews: like, so that a use can say "give me an ubuntu named controller and 2 centos named compute" ?13:26
Shrewsmordred: yeah, that's supported in v313:26
mordredShrews: k. I thought so - I was just reviewing tobiash's patch for fixing the inventory we write out- and noticed that we're not taking that into accout which means we're not writing any group info to the file13:26
Shrewsmordred: oh, different node "names"? hmmm, i know we do that on "types"13:26
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: Ensure build.start_time is defined onBuildCompleted  https://review.openstack.org/46673213:27
Shrewsmordred: nodepool doesn't really care much about node "names"13:27
Shrewsi think that's more a zuul-side thing, yeah?13:28
mordredoh - piddle. looking at the code I think there's something we missed here13:29
Shrewsmordred: zuul justs asks for nodes of various types. it doesn't pass along names for those in the request13:30
mordredyah - I think it's fine from the nodepool side ...13:30
tobiash\o/ first working (check) job with py3 scheduler and executor :)13:32
mordredtobiash: NICE!!!!13:32
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Add Dockerfile  https://review.openstack.org/46591213:40
tobiashupdated dockerfile for python3 ^^^13:41
tobiash(and moved to contrib)13:41
*** Cibo_ has quit IRC13:45
mordredtobiash, pabelanger, jeblair: I think it might be worth discussing Dockerfile at today's meeting - I totally hear pabelanger's concern, but I also want to make sure we're in a good position to collaborate on Dockerfile - since I hear people like those sorts of things13:55
mordredI'm not sure if the right solution for us would be a zuul-docker repo, having the Dockerfile in the zuul repo or what - same questions with nodepool - and then there are questions in my mind about if we wanted to make a docker file for builder/launcher13:57
mordredit's not how were deploying it in infra right now - but clearly there is interest from folks in running it in that manner - so it seems like a topic we should at least be able to figure out what our git repo answer is13:57
*** mmedvede has quit IRC13:58
tobiashmordred: good idea, I have to check if I can attend (the meeting is at midnight for me)14:01
*** mmedvede has joined #zuul14:01
*** hashar has joined #zuul14:01
Shrewsi don't really like them in the official repo, since it implies this is an officially supported way to deploy, when really it's just a convenience thing14:02
Shrewsbut i may be weird14:02
tobiashI'm ok with having it in-repo or out-of repo, but I like the idea of having a somewhat 'official or reference' public repo containing the dockerfiles so collaboration would be simplified14:06
mordredtobiash: yah - I thnk I can probably proxy for you if it's too late for you to be there14:16
mordredShrews: I think that's a valid concern ... I think _eventually_ we would want to have an 'officially supported' story for container deployment- but I'm pretty sure that won't be a thing we 'support' in the next couple of months14:17
mordredShrews: I mostly want to make sure that we have a place where people can collaborate on getting that to be a thing before we're fully ready to consider it a 'real' thing14:18
*** hashar has quit IRC14:25
jlkwhat time is the meeting? I really need to put it into my calendar14:45
clarkbjlk: http://eavesdrop.openstack.org/#Zuul_Meeting14:46
clarkbjlk: there is a little ics file you can use there14:46
jlkoh good, thanks. And I should be available at that time too14:46
pabelangermordred: same, I don't think zuul proper is the place for Dockerfiles, but maybe docker-zuul or other repo would be okay. Its the same reason we'd add ansible bit into ansible-role-zuul and not main repo14:48
mordredpabelanger: ++ I imagine that's probably the right idea - but seems like a quick 5 minute conversation during the meeting can get us all on the same page14:48
*** DangerousDaren has quit IRC14:58
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Python3: Use exec for self._activate_virtualenv()  https://review.openstack.org/46607015:24
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Wrap map() in list() for python3  https://review.openstack.org/46606915:24
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Python3: RuntimeError: dictionary changed size during iteration  https://review.openstack.org/46604915:24
openstackgerritPaul Belanger proposed openstack-infra/nodepool feature/zuulv3: Python3: encode / decode data as utf8  https://review.openstack.org/46606515:24
*** Cibo_ has joined #zuul15:40
*** Cibo_ has quit IRC15:44
jeblairi'm seeing the py35 tests fail a lot in the github driver tests during the repo GC leak assertion at the end16:03
openstackgerritMerged openstack-infra/zuul feature/zuulv3: merger/executor: configure source connections only.  https://review.openstack.org/46650616:04
jeblairthis is where we assert that there aren't any git.Repo objects that have somehow leaked (we run the GC and then examine all active objects to see if there are any git.Repo objects)16:04
jeblairobviously a lot of behavior around deallocation/GC will have changed in v3.  yet, this seems to only be affecting the github tests so far...16:05
jeblair2017-05-22 12:32:12,824 zuul.test                        DEBUG    Leaked git repo object: <git.Repo "/tmp/tmp.1RIk82c0iv/tmpw7g93ox4/zuul-test/upstream/org/project/.git">16:06
jeblairthat tells us it's the "upstream" git repo object that leaked at least... the intersection of that plus the github tests suggests maybe something in the fake github framework?16:07
SpamapSinteresting16:39
SpamapSjeblair: just out of curiosity I'm following your hunch.16:48
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Temporarily(?) add some debug statements around git repo creation  https://review.openstack.org/46681016:49
jeblairSpamapS: ^ nothing is jumping out at me, so i sprinkled some more debug statements to try to catch it16:50
SpamapSSeems like it creates a lot of repo objects when a singleton would do. But maybe that's just me.16:50
SpamapSwell not a singleton16:50
SpamapSbut a single repo per FakeGithubPullRequest16:50
SpamapSjeblair: yeah that's what I was thinking would be next too.. trace each one through. Also maybe wrap and monkeypatch git.Repo with a logging __init__ and __del__16:52
jeblairSpamapS: that would have been less typing than that patch ^ :)16:52
jeblairSpamapS: the repo objects are treated as instantly disposable everywhere because gitpython doesn't re-read some parts of the git database if they change under it (eg, if the underlying repo is repacked and a large object file is replaced with a new one)16:53
jeblairso it's generally "create a repo object, do one operation, discard"16:54
SpamapSyeah that'd do it16:55
*** Cibo_ has joined #zuul17:00
jeblairjlk, mordred: revised 449390 lgtm17:13
jeblairpabelanger: typo in https://review.openstack.org/46636017:15
pabelangerjeblair: thanks, will fix shortly17:21
jeblairpabelanger: see comment in https://review.openstack.org/46637617:26
pabelangerjeblair: not sure I follow, could you rephrase17:30
jeblairpabelanger: we're working to create a standard library of jobs that multiple ci systems can share.  it's okay for those jobs to use the "zuul_workspace_root" variable.17:33
pabelangerI disagree, I think we should avoid the usage of global variables in our roles. I think a better practice would be to have playbooks should pass in variables that are needed17:35
jeblairpabelanger: or put another way, if the goal of the 'run-tox' role is to run tox inside of zuul, it's okay for the role to use zuul variables.  the only reason to remove zuul variables from the tox role would be if we wanted run-tox to be used outside of zuul.17:35
pabelangeragree, I think now, we should lean towards all roles being run anywhere17:36
jeblairpabelanger: i believe we have already discussed and agreed that, in the case of "zuul_workspace_root", we would make an exception since it's going to be very widely used.  that's why we gave it a nice long prefix to avoid namespace collisions.17:36
pabelangerAh, I understood we'd use it for playbooks, and continue to pass it into our roles17:37
SpamapSI don't believe Ansible is built for sharing outside narrow concerns.17:38
jeblairpabelanger: isn't it going to get very repetitive and verbose to add <<workspace: "{{ zuul_workspace_root }}/src/{{ zuul.project.canonical_name }}">> to every role that does anything?17:38
SpamapSso keeping roles super pure like that isn't actually helping anyone. It DOES help to not have a bazillion global vars.17:39
SpamapSSo an exception or three for the things that every role uses are a good idea.17:39
jeblairhttps://review.openstack.org/466377 shows us what the playbooks will look like with that change: https://review.openstack.org/46637717:39
SpamapSI'm still concerned about include_role17:39
jeblairSpamapS: i think we have agreed not to use it17:40
pabelangerjeblair: we can make that a job variable or share playbook vars.yaml file17:41
jeblairSpamapS: here's the change which previously had include_role and now has role arguments: https://review.openstack.org/46636017:41
pabelangerbut, if we plan on sharing roles with galaxy or other users, I think we should avoid having a role depend on a global variable, it should only reference something local or passed in17:41
SpamapSjeblair: oh good I'm just out of date. :)17:41
SpamapSme gusta17:42
jeblairpabelanger: i'm not sure i understand "we can make that a job variable or share playbook vars.yaml file"....?17:43
*** Cibo_ has quit IRC17:44
SpamapSpabelanger: that's just the thing. IMO, galaxy is a waste of our time.17:46
SpamapSAnsible roles just weren't architected for sharing.17:46
pabelangerjeblair: http://paste.openstack.org/show/610258/17:47
pabelangerplaybooks that share common variables, we can use vars_files for them17:47
jeblair(we might end up wanting to use galaxy to distribute the zuul standard library at some point, but as mordred has noted, it has some technical obstacles for that right now, and in the mean time, we kind of expect other zuuls to be able to just point at the stdlib git repos, so i agree, we don't need to focus on that right now)17:47
pabelangerSpamapS: I disagree, I am using roles from galaxy today17:48
jeblairSpamapS: [having agreed with you on that ^ in the zuul context, i'm not sure i'd agree "ansible roles weren't architected for sharing" -- i mean, that's the unit of sharing in ansible, right?  there's lots of roles sucessfully being shared in general]17:49
SpamapSIf I had been able to use any galaxy roles for real work without vendoring and fixing them, I'd think they're useful.17:50
jeblairSpamapS: point taken.  :)17:50
jeblairpabelanger: and the vars.yaml file will be read by all of those playbooks, i take it?17:51
pabelangerjeblair: yes17:53
pabelangerI think it is possible we are going to want to share data (variables) between playbooks. To avoid copypasta17:54
jeblairpabelanger: so what if we added that variable there (but call it zuul_project_workspace rather than tox_workspace) and then had the tox (and similar) roles use a workspace var which defaults to zuul_project_workspace?17:56
jeblairpabelanger: does that strike a balance between "this role is primarily designed for zuul" but also doesn't require zuul as part of the api contract?17:57
SpamapSpabelanger: typically set_fact is used to share between roles. Or is there another way I'm not aware of?17:59
pabelangerjeblair: and so I follow, why default to zuul_project_workspace in the role18:03
jeblairpabelanger: so that we don't have to add a boilerplate <<workspace: "{{ zuul_workspace_root }}/src/{{ zuul.project.canonical_name }}">> to every invocation of a role that was designed to "run tox for the current project"18:05
*** rcarrillocruz has joined #zuul18:11
pabelangerokay, I am a little confused. I thought we wanted to pass variables into a role, this is why did this with envlist: http://paste.openstack.org/show/610263/ to avoid reading it from global vars: http://paste.openstack.org/show/610264/18:13
jeblairpabelanger: that was a different variable.  with a different scope.  for a different purpose.18:15
jeblairpabelanger: if a role needs an argument to provide some context-specific piece of information, let's pass it in.  but this isn't especially context specific -- there's an obvious default global value we can use here and it makes things much easier to follow.18:20
pabelangerjeblair: that to mean seems confusing... however, we could just do: http://paste.openstack.org/show/610265/18:23
jeblairpabelanger: why did you move the envlist argument out of the role argument?18:23
pabelangerbecause I am struggling to see the difference of scoping between workspace and envlist18:24
jeblairpabelanger: workspace is something that is used by every tox job, and every makefile job, and every ant job, and it will always be the same.  it's the same whether you run "make test" or "make tarball".  it's the same whether you run "tox -epy27" or "tox -ep35".  however, envlist is different for different jobs.  where workspace is fundamental to all uses of the role, envlist alters the behavior of the role so it can be used in different jobs ...18:26
jeblair... for different purposes.18:26
jeblairpabelanger: i'm not sure we can write hard and fast rules yet.  we have a lot of options and we have to weigh a lot of factors as we decide what to use.  we want the jobs to be easy for non-specialist developers to create and edit.  we want to be able to share content across different zuul installations.  and we want to make good API decisions so we don't back ourselves into a corner in the future.18:30
pabelangeryes, my main concern is, because openstack-zuul-jobs and openstack-zuul-roles are over 2 repos, if start using global variables, it is going to be difficult to work with.  Even now, it has been some frustrations trying to manage the CRD in making these changes.  This is why I am pushing back a little and force us to pass all variables in, so we can just look at one side of the repo and see what is happening.18:33
jeblairpabelanger: perhaps we should merge them into one repo?  we may not be gaining much by having them separate...18:35
pabelangerHowever, I understand we want things to be easy. And if we think people won't have much ansible experience for making changes to our jobs, then a single repo might be better18:35
*** harlowja has joined #zuul18:37
jeblairpabelanger: and in general, i don't think we should use many global variables.  but we have a bunch of roles here that are, basically, designed for a certain context, so this one seems like it might be worthwhile.18:38
pabelangerThe gain for me, was to share our openstack-zuul-roles. But, maybe we are moving forward too fast on that18:38
jeblairpabelanger: oh we're going to share it, it's just that we're going to share it with other zuul users18:39
jeblairer, not openstack-zuul-roles18:39
jeblairzuul-jobs18:39
jeblairi don't think we expect openstack-zuul-roles to be shared, except maybe by openstack third-party ci ops.18:39
jeblair(this is getting confusing because we haven't yet created the other repos which we do want to share)18:41
*** harlowja has quit IRC18:43
*** Cibo_ has joined #zuul18:45
jeblairpabelanger: so, we've been at this for an hour and 15 minutes... do we have a plan?18:46
pabelangerjeblair: we can abandon 46637618:52
pabelangerit already has the correct workspace currently18:52
jeblairpabelanger: okay.  i think moving that to the per-role defaults file so it could be overridden would be an improvement.  and i also think that setting it as a global variable to avoid that repitition would be okay as well.18:55
Shrewsmaybe we should make the py35 job nv for a while until we sort out the random fail issues there?19:06
jeblairShrews: maybe, though i've only spent about 10 minutes looking into it so far... i'd like us to at least take a stab at fixing it first...19:13
jeblair(i'm not sure how much time other folks have had to look into it)19:13
Shrewssure, just throwing it out for consideration19:14
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Remove uncalled test code  https://review.openstack.org/46427619:16
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Fix inventory vars containing spaces  https://review.openstack.org/46507219:18
jlkhello again.19:48
mordredlook it's a jlk19:51
jlkOH good, I get to continue my rebase.20:07
jlkjeblair: to make this rebase easier, I'm going to pull your driver specific requires commit into my stack.20:19
jeblairjlk: i think my change doesn't depend on anything outstanding, so you should just need to rebase on it, right?  (ie, you shouldn't need to change 466105 at all?)20:20
jlkI think it's getting changed slightly because due to a mishap I just rebased on the tip of feature/zuulv320:21
jlknot "changed" per se, just rebased.20:21
jlkI could probably figure out a way out of this to not do that20:21
jeblairjlk: hrm... it's not a small change... it might be worth it so we don't have to comb through it again :)20:24
jlkyeah.20:24
pabelangerShrews: okay, infracloud-chocolate should be coming backonline20:24
jlkworking it out20:24
jeblairjlk: also, you and mordred like it... maybe we can ask clarkb or pabelanger to give it a quick once-over for whether the concept is okay (can probably skip detailed code review at this point) and merge it?20:26
jlkoh that'd work even better actually20:26
jeblairpabelanger, clarkb: if you have a moment to look at https://review.openstack.org/466105 to make sure the idea is okay, that'd be great :)20:26
jlkyes please, clarkb pabelanger can you look at https://review.openstack.org/#/c/466105/520:26
Shrewspabelanger: awesome20:26
jlkoh haha20:26
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Temporarily(?) add some debug statements around git repo creation  https://review.openstack.org/46681020:26
jeblairSpamapS: ^ i did the init monkeypatch20:27
jeblairclarkb, pabelanger: https://review.openstack.org/#/c/466105/5/tests/fixtures/config/requirements/reject/git/common-config/zuul.yaml  is the change in a nutshell :)20:28
clarkbjeblair: and if you had a github block and a gerrit block zuul will apply the one appropriate for where the event originated?20:31
jlkyeah, it looks at the event source.20:31
jlkwell, by which I mean20:32
clarkbthat makes sense to me at first pass20:32
jeblairclarkb: for the source of the change, rather than event -- this also helps us in the case of, say, a hypothetical IRC trigger enquing a gerrit change (since the irc trigger doesn't know what a gerrit is).  but the pipeline can still say "the change needs these things..."20:32
jlkhttps://review.openstack.org/#/c/466105/5/zuul/driver/github/githubtrigger.py20:32
jlkthe github trigger adds the github filter20:33
jeblairyes, true, events are affected as well20:33
jeblairso it's both things -- we add per-trigger subclasses of EventFilter to handle trigger events (which, in the zuul.yaml, were already separated by connection).  and we also add per-source subclasses of RefFilter (which, to date, was not separated by connection in the zuul.yaml, so we also do that)20:35
jeblairthe first thing is mostly an internal code change; the second thing is a user-facing change20:35
jeblair(and actually adds new capabilities)20:35
SpamapSjeblair: and now you have to recheck that over and over until it fails?20:36
jeblairSpamapS: i guess; or merge it and see if we catch it on other outstanding changes20:36
pabelangerjeblair: jlk: Seems straightforward20:37
jeblairSpamapS: i am now trying to figure out where to put blank lines to make pep8 happy20:38
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Temporarily(?) add some debug statements around git repo creation  https://review.openstack.org/46681020:39
SpamapSjeblair: perhaps in the pep8.py file that complains about such things? Oh wait that would just make me happy. ;)20:41
jeblairnot just you20:42
SpamapSare we zuul meeting today?20:50
jeblairSpamapS: yes20:51
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Quote message when reporting to Gerrit  https://review.openstack.org/46634520:52
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Temporarily(?) add some debug statements around git repo creation  https://review.openstack.org/46681020:52
SpamapScoo20:52
SpamapSl20:52
pabelangerjeblair: I think we need our first trusted playbook, I would like to try using https://gist.github.com/cliffano/9868180 to make the ansible logs more human readable.21:00
jeblairpabelanger, mordred: it's true the ansible logs are not readable right now, but maybe because of a bug in the callback plugin21:02
jeblairpabelanger, mordred: unfortunately, i have to do some work before the meeting and can't discuss this right now.  perhaps mordred can chime in on what's wrong.21:03
mordredjeblair, pabelanger: just getting off a call - will lok in just a sec21:08
jlkjeblair: looks like you were able to tickle the leak!21:21
jlkso, has anybody tried running zuuls test suite using zetcd instead of zookeeper?21:24
mordredjlk: not that I'm aware of, no21:25
SpamapSindeed it looks like is right after "Resuming queue processing"21:28
* SpamapS hasn't looked at what that means21:28
Shrewsjlk: is there a reason to?21:36
jlkcuriosity21:36
jlkIf folks already have an etcd cluster, they may not want to introduce a zookeeper cluster.21:36
mordredjlk: yah - I'm hoping most of them will just decide to run zuul in their k8s and that the zk portion will just be a happy pod that gets spun up for them as part of their helm chart...21:49
mordredjlk: but that also may be me trying to deploy words incorrectly21:49
jlkzk takes some thinking21:50
jlklike, replication, location diversity, etc..21:50
jlkSure you can use k8s stuff to do that, but if you're _already_ doing that for etcd, adding the zuul data into etcd would be a far more efficient path.21:50
mordredjlk: yah. I think the real trick with a zetcd would be locking - since we're using it for that purpose. I'm pretty sure a zk layer on etcd will get the kv tree store part right21:52
mordredbut I'd be concerned about edge conditions around locking21:52
jlkyeah, it's early beta, I have no idea what rough edges are.21:52
jlkbut I barely have an idea of what zookeeper is to begin with21:53
SpamapSmordred: if you read the way zetcd is being developed and tested.. I trust it to DTRT21:55
SpamapSNot sure I'd bet my DC on it. But I'd run it if I couldn't get ZK deployed.21:55
SpamapSThey didn't just toss it out there.21:56
jeblairjlk: we decided early on to pick *one* dlm and design for it.  i do not want to support etcd like openstack supports postgresql.21:56
jlkor if you already have etcd and needed some zk functionality.21:56
SpamapSI'm going to CoreOS fest next week (hopefully) and I'm going to hunt down the folks working on it.21:56
jlkjeblair: I don't think we should.21:56
jlkjeblair: I'm merely curious if our workload would function on the zetcd implementation of zookeeper.21:56
jeblairjlk: which?  pick one, or support more than one poorly?  :)21:56
SpamapSjeblair: unfortunately for us, we picked ZK just before etcd got as good as / better than zk ;)21:57
jlkjeblair: I don't think we (zuul) should support anything abut zookeeper21:57
jeblairjlk: yeah, i don't mean to dismiss the question.  :)  mostly just wanted to (re)state the intention there so we don't end up sending mixed signals21:57
mordredI agree with jlk and jeblair - although I also am curious whether our workload would function21:57
jeblairjlk: if $folks want to try it out, that's cool.  and if $lots_of_folks say it's great and that's the way to go, we can revisit.  :)21:58
jeblairSpamapS: yeah, by the time we're ready to consider a switch, there will be lots of good data and track records.  :)21:58
jeblair(i like my data stores to have a certain patina)21:59
clarkbfwiw you shouldn't colocate your etcds anyways (because there aren't acls aiui) so you'll have to deploy and figure all that stuff out multiple times regardless21:59
jeblairmordred, pabelanger: let me know when you're both around and we can chat about the ansible log.21:59
jlkclarkb: okay fair, but if you're already using etcd, then you've got templates for deploying your etcds22:00
SpamapSetcd has an RBAC system22:00
rbergeronare we talking about the new random zetcd project thing?22:00
SpamapSbut no ACL IIRC22:00
SpamapSrbergeron: yeah22:00
rbergeronI KNEW IT22:00
jlksorry I tossed a distraction bomb in the channel22:01
SpamapSI think it's the etcd folks' way to try and take over the DLM world ;)22:01
* SpamapS notes the time22:01
rbergeronjlk: distraction bomgs surrounded by squirrels?22:01
rbergeronwow, bombs, bongs, whategver. HEY it's meeting time, and we're all here, and i'm not at a conference for the first time in22:01
jlkindeed22:01
rbergeronum22:01
clarkbSpamapS: oh neat, is that new in v3 too?22:01
rbergeronyeah.22:01
rbergeronlike22:01
jeblairzuul meeting in #openstack-meeting-alt22:02
jamielennoxShrews, tristanC: oh - i thought all those yaml logging patches had been merged already22:07
jamielennoxwill finish that up today22:07
*** jkilpatr has quit IRC22:08
clarkbdocs say 2.1 was version that added it22:11
*** Cibo_ has quit IRC22:27
*** jkilpatr has joined #zuul22:27
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Add bubblewrap to bindep / test-setup.sh  https://review.openstack.org/46184922:42
jeblairpabelanger, mordred: i have to EOD at the end of the meeting.  let's discuss ansible_log.txt tomorrow?22:53
mordredkk22:56
pabelangerjeblair: sure22:56
pabelangerSo, it seems we cannot load any external roles in zuulv3-dev.o.o atm, unless they are in zuul tenant configuration?22:57
pabelangerI cannot see if galaxy support has been added22:57
pabelangeror external git source22:58
* jlk notes that it's somewhat difficult to find the zuul mailing list link23:03
jeblairpabelanger: galaxy support has not been added23:03
rbergeronjlk: i don't thin kthere's a separate zuul mailing list?23:03
jlkthat could be why23:03
rbergeroni just ship things to openstack-infra and openstack-devel when i send the zuul update23:03
rbergeroni suspect at some point (once zuul is "not just for openstack") we might get to needing that, but pretty sure we're not at that point yet23:04
jeblairjlk: it is not in the readme.  please feel free to add.  :)23:04
rbergeronmost zuul q's go to =infra23:04
rbergeronjeblair: is there an actual separate list?23:04
jeblairrbergeron: yep, that's how i see it.23:04
jeblairrbergeron: nope.  openstack-infra for now.  until it becomes too awkward.23:05
rbergeronokay -- that's what i thought. just couldn't quite parse what ou said to jesse -- i guess the summary is "document that openstack-infra is the place to mail for now" if that's not clear23:05
rbergeron?23:05
jlkcorrect23:05
rbergeron(unless it already is written that way)23:05
jeblairsorry.  short reply was too short.  :)23:06
rbergeronwoot. okay, well, i.. apparently have to make a boatload of grilled cheese for hungry bottomless-stomached teenagers. sigh23:06
rbergeronhugs y'all23:06
jeblairrbergeron: toodles.23:06
jeblairi have to eod now too23:07
Shrewsrbergeron: grilled cheese with sliced hotdogs (http://www.seriouseats.com/recipes/2015/02/chili-cheese-dogs-grilled-cheese-recipe.html)23:08
Shrewsrbergeron: you're welcome23:08
ShrewsOh, next Monday is memorial day. Should we have a zuul meeting then?23:28
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul feature/zuulv3: Add SSH Agent Primitives and usage  https://review.openstack.org/46271223:28
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul feature/zuulv3: Add support for bwrap  https://review.openstack.org/45385123:28
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Add javascript license information  https://review.openstack.org/46652123:42
rbergeronshrews: i dont kniw whether to cheer or gag ;)23:47
clarkbrbergeron: tuna melts are a good less gaggy option23:48

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