Wednesday, 2018-03-14

openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: zk: use kazoo retry facilities  https://review.openstack.org/53553700:45
*** odyssey4me has quit IRC00:53
*** odyssey4me has joined #zuul00:53
*** harlowja has quit IRC01:20
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: mqtt: add basic reporter  https://review.openstack.org/53554301:21
*** rlandy|afk is now known as rlandy01:53
*** rlandy has quit IRC02:06
Wei_Liucorvus: No, I publish docs to our internal website in CI/CD, and I want to tell the author, who commit this change, the url published in zuul response to gerrit and show it in gerrit as same as the log url.02:07
Wei_Liuclarkb: hi, I publish docs to our internal website in CI/CD, and I want to put the url published in zuul response to gerrit and show it in gerrit as same as the log url. How can I do it?02:09
*** myoung|snow|bbl is now known as myoung|rover02:15
*** myoung|rover is now known as myoung|afk02:17
tristanCWei_Liu: you could use the zuul_return like in this change: https://review.openstack.org/#/c/548425/1/roles/emit-job-report/tasks/main.yaml02:32
tristanCWei_Liu: or using the job's success-url, like this: http://git.openstack.org/cgit/openstack-infra/zuul/tree/.zuul.yaml#n8102:32
Wei_LiutristanC: I did not know which field of zuul that should I use in zuul_return, zuul  can handle zuul.log_url, does it handle the parameter I defined in the zuul_return?02:39
tristanCWei_Liu: zuul.log_url is the one zuul comments back to the review02:40
Wei_LiutristanC: I used success-url for such jobs in zuul v2.5, not in pipeline, can I do the same thing in v3?02:41
tristanCWei_Liu: iirc, success-url gets appened to the log_url, you need to zuul_return another zuul.log_url to replace the url returned to gerrit02:44
Wei_LiutristanC: Thanks a lot, I will try it today.02:46
tristanCWei_Liu: the zuul_return likely needs to happen after the upload-log roles to over-write the value02:50
Wei_LiutristanC: yes, I will append new role after it.02:54
*** Wei_Liu1 has joined #zuul03:03
*** Wei_Liu has quit IRC03:03
*** Wei_Liu1 is now known as Wei_Liu03:03
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: WIP: Handle ZK session loss during node launch  https://review.openstack.org/55253803:04
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: zk: use kazoo retry facilities  https://review.openstack.org/53553703:04
*** Wei_Liu has quit IRC03:58
*** Wei_Liu has joined #zuul03:59
*** harlowja has joined #zuul04:12
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: WIP: Handle ZK session loss during node launch  https://review.openstack.org/55253804:21
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Refactor run_handler to be generic  https://review.openstack.org/53555404:21
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Refactor NodeLauncher to be generic  https://review.openstack.org/53555504:21
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: zk: use kazoo retry facilities  https://review.openstack.org/53553704:22
*** harlowja has quit IRC04:40
openstackgerritMerged openstack-infra/zuul master: Add zuul-tox-remote to gate pipeline  https://review.openstack.org/55269205:53
tobiashcorvus: I've comments on 552688 (just two accidentally added files)06:14
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add zuul_json tests  https://review.openstack.org/55268806:15
openstackgerritSimon Westphahl proposed openstack-infra/zuul master: Fix zuul_json callback plugin problem with loops  https://review.openstack.org/55279906:37
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul master: Use re2 for change_matcher  https://review.openstack.org/53638907:09
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul master: Add irrelevant-branches negative matcher  https://review.openstack.org/55280907:09
SpamapScorvus: ^ split07:09
SpamapSHaven't tested tho07:09
* SpamapS heads to bed07:09
tobiashpatch and run ;)07:34
*** hashar has joined #zuul07:43
*** jpena|off is now known as jpena08:25
*** electrofelix has joined #zuul08:33
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Decode gearman function into utf  https://review.openstack.org/55288811:54
*** elyezer has joined #zuul11:55
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Decode gearman function into utf  https://review.openstack.org/55288812:08
*** elyezer has joined #zuul12:08
*** elyezer has quit IRC12:08
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Decode gearman function into utf  https://review.openstack.org/55288812:11
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: [WIP] Zuul Web: Add 'projects' endpoint  https://review.openstack.org/55289112:16
*** jpena is now known as jpena|lunch12:27
*** rlandy has joined #zuul12:32
*** odyssey4me has quit IRC12:47
*** odyssey4me has joined #zuul12:47
dmsimardIs it technically feasible for secrets to be... variable ? Like pretend we have a generic role to publish something to... DockerHub. Could projects supply their own credentials to the role somehow ? It hurts my brain.12:59
dmsimardI haven't used secrets much so hoping someone can chime it :)12:59
dmsimards/it/in/13:00
tobiashdmsimard: secrets are attached to a job, not a role13:01
tobiasha job's playbook can parameterize the roles it's using13:01
dmsimardtobiash: right .. but I mean, are you able to supply a different secret to a job ?13:01
tobiashso there is no problem using a generic role13:01
dmsimardor because of that trust thing it won't let you do that13:02
tobiashdmsimard: you just inherit from it and supply your own secret13:02
tobiashyou just cannot share the playbook, but the roles13:02
dmsimardmakes sense, was just confirming, thanks :D13:02
* dmsimard has an idea13:02
tobiashnote that secrets are only available in the playbook where the job is defined13:03
tobiashsupplying a secret to a parent job and not supplying/duplicating the run-playbook won't work13:03
dmsimardtobiash: yeah, I understand13:05
dmsimardtobiash: maybe I can tell you about my idea and you'll see what I mean13:05
* tobiash is listening13:05
dmsimardTripleO has these ARA modules that basically sends all the Ansible metrics (task duration, etc.) to graphite or influxdb, ex influxdb: http://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/tree/roles/collect-logs/library/ara_influxdb.py13:06
dmsimardIt's kind of a shame because these are /almost/ generic -- we'd take the time to wrap these in a role and run them around the time where emit-ara-html is run13:07
dmsimardmaking it available in zuul-jobs, or wrapping it under a pattern like we do with gearman things would allow us to get a ton of metrics about the jobs running13:08
dmsimardat the kind of scale we are running, it would be valuable to tell if something that we do has an adverse impact on performance (for example)13:09
dmsimardlike pretend we tweak the internal poll interval.. or the amount of forks.. or just optimize $thing13:09
dmsimardI realize that the performance is not uniform across all the clouds (and even within the same cloud) but it sort of averages out13:10
tobiashyes, a generic role probably makes sense13:14
*** Wei_Liu has quit IRC13:17
dmsimardoh darn, even better .. with https://review.openstack.org/#/c/513874/ saving the database at a particular location, it would be almost trivial to use our gearman pattern to do it13:20
*** jpena|lunch is now known as jpena13:27
*** myoung|afk is now known as myoung|rover13:35
*** electrofelix has quit IRC14:16
openstackgerritMerged openstack-infra/zuul master: Add zuul_json tests  https://review.openstack.org/55268814:26
openstackgerritMerged openstack-infra/zuul master: Fix zuul_json callback plugin problem with loops  https://review.openstack.org/55279915:04
tobiash\o/15:04
*** swest has quit IRC15:11
*** rlandy has quit IRC15:24
*** rlandy has joined #zuul15:24
corvustobiash: that's probably worth a note to the list too...15:29
tobiashcorvus: yes, will draft a mail later15:29
dmsimardI don't remember who and where, but someone asked about the "let zuul start with a broken configuration" patch recently, I've poked fbo about https://review.openstack.org/#/c/535511 and he'll resume his work on it15:31
corvusdmsimard: thanks.  that was clarkb in the infra meeting yesterday in the context of making it safer to deal with project renames15:32
dmsimardah, I couldn't find in my logs but I remembered someone asked about it. Thanks.15:32
corvusis anyone else interested in reviewing configloader changes (ie, my effort to rework things to use less memory)?  https://review.openstack.org/54642815:52
clarkbcorvus: yes I'll take a look15:53
Shrewscorvus: I will look after lunch if you like15:53
corvusfyi, that's just the first baby step -- i expect a whole series like that before we're through15:54
clarkbI've confirmed we have existing tests that verify secrets and approved the change16:00
openstackgerritMerged openstack-infra/zuul master: Import Zuul modules at top of files  https://review.openstack.org/54973016:09
tobiashcorvus: will look after dinner16:21
openstackgerritMerged openstack-infra/zuul master: Match github model of granting admins write  https://review.openstack.org/54985316:26
openstackgerritMerged openstack-infra/zuul master: Make sure we fail because of path checks  https://review.openstack.org/55250216:26
openstackgerritMerged openstack-infra/zuul master: Decode gearman function into utf  https://review.openstack.org/55288816:26
dmsimardOh, contributions to Zuul from Wikimedia, that's awesome :D16:35
dmsimardI thought they used phabricator or something like that16:35
clarkbdmsimard: I think they are in the middle of a transition from gerrit to phabricator and it has gone longer than expected? so zuul is still used by the gerrit projects16:36
clarkbalso in theory we could hook gerrit to phabricator though I don't know that that is in their plans16:36
dmsimardI know too little about phabricator to know how Zuul could fit in there16:37
dmsimardThen again, OVH has a nodepool-like project so it's probably not uncommon for orgs to have their own custom/purpose built workflow16:38
dmsimardIt would probably be interesting to reach out and ask them how Zuul could fit their needs, even if just out of curiosity to see what are the use cases out there.16:45
clarkbthem being wikimedia? I think they have been in touch16:45
corvusdmsimard: who's them?16:45
dmsimardcorvus: OVH16:45
dmsimardOne of the components of their platform is basically nodepool https://ovh.github.io/cds/hatchery/16:46
openstackgerritMerged openstack-infra/zuul master: Skip autohold if no autohold was requested  https://review.openstack.org/54730216:54
openstackgerritMerged openstack-infra/zuul master: Add queue size to tenant overview  https://review.openstack.org/54824816:54
openstackgerritMerged openstack-infra/zuul master: Don't store references to secret objects from jobs  https://review.openstack.org/54642816:54
openstackgerritMerged openstack-infra/zuul master: Add test for fingergw on ipv4 / ipv6 addresses  https://review.openstack.org/55264516:54
Shrewscorvus: the test_slow_start failure in that fingergw timeout change confuses me. do you think it could be related? http://logs.openstack.org/35/546735/1/gate/zuul-tox-py35/f00479c/testr_results.html.gz16:57
Shrewsi don't see how really since we don't start the fingergw17:01
* Shrews going to recheck17:02
*** hashar is now known as hasharAway17:43
*** bhavik1 has joined #zuul17:52
*** jpena is now known as jpena|off18:01
openstackgerritMerged openstack-infra/zuul master: Unset finger client timeout after connect  https://review.openstack.org/54673518:05
tobiashShrews: I've seen this test failing several times for unrelated changes18:09
tobiashmaybe we have some race in there18:09
*** harlowja has joined #zuul18:11
Shrewsi suppose so18:11
*** bhavik1 has quit IRC18:17
tobiashcorvus: how's that? https://etherpad.openstack.org/p/FpVT6Dl62i18:22
tobiashfungi, clarkb ^18:23
*** myoung|rover is now known as myoung|lunch18:23
corvustobiash: lgtm18:24
tobiash:)18:24
pabelangerdo we know of any project is openstack affected?18:26
tobiashpabelanger: you probably need to check your post playbooks that doo job upload etc18:27
corvusa question for #openstack-infra :)18:28
fungitobiash: thanks, reviewing now18:28
corvusthough fwiw, once that goes out, i was planning on posting a message to openstack-dev about it.  i think it's important for operators to notify their downstream users who may not be watching zuul-announce for things like this.18:29
tobiashpabelanger: upload-logs at least seems not affected18:29
tobiashjust checked zuul-jobs, which seems ok18:30
tobiashno no_log combination with loops in there18:30
tobiashcorvus: yeah, that makes sense18:31
fungitobiash: i think that second sentence could use rephrasing to be a little more clear. i'll try to propose an alternate wording in the pad18:32
tobiashfungi: thanks, sounds good, what do you think about adding 'despite defining no_log' to that?18:34
fungiwhat do you think now?18:35
tobiashlgtm18:36
tobiashgood to send now?18:37
corvustobiash: ++18:37
fungiyeah, i think so unless others object18:37
tobiashcorvus, fungi: do we want/need a worklist or dashboard for the zuul-security stories?18:46
corvustobiash: that's probably a good idea18:46
tobiashcorvus: so what do you think is better in this case, a worklist or a dashboard?18:47
tobiashI'm not yet that familiar with storyboard18:47
fungithough it'll be interesting if we try to mix tasks from public and private stories18:47
fungii want to say there's still some implementation question around that18:47
fungithough if you have sb questions, the weekly storyboard meeting starts in ~10 minutes18:48
corvustobiash: i guess a worklist?  unless we wanted a board for triaging bugs or something.18:49
corvusworklist is the simplest "list of stories matching criteria" thing18:50
corvusinterestingly, worklists can be private too18:50
tobiashcorvus: https://storyboard.openstack.org/#!/worklist/25818:50
tobiashI had that private, but not sure if I can add users to that18:50
corvusomg, when i click that link i'm logged in18:51
tobiashis that bad?18:51
tobiashI guess that worklist will be empty for non zuul-security members?18:52
fungihopefully. we should have one of them test that hypothesis18:53
Shrewsfwiw, that link is blank for me18:54
rcarrillocruzso is for me18:54
fungiperfect, that was the desired result18:54
rcarrillocruzi see the title18:55
rcarrillocruznothing on main page18:55
tobiashso the filter is active + openstack-infra/zuul + label zuul-security18:55
corvustobiash: sorry, it's just a storyboard bug(?) i've been struggling with.  i can't generally use it in more than one tab, and... well, it's very hard to use storyboard without tabs.  so, every time i open up storyboard, boartty gets just a little bit more complete.18:57
corvustobiash: so i was surprised that we accidentally found a way for me to open more than one tab18:58
tobiash\o/18:58
rcarrillocruzboartty == gertty for storyboard ?18:58
corvusrcarrillocruz: yep18:59
rcarrillocruzhaha, that's awesome corvus18:59
corvusit's really rough.  breaks a lot.  kinda works though.18:59
corvushttp://git.openstack.org/cgit/openstack/boartty19:00
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: web: Add /projects, /projects/{project} endpoints  https://review.openstack.org/55289119:13
*** myoung|lunch is now known as myoung|rover19:18
openstackgerritMerged openstack-infra/zuul master: configloader: check for unknown shadow projects  https://review.openstack.org/55076319:38
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix safe path check for directories containing symlinks  https://review.openstack.org/55302919:55
tobiashcorvus, clarkb: ^19:56
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Perform late validation of secrets  https://review.openstack.org/55304120:09
openstackgerritMerged openstack-infra/zuul master: Fix safe path check for directories containing symlinks  https://review.openstack.org/55302920:24
tobiash\o/20:25
tobiashcorvus: I have a question on 55304120:25
tobiash/have/posted20:25
tobiashcorvus, fungi, clarkb: https://etherpad.openstack.org/p/j0wvUWWWH720:27
clarkbtobiash: left a small edit otehrwise lgtm20:28
tobiashthanks20:28
corvustobiash: lgtm20:29
tobiashlooks like I'm going to be the bad news messenger ;)20:30
fungisuch is the life of a vulnerability coordinator20:32
corvusi'm looking at tobiash's next patch in storyboard, and i just realized that using <pre> is problematic -- we still need to escape <> or it gets eaten20:33
fungitobiash: your announcement wording lgtm20:34
clarkbmarkdown has a block quote method that is easy to use iirc20:35
clarkbbut I'd have to go reread how to do it20:35
corvusclarkb: i could only come up with "indent everything a couple of spaces" if there's something better, that'd be great20:35
* clarkb googles around20:35
tobiashcorvus: oh, didn't notice20:36
fungithis may also explain why lp just punted to making you put patches in text/plain downloadable attachments20:36
clarkbcorvus: wrap in ``` and ```20:36
clarkbcorvus: so line 0 is ``` and line EOF-1 is ```20:36
corvustobiash: would it be easy for you to try that real quick?20:37
tobiashya20:37
tobiashjust a sec20:37
corvus(i want to review the next one in git, so want to run it through git am)20:37
fungithe alternative we've talked about for years (and still have a possibly abandoned spec floating around for?) is to run a non-public shadow gerrit, but syncing projects into it and doing the access controls for all the project-specific security review teams is where we always ended up getting stuck20:39
fungiit's tractable, just a lot of initial and ongoing effort for only a handful (hopefully) of patches20:40
tobiashoh wow, with backticks it dows syntax highlighting20:40
corvusoh that's nice20:41
corvusthat looks copy/pastable, so i guess that's what we should put in our docs for now20:41
corvusyay, git am succeeded20:42
tobiash:)20:42
fungiexcellent20:49
clarkbya the ``` is code block quoting which is why it does syntax highlighting. I expect that will be the most friendly version of quoting for diffs20:58
*** dkranz has quit IRC21:03
corvusnote i just found a markdown trap: * is used for italicizing, so if you type "*/*" you get an italic slash.  this makes writing comments about paths (eg foo*/*bar) treacherous.21:04
tobiashya, marking paths or so should be done with `*/*`21:09
dmsimardtobiash: the last fix for looped no_log, ARA should correctly strip that out. Are you able to confirm ?21:40
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Perform late validation of secrets  https://review.openstack.org/55304122:01
*** myoung|rover is now known as myoung|afk22:13
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Perform late validation of secrets  https://review.openstack.org/55304122:41
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Perform late validation of nodesets  https://review.openstack.org/55308822:41
*** hasharAway has quit IRC23:23
*** kmalloc has quit IRC23:38

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