Wednesday, 2017-02-01

*** saneax is now known as saneax-_-|AFK00:30
openstackgerritMerged openstack-infra/nodepool: Manage providers in ProviderWorker threads  https://review.openstack.org/42480800:48
jeblairShrews: i +3d https://review.openstack.org/427353 with a comment00:49
openstackgerritMerged openstack-infra/nodepool: Add storeNode ZK API method  https://review.openstack.org/42735300:54
Shrewsjeblair: thx. will take care of commenting it01:08
*** Shuo has quit IRC01:10
openstackgerritJames E. Blair proposed openstack-infra/zuul: Run pre and post playbooks  https://review.openstack.org/42749401:20
jeblairmordred: that patch is still going to fail a couple of the unit tests; i have a solution for it but it's going to take a bit.  however, it's unrelated to anything in the ansible launcher, so it's safe for you to start using as a base.  tests.unit.test_v3.TestAnsible works.01:21
mordredjeblair: cool02:56
*** piccobit_ has joined #zuul05:42
piccobit_jeblair: hi, good morning! made some progress in making Gearman also triggering Pipeline builds, but currently it doesn't stop triggering an endless loop of builds. any hints what might get wrong?05:42
*** saneax-_-|AFK is now known as saneax06:05
*** bhavik1 has joined #zuul06:13
*** abregman has joined #zuul06:20
*** yolanda has quit IRC06:23
*** bhavik1 has quit IRC06:36
*** piccobit has joined #zuul06:48
*** piccobit_ has quit IRC06:49
*** abregman has quit IRC06:53
*** abregman has joined #zuul06:55
openstackgerritTobias Henkel proposed openstack-infra/zuul: Cloner: Better infrastructure failure handling  https://review.openstack.org/40355907:09
*** piccobit has quit IRC07:44
*** yolanda has joined #zuul08:04
*** abregman has quit IRC08:46
*** hashar has joined #zuul09:30
*** saneax is now known as saneax-_-|AFK09:33
*** saneax-_-|AFK is now known as saneax10:38
*** piccobit has joined #zuul11:21
*** jamielennox is now known as jamielennox|away11:25
*** hashar is now known as hasharAway11:27
*** threebean has left #zuul11:56
*** hasharAway has quit IRC12:32
*** hashar has joined #zuul12:45
*** mordred has quit IRC13:10
*** adam_g has quit IRC13:17
*** mordred has joined #zuul13:18
*** adam_g has joined #zuul13:25
*** hashar has quit IRC13:39
*** hashar has joined #zuul15:00
*** saneax is now known as saneax-_-|AFK15:17
openstackgerritMonty Taylor proposed openstack-infra/nodepool: Remove need for findNetwork  https://review.openstack.org/39846215:51
mordredShrews: in your RequestHandler patch, I love the comment "poll handlers" followe by the comment "TODO implement polling" :)15:52
Shrewsmordred: yeah. i actually *have* it implemented but didn't want to include more than that so as to keep it reviewable15:55
Shrews(well, mostly implemented)15:55
mordredShrews: that sounds like when I "implement" things15:56
Shrewsthat review is part of breaking up a much larger change15:56
ShrewsZOMG: http://www.wral.com/plummeting-pork-reserves-threaten-nationwide-bacon-supply/16491597/16:05
Zaraargh I just tabbed past here and now I'm hungry16:07
mordredZara: it's frustrating in multiple directions isn't it?16:08
Zara;_;16:09
openstackgerritJames E. Blair proposed openstack-infra/zuul: Run pre and post playbooks  https://review.openstack.org/42749416:49
jeblairmordred: okay, that should take care of the remaining failing tests16:50
mordredjeblair: woot16:51
*** piccobit has quit IRC16:57
*** yolanda has quit IRC17:01
*** piccobit has joined #zuul17:19
*** bhavik1 has joined #zuul17:20
*** Shuo has joined #zuul17:33
*** bhavik1 has quit IRC17:34
*** nt has quit IRC17:46
*** hashar_ has joined #zuul17:58
openstackgerritJames E. Blair proposed openstack-infra/zuul: Run pre and post playbooks  https://review.openstack.org/42749418:00
openstackgerritJames E. Blair proposed openstack-infra/zuul: Fix test_live_configuration  https://review.openstack.org/42783818:00
*** hashar_ has quit IRC18:03
*** hashar has quit IRC18:05
*** harlowja_ has joined #zuul18:05
*** harlowja has quit IRC18:06
openstackgerritJames E. Blair proposed openstack-infra/zuul: Add SourceContext class  https://review.openstack.org/42784618:21
jeblairmordred: anything happen with that testtools pr?18:21
mordredjeblair: remind me what that was? oh - I made a pr to testtools right?18:30
jeblairyeah, about attaching debug logs only on failure18:31
mordredyah- I need to fix the pr somehow18:33
mordredbut haven't had a chance yet18:33
jeblairok, np.18:33
jeblairit's not as important as the security context thing :)18:34
*** yolanda has joined #zuul18:39
*** piccobit has quit IRC19:05
*** harlowja_ has quit IRC19:19
*** hashar has joined #zuul19:49
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool: Fix documentation nits from earlier reviews.  https://review.openstack.org/42788419:51
*** tobiash has quit IRC20:14
*** tobiash has joined #zuul20:16
*** jamielennox|away is now known as jamielennox20:30
*** nt has joined #zuul20:35
*** harlowja has joined #zuul20:39
*** hashar has quit IRC21:09
*** rattboi is now known as ratboi21:48
*** ratboi is now known as rattboi21:49
pabelangerslowly getting back online from devconf.cz travels. Should be ready to loop back to zuulv3 things tomorrow21:59
jheskethMorning21:59
mordredlook. it's a jhesketh AND a pabelanger22:08
mordredjeblair: with the actually-run-playbooks changes, do we have any concept of 'zuul standard library' of playbooks separate from config repos and project repos?22:10
openstackgerritJames E. Blair proposed openstack-infra/zuul: Add SourceContext class  https://review.openstack.org/42784622:10
openstackgerritJames E. Blair proposed openstack-infra/zuul: Run pre and post playbooks  https://review.openstack.org/42749422:10
openstackgerritJames E. Blair proposed openstack-infra/zuul: Tests: store debug logs on error  https://review.openstack.org/42794622:10
jeblairmordred: not yet -- is it time to figure that out yet?  (i also need to finish up the patch to add roles to jobs; that may be related?)22:11
mordredjeblair: I don't _think_ it's time to figure it out necessarily? I was just chatting with dkranz about "examples of zuul jobs" and it struck me that several of the simple examples are quite likely to be examples of consuming content from a standard library22:12
jeblairmordred, clarkb, morgan, Shrews: 427946 may be of interest -- i think it gets close to what i want in my heart of hearts -- full debug logs iff a test fails.22:12
mordredjeblair: oooh22:12
jeblairmordred: ok, i think we're going to need stdlib soon, especially since we want to try to implement "push git repos to node" as a pre-playbook invoking that from stdlib.  so maybe let's pencil it in for after roles?22:13
mordredjeblair: wfm22:14
mordredjeblair: one thing about it that might be different is the association between where a job is defined and where a playbook is defined might not make sense if there is a stdlib of playbooks - since a consumer may want to define jobs in their config repo that use those playbooks22:15
* mordred waves hands22:15
* mordred waves feet22:16
* mordred jumps around and falls over, skinning his knee22:16
morganjeblair: looking22:17
morganjeblair: oh that is nice.22:18
morganjeblair: yes good stuff.22:18
jeblairmorgan: mordred found the addOnException thing which is key :)22:19
morganyes, yes it is22:19
mordredjeblair: btw - my patch to the fixtures library has the problem that fixtures do not imply testtools and addOnException is a testtools thing so ASFKNWERFAE RVEAORV22:20
morganjeblair: but omg yes, logging improvements!22:20
jeblairmordred: some of that might be roles?  but also, when i think 'stdlib' i think of something that's internal to zuul.  so far in my mind, 'stdlib' means something like "zuul-push-repos-to-host" which is built into zuul.  and then "site-local-stuff that gets used a lot" might be roles or a playbook in a common-config repo.  maybe there's a third thing, but maybe use cases can slot into one of those two?22:20
jeblairmordred: oh.  sigh.  maybe this easiest then... it could probably be made into a fixture and librarified...22:21
mordredjeblair: yah - for me stdlib is things like "playbook to run puppet" "playbook to run tox" "playbook to do ./configure ; make ; make distcheck"22:21
morganmordred: ++ on stdlib things22:21
mordredjeblair: basically, stuff we'd totally put into project-config for openstack but that is actually common stuff that normal humans would want too22:21
jeblairmordred: agreed those make sense for stdlib22:21
jeblairmordred: so if we build that into zuul, we don't have to worry so much about fitting it into the job-playbook system22:22
mordredjeblair: yah.22:23
mordredoh - speaking of (but not really) I _really_ need to make an ansible module which is "please install the packages in this bindep file"22:23
jeblairmordred: my forthcoming patch to make job playbook specification optional fits with that too, i think -- we can say "run: zuul-puppet-playbook-thing"22:23
morganmordred: oh that would be a NICE ansible thing22:23
mordredmorgan: yah - the use case keeps coming up for folks "what's the best way for me to write a playbook that installs packages on redhat and ubuntu in a sane way"22:24
mordredjeblair: cool22:24
jeblairmordred: having said all that, we should be careful we don't abstract ansible out too much -- the *real* power here is that you can write a playbook that uses the puppet role, not that zuul has a playbook that runs the puppet role.  :)22:26
mordredjeblair: indeed :)22:27
mordredjeblair: I think the biggest win for 'stdlib' things would be for things users would not find value in having or writing an ansible playbook to do. configure ; make ; make distcheck comes to mind in that category - it's neat that you can ansible it - but nobody doing those things is likely to find that playbook easier22:29
mordred(or "please push these zuul git repos to this computer" :) )22:30
jeblairmordred: yep, and i still agree.  just thinking that at some point, we're going to notice a line in the sand that we have to decide whether or not to cross :)22:30
mordredoh golly yes22:30
mordredI mean, we'll probably discover the line in the sand the normal way - which is me running right past it, then going "oops"22:30
morganmordred: are you going to setup a volleyball net over that line when you find it?22:35
morganso others don't run past it, and are inclined to stop and hang out around it :P22:36
* jeblair lays tripwire22:36
mordredmorgan: that sounds like a lot of work22:46
mordredmorgan: I'm much more likely to just complain and then do some sulking22:46
morganmordred: hehe22:46
mordredjhesketh: Shrews had a question for you in https://review.openstack.org/#/c/427393 and I'm also curious as to the answer22:52
Shrewsmordred, jhesketh: re: the advantage of poll vs callback, poll is already implemented in unsubmitted code, so that's the only advantage i see  :)23:23
Shrewsplus, the handler can't trigger the callback since it's not a thread itself, so the parent thread really needs to trigger it23:25
openstackgerritJames E. Blair proposed openstack-infra/zuul: Tests: store debug logs on error  https://review.openstack.org/42794623:37
openstackgerritJames E. Blair proposed openstack-infra/zuul: Add SourceContext class  https://review.openstack.org/42784623:37
openstackgerritJames E. Blair proposed openstack-infra/zuul: Run pre and post playbooks  https://review.openstack.org/42749423:37
jeblairShrews, mordred, jhesketh: yeah, from a flow pov, the handler is a state machine that's driven by the main thread, so whether it's polling or callbacks, action is initiated there.  callbacks could be a different approach for handling the accounting (main thread -> state machine -> callback to main provider object to clean up state machine) but i don't think it would substantially change the program flow.23:38
SpamapSjeblair: FYI, https://lists.cncf.io/pipermail/cncf-ci-public/2017-February/000002.html23:51
SpamapSjeblair: I'm pimping Zuul to CNCF ;)23:51
jheskethmordred, Shrews, jeblair: added a comment to the change... if the code is already implemented then I wouldn't bother doing anything else :-)23:55
mordredjhesketh: cool! I was going to merge the change but didn't want to without resolution (seemed like a relevant/pertinent question :) )23:56
jheskeththanks :-)23:56

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