Wednesday, 2018-01-24

corvusmordred, tristanC: also, i suspect there may be an issue with the new depends syntax.  i created a complex series here: https://review.openstack.org/#/q/status:open+topic:mailman-templates00:00
tristanCmordred: heh, unfortunately i'm not convinced this would work as per the pr comments. So I'm on hold regarding swagger doc generation00:00
corvusmordred, tristanC: and i'm getting an error a couple of changes into it.  i only *just* got to the point where the change at the bottom of the stack is correct, so i haven't started digging into it yet.  i've only just flagged it as a potential problem that needs investigating.00:00
mordredcorvus, tristanC: OH - also, we need to blacklist sphinx 1.6.6 - openstack blacklisted it via constraints, but that doesn't apply to zuul00:01
corvusso, keep that in mind as you use depends-on urls for the next little bit00:01
corvus(i mean, as with any new feature, we should verify it's correct anyway :)00:01
tristanCmordred: the stack looks good to me, I'm curious what else could be added to the info endpoint. For example could we declare a "zuul-doc-url" in zuul.conf and then link it on the right side of the nav bar if present?00:01
corvusit'd be nice for zuul to self-host its documentation00:03
mordredtristanC: maybe? not sure... for the most part I think that, if we wind up accepting that endpoint we should still endeavor to minimize use of it00:03
mordredand what corvus said - I'd like for docs specifically to just be part of the standard web api, so hopefully we can just add them and not need any additional info exposed00:04
mordredcorvus: nevermind my comments about sphinx 1.6.6 ... I was reading some errors incorrectly00:04
tristanCcorvus: on https://review.openstack.org/#/c/535852/, it doesn't seems like 535851 was added to the zuul.items00:06
corvustristanC: that would seem to confirm a problem :)00:06
corvushrm, the git dependency is outdated...00:07
corvusmaybe i should push a rebase00:07
corvusokay done00:08
tristanCcorvus: shouldn't the scheduler fail early if a depends-on failed to merge?00:08
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Update docs to use sphinx-build and doc/requirements  https://review.openstack.org/53688100:08
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Use reno for release notes  https://review.openstack.org/26259700:08
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Switch to stestr  https://review.openstack.org/53688200:08
corvustristanC: yeah -- the most recent failures there were due to the depends-on failing to merge00:08
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Remove --no-subunit-trace argument  https://review.openstack.org/53688300:08
corvustristanC: actually, you may have been looking at old results -- i uploaded those before depends-on URL was in production00:09
corvusmordred: i generally like your zuul-web stack, but i'll review it in depth when i have more time.  i did leave a quick question on the .json one.00:10
tristanCmay i ask for review of https://review.openstack.org/#/c/535542/ and https://review.openstack.org/#/c/535576/00:10
tristanCsmall patches to harden the executor00:11
mordredcorvus: awesome. thanks - as long as you're generally cool with it, I'll deal with comments and see about getting unit tests added tomorrow00:11
corvusmordred: and is it okay if we continue to defer reno until after v3.0 release?  though i would like it to be the first thing we merge after the v3.0 release.  ie, i don't think we can encompass the v3.0 changes in release notes, but after 3.0, we should draw a hard line and do them for everything.00:11
mordredcorvus: yah, totally00:12
mordredcorvus: in fact, that stack is good to merge up to the one before the reno patch, and it should be fine sitting there untouched until post-release00:12
mordredcorvus: there's a similar stack for nodepool, and same story I think00:13
corvusmordred: cool; i left an admin -2 on reno for now00:13
mordredcool.00:14
mordredtristanC: +2 on both00:16
corvustristanC: can you elaborate on the get_mime issue?  i'm not immediately seeing it.00:16
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Convert from legacy to native devstack job  https://review.openstack.org/53589900:17
tristanCcorvus: there is a long history of memory corruption in libmagic that happens to be used by the get_mime option00:17
corvustristanC: gotcha00:18
corvusboth +300:19
tristanCsweet, thanks!00:19
corvustristanC, mordred: oh hey, after that rebase, those changes are showing up with the correct dependencies on the status page.  so that may have just been me botching it after all.00:20
openstackgerritMerged openstack-infra/zuul master: ansible: honor command no_log module attribute  https://review.openstack.org/53554200:36
*** sshnaidm is now known as sshnaidm|off00:38
openstackgerritMerged openstack-infra/zuul master: executor: block stat get_mime on localhost  https://review.openstack.org/53557600:38
mordredcorvus: \o/01:20
*** elyezer has quit IRC01:57
*** elyezer has joined #zuul02:03
tristanCfwiw, we just finished the migration to zuulv3, sf-project.io doesn't run zuulv2 anymore02:10
dmsimardtristanC: woot02:16
*** harlowja has quit IRC02:20
*** Wei_Liu has joined #zuul02:21
tristanCdmsimard: note that it includes the new job page, e.g. https://softwarefactory-project.io/zuul3/local/job.html?job_name=tox-py3502:22
mordredtristanC: \o/02:24
*** yolanda has quit IRC02:30
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul master: Add support for dumping queues from a status.json file  https://review.openstack.org/53662202:42
*** haint93 has joined #zuul02:55
*** haint_ has quit IRC02:58
*** jaianshu has joined #zuul04:11
*** rlandy has quit IRC04:25
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: openstack: convert rate to float  https://review.openstack.org/53725004:30
tobiashtristanC: the job page is cool :)05:05
tobiashtristanC: a minor but probably too complicated enhancement would be to sphinx render the descriptions05:06
tristanCtobiash: it helps to answer the "where is the job defined" question i kept on getting05:13
tristanC(in the job list, there is a context location button)05:13
tristanCalso users can now query dynamically the jobs' variables05:14
*** harlowja has joined #zuul05:19
*** elyezer has quit IRC05:53
*** elyezer has joined #zuul05:55
openstackgerritMerged openstack-infra/nodepool master: handler: fix support for handler without launch_manager  https://review.openstack.org/53555005:55
*** threestrands has joined #zuul06:39
tobiashtristanC: +2 with comment on https://review.openstack.org/#/c/537250/106:48
*** threestrands has quit IRC06:49
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: openstack: convert rate to float  https://review.openstack.org/53725006:54
AJaegerShrews: https://review.openstack.org/537284 redirects the zuulv3 docs07:20
*** AJaeger has quit IRC08:03
*** AJaeger has joined #zuul08:10
*** jpena|off is now known as jpena08:45
*** jaianshu_ has joined #zuul09:03
*** jaianshu has quit IRC09:05
*** sshnaidm|off is now known as sshnaidm09:05
*** harlowja has quit IRC09:07
*** Wei_Liu has quit IRC09:10
*** Wei_Liu has joined #zuul09:10
*** electrofelix has joined #zuul10:04
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix builds queued forever after failure to get node request  https://review.openstack.org/53733510:10
*** elyezer has quit IRC10:24
*** elyezer has joined #zuul10:25
*** jaianshu__ has joined #zuul10:29
*** jaianshu_ has quit IRC10:32
*** elyezer has quit IRC10:40
*** elyezer has joined #zuul10:43
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: [WIP] zuul autohold: allow filtering per commit  https://review.openstack.org/53699310:46
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: zuul autohold: allow filtering per commit  https://review.openstack.org/53699311:20
*** elyezer has quit IRC11:28
*** elyezer has joined #zuul11:32
*** jkilpatr has quit IRC11:33
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Update docs to use sphinx-build and doc/requirements  https://review.openstack.org/53688111:52
*** jkilpatr has joined #zuul11:55
*** jaianshu__ has quit IRC11:56
*** Wei_Liu has quit IRC11:57
dmsimardtobiash: do you really need to use sphinx if all you want to do is render rst ?12:03
dmsimardtobiash: I mean, the description formatting doesn't have to be heavy with full sphinx12:04
dmsimardI don't have a strong opinion, just wondering12:04
tristanCnot sure how to prevent local file include from rst rendering too12:07
ShrewsAJaeger: ah, excellent12:18
Shrewsmordred: If you get a spare moment, I got the native devstack jobs for nodepool to run (https://review.openstack.org/535899) but I'm not quite sure what to look for in the -odepool-functional-py35-src job to make sure that it's using the git versions of the required-projects.12:29
ShrewsI would have thought searching for 'siblings' in http://logs.openstack.org/99/535899/10/check/nodepool-functional-py35-src/e261150/job-output.txt.gz would reveal something, but that term does not appear12:33
Shrewsoh, this isn't actually a tox job. hrm12:35
*** jpena is now known as jpena|lunch12:36
mordredShrews: so - http://paste.openstack.org/show/65200212:44
mordredShrews: I think you need to add the LIBS_FROM_GIT line to ge the devstack machinery to do the right thing with the install - but then the pbr freeze line will print out the versions of things installed in the nodepool venv12:45
*** elyezer has quit IRC12:49
*** elyezer has joined #zuul12:50
Shrewsmordred: *nod*  thx12:52
tobiashdmsimard: I don't know if sphinx would be necessary for that but we have zuul markup (a sphinx plugin) in the descriptions12:53
mordredtobiash, dmsimard: yah - we've talked about leveraging sphinx so that we can get the zuul-sphinx markup and also the links between things. that said - we've also talked about potentially needing to do something else12:56
mordredtobiash, dmsimard, tristanC: because having zuul itself run sphinx to get the content might be a bit too heavy - tough to say12:57
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Convert from legacy to native devstack job  https://review.openstack.org/53589912:58
mordredotoh - we've got the merger/executor farm and we already have it read content from the repos via the gearman jobs - so it might be possible to get clever and have those jobs also render the rst in some manner when they read the config12:59
Shrewsmordred: i think 'vars' needs to be 'devstack_localrc', but you got me on the right track i think. thx12:59
mordredShrews: yup. you are totally right13:00
Shrewshow rare is that???13:00
mordred:)13:00
Shrewspabelanger: at some point, i'd like to pick your brain on all of the image pause vars in our tests (e.g., NODEPOOL_PAUSE_CENTOS_7_DIB). i'm not quite sure how those are supposed to be used b/c right now, none of them except for trusty are ever going to be unpaused13:02
mordredtristanC: perhaps we should add $something to indicate a browseable location - would probably have to be in the connection config - so that you could make "zuul-jobs/zuul.yaml@master" be a link to the source13:03
mordredShrews: speaking of dib things - I think I saw a dib patch for removing fedora 25 - so we should probably go ahead and remove the fedora 25 entries in there13:03
Shrewspabelanger: for example, see the old code in https://review.openstack.org/#/c/535899/10/playbooks/nodepool-functional-py35-src/run.yaml ... elif [ "" == "-debian" ] will never equate to true13:04
Shrewsmordred: i think all of that needs reworking anyway, but one thing at a time13:04
Shrews(see the above brokenness as an example)13:05
mordredShrews: ++13:05
tristanCmordred: would that be added to the info endpoint?13:06
mordredtristanC: I think it might have to be added in from connection_config somehow in the jobs endpoint itself13:07
mordredtristanC: since the url could be different - like in openstack's zuul, jobs defined in ansible/ansile should have the link be https://github.com/ansible/ansible but jobs defined in zuul should link to https://git.openstack.org/cgit/openstack-infra/zuul13:08
mordredtristanC: (my first thought was info)13:09
tristanCmordred: git browseable url per connection in zuul.conf, and /info endpoint so that webpage knows how to create href link, perhaps using {project-name} substitution13:11
mordredtristanC: I think if we had the zuul.conf setting, you should be able to add the browseable url in the list here: https://review.openstack.org/#/c/535545/1/zuul/rpclistener.py13:15
mordredtristanC: and yah, we'd almost certainly need to have some substitutions defined to be able to put links in the zuul.conf13:16
tristanCmordred: also, i'm thinking about adding a "project" page to display the pipeline configuration and a graph for job dependencies13:19
tobiashyay, I have a zuul bug which is triggered by another zuul bug which is triggered by an edge case...13:23
tobiashthat chain leads to a gate ignoring its trigger13:24
mordredtristanC: nice13:24
mordredtobiash: oh - btw - I've got a fix for the test failure in your github zuul-web patch locally13:24
tobiashmordred: you mean the remove webapp change?13:25
mordredyah13:25
tobiashah cool13:25
tobiashfeel free to amend my change13:26
mordredawesome. fix coming13:26
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Remove webapp  https://review.openstack.org/53678013:26
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Register .json routes with and without suffix  https://review.openstack.org/53701013:26
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Add /info and /{tenant}/info route to zuul-web  https://review.openstack.org/53701113:26
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Add support for configuring graphite_url  https://review.openstack.org/53701213:26
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Move WebInfo config processing into zuul.model  https://review.openstack.org/53701313:26
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Add facility for plugins to register web routes  https://review.openstack.org/53701413:26
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Update docs to use sphinx-build  https://review.openstack.org/53688113:31
*** jpena|lunch is now known as jpena13:38
*** andreaf has joined #zuul13:42
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: zuul autohold: allow filtering per commit  https://review.openstack.org/53699313:42
*** elyezer has quit IRC13:43
*** rlandy has joined #zuul13:44
ShrewsI've gone back a couple of years in the git history of nodepool... I can't see that this support for testing multiple images has ever actually been used in that time period. Did we perhaps have separate jobs for per image at one point? I think we're just carrying around unused fluff at this point.13:45
*** elyezer has joined #zuul13:46
Shrewsthat would make the comments in the 'if' section of http://git.openstack.org/cgit/openstack-infra/nodepool/tree/playbooks/nodepool-functional-py35-src/run.yaml#n87 at least sensible13:49
tristanCmy blog post just got published: http://rdoproject.org/blog/2018/01/CICD-workflow-with-zuul/13:50
clarkbShrews: ya we did an ubuntu job and a fedora job and so on iirc13:58
clarkbShrews: and paused the rest of the images that werent being tested13:59
*** weshay|rover is now known as weshay|mtg14:00
Shrewsclarkb: ok, that explains it then. we should decide to either bring back those jobs or remove this unused code. i vote for the latter since we've been running that way for so long anyway14:03
clarkbShrews: I think pabelanger did the original setup his feedback would be good14:04
clarkbI think dib may use the tests too?14:05
Shrews++14:05
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Convert from legacy to native devstack job  https://review.openstack.org/53589914:16
mordredShrews: oh - right. what clarkb said14:28
mordredShrews: the legacy job you're starting from has some old jjb variables already expanded14:28
mordredShrews: dib has legacy nodepool dsvm jobs too: legacy-dsvm-nodepool-redhat-src, legacy-dsvm-nodepool-ubuntu-src, legacy-dsvm-nodepool-opensuse-src, legacy-dsvm-nodepool-debian-src14:30
*** yolanda has joined #zuul14:32
mordredShrews: so I think maybe we should add a job variable that defaults to 'ubuntu' - then we can add nodepool-functional-py35-redhat-src that has parent nodepool-functional-py35-src and just overrides whatever the job variable is14:32
mordredand then we can update the dib pipeline config to use the new nodepool jobs too14:32
mordredShrews: just left a few inline comments related to ^^ on the change14:39
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Convert from legacy to native devstack job  https://review.openstack.org/53589914:39
mordredthey're on PS12 though14:40
Shrewsmordred: ++14:41
Shrewsmordred: that new var would likely go on the base job though, but i see what you're driving at14:42
Shrewsme likey14:42
Shrewsi might do that separately though14:44
mordredcoolio14:47
corvusShrews: nodepool only uses one image.  the other images are there for the dib jobs.14:50
Shrewscorvus: yep, mordred and clarkb clued me in to that14:51
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Support DIB image selection in functional jobs  https://review.openstack.org/53740815:00
Shrewsmordred: something like that ^^^15:00
Shrewsassuming that works15:00
mordredShrews: yah. *waves hands*15:04
pabelangerShrews: yah, I noticed that last night about variables my sell in nodepool-dsvm jobs.  I was going to propose a few patches to see how to fix that, we mostly us it from glean and diskimage-builder15:05
Shrewspabelanger: i think 537408 is going to make that easy for the other repos15:06
pabelangercool, I'll look today15:06
Shrewsclarkb: another test_failed_provider flap seen today  http://logs.openstack.org/99/535899/10/check/tox-cover/d8cd6e0/testr_results.html.gz15:07
Shrewshaven't had time to look myself yet15:07
*** sshnaidm is now known as sshnaidm|bbl15:19
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix builds queued forever after failure to get node request  https://review.openstack.org/53733515:20
*** sshnaidm|bbl has quit IRC15:23
*** Guest28399 is now known as mgagne15:33
*** mgagne has joined #zuul15:33
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: zuul autohold: allow filtering per commit  https://review.openstack.org/53699315:35
*** yolanda has quit IRC15:37
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix cross source dependencies for github  https://review.openstack.org/53742815:44
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix runtime stats reporting for noop job  https://review.openstack.org/53743215:51
*** sshnaidm|bbl has joined #zuul16:03
*** bhavik1 has joined #zuul16:12
ShrewsI wish my brain could think as fast as my fingers typed16:15
*** sshnaidm|bbl is now known as sshnaidm16:17
*** bhavik1 has quit IRC16:19
mordredShrews: good luck with that16:21
openstackgerritMerged openstack-infra/nodepool master: Add a plugin interface for drivers  https://review.openstack.org/53555116:41
openstackgerritMerged openstack-infra/nodepool master: builder: do not cleanup image for driver not managing image  https://review.openstack.org/53555216:42
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Convert from legacy to native devstack job  https://review.openstack.org/53589916:45
corvusmordred: i'm wondering if we could use the override-checkout feauture to address the job branch problem.  so in the ansible case, when we attach the shade-integration job, we would say in the project-pipeline variant: "required-projects: - {name: openstack-infra/shade, override-checkout: master}, {name: openstack-dev/devstack, override-checkout: master}".  or you could put the devstack override on the shade16:46
corvusjob.16:46
corvusmordred: it's a little more verbose, but it's also more specific (as it lets you set that mapping for individual projects in very specific conditions).  it ties two things together which perhaps don't need to be, otoh, maybe they should be tied together.  if you're specifically checking out the 'master' branch of some repo, seems like maybe you want the master branch versions of any jobs defined in that repo?16:48
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Fall back on parent jobs from default branch  https://review.openstack.org/53699816:50
mordredcorvus: hrm.16:53
mordredcorvus: let me write a quick patch to see if I understand what you're saying16:53
mordredcorvus: like this? https://review.openstack.org/536159 Add devel branches and override-checkout for ansible-devel job16:57
corvusmordred: yep.  (or in a similar case, where you don't have a convenient job to modify, you could do the same in the project-pipeline config of the job)17:02
corvusmordred: also, fyi, branches takes a list, so you don't have to regex that17:02
openstackgerritJames E. Blair proposed openstack-infra/zuul master: WIP: Fall back on default branch for jobs  https://review.openstack.org/53745717:05
mordredcorvus: yah. I did branches as a list the first time, and then tried switching to regex while I was trying to figure out why it wasn't matching17:07
corvusack17:07
mordredcorvus: I should put it back to list17:07
corvusmordred: how does that approach feel to you?17:07
mordredfeels totally fine- I think being explicit about which branches we want in this job is a good thing17:12
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Add facility for plugins to register web routes  https://review.openstack.org/53701417:13
mordredcorvus: that doesn't solve the whole thing though, right? like, we still need something in zuul to be able to find the devstack parent job definition from a devel patch?17:16
corvusmordred: oh sorry, what i'm mulling is that we use this for that as well.  so not only does this mean "checkout shade master on ansible devel patches" but it also means "when looking for jobs defined in the shade repo, pretend this is a change to master"17:21
corvusit *sounds* like they shouldn't be related if you think about the implementation, but in all the cases i can think of in practice, you probably want both things.  also, if you had a slightly incorrect but entirely reasonable mental-model of zuul, you might think that if you told zuul to checkout the master branch of devstack, you would also be telling it to use the jobs which are defined there.17:23
mordredcorvus: ah - yes. this now all makes sense to me17:26
mordredcorvus: and yes, I agree -I think that that patch above describes a state of the world I'm desiring and zuul taking those actions I think makes a good amount of sense17:27
mordredcorvus: that said - idea for a variation on your 'fall back on default branch' patch ... what if instead of falling back to default branch on not matching- we added a special case for matching default branches/HEAD ... that is, when considering branch matches, we would consider ansible/ansible@devel and openstack-dev/devstack@master to match because devel is HEAD of ansible/ansible and master is HEAD of17:31
mordredopenstack-dev/devstack17:31
mordred(might be a terrible idea - mostly just thinking out loud)17:32
*** myoung is now known as myoung|lunch17:34
*** yolanda has joined #zuul17:35
corvusmordred: yeah, i think that's a contender.  zuul's default-branch is basically intended to mean "HEAD", so with your idea, we could update the implied branch matchers to say "{master OR default-branch}" in the case that master is the default branch of that repo, and we set a flag on the change which says "this change is for devel, but devel is the default-branch of this repo" and that flag would cause the17:38
corvusbranch matcher to return true.17:38
corvusmordred: that is probably simpler to implement than any of the other ideas so far :)17:39
corvusit's even more of a special case though.  i think it's a really good match for the ansible case, it lets everything sort of slot in very nicely.  i don't think it would have solved the nodepool feature/zuulv3 case, where we wanted to run a devstack job on feature/zuulv3, which isn't the default branch.17:41
mordredcorvus: yes. I wholeheartedly agree17:41
*** xinliang has quit IRC18:00
*** myoung|lunch is now known as myoung18:04
*** xinliang has joined #zuul18:04
*** xinliang has quit IRC18:04
*** xinliang has joined #zuul18:04
*** jpena is now known as jpena|off18:12
*** electrofelix has quit IRC18:32
tobiashmordred: is there a reason why nodepool wants spinx < 1.6?18:59
mordredtobiash: not anything explicit that I'm aware of19:00
mordredtobiash: zuul has the same line - would be worth trying and seeing if later will work19:01
pabelanger+1 for uncapping19:02
pabelangerany change we could get a few reviews on https://review.openstack.org/535817/ would be good to use that now that we lost infracloud. will help clean up zookeeper entries19:03
corvusShrews: what do you think about splitting 'erase' into a new command?  it feel weird to have "info --erase" :)19:05
corvus(but also +2 on that as is)19:06
tobiash+1 for erase command, I had the same feeling during review but didn't want to block this because of that19:08
mordredcorvus, tobiash, pabelanger: it has 3x +2 - shall we land it but come back as a follow up and shift it to its own command?19:13
tobiashFine for me19:13
tobiashJust curious while we're at nodepool and lost clouds. Are there plans to use different sized nodes to improve resource utilization?19:15
mordredI think now that we have the better quota stuff it's a thing we can think about19:17
mordredI don't know that we've made any specific plans to do so in infra yet -- but there are definitely a host of jobs (pep8, sphinx, tarball generation) that would do fine on substantially smaller instances19:18
tobiashWe use 2 core nodes by default and bigger ones where needed19:21
pabelangerWhen I lasted talked with clarkb about it, I think we agreed we might be limited by ipv4 addresses in some clouds, even if we could get more instances online19:21
pabelangerI guess another reason to get ipv6 working on all OSes :)19:21
mordredpabelanger: and on all clouds :)19:22
*** jkilpatr has quit IRC19:22
pabelangerI was thinking about hacking on glean again, to atleast get ipv6 working on centos / fedora19:24
pabelangerand know we still want to try getting it working again on citycloud19:24
pabelangerbut haven't found the time19:24
mordredpabelanger: yah. tell me about it19:25
corvusmordred: ya i think we can land it19:26
corvuswhich you've done :)19:26
ShrewsI can split it into another command if we want that.19:33
*** jkilpatr has joined #zuul19:37
*** harlowja has joined #zuul19:38
openstackgerritMerged openstack-infra/nodepool master: Add provider info command  https://review.openstack.org/53581719:39
ShrewsAnyone feel like approving a very easy review that fixes a spurious test failure? https://review.openstack.org/53654020:11
ShrewsI will give you a cookie in exchange20:12
pabelangercookies!20:13
pabelanger+320:13
jlkoh geez20:14
pabelangerdouble +320:14
Shrewswow20:14
jlkwe all raced each other20:14
Shrewsi'm going to offer cookies more often!20:14
pabelangertriple20:14
jlkWORKFLOW INTENSIFIES20:14
pabelangernice20:14
jlkShrews: are you going to be at PTG?20:14
Shrewsjlk: unfortunately, not this time20:14
jlkthen I shall not accept cookie delivery there20:15
*** dtruong has joined #zuul20:20
mordredwhile people are in the mood for easy reviews: https://review.openstack.org/#/c/536636/ and https://review.openstack.org/#/c/536854/ are a couple of cleanup patches20:21
mordredunfortunately  I do not have any cookies to offer, but can probably find booze somewhere20:22
pabelangercookies and booze, this day is getting better all the time20:24
jlkcookies and booze is the name of my free association jazz jam band.20:24
Shrewscorvus: i went ahead and asked a question in your Depends-On email that I think most folks are going to wonder about.20:25
openstackgerritMerged openstack-infra/nodepool master: Fix race in test_provider_removal  https://review.openstack.org/53654020:31
mordredShrews: I have responded to your email to the list20:31
pabelangerspeaking of new syntax, when I click on new URL depends on in gerritUI, it opens in a new tab. Not sure if that is my browser or not. But old depends-on would just stay in current tab20:33
pabelangerbut, that is not a zuul issue20:33
Shrewsmordred: i acknowledge your response and raise you one "thank you"20:33
mordredpabelanger: I experience the same behavior20:35
mordredpabelanger: although I am finding it preferrable so far - since the old behavior did a search then a redirect, so it was always extra effort to double-back-button to get to the original change20:35
mordredpabelanger: but it's also weird20:36
mordredbecause habits :)20:36
pabelangerah, I think I see why20:37
pabelanger<a href="https://review.openstack.org/536461/" target="_blank" rel="nofollow">https://review.openstack.org/536461/</a>20:37
pabelangernew syntax20:37
pabelangerold syntax doesn't have https://, just /20:38
mordredpabelanger: so I guess gerrit's behavior is to put discovered links in with target="_blank" rel="nofollow" ?20:39
pabelanger<a href="/#/q/Icf22643f17ea0500ceef38f493bd98d49bd9a3bd">Icf22643f17ea0500ceef38f493bd98d49bd9a3bd</a> is old20:39
pabelangermordred: guess so, would need to look at JS20:40
openstackgerritMerged openstack-infra/nodepool master: Remove shade_inner_exceptions  https://review.openstack.org/53663620:40
openstackgerritMerged openstack-infra/nodepool master: Set app_name and app_version  https://review.openstack.org/53685420:40
pabelangerbut, also happy to try new method for a day or so20:40
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Use override-checkout to select jobs  https://review.openstack.org/53765521:06
corvusmordred: that's that option21:06
corvusif we feel like overloading override-checkout like that is weird, it'd be pretty easy to split that out into another attr21:07
*** abadger1999 has quit IRC21:23
*** abadger2000 has joined #zuul21:23
*** abadger2000 is now known as abadger199921:24
corvusmordred, Shrews: i also replied to myself again on the ML with a further analysis of the implications of that; let me know what you think.21:27
*** weshay|mtg is now known as weshay|rover21:34
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Split out erasing from 'info' command into 'erase'  https://review.openstack.org/53766321:36
Shrewscorvus: ack. fyi, there ^ is the requested command split21:36
Shrewspabelanger: fyi for you too ^^21:39
* Shrews is have a "Dude, where's my build?" moment for one of his nodepool changes21:40
Shrewsis having*21:40
*** threestrands has joined #zuul21:41
*** sshnaidm has quit IRC21:42
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Support DIB image selection in functional jobs  https://review.openstack.org/53740821:44
*** threestrands_ has joined #zuul21:44
*** threestrands_ has quit IRC21:44
*** threestrands_ has joined #zuul21:44
Shrewsmordred: \o/... got the -src nodepool job correctly using the tips of the other repos. thx again21:47
*** threestrands has quit IRC21:47
corvus21:49 < openstackgerrit> James E. Blair proposed openstack-infra/project-config master: Add zuul-website repo  https://review.openstack.org/53767021:49
corvusfyi ^21:49
pabelangergreat21:56
pabelangercorvus: left question21:59
corvuspabelanger: yep, forgot git add, thx22:02
pabelanger+222:04
Shrewscorvus: mordred: Why is it necessary to specify override-checkout for shade and devstack in the required-projects bit in https://review.openstack.org/#/c/536159/3/.zuul.yaml ?22:07
Shrewsoh, that's parented to something different there. those job names are long and all similar  :)22:09
Shrewsi thought the parent was doing the override-checkout too, but not so much22:10
Shrewsoh, but one of the parents eventually does it too. hrm.22:11
Shrewsoy22:12
Shrewscongrats. this has hurt my brain22:12
mordredShrews: woot!22:23
mordredcorvus: I don't think it seems like an overloading of that config-item - I think most of the time people will be thinking about what branch of a repo they want and will just expect jobs to flow from that naturally22:25
mordredcorvus: but other people might have different thoughts :)22:25
*** sshnaidm has joined #zuul22:31
pabelangerseeing in fingergw.log: http://paste.openstack.org/show/652851/22:36
pabelangersuspect we need to add some additional logging22:36
pabelangerbut, also possible we have hostname issue again on an executor22:37
pabelangerI don't think we have fixed that properly yet22:37
pabelangerI think we also talked about just using IP addresses22:37
mordredpabelanger: I'd honestly love it if we could fix the hostname issue once and for all22:42
mordredpabelanger: I mean, it seems like a thing we should have the powers to do22:42
mordred(also, a node does not necessarily know its IP address - such as in the case of floating ips - so an executor can't just report it's IP back)22:43
pabelangermordred: agree, I am going to spend some time tomorrow looking into it. I know there was some discussion about how it would work, will read up tonight22:43
mordredpabelanger: I just did ansible 'ze*' -m shell -a 'hostname --fqdn'22:43
pabelangerI think we might be missing search openstack.org in our /etc/resolv.conf files, because when we get ze08 for hostname, we don't know what domain to add22:44
mordredpabelanger: and everything is showing as having the correct hostname right now22:44
pabelangergood22:44
mordredpabelanger: ansible 'ze*' -m shell -a 'hostname' on the other hand returns ze09 for ze09, and fully qualified for everythig else22:44
pabelangeryah, think ze09 is right, and other wrong?22:45
pabelangeror is it the other way around22:45
pabelanger$ cat /etc/resolv.conf22:45
pabelangernameserver 127.0.0.122:45
pabelangerthat is on zuul01.o.o22:45
pabelangerso, if we did get ze09, I don't think we'd append openstack.org to it22:46
pabelangerdue to missing search command22:46
pabelangeransible 'ze*' -m shell -a 'netstat -na | grep \:7900'22:49
pabelangeris also good22:49
corvuspabelanger: i believe we agreed that we just need to fix the hostnames on most of the executors22:54
corvusalso, this is an -infra discussion :)22:54
pabelanger+122:55
mordredcorvus: reading your email, Ithink I've imagined another weird edge-case23:35
corvusmordred: good, i like imagining them ahead of time23:36
mordredcorvus: what if ansible/ansible wanted to define a job, "ansible-tox-py27" with parent: tox-py2723:36
corvusmordred: tox-py27 is in an unbranched repo, so its single definition matches all branches23:37
mordredAH. gotcha23:37
mordredk. well - just for sake of argument - what if they wanted to make an 'ansible-functional-devstack' parent: devstack23:38
mordredwould they do override-checkout: master on the job and then required-projects: ansible: override-checkout: devel ?23:38
mordred(this is a pathological example - just poking to see if I undersatnd the things)23:38
corvusmordred: i'd probably just do required-projects: devstack, override-branch: master -- basically like your shade job23:39
corvusmordred: assuming that's defined on ansible/ansible@devel, then it's basically "if you want to run the ansible-functional-devstack job on the devel branch, here is the devstack branch you need to use with it"23:40
corvusmordred: oh, but i'm guessing you're getting at: what if they wanted to write that job for other folks to use23:40
corvuslike, make it available for openstack projects23:40
*** rlandy is now known as rlandy|bbl23:41
mordredyah.23:41
corvuslemme work through that :)23:41
mordredto be fair though - I think an answer could be "make an ansible-zuul-jobs repo with a master branch and nothing else"23:41
corvusmordred: yes, or set an explicit branch matcher for all branches, or turn off implied branch matchers with the pragma, or pragma an implied branch matcher of devel+master ...  that solves the issue of mapping ansible's devel branch to, say, kolla's master.  but as long as "make a change in the devstack repo" is not an option, we'd still probably have the underlying problem of mapping ansible's devel to a23:43
corvusdevstack branch for the parent:devstack bit.23:43
mordredyah23:44
corvusmordred: https://etherpad.openstack.org/p/OM4LTzKVXQ23:46
corvusmordred: that would let that job work on the devel branch of ansible, and the master branch of kolla unchanged.23:47
corvusmordred: what you can't do at that point though, is run that job on the stable/pike branch of kolla23:47
corvusmordred: but i think a big reason for that is -- what does it mean to do that?23:48
corvusmordred: i've added a section at the bottom for one way to make that work for kolla@stable/pike.  but that's basically saying "we're going to use the stable/pike devstack branch, which somehow works with the devel branch of ansible".23:49
corvusmordred: if that's a sensible combination, then that works.  :)23:49
mordredcorvus: yah. that works and makes sense even23:50
corvusi'm pretty sure the change as written supports all of this23:50
corvusmordred: my guess is that for bidirectional jobs, the required-projects form is going to be better suited.  for unidirectional jobs, like the nodepool feature/zuulv3 issue, the job.override-branch form would be easier and more suitable.23:51
mordred++23:55

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