Wednesday, 2018-02-07

*** sshnaidm has joined #zuul00:40
*** sshnaidm is now known as sshnaidm|off00:40
SpamapSweird.. I have a job "queued" for 20 minutes with plenty of ready nodes of the label type..01:42
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul master: Add Executor Merger and Ansible execution statsd counters  https://review.openstack.org/54145201:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul master: Add Executor Merger and Ansible execution statsd counters  https://review.openstack.org/54145201:48
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul master: Add Executor Merger and Ansible execution statsd counters  https://review.openstack.org/54145201:52
tristanCSpamapS: it happens sometime in our deployment too, didn't investigated yet, but using zuul promote usually unlock it01:55
jheskethcorvus: any objections to having the update_queue terminated as part of an executor stop?01:59
jheskethshould help turn things off quicker if we hit network issues in the future01:59
corvusjhesketh: yeah, i think there's some improvement that can be made there02:05
jheskethcorvus: cool, going to hack on that this afternoon. I'm currently looking to see if there'll be any races or anything that will care if an update fails02:05
SpamapSpromote?02:35
SpamapSwhat's that?02:35
tristanCSpamapS: it's a zuul cli sub command02:39
SpamapScool I didn't know02:40
*** elyezer has quit IRC02:40
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add /{tenant}/pipelines.json route  https://review.openstack.org/54152102:41
*** sshnaidm_ has joined #zuul02:51
*** sshnaidm|off has quit IRC02:52
*** elyezer has joined #zuul02:53
*** sshnaidm_ has quit IRC03:08
*** elyezer has quit IRC03:22
*** elyezer has joined #zuul03:23
*** sshnaidm_ has joined #zuul03:23
*** jimi|ansible has quit IRC03:38
*** openstackgerrit has quit IRC04:04
*** harlowja has quit IRC04:32
*** openstackgerrit has joined #zuul05:06
openstackgerritMerged openstack-infra/zuul master: Sync when doing disk accountant testing  https://review.openstack.org/54148605:06
openstackgerritMerged openstack-infra/zuul master: Use nested tempfile fixture for cleanups  https://review.openstack.org/54148705:13
openstackgerritMerged openstack-infra/zuul master: Fix stuck node requests across ZK reconnection  https://review.openstack.org/54145405:24
openstackgerritMerged openstack-infra/zuul-jobs master: Revert "Test Use item.checkout from zuul.projects when mirroring"  https://review.openstack.org/54095005:30
*** harlowja has joined #zuul05:37
*** elyezer has quit IRC06:33
*** elyezer has joined #zuul06:35
*** sshnaidm_ has quit IRC06:37
*** sshnaidm_ has joined #zuul06:41
*** harlowja has quit IRC06:52
*** sshnaidm_ has quit IRC06:55
*** sshnaidm_ has joined #zuul07:10
Wei_LiuSpamapS: hello, I have an issue to execute tox py27 job on one of our own project. tox -e py27 is working fine in local repo. but it failed in CI gate, the error message is "ImportError: Start directory is not importable: '/home/zuul/src/....../espresso/espresso/tests'", any idea?07:23
*** weshay has quit IRC07:50
*** mhu has quit IRC07:50
*** pabelanger has quit IRC07:50
*** _ari__ has quit IRC07:51
*** myoung|off has quit IRC07:51
*** jpena|off is now known as jpena07:59
*** myoung has joined #zuul08:02
*** _ari_ has joined #zuul08:02
*** pabelanger has joined #zuul08:02
*** mhu has joined #zuul08:02
*** weshay has joined #zuul08:04
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Refactor NodeLauncher to be generic  https://review.openstack.org/53555508:14
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Implement an OpenContainer driver  https://review.openstack.org/53555608:14
*** sshnaidm_ is now known as sshnaidm08:19
*** threestrands has quit IRC08:22
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Refactor run_handler to be generic  https://review.openstack.org/53555408:28
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Refactor NodeLauncher to be generic  https://review.openstack.org/53555508:28
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Implement an OpenContainer driver  https://review.openstack.org/53555608:28
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Implement a Kubernetes driver  https://review.openstack.org/53555708:29
*** hashar has joined #zuul08:33
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Implement an OpenContainer driver  https://review.openstack.org/53555609:09
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Refactor status functions, add web endpoints, allow params  https://review.openstack.org/53630109:38
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Add separate modules for management commands  https://review.openstack.org/53630309:39
*** bhavik1 has joined #zuul09:48
*** bhavik1 has quit IRC09:54
openstackgerritFabien Boucher proposed openstack-infra/zuul master: Add tenant project group definition example and definition in the doc  https://review.openstack.org/53573010:34
*** jimi|ansible has joined #zuul10:40
*** jimi|ansible has joined #zuul10:40
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Add separate modules for management commands  https://review.openstack.org/53630310:41
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: [WIP] webapp: add optional admin endpoint  https://review.openstack.org/53631910:42
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Add separate modules for management commands  https://review.openstack.org/53630311:01
openstackgerritSam Betts proposed openstack-infra/zuul master: Ensure shlex.split takes comments into account  https://review.openstack.org/54166911:11
openstackgerritFabien Boucher proposed openstack-infra/zuul master: Do not call merger:cat when all config items are excluded  https://review.openstack.org/53550911:12
SpamapSWei_Liu: hm, no I've never seen that.11:17
*** dmellado has quit IRC11:21
*** dmellado has joined #zuul11:27
*** JasonCL has quit IRC11:33
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: [WIP] webapp: add optional admin endpoint  https://review.openstack.org/53631911:41
*** dmellado has quit IRC11:48
*** dmellado has joined #zuul11:59
*** elyezer has quit IRC12:17
*** elyezer has joined #zuul12:20
*** JasonCL has joined #zuul12:22
*** jpena is now known as jpena|lunch12:39
*** jpena|lunch is now known as jpena13:39
*** tobasco has joined #zuul14:12
tobascodoes zuul v3 still expose the ZUUL_* variables such as ZUUL_PROJECT?14:12
tobascoi.e would this work https://github.com/openstack/puppet-nova/blob/master/Gemfile#L414:13
Shrewstobasco: you should be able to access them via the zuul_legacy_vars ansible variable. Examples: http://codesearch.openstack.org/?q=zuul_legacy_vars&i=nope&files=&repos=14:23
Shrewsbut i wouldn't code anything new to use it14:24
*** dkranz has joined #zuul14:27
*** elyezer has quit IRC14:28
*** elyezer has joined #zuul14:30
tobascoShrews: ok ty, then it isn't that atleast, thanks14:33
AJaegertobasco: for new jobs: Don't use them - see what's configured instead.14:41
*** hashar is now known as hasharAway14:41
tobascoroger that14:46
SpamapSI believe the ansible equivalent of ZUU_PROJECT is {{ zuul.project.name }}15:02
SpamapSso.. just curious.. does anybody else use zuul as a test runner? I find myself just editting and committing and pushing until something passes/works/etc.15:03
SpamapSI only do local tests when I am at that early like "how does this even work" stage.15:04
ShrewsSpamapS: For zuul dev, yes, b/c I had issues trying to get it all setup properly. For other projects, I *try* to remember to test locally first. I often fail at that though15:06
SpamapSI used to have more success on local tests15:08
SpamapSbut then they gave me this stupid mac15:08
kklimondaI just use pycharm with remote python on my mac15:08
SpamapSand since now I have to do something in a VM anyway.. I just say screw that and let zuul do my VM management. ;)15:08
SpamapSyeah I *loathe* all remote editting and especially GUI editors.15:09
SpamapS:)15:09
kklimondaI just accepted the fact that I'll always have a VM with Linux running on my Mac to do work15:09
SpamapSI have that VM too.. but I find that it's enough trouble to interact with it that I just skip it and let zuul do my bidding in the cloud.15:09
ShrewsSpamapS: oh yeah, when i was using a mac, i just gave up on local tests15:09
Shrewsi mean, it was possible, just soooo much extra effort15:10
SpamapSyeah, there have been a few times where I need to get into the debugger for zuul15:10
SpamapSso then I go over to the linux VM and ttrun it up15:11
SpamapSbut like right now I'm doing some integration tests for legacy puppet.. I want nothing to do with that crap.. let my disposable cloud VMs have it.15:11
kklimondafor one off changes sure15:11
SpamapSEh.. I'm doing major refactors. :)15:11
SpamapSI admit, I have had to hold a node once because I was just at my wit's end at what was going on.15:12
kklimondawell, for major refactor, a cost of deploying a small "utility" VM you can run tests on is not that bad15:12
SpamapS(the python script we had building our hieradata would silently exit(0) if it didn't find templates it needed)15:12
SpamapSit's not so much cost, as focus15:12
SpamapSI will lose focus anyway15:12
SpamapSso I might as well just wrap it up in a zuul test, fire it off into the cloud, and switch focus for the next 10 minutes.15:13
SpamapSand then at the end, I usually have a nice test to keep15:13
kklimondawhat I'd love to have is a good story for developing/testing zuul jobs locally15:14
SpamapSSo I do that15:16
SpamapSI have a little script that feeds in a contrived zuul variable structure from zuul.yaml, and then I craft inventory as-needed15:16
SpamapS(and just calls ansible-playbook, I should say)15:17
SpamapSI also did at one time use zuul-bwrap to run it in a bwrap for better simulation15:17
SpamapSbut I haven't tried that in a long time.15:17
SpamapShttps://photos.app.goo.gl/VClcE6nENYzFsU1F215:18
SpamapSI tend to bomb the PR with stupid commits, and squish later... ;)15:19
SpamapSup to 28 now15:19
kklimondaI think everyone does that15:23
kklimondasometimes I go one step further with commits like "fixing", "fix-up", "fix", "squash me"..15:23
SpamapSyep15:24
SpamapSthis particular job is pretty annoying...15:25
SpamapShttp://paste.openstack.org/show/664789/15:26
SpamapS5 nodes, 40+ required projects15:26
SpamapStakes a couple minutes to start up15:26
kklimondatesting puppet.. sigh :)15:30
kklimondaI've had some jobs take a couple of minutes to even process when I add many dependencies15:30
kklimondasuch a build shows up in UI, but just sits there for a couple of minutes without even listing jobs to be ran15:31
Shrewsmordred: so looking at 541434... not sure I get why you need to use socketserver there to handle the connection. Looks to me like you start one thread (LogStreamer), that will in turn only ever start one other thread (LogRecordSocketReceiver) to handle the one and only connection it will ever get for that job.15:32
Shrewsmordred: still digging though, so maybe i've missed something obvious15:32
Shrewsbut seems excessive based on my current level of (mis)understanding15:33
Shrewsthat might, in fact, actually be spawning 3 threads to handle a single job stream. i forget if the main socketserver server starts its own thread too15:35
*** bhavik1 has joined #zuul15:52
mordredShrews: it could handle multiple connections15:55
mordredShrews: it's one server per run - but there are multiple playbooks and potentially multiple hosts per single playbook15:56
mordredShrews: that said - I think we need to re-organize this anyway to happen in the connection plugin and the callback plugin ...15:57
mordredShrews: because how it is in the patch now we'll lose context for which ansible inventory host is ... wait, nope - moving it won't fix that15:58
corvusi haven't reviewed yet (fires yesterday and all), so this is just abstract info: we should avoid adding more threads which scale with jobs -- it's okay to add single threads to the executor, but O(N) threads is bad and could cause us to get to the point where we're spending too much time in context-switching overhead.  so if we need O(N) threads, we probably want to have a different process do that.16:06
*** elyezer has quit IRC16:20
*** elyezer has joined #zuul16:24
*** bhavik1 has quit IRC16:29
*** jpena is now known as jpena|brb16:48
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: webapp: add optional admin endpoint  https://review.openstack.org/53631916:50
clarkbSpamapS: re local testing I do my best to force myself to do it as it seems to find all sorts of fun bugs that are useful to fix. Like the large logging based memory leaks that we had in the zuul test framework and more recently leaking files into /tmp and not working on btrfs /tmp. Its also not too bad to run the tests locally at least on linux. I just exclude all the sql tests because I don't want to run a16:53
clarkbmysql16:53
clarkb`tox -epy36 -- 'tests.unit.test_(?!connection).*'` is my command for that16:53
mordredcorvus: yah - I think it'll wind up being better to do the log receiver in the playbook process instead of the executor - but I need to go spelunking to figure out the right way to stitch that in16:54
mordredcorvus, Shrews so for now, I think reviewing that patch is about reviewing the conceptual plumbing from the command module across the wire to the receiver - but before we land it we should shift where the receiver runs16:55
corvusmordred: cool -- i just got to 541434 in the stack, is it worth me looking at now?  should i do a detailed review?  a 30-second review?16:55
corvusmordred: you just answered my q.  thx :)16:55
mordredcorvus: \o/16:55
mordredcorvus, Shrews: also - hopefully looking at that patch should provide context for us to discuss the mechanics of where/how the reciever should run16:56
SpamapSclarkb: no doubt there are things where a fire-and-forget doesn't work. But honestly, would still rather write python or ansible that ensures things are the way I expect, than peering into the top/du/ls/free abyss.17:00
clarkboh definitely. The problem is you don't get any peering so it is easy to ignore/not know that you need to explicitly look17:00
*** harlowja has joined #zuul17:11
corvusmordred: i left a couple questions about things that weren't immediately apparent to me; but generally lg17:15
*** jpena|brb is now known as jpena17:17
*** harlowja has quit IRC17:17
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: [WIP] zuul web: add admin endpoint, enqueue commands  https://review.openstack.org/53900417:25
tobiashSpamapS: I'm running pycharm on mac with remote debugging in a docker container17:27
tobiashthat took some time (a day) for setup but now I have it running together with tooling containers containing zk and mysql17:29
tobiashand a working debugger :)17:29
tobiashmaybe I'm old fashioned, but I need this debugger ;)17:30
tobiash(and don't like working in a vm)17:30
Shrewsmordred: yeah, i think down in the plugin is a better place17:41
*** sshnaidm_ has joined #zuul17:54
Shrewsmordred: since you're probably the only other nodepool core that has experience with converting to devstack native jobs, mind reviewing https://review.openstack.org/535899 when you get the chance?17:57
*** sshnaidm has quit IRC17:57
*** harlowja has joined #zuul18:11
*** harlowja has quit IRC18:18
*** sshnaidm_ is now known as sshnaidm|afk18:21
*** jpena is now known as jpena|off18:28
*** elyezer has quit IRC18:35
*** elyezer has joined #zuul18:38
mordredShrews: +A18:40
*** elyezer has quit IRC18:45
dmsimardcorvus: replied on https://review.openstack.org/#/c/541452/, just want to confirm before sending a new patchset.18:46
*** elyezer has joined #zuul18:46
corvusdmsimard: i think your suggestion is fine too.18:47
dmsimardokay18:53
dmsimardthanks for catching it :)18:54
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul master: Add Executor Merger and Ansible execution statsd counters  https://review.openstack.org/54145218:54
ShrewstristanC: +1 on https://review.openstack.org/535563 but I don't see how that information could be useful (a count of node labels w/o any info as to node states).19:12
mordredShrews: node-list can still be useful to provide dashboards for folks writing jobs to know what labels they can use19:27
mordredShrews: I mean label-list19:28
mordredShrews, tristanC: but I'd think that "Count" might want to be broken up in to "Total" and "Available" perhaps?19:29
Shrewsmordred: ok, sure. but why count them?19:29
mordredShrews: yah - the count without status seems less useful19:29
Shrewsyeah, that's what i'm trying to say. the count holds no meaning as-is (at least to me)19:29
mordredyah. seems like having Label, and a count for each state would be th emost useful19:30
Shrewswe don't limit by label, so an "Available" doesn't make sense either. but yeah, by state seems more sane19:31
Shrewss/sane/useful/19:31
mordred++19:53
openstackgerritMerged openstack-infra/nodepool master: Add /node-list to the webapp  https://review.openstack.org/53556219:53
kklimondais there a technical reason for zuul not breaking dependency cycles?20:12
kklimondaone reason I can think of is it being rather hard to tell what the order of patches should be20:12
clarkbya I don't think it can know what a valid order is if humans have asserted a circular order20:13
openstackgerritMerged openstack-infra/zuul master: Add Executor Merger and Ansible execution statsd counters  https://review.openstack.org/54145220:14
*** hasharAway has quit IRC20:15
tobiashkklimonda: there was a discussion in that direction a year ago20:38
kklimondatobiash: I saw a thread on ML, but it was mostly about non-technical reasons20:38
kklimondawhile I subscribe to those reasons, the reality rears its ugly head and our developers just ask for force merge20:39
clarkboften the ask isnt to break the cycle but to somehow merge a cycle as if it were a single commit20:39
clarkbthis is bad for continuius deployment20:39
clarkbkklimonda: we very rarely have issues with ut and I would argue our use is non trivial20:39
kklimondawouldn't both reviews need their votes?20:39
tobiashone possible solution would be to merge such cycles into one buildset and have zuul to merge all related changes atomically20:39
kklimondaclarkb: openstack codebase has a much higher code quality than most20:40
tobiashbut that would probably require zuul to push the merged changes instead of pressing the merge button in gerrit20:40
clarkbtobiash: ya20:41
tobiashI'm also bugged by this question every two weeks but until now I resisted successfully to open this can of worms :)20:41
tobiashwe have the problem that there is some database containing api interface definitions (which we cannot really influence) and every few weeks there is a release of that (of course with plenty of incompatible changes)20:43
kklimondawell, we have had a single codebase, and now it's being split into multiple repositories20:44
tobiashand there are multiple projects updating together in an integration project20:44
kklimondaso I'm worried we'll be seeing more of those "cyclical reviews" during the transition20:45
mordredyah - it's a new mindset to get people into20:45
mordred"yes, you need to make three patches instead of one"20:45
mordred"add the new thing in project a, consume the new thing in project b, delete the old thing in project a"20:45
mordredand people will roll their eyes20:45
mordredbut then, once they get used to it - they'll roll their eyes at anyone trying to do the otherthing :)20:46
kklimondayes, and that gets harder when you have a C++ codebase that you're building with some -Werror's20:46
tobiashand if the C++ codebase is spread over 150 repos and needs to be built as it would be one repo :(20:47
kklimondayep, maybe not 150 but 6 or so already makes it hard to do that properly20:48
mordredkklimonda: :) ... I miss -Werror ... before OpenStack I worked on Drizzle and we enforced -Werror -Weffc++20:49
tobiashmordred: as everyone using c++ should :)20:50
mordredkklimonda: but I'd argue it's even more important in a complex C++ project like that, although also certainly more work - it makes each component treat all of their interfaces like fully external interfaces. it also become important to hide impl details behind smart pointers inside of a facade or something similar, so that ABI doesn't change on impl updates20:52
mordredkklimonda: that said - it has come up a few times as an idea to add support to zuul itself and then just not enable it for openstack (or other people who wish to not have it)20:52
clarkbtoo me that seems like a major indication you have too many repos20:53
mordredtobiash: yah. that's one of the reasons I like rust so much - it's like c++ with -Werror -Weffc++ on by default - and with a little syntax to make it harder to write things the 'wrong' way20:53
clarkbignoring zuul and even CI if you must update all repos together maybe that should be one repo20:54
tobiashclarkb: that's what I always tell my people ;)20:54
kklimondaI mean, it's like listening to myself talking ;)20:54
kklimondaI agree on all counts, but I have to deal with the reality of having to support a codebase that is currently transitioning to separate repositories from a single codebase20:55
tobiashbut they ignore me in that regards for some useless reasons and some valid reasons (like code ownership, legal stuff)20:55
kklimondaI can hope that at the end of this road we end up with clearly defined APIs and ABIs20:55
kklimondabut we have to get there first ;)20:55
* mordred hands kklimonda a nice fluffy bunny rabbit to distract from the pain21:02
kklimondaI should be able to special-case A->B->A at least, right? may have to do if we start getting more requests for force merging21:04
corvusnotwithstanding all of that -- i think it would be okay for zuul to support simultaneous cross-repo-dependencies.  we have thoughts about how to accomplish that, but it's not a priority for any of the folks working on zuul from openstack since we've decided we don't actually want to use the feature even if it exists.21:04
kklimondaare the thoughts written somewhere?21:05
corvusthere are some pre-requisites for that, like having the zuul drivers (ie, gerrit and github) perform the actual final merges and pushes, rather than relying on the remote end (there are good reasons for this we can go into if needed)21:05
kklimondamhm, that sounds like a great feature for zuulv4 ;)21:05
corvusif they are, i'm not sure, and they'd probably be out of date21:05
corvusif some folks wanted to work on it, i could work on writing a spec21:05
tobiashcorvus: I fear this will land on my agenda within the next 1-2 years...21:06
corvusi think it's possible, but it's not trivial.  anyone working on it would be a co-maintainer of the cross-repo-dependency system by the time they're done.  :)21:06
corvustobiash: yeah, we thought we really needed it, until we suddenly woke up one day and realized that it was the wrong thing for our development methodology, and how we expected people to deploy openstack.21:07
corvusthere are really good reasons for wanting it, and really good reasons not to allow it :)21:08
corvus(so, any implementation will need to permit it to be disabled)21:08
kklimondacorvus: can you give a short brief why zuul should be the one merging the code, instead of relying on gerrit/github etc.?21:09
corvusi'll try to find some time after the ptg/v3 release to write up a spec and we can at least put that in the backlog for when someone has time21:09
kklimondanot saying I'll start writing this tomorrow, but I'd love to get a feeling for how much work a proper implementation is going to be21:10
corvuskklimonda: 1) so if the second merge fails, the first can be un-wound; 2) to reduce the likelihood of either one failing21:10
corvus(because we can't do a two-phase commit with git, we have to make sure the operation is reversible, and also very likely to succeed)21:10
kklimondamakes sense21:10
tobiashand the merge behavior of zuul and gerrit/github are only 98% identical as they use different algorithms, settings, libs21:11
corvustobiash: yes, that too21:11
corvusso yeah, i think most of the implementation is that, plus updating zuul's internals so that a queue item can contain more than one change, and dealing with the graph21:12
tobiashcorvus: not sure if that causes problems every now and then but I think the zuul pushes part could be even generally more stable21:13
tobiash(but currently with github as app possibly impossible due to an issue/missing feature in github branch protection)21:15
corvustobiash: yes, i think once that's written, we would probably use that in openstack21:15
corvustobiash: oh, what's missing?21:15
tobiashrestricting pushes to an integration21:16
corvus(i know we did test that both gerrit and github will close the appropriate change/pull request when you push)21:16
tobiashyou can restrict direct pushes to users but not integrations21:16
corvustobiash: oh i see...21:16
corvustobiash: do you know if that's been filed as an issue?  that sounds generally useful...21:17
tobiashcorvus: yes, there is a bug for that21:17
* tobiash is looking for the link21:17
tobiashcorvus: there it is: https://platform.github.community/t/repositories-which-have-protected-branches-with-push-restrictions-have-no-ability-to-grant-push-rights-to-integrations/137621:18
tobiashit's open since a year21:19
openstackgerritMerged openstack-infra/nodepool master: Convert from legacy to native devstack job  https://review.openstack.org/53589921:25
mordredtobiash, corvus: maybe jlk can get that fixed for us21:26
jlkohai21:27
jlkyeah that's an ongoing debate21:27
jlkI haven't reached out internally to the folks on that issue yet.21:27
jlkI _suspect_ that it's tied up in some unreleased changes and so they can't really communicate about it in the public.21:27
*** threestrands has joined #zuul21:39
corvustristanC: i'm experimenting with the static driver, and i get:21:41
corvus2018-02-07 13:40:47,409 DEBUG nodepool.driver.static.StaticNodeRequestHandler[fuligin-12334-PoolWorker.local-main]: Declining node request 100-0000000008 because it would exceed quota21:41
corvustristanC: that's with http://paste.openstack.org/show/665294/21:42
corvusthat's just the min-ready request21:42
corvusand there are no nodes21:43
corvusi'm confused :)21:43
mordredcorvus: that's a cool config though21:44
corvusmordred: ain't it?  i'm going through and trying to make sure things are simple for new users -- that's an ideal nodepool config for someone getting started21:45
corvustristanC: oh i think i see the issue, it's due to the host key22:02
openstackgerritJames E. Blair proposed openstack-infra/nodepool master: Add default logging configuration  https://review.openstack.org/54192122:06
corvusmordred: copying over your logconfig stuff from zuul to nodepool ^22:06
corvustristanC: my issue was that i put the fingerprint in the host-key variable.  that's obviously wrong, it *does* say "host-key" and not "host-key-fingerprint".  :)  though we may want to take this as UX feedback and consider whether we should use the fingerprint instead, or generally try to be smarter about that22:09
corvus(on my second attempt, i put in the entire host key, but that didn't work either because it had the comment, and nodepool doesn't want the comment.  that's probably easy to fix too)22:09
corvusthis was easy to diagnose though once i got the logging under control -- the error message made it very clear what the problem was22:10
*** elyezer has quit IRC22:12
*** elyezer has joined #zuul22:15
openstackgerritJames E. Blair proposed openstack-infra/nodepool master: Launcher: exit immediately  https://review.openstack.org/54193022:39
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: Add separate modules for management commands  https://review.openstack.org/53630323:02
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: webapp: add optional admin endpoint  https://review.openstack.org/53631923:02
openstackgerritMatthieu Huin proposed openstack-infra/nodepool master: webapp: add optional admin endpoint  https://review.openstack.org/53631923:05
openstackgerritJames E. Blair proposed openstack-infra/nodepool master: Builder: exit immediately  https://review.openstack.org/54193523:16
openstackgerritClark Boylan proposed openstack-infra/zuul master: Make timeout value apply to entire job  https://review.openstack.org/54148523:25
corvusi don't understand this error: http://logs.openstack.org/30/541930/1/check/build-sphinx-docs/92baf7e/job-output.txt.gz#_2018-02-07_22_43_40_67281923:25
corvusthe docs don't build because nodepool-launcher --help exits with code 123:25
corvusbut that command works fine for me locally, and 'tox -r -e docs' works as well23:26
*** elyezer has quit IRC23:26
clarkbcorvus: the docs execute the cli help commands to populate portions of the docs iirc. I guess the sphinx plugin that does that doesn't like it when the command returns 123:26
clarkbI think it may be happening because the docs jobs no longer run tox23:26
clarkbso nodepool isn't installed. We may need to stop using that sphinx plugin23:26
corvusclarkb: we merged a change to nodepool recently though...23:27
*** elyezer has joined #zuul23:27
clarkbmaybe the plugin updated to treat that as a failed build recently?23:28
corvushttps://docs.openstack.org/infra/nodepool/operation.html#nodepool-launcher23:29
corvusworked the last time we landed a change23:29
corvusi mean, i want to assume that it's my change that broke it (no idea how, but it's not inconcievable)23:29
corvusi just don't know how to debug it23:29
clarkbya I'm not sure if there is a suggested method to reproduce the doc builds locally now that they stopped using tox23:30
clarkbmordred: ^23:30
openstackgerritJames E. Blair proposed openstack-infra/nodepool master: Add default logging configuration  https://review.openstack.org/54192123:30
openstackgerritJames E. Blair proposed openstack-infra/nodepool master: Launcher: exit immediately  https://review.openstack.org/54193023:30
openstackgerritJames E. Blair proposed openstack-infra/nodepool master: Builder: exit immediately  https://review.openstack.org/54193523:30
clarkbhttp://logs.openstack.org/30/541930/1/check/build-sphinx-docs/92baf7e/ara/result/6f376940-c62f-4765-9146-88ec489af6ee/ ok so it does appear to install nodepool23:32
clarkbin that case maybe it is something in the change causing it to fail?23:32
openstackgerritJames E. Blair proposed openstack-infra/nodepool master: Noop  https://review.openstack.org/54193723:32
mordredclarkb: the suggested method ot reproduce doc builds locally is to either run 'sphinx-build -b html doc/source doc/build/html' or to set up a tox env called 'docs' that has that command in it23:33
corvusclarkb: sanity check ^23:33
* mordred looks at scrolback and builds23:33
mordredcorvus: I also do not understand that error - the logs look like all the appropriate things were done23:38
corvusi can't reproduce it with 'tox -r -e docs' or 'sphinx-build -b html doc/source doc/build/html'23:39
corvusmy noop change works, so it's definitely my change which broke it23:40
corvusbut i still have no idea how to figure out how23:40
openstackgerritMonty Taylor proposed openstack-infra/nodepool master: Update tox docs environment to match build-sphinx-docs  https://review.openstack.org/54193923:40
mordredcorvus: wow. looking at your change it makes no sense that that would break in that way23:41
clarkbis it file permissions?23:42
clarkbeg is nodepool-launcher --help trying to setup logging and write to /var/log/nodepool?23:42
clarkbthe default seems to be stdout though so I'm confused23:43
clarkboh there is default server file handlers that may be used which wants /var/log/nodepool23:43
corvusclarkb: a local strace doesn't suggest anything like that, and there is no /var/log/nodepool on my workstation23:44
corvusdo we need to hold a node?23:46
clarkbadding the nodaemon flag appears to be an easy way to test that theory but ya if there is no /var/log/nodepool on your workstation it seems unlikely23:46
mordredcorvus: still poking23:46
SpamapSkklimonda: any chance you'll work on https://review.openstack.org/#/c/540035/ soon? I'm about to cherry pick it into our local zuul as our devs are stepping all over eachother with autoholds and need that. :-P23:48
openstackgerritJames E. Blair proposed openstack-infra/nodepool master: Add default logging configuration  https://review.openstack.org/54192123:49
openstackgerritJames E. Blair proposed openstack-infra/nodepool master: Launcher: exit immediately  https://review.openstack.org/54193023:49
openstackgerritJames E. Blair proposed openstack-infra/nodepool master: Builder: exit immediately  https://review.openstack.org/54193523:49
corvusi set an autohold23:49
openstackgerritMonty Taylor proposed openstack-infra/nodepool master: Update tox docs environment to match build-sphinx-docs  https://review.openstack.org/54193923:56

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