Thursday, 2018-01-25

pabelangermordred: corvus: for the morning, if we wanted to make a setting in ansible.cfg configurable, how would we best do that? Maybe even per playbook. Thinking of comment from tobiash https://review.openstack.org/#/c/512130/1/zuul/executor/server.py01:08
*** JasonCL has quit IRC01:48
*** JasonCL has joined #zuul01:49
*** JasonCL has quit IRC02:03
*** JasonCL has joined #zuul02:03
*** JasonCL has quit IRC02:13
*** JasonCL has joined #zuul02:15
*** JasonCL has quit IRC02:22
*** yolanda has quit IRC02:22
*** JasonCL has joined #zuul02:23
*** JasonCL has quit IRC02:23
*** JasonCL has joined #zuul02:24
*** JasonCL has quit IRC02:24
*** rlandy|bbl is now known as rlandy02:58
*** harlowja has quit IRC03:21
*** rlandy has quit IRC03:31
*** openstackgerrit has quit IRC03:33
*** harlowja has joined #zuul04:28
*** harlowja has quit IRC05:17
*** xinliang has quit IRC06:09
*** xinliang has joined #zuul06:22
*** xinliang has quit IRC06:22
*** xinliang has joined #zuul06:22
*** threestrands_ has quit IRC07:02
*** openstackgerrit has joined #zuul07:26
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Default max pool resources to math.inf  https://review.openstack.org/53777607:26
*** jpena|off is now known as jpena08:44
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: zuul autohold: allow filtering per commit  https://review.openstack.org/53699309:37
*** electrofelix has joined #zuul10:01
*** jpena is now known as jpena|off10:33
*** jpena|off is now known as jpena10:33
*** Wei_Liu has joined #zuul10:39
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: zuul autohold: allow filtering per commit  https://review.openstack.org/53699310:41
openstackgerritFabien Boucher proposed openstack-infra/zuul-jobs master: Propose to move submit-log-processor-jobs and submit-logstash-jobs in zuul-jobs  https://review.openstack.org/53784711:11
*** Wei_Liu has quit IRC11:13
*** sshnaidm_ has joined #zuul11:39
*** sshnaidm has quit IRC11:41
*** jpena is now known as jpena|lunch12:03
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add /{tenant}/jobs/{job_name} route  https://review.openstack.org/53554512:05
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add jobs graph rendering  https://review.openstack.org/53786912:05
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: /{tenant}/projects.json routes  https://review.openstack.org/53787012:05
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add project pipeline rendering  https://review.openstack.org/53787112:06
*** jkilpatr has quit IRC12:08
*** sshnaidm_ has quit IRC12:38
*** jkilpatr has joined #zuul12:46
*** jkilpatr has quit IRC12:47
*** jkilpatr has joined #zuul12:47
*** sshnaidm_ has joined #zuul12:54
*** JasonCL has joined #zuul12:57
*** sshnaidm_ is now known as sshnaidm13:11
openstackgerritFabien Boucher proposed openstack-infra/zuul-jobs master: Propose to move submit-log-processor-jobs and submit-logstash-jobs in zuul-jobs  https://review.openstack.org/53784713:28
*** yolanda has joined #zuul13:34
*** rlandy has joined #zuul13:37
*** weshay|rover is now known as weshay|ruck13:58
*** dmellado has quit IRC14:32
*** jpena|lunch is now known as jpena14:35
*** dmellado has joined #zuul14:39
*** dmellado has quit IRC14:39
*** sshnaidm_ has joined #zuul14:41
*** dmellado has joined #zuul14:41
*** dmellado has quit IRC14:42
*** dmellado has joined #zuul14:43
*** sshnaidm has quit IRC14:44
*** dmellado has quit IRC14:44
*** dmellado has joined #zuul14:53
*** dmellado has quit IRC14:53
*** dmellado has joined #zuul15:01
*** dmellado has quit IRC15:01
*** dmellado has joined #zuul15:03
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Only upload logs when jobs fail  https://review.openstack.org/53792915:03
*** dmellado has quit IRC15:03
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Handle missing request during a decline.  https://review.openstack.org/53793215:09
*** sshnaidm_ is now known as sshnaidm15:12
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Only upload logs when jobs fail  https://review.openstack.org/53792915:17
*** dmellado has joined #zuul15:19
*** dmellado has quit IRC15:25
*** dmellado has joined #zuul15:26
*** dmellado has quit IRC15:27
*** dmellado has joined #zuul15:29
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Stop the PoolWorker thread when max-servers is 0  https://review.openstack.org/53794215:44
dmsimardShrews: finding a couple of cool things from that nl02 issue eh15:45
Shrewsa couple15:46
*** yolanda has quit IRC15:47
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Allow for max-servers less than 0  https://review.openstack.org/53794615:48
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Allow for max-servers less than 0  https://review.openstack.org/53794615:55
corvuspabelanger: i don't think we need to make that option configurable; at least not now.  let's wait for someone to say why they need some other value that doesn't work for everyone.15:56
pabelangercorvus: okay, I'll bring that patch online today. But should help with UNREACHABLE errors we sometime gets from nodes15:57
gundalowCould we disable https://github.com/ansible/ansible/pull/35315#issuecomment-36039278716:08
dmsimardmordred: ^16:09
gundalowmordred: What's triggering that notification?16:10
dmsimardgundalow: if I had to guess, there's probably a "Depends-On" somewhere16:13
mordredgundalow: oh! that should not be happening at all16:13
mordredgundalow: terribly sorry, let me investigate16:13
dmsimardI wonder if it would be possible for that "merge failure" message to print what's the source (i.e, the parent change)16:13
dmsimardcorvus: ^16:14
gundalowmattclay: FYI, discussing Zuul notifications of merge conflicts16:15
mordredgundalow, mattclay: well - there's 2 different issues here16:15
gundalowmordred: haha, like all good bugs :)16:15
mordredone is that zuul should not be reporting ANYTHING on those - and I now see the issue, it's a config problem on our side, fix coming16:16
mordredthe second is, when such an error does happen and it's appropriate to report, how can we improve the message16:16
dmsimardmordred: +116:17
gundalowcool16:17
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Enabled ssh retries for ansible  https://review.openstack.org/53795316:17
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Do not attempt to handle requests when disabled  https://review.openstack.org/53795416:17
mordredgundalow, dmsimard: remote:   https://review.openstack.org/537955 Stop spamming ansible/ansible16:18
dmsimard+216:19
mordredpabelanger, corvus: ^^ we're reporting on changes to ansible/ansible that we are not supposed to be reporting on (and also performing unneeded merge-check on every ansible PR)16:19
pabelangermordred: +316:20
pabelangermordred: corvus: dmsimard: 537953 might be of interest, enables ssh retires in ansible to help with networking issue we see on jobs16:21
mordredpabelanger: oh - I need to update the validation for project-config that's going to bomb out on system-required not being there16:21
pabelangermordred: ack16:22
dmsimardmordred: oh right the job will fail otherwise, good point16:22
mordreddmsimard, pabelanger: updated16:22
pabelangerdone16:23
corvusmordred: have links to the output?16:25
corvusoh sorry, i see now16:25
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Do not attempt to handle requests when disabled  https://review.openstack.org/53795416:26
*** bhavik1 has joined #zuul16:27
corvusmordred, gundalow: the merge failure itself was caused by an interrupted network connection to github -- considering what we know about github availability, we may need to make fetching refs a bit more robust.16:36
dmsimardgood catch16:37
corvus(obviously reporting on that was in error, but i didn't want to waste the opportunity to learn from it)16:37
corvusdmsimard: and yes, we should be able to improve the merge failure reports16:38
mordredcorvus: kind of reminds me of one of the thoughts (that didn't wind up being the issue) when we were looking at the deleted ref thing the other day ...16:39
mordredcorvus: which is that if we're fetching a ref that we've been told to fetch from another part of the system, we should be able to be more aggressive with retries, since we should be able to know that the thing we're trying to fetch does exist16:40
corvusmordred: indeed -- we know this should work, so this is is something we can do a tight retry on -- try N times with 60s sleep on failure sort of thing.16:40
mordredcorvus: otoh - the issue you mentioned around the delete issue still holds - how do we find actual permanant issues in that case16:40
mordredcorvus: yah16:41
*** bhavik1 has quit IRC16:41
gundalowcorvus: ah, nice16:44
gundalowI wonder if Ansibullbot has work arounds for that16:44
gundalowhum, though ansibullbot pulls status, rather than using webhooks, so not sure16:45
corvusand this was on an actual git fetch, not an api call, so probably hitting different github systems16:45
*** jkilpatr has quit IRC16:54
*** jkilpatr has joined #zuul16:56
*** electrofelix has quit IRC17:06
openstackgerritMerged openstack-infra/zuul-jobs master: Only upload logs when jobs fail  https://review.openstack.org/53792917:07
*** yolanda has joined #zuul17:15
tobiashmordred: do you have a plan for ^^?17:31
mordredtobiash: a plan for making that patch go away? yes, both a short term and a medium term17:32
tobiashYes ;)17:33
mordredtobiash: short term is that we can revert it as soon as our current crisis is averted - medium term I'd like to take another stab at moving to swift, so I think that'll be a new upload-logs-to-swift role (or something like that) - and I'm working on putting together a proposal for what that might look like17:34
mordredalso shorter-medium term we should perhaps think of a way to introduce a safety valve in the role so that an admin can switch to "only upload logs on failures" in a similar crisis without needing to patch upload-logs in zuul-jobs17:35
mordred(us editing a role in zuul-jobs because of an openstack production incident is obviously not the way we want to treat content in that repo)17:36
tobiashmordred: just wanted to suggest that ;)17:37
mordredtobiash: ++17:38
mordredyah - there's several lessons to learn from today17:38
* tobiash reads the backlog17:39
tobiashAlso what I observed is that failed cat jobs are not retried which can prevent startup of the scheduler17:41
mordredtobiash: most of the relevant discussion is actually in #openstack-infra-incident17:42
tobiashYah, currently reading that17:43
corvusoh, i did not realize that we merged an openstack change to zuul-jobs :(17:44
corvusis someone working on reverting that?17:45
corvuslike, i think we need to revert it before the end of the crisis, because we've just caused crises for other folks17:45
corvuswhat we could probably do is add in a site-variable toggle for that17:45
corvusmordred, pabelanger, dmsimard: ^ do any of you want to work on that change right now?17:46
mordredcorvus: yah - I'll work on that now17:46
dmsimardoh damn, we should have probably toggled this through a project-config playbook17:47
dmsimardmordred: are you going to hide that logic under a boolean or something ?17:47
mordreddmsimard: yah17:47
*** weshay|ruck is now known as weshay|ruck|brb18:09
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Add flag for turning off successful job logs  https://review.openstack.org/53798618:10
mordreddmsimard, corvus, tobiash: ^^ check me on my boolean logic - I went through a few more complex iterations on it with double-negatives and whatnot but I *think* that's correct18:11
*** jkilpatr has quit IRC18:14
tobiashmordred: I think you need a | default(true) on the site variable18:14
mordredtobiash: I stuck it in to https://review.openstack.org/#/c/537986/1/roles/upload-logs/vars/main.yaml ... but I could also just do a default on it there if you think that'll be more readable18:15
tobiashmordred: sorry, overlooked the default18:15
tobiashWait, you put it into vars?18:16
tobiashmordred: vars in the vars folder are constants and cannot be overwritten18:16
tobiashYou need to put that into the defaults folder18:17
mordredtobiash: except by vars on the command line, right? or - well, let's just do default()18:17
tobiashDon't know the exact order but I thought the vars folder has the highest precedence18:18
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Add flag for turning off successful job logs  https://review.openstack.org/53798618:18
* tobiash rereads docs about that18:18
mordredtobiash: maybe just doing default() like you originally suggested is clearer ^^?18:18
tobiashmordred: you're right that extravars win, but I wouldn't count on that18:22
dmsimardmordred: I'd use defaults/main.yml instead of vars/18:22
dmsimardIn summary precedence is defaults -> vars -> extra_vars18:22
tobiashAnd many more in between ;)18:23
dmsimardtobiash: summary :)18:23
dmsimardextra_vars even prevents set_fact tasks from applying properly, like the set_fact task will run, won't fail but won't actually set the variable if there's an extra_var for that var18:23
dmsimardI was bitten by that more than once before realizing what was going on18:24
tobiashmordred: do you really set a default to zuul-success?18:24
tobiashReally want18:25
* tobiash apologizes for bad typing on mobile phone18:25
*** jkilpatr has joined #zuul18:26
mordredtobiash: I only did that as a cargo-cult from roles/emit-ara-html/tasks/main.yaml ...18:27
tobiashmordred: maybe it's better to crash ansible if zuul success is not defined instead of silently defaulting to false18:27
*** weshay|ruck|brb is now known as weshay18:27
mordredtobiash: wfm18:28
corvusit will only be defined for post playbooks.  so omitting the default is a way of enforcing that's only used in post.18:28
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Add flag for turning off successful job logs  https://review.openstack.org/53798618:28
tobiashYes that was my thought. Do we want that?18:29
clarkbtobiash: its ok I am super bad at typing on mobile phone18:29
tobiashcorvus, mordred I'm fine with both, just wanted that we think about these two options18:30
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Add flag for turning off successful job logs  https://review.openstack.org/53798618:38
mordredtobiash, corvus, dmsimard: updated ^^ to match the logic that's currently in emit-ara-html18:38
mordredpabelanger: ^^ you too18:39
corvusmordred: does the failure string equality work if the var is not defined?18:40
corvusmordred: oh, it short circuits in that case, yeah?18:40
tobiashIt should18:41
mordredyah. should short-circuit18:41
mordredalso, I copy-pastad that logic from emit-ara-html, so I'm fairly confident in it18:42
tobiashmordred: and next ps with docs? ;)18:42
mordredtobiash: so demanding ... :)18:42
tobiashmordred: I also don't like writing docs but that's important ;)18:44
mordredtobiash: agree18:44
*** jpena is now known as jpena|off18:45
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Add flag for turning off successful job logs  https://review.openstack.org/53798618:46
mordredtobiash: this time with docs18:46
*** sshnaidm has quit IRC18:46
tobiashmordred: beautiful18:48
*** myoung is now known as myoung|biab18:58
dmsimardmordred: comment on https://review.openstack.org/#/c/53798619:10
*** myoung|biab is now known as myoung19:20
Shrewsmordred: is https://review.openstack.org/536863 just for a testing? or did you mean for that to merge? unfortunately, the logs are gone so i can't see the output without rechecking it19:21
mordredShrews: it's a real patch - but I think we're gonna wait until post-release to mess with the reno/stestr stack19:22
Shrewsmordred: oh. we should WIP or -2 those then19:23
mordredyah - just did - zuul got a -2 already - missed nodepool19:23
mordredsorry for confusion19:23
Shrewssilly mordred. i'm always confused19:24
mordredheh19:24
*** myoung is now known as myoung|cheesebur19:34
*** myoung|cheesebur is now known as myoung|food19:34
*** harlowja has joined #zuul19:44
*** myoung|food is now known as myoung20:02
openstackgerritMonty Taylor proposed openstack-infra/zone-zuul-ci.org master: DNM Testing that log disabling works  https://review.openstack.org/53802020:21
mordredgundalow: the fix to stop spamming you landed, you should see no more such  comments. sorry again20:22
*** jkilpatr has quit IRC20:22
pabelangerconfig-validate for nodepool seems to started raising an exception: http://logs.openstack.org/91/537991/1/check/project-config-nodepool/07312ef/job-output.txt.gz#_2018-01-25_19_46_27_21084620:30
gundalowmordred: Thanks for the quick fix. It's all good. Also as long as the restriction to OpenStack is working then that's fine.20:33
gundalowGuess as some point we should sync up, though will let you decide when it makes sense to do that20:33
pabelangerokay, looks like python2 / python3 issue20:36
mordredgundalow: yes indeed! we're getting quite close to it being a good time for that20:37
*** rlandy is now known as rlandy|brb20:47
*** myoung is now known as myoung|pto20:53
*** sshnaidm has joined #zuul21:00
*** rlandy|brb is now known as rlandy21:12
*** jkilpatr has joined #zuul21:20
*** sshnaidm is now known as sshnaidm|off21:24
openstackgerritJames E. Blair proposed openstack-infra/zuul-website master: Add initial website content and jobs  https://review.openstack.org/53803921:33
corvustristanC: do you know what would be involved in updating the url when you enter filters into the dashboard?22:07
corvusi want folks to be able to share deep-links to the search results they're seeing22:07
openstackgerritJames E. Blair proposed openstack-infra/zuul-website master: Add initial website content and jobs  https://review.openstack.org/53803922:25
openstackgerritJames E. Blair proposed openstack-infra/zuul-website master: Add initial website content and jobs  https://review.openstack.org/53803923:04
*** rlandy is now known as rlandy|biab23:26
openstackgerritJames E. Blair proposed openstack-infra/zuul-website master: Add initial website content and jobs  https://review.openstack.org/53803923:36
openstackgerritJames E. Blair proposed openstack-infra/zuul-website master: Add .zuul.yaml  https://review.openstack.org/53806823:36
openstackgerritJames E. Blair proposed openstack-infra/zuul-website master: Add .zuul.yaml  https://review.openstack.org/53806823:40
openstackgerritJames E. Blair proposed openstack-infra/zuul-website master: Add initial website content and jobs  https://review.openstack.org/53803923:40
openstackgerritMerged openstack-infra/zuul-website master: Add .zuul.yaml  https://review.openstack.org/53806823:44
openstackgerritJames E. Blair proposed openstack-infra/zuul-website master: Add initial website content and jobs  https://review.openstack.org/53803923:51
openstackgerritJames E. Blair proposed openstack-infra/zuul-website master: Add initial website content and jobs  https://review.openstack.org/53803923:52
openstackgerritJames E. Blair proposed openstack-infra/zuul-website master: Add initial website content and jobs  https://review.openstack.org/53803923:56

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