Monday, 2020-07-06

*** wuchunyang has joined #zuul01:26
*** wuchunyang has quit IRC01:29
*** swest has quit IRC01:51
*** swest has joined #zuul02:06
*** bhavikdbavishi has joined #zuul02:46
*** bhavikdbavishi1 has joined #zuul02:52
*** bhavikdbavishi has quit IRC02:55
*** bhavikdbavishi1 is now known as bhavikdbavishi02:55
*** wuchunyang has joined #zuul04:07
*** bhagyashris|afk is now known as bhagyashris04:24
*** sgw1 has quit IRC04:28
*** evrardjp has quit IRC04:33
*** evrardjp has joined #zuul04:33
*** raukadah is now known as chandankumar04:42
*** ysandeep|away is now known as ysandeep04:43
*** wuchunyang has joined #zuul04:44
*** wuchunyang has quit IRC05:01
*** saneax has joined #zuul05:36
*** marios has joined #zuul05:58
*** sshnaidm|off is now known as sshnaidm|ruck06:17
*** ysandeep is now known as ysandeep|brb06:21
*** felixedel has joined #zuul06:26
*** ysandeep|brb is now known as ysandeep06:34
*** bhavikdbavishi has quit IRC06:37
zbravass: corvus clarkb: please help me finish the ANSI enablement, https://review.opendev.org/#/c/716251/07:05
openstackgerritSorin Sbarnea (zbr) proposed zuul/zuul master: Enable ANSI rendering on stdout/stderr  https://review.opendev.org/71625107:12
*** saneax has quit IRC07:16
*** felixedel has quit IRC07:18
*** saneax has joined #zuul07:18
*** bhavikdbavishi has joined #zuul07:20
*** saneax has quit IRC07:22
*** tosky has joined #zuul07:25
avasszbr: I might be able to take a look at it in a moment. but javascript isn't really my domain :)07:30
zbrmine neither, doing it only for the sake of zuul.07:31
*** jcapitao has joined #zuul07:35
*** nils has joined #zuul08:06
*** bhavikdbavishi1 has joined #zuul08:09
*** bhavikdbavishi has quit IRC08:10
*** holser has joined #zuul08:11
*** bhavikdbavishi has joined #zuul08:12
*** bhavikdbavishi1 has quit IRC08:14
*** marios has quit IRC08:21
*** ysandeep is now known as ysandeep|lunch08:23
*** bhavikdbavishi has quit IRC08:35
*** bhavikdbavishi has joined #zuul08:38
*** persia has quit IRC08:44
*** persia has joined #zuul08:45
*** bhagyashris is now known as bhagyashris|afk08:50
*** hashar has joined #zuul08:53
*** ysandeep|lunch is now known as ysandeep08:56
*** marios has joined #zuul09:16
*** bhagyashris|afk is now known as bhagyashris09:19
openstackgerritSorin Sbarnea (zbr) proposed zuul/zuul master: Enable ANSI rendering via react-ansi  https://review.opendev.org/73944409:42
zbrmhu: also check ^, different approach.09:49
mhuzbr, I'll wait for the preview to be generated, but my general concern about having it disabled by default remains09:58
openstackgerritSorin Sbarnea (zbr) proposed zuul/zuul master: Replace cookie use with localStorage  https://review.opendev.org/73945410:12
*** rfolco has joined #zuul10:37
*** jcapitao is now known as jcapitao_lunch10:57
openstackgerrityatin proposed zuul/zuul-jobs master: [DNM] Test task in a role  https://review.opendev.org/73946311:02
openstackgerritJan Kubovy proposed zuul/zuul master: Scheduler's pause/resume functionality  https://review.opendev.org/70973511:43
openstackgerritJan Kubovy proposed zuul/zuul master: Separate connection registries in tests  https://review.opendev.org/71295811:43
openstackgerritJan Kubovy proposed zuul/zuul master: Prepare Zookeeper for scale-out scheduler  https://review.opendev.org/71726911:44
openstackgerritJan Kubovy proposed zuul/zuul master: Mandatory Zookeeper connection for ZuulWeb in tests  https://review.opendev.org/72125411:44
openstackgerritJan Kubovy proposed zuul/zuul master: Connect merger to Zookeeper  https://review.opendev.org/71622111:44
openstackgerritJan Kubovy proposed zuul/zuul master: Connect fingergw to Zookeeper  https://review.opendev.org/71687511:44
openstackgerritJan Kubovy proposed zuul/zuul master: Connect executor to Zookeeper  https://review.opendev.org/71626211:44
*** olaph has joined #zuul11:48
*** bhavikdbavishi has quit IRC11:52
*** pabelanger has left #zuul12:02
*** rlandy has joined #zuul12:05
*** jcapitao_lunch is now known as jcapitao12:08
*** bhavikdbavishi has joined #zuul12:18
*** ysandeep is now known as ysandeep|afk12:38
*** rlandy is now known as rlandy|ruck12:45
openstackgerritSorin Sbarnea (zbr) proposed zuul/zuul master: WIP: Add user preferences dialog  https://review.opendev.org/73948212:47
*** ysandeep|afk is now known as ysandeep12:56
*** Goneri has joined #zuul12:57
openstackgerritSorin Sbarnea (zbr) proposed zuul/zuul master: Replace cookie use with localStorage  https://review.opendev.org/73945413:17
*** rlandy|ruck is now known as rlandy|ruck|mtg13:30
*** bhavikdbavishi has quit IRC13:37
*** nils has quit IRC13:43
openstackgerritFelix Edel proposed zuul/zuul master: Introduce Patternfly 4  https://review.opendev.org/73622513:46
openstackgerritFelix Edel proposed zuul/zuul master: PF4: Update "fetching info ..." and refresh animation  https://review.opendev.org/73801013:46
openstackgerritFelix Edel proposed zuul/zuul master: PF4: Update buildset result page (new layout and styling)  https://review.opendev.org/73801113:46
openstackgerritFelix Edel proposed zuul/zuul master: PF4: Add new Zuul logo with text  https://review.opendev.org/73803313:46
*** felixedel has joined #zuul13:46
felixedelzuul-maint: Kindly asking for a review on https://review.opendev.org/#/c/736225/ I would really like to get that change in first, so any further web UI updates could utilize Patternfly 413:48
zbrwas someone working to remove venv req from tox jobs?14:00
zbrfelixedel: how close to ready is the pf4 change? is see you keep updating it.14:03
felixedelzbr: The initial PF4 patch is ready for review from my side. I just noticed a missing margin value on the change page today while working on a different change and added it directly to that patch :)14:07
zbri will try to look at it and see if there are any serious issues, minor stuff can be fixed in followups, IMHO14:08
felixedelThanks14:08
zbrsomehow i see quite hard to merge any changes to UI, i keep hiting blockers, like outdated react, now outdated patternfly, or just hard to get cvorum as almost always I found someone that prefers the "old behavior".14:10
felixedelWith that we would at least solve the outdated patternfly issue ;-)  And as I feel similar, I really would like to get that change in before I continue further with the PF4 updates as this might result in a lot of rebasing in case someone has complains about this change.14:12
fungiit's not "old behavior" until it's replaced, until then it's "current behavior" ;)14:13
zbrfungi: yeah. hopefully, adding experimental options would make these changes easier to go in.14:14
tobiashzbr: I think your local storage change is a good start to make this possible without having issues because of the cookies14:15
zbrtobiash: that is why I opened it, not because I was personally concerned about GDPR14:15
avasszbr: venv was delayed until july 16 to give ansible some time: http://lists.zuul-ci.org/pipermail/zuul-discuss/2020-June/001264.html14:28
*** rlandy|ruck|mtg is now known as rlandy|ruck14:29
*** felixedel has quit IRC14:30
zbravass: ok. meanwhile i will manually override it in order to avoid some failures caused by it.14:30
zbrfungi: avass tobiash: please help me kill the cookie monster, https://review.opendev.org/#/c/739454/ -- fixed last comments, seems to work very nice.14:31
tobiashzbr: I already looked at it and wanted to have a look at the preview before voting14:32
zbrsure, please test. works nice in preview,... until someone would reply with "it does not work my my custom build browser in magic mode" ;)14:33
zbrlocalStorage can be used to keep a lot of data, probably is also much faster than cookies, which often disable some caching14:35
zbra reverse proxy cannot usually cache requests coming with different cookies, as it would expect possible different server responses based on them14:36
corvusi agree that localstorage is probably a better fit (even though i also don't believe there is a gdpr problem); and the patch works for me in preview14:37
corvusmhu: do you want to take another look or should we +w 739454?14:38
avasscorvus: oh since you're here. you might want to release the hold on 158.69.68.12 if you're done with it :)14:38
zbrany legal discussion would only guarantee pain, so better to avoid that debate.14:38
corvuszbr: i don't think it would guarantee pain, i think it would provide clarity14:38
zbrcorvus: you are welcomed to lead that quest if you want, i have no spare energy.14:40
mhucorvus, I didn't test the suggestion I made, if you give me a few minutes I can deploy and make sure it works as intended14:40
corvusi don't think it's necessary; there seems to be widespread consensus that our existing and future use of cookies are not subject to gdpr issues14:40
corvusmhu: can you test it with the site preview?14:40
mhucorvus, I'm not sure, when I tried to open tabs from the site preview I got a "file not found"14:41
corvusmhu: yeah, you can't deep link, but maybe you can just open another tab from the base url?14:42
mhujust a moment, let me fetch the change, spawn the dev build and I'll test it out14:42
corvuseg https://ddd63cdd8cfb9f3fb3ba-183a764968d603a8e1bec46158333aa8.ssl.cf2.rackcdn.com/739454/2/check/zuul-build-dashboard-opendev/814664b/npm/html/14:43
corvusmhu: i opened another tab and the setting did not persist14:43
mhucorvus, well there you have it then :/14:43
corvuscould that be a quirk of the preview site?14:44
mhuI had a hunch I might have fumbled it, sorry zbr14:44
zbrcorvus: can you send an email and CC me to foundation lawyer?  https://gdpr.eu/cookies/ has written black on white: MUST Receive users' consent before you use any cookies except strictly necessary cookies.14:44
corvusmhu, zbr: oh wait, i was wrong; i think it is working14:45
mhucorvus, it seems to be working on my dev build too14:45
zbrand TZ cookie is clearly not a strictly necessary, it counts as a "preference" one.14:45
mhuso I'm good with +w14:45
corvuszbr: this is what a lawyer would call a "moot" point and therefore not actionable.14:45
corvuszbr: so no, i won't write your email for you.  but i will land your change.14:46
corvuszbr: i think it's a good change, thanks :)14:47
mhuif we're having a web UI review party, I'd like to get some opinions on https://review.opendev.org/#/c/737290/ (i18n)14:48
zbrthanks. be extra careful with my js/react changes, i google a lot for each line i write.14:48
corvuszbr: the life of a modern programmer :)14:48
corvusmhu: ooh i'm digging the _14:49
mhuIt's a big change to maintain so I'd like to have it merged sooner than later - especially if the patternfly 4 lands14:49
openstackgerritTobias Henkel proposed zuul/zuul master: Correctly handle skipped jobs on retries  https://review.opendev.org/73951114:49
zbrcorvus: i am curious what you think about https://review.opendev.org/#/c/739482/ -- not much to see in preview (empty dialog) but i am curious about the idea/concept.14:49
corvusmhu: i was also thinking it should be possible to make a component right?  like "<t>Translated text</t>" ?14:50
zbri need to know if I start moving config items to it.14:50
corvusmhu: is that at all useful?14:50
mhucorvus, it wouldn't be much different from the original <Translate > that comes from the react lib then?14:51
mhuexcept the translated text has to be passed as a prop14:52
mordredcorvus: I think we should change the official zuul term for config project to "Environnement d'exécution sûr"14:52
zbrnobody implemented a _() function like on gettext for react? that was pretty neat.14:52
corvuszbr: i like the concept (a lot actually); i think mhu suggested that we put it behind the user login change?  login won't be required, but it seems like that's further along and they might conflict a bit.14:53
* mordred likes the preferences dialog concept a lot too14:54
corvusmhu: well, my biggest concern was the strings being constants.  i think the most important thing is "just have the strings inline"; then whether you use "<Translate>", "<t>" or "{_()}" is gravy14:54
zbri doubt it would not be easy to migrate the preferences to something compatible when user login lands. also lots of admins will not want to allow logins anyway14:54
mhumordred: shall I add you to the unofficial list of french translators? :)15:00
corvusi think mordred was suggesting we adopt the french term universally :)15:01
zbrwhile I do have a long experience in i18n, it does not cover JS world. still same issues apply everywhere.15:01
mordredmhu: oui. le chat mange!15:01
mhumordred, le chat mange dans un contexte d'exécution sûr?15:01
zbrI do not see any utility to extract and update language strings15:02
mordredmhu: bien sûr15:02
zbrfrench will be fun, "pass build" or "pas build" ;)15:03
mhucorvus, most strings I came upon were constants, but there was the occasional templated string (page titles mostly), and singles/plurals handling (which was non-existent before so it's an improvement)15:04
mhuzbr, actually some translations (or non-translations) to french were head scratchers, I'll be counting on other french users to give feedback on them15:04
fungihttps://messageformat.github.io/Jed/15:05
corvusmhu: sorry i meant referring to the strings by symbolic constants in the code (ie "<Translate text="SYMBOLIC_CONSTANT">"15:05
mhucorvus, oh right15:06
zbrcorvus: tbh, I would be against using constants. Every project that used that become a PITA to maintain  as it required two step searches15:06
*** hashar has quit IRC15:06
mhuit's just a few of them IIRC, templates and a very long string15:07
corvuszbr: yes, that was my position too, which is why i suggested mhu look for alternatives, which he did, and the new patch is much improved.15:07
mordredmhu: just to make things potentially complex for your french translation - we've discussed adding a 3rd type of project, a "tenant config project" which would be like a tenant-specific config project but which does not allow executing code on executors. I don't know if that would make the "safe execution context" and "unsafe execution context" translations become awkward15:07
corvusfungi, mhu: jed looks interesting15:07
* corvus breakfasts15:07
zbrthis is what i would have used: https://www.npmjs.com/package/react-gettext -- i have no idea how good is this impementation, but I know that gettext does i18n very well.15:08
mhuit has to play well with redux as well15:09
zbrwhich is not easy, only google about plural strings and you may need a vacation to recover15:09
mhuthe first lib I used crashed completely unrelated parts of the UI15:09
mordred\o/15:09
zbrmaybe switching to pf4 fist would be a good idea15:10
mhuAs much as it pains me just thinking of what rebasing will be like, I agree :)15:10
zbrwe do not want to endup not being able to upgrade pf due to an outdated i18n library15:10
zbrcorvus: mordred: any of you against moving the TZ selector under the config dialog? or you think is key to be always visible on screen?15:18
zbri wonder if there is a way to register preferences from various places in the app, and render them in a dialog without known about each of them.15:20
zbrso we would not have to update the preferences dialog when adding a new user configurable option.15:20
corvuszbr: we probably need to at least display it on screen all the time15:20
zbri was afraid you may say so. i need one option to add to my dialog, i doubt I can merge it is as is, with zero preferences in it.15:21
fungiit makes sense for the ui to always indicate what tz any times it's displaying are relative to (for sake of clarity/specificity), and at that point it may as well also be a clickable ui element for switching on the fly15:22
*** ysandeep is now known as ysandeep|away15:22
zbrhow many computers or websites do display the current TZ by default?15:23
zbri will probably start by moving the auto-reload button from status page, that one should be less controversial15:23
fungias someone who always wants to see times in utc, i assume all times are in utc unless otherwise specified15:24
*** sshnaidm|ruck is now known as sshnaidm|mtg15:24
fungibut if an interface doesn't indicate, then that's frustratingly vague15:24
fungimost services also aren't displaying logs and events intended for correlation15:24
zbrfungi: same with me. you cannot imagine what kind of endless debates I had in the past regarding setting servers to TZ.15:24
zbrmany said i was crazy, until they had to move the VM to another region :D15:25
fungiwhat, you don't want to know whether it's nighttime where your virtual machine is located: ;)15:26
*** sgw1 has joined #zuul15:27
mordredzbr: anyone who argued against you about setting server timezones to UTC was wrong ;)15:33
*** hamalq has joined #zuul15:36
*** holser has quit IRC15:39
*** holser has joined #zuul15:39
openstackgerritAlbin Vass proposed zuul/zuul master: Add swedish locale  https://review.opendev.org/73952415:52
avass:)15:52
*** marios is now known as marios|out15:52
*** hashar has joined #zuul15:52
mhuavass, any trouble with adding the locale?15:53
avassmhu: well, mostly the swedish language and how we use english words for everything ;)15:54
avassbut no not really, I think it was pretty straight forward15:54
*** marios|out has quit IRC15:54
mhuavass, my swedish is very rusty, is it normal that plurals are the same as singles, for example events_* ?15:55
avassit depends on the word really15:56
avassI might need to get input from someone else on this first since some things are still a bit strange. like 'change' would technically be 'förändring' but no one says that and uses change instead.15:56
mhuI had the exact same questioning15:57
fungiit's the case in many, many languages. english terms have been used so extensively in technical contexts for so long that users find it strange seeing them localized, i'm told15:58
mhutrue15:59
tobiashdefinitely, e.g. I cannot work with a german horizon, I always switch back to english15:59
avassabsolutely, no one would understand what I meant if I used the swedish words for a lot of things16:00
openstackgerritJan Kubovy proposed zuul/zuul master: Scheduler's pause/resume functionality  https://review.opendev.org/70973516:12
openstackgerritJan Kubovy proposed zuul/zuul master: Separate connection registries in tests  https://review.opendev.org/71295816:12
openstackgerritJan Kubovy proposed zuul/zuul master: Prepare Zookeeper for scale-out scheduler  https://review.opendev.org/71726916:12
openstackgerritJan Kubovy proposed zuul/zuul master: Mandatory Zookeeper connection for ZuulWeb in tests  https://review.opendev.org/72125416:12
openstackgerritJan Kubovy proposed zuul/zuul master: Connect merger to Zookeeper  https://review.opendev.org/71622116:12
openstackgerritJan Kubovy proposed zuul/zuul master: Connect fingergw to Zookeeper  https://review.opendev.org/71687516:12
openstackgerritJan Kubovy proposed zuul/zuul master: Connect executor to Zookeeper  https://review.opendev.org/71626216:12
*** jcapitao has quit IRC16:16
*** bhavikdbavishi has joined #zuul16:18
openstackgerritSorin Sbarnea (zbr) proposed zuul/zuul master: WIP: Add user preferences dialog  https://review.opendev.org/73948216:19
*** sgw1 has quit IRC16:21
*** sgw1 has joined #zuul16:23
avasszuul-jobs-maint: we should merge: https://review.opendev.org/#/c/727158/ by the way :)16:25
*** sgw1 has quit IRC16:31
*** bhavikdbavishi1 has joined #zuul16:33
*** sgw1 has joined #zuul16:34
*** bhavikdbavishi has quit IRC16:35
*** bhavikdbavishi1 is now known as bhavikdbavishi16:35
zbrare these zuul-upload-image errors exppected? https://zuul.opendev.org/t/zuul/builds?job_name=zuul-upload-image&project=zuul/zuul17:00
zbrlooks like a very bad success rate for a gate job17:00
*** harrymichal has joined #zuul17:01
zbrdmsimard: do you know any reasons why we should keep the popup on result-label and not to put it as expandable task info?17:08
zbrnow the extend section has few fields than the full popup, but the difference is kinda small, would be much easier to have a single display method.17:09
zbri would even try to change how we display to waste less space on screen, most fields are single line so better displayed in column mode (would reduce vert space to ~1/3 for these)17:10
zbris it quite easy to figure out what field is small or big.17:10
*** hashar has quit IRC17:22
openstackgerritMerged zuul/zuul-jobs master: Make persist-iptables more robust  https://review.opendev.org/73906117:33
openstackgerritSorin Sbarnea (zbr) proposed zuul/zuul master: Reduce table nesting on build pages  https://review.opendev.org/73955917:34
dmsimardzbr: I don't have a strong opinion on UI/UX17:35
openstackgerritSorin Sbarnea (zbr) proposed zuul/zuul master: Reduce table nesting on build pages  https://review.opendev.org/73955917:37
zbrdmsimard: i started a process of simplification of the UI, I think that we have too many nested containers visible in the UI17:39
zbrwhile react may require them, it does not mean that they all need to be visible to the user.17:40
mhucorvus, regarding your comment on the PatternFly4 change, does that mean it's going to be the next "big" change in the UI and all other patches should be rebased on it if needed?18:04
mhujust trying to get a sort of timeline here18:04
corvusmhu: that wasn't really my intent; i'm not sure if it's that disruptive.  it has some conflicts, but not a lot.  do you think it is?18:05
mhucorvus, I can attempt a rebase and see if there are any problems, it should always be possible to revert back18:06
mhuit's just that in the case of i18n, both changes impact so many files that I'd expect conflicts18:07
corvusmhu: yeah, that one seems likely.  i think felix is pretty close, so that might be reasonable.  i'm open to suggestions about how to proceed :)18:08
*** y2kenny has joined #zuul18:09
y2kennyIf I get "Executing local code is prohibited", is the module in question completely blocked? or is it just an issue with untrusted project and the playbook would work in a config project?18:11
corvusy2kenny: the second18:11
y2kennycorvus: sweet.  thanks!18:11
y2kenny(I was trying to use the xml) module18:13
openstackgerritJames E. Blair proposed zuul/zuul master: Update Zuul logo  https://review.opendev.org/73956818:16
mhucorvus, I'd suggest working all together to land PF4 first, then look at i18n - if folks want to have a stab at other libs, and also think about the future translation workflow18:17
openstackgerritGuillaume Chauvel proposed zuul/zuul master: scheduler: Fix event process abide hasUnparsedBranchCache argument  https://review.opendev.org/73904218:17
openstackgerritGuillaume Chauvel proposed zuul/zuul master: Fix branch name and project name for ref-updated create/delete  https://review.opendev.org/73832018:17
openstackgerritGuillaume Chauvel proposed zuul/zuul master: FakeGerritChange: Add Change-Id in commit message  https://review.opendev.org/73919718:17
openstackgerritGuillaume Chauvel proposed zuul/zuul master: WIP: Scheduler: Reconfiguration ref-updated create/delete  https://review.opendev.org/73919818:17
openstackgerritGuillaume Chauvel proposed zuul/zuul master: WIP: Scheduler: Reconfiguration ref-updated oldrev+newrev  https://review.opendev.org/73907818:17
corvusmhu: sounds good.  i just did my part to help with pf4 ^ :)18:17
mhuas in: "my change added new strings to translate. Now what?"18:17
*** bhavikdbavishi has quit IRC18:25
*** bhavikdbavishi has joined #zuul18:26
*** rlandy|ruck is now known as rlandy|mtg18:28
openstackgerritGuillaume Chauvel proposed zuul/zuul master: Fix branch name and project name for ref-updated create/delete  https://review.opendev.org/73832018:44
openstackgerritGuillaume Chauvel proposed zuul/zuul master: FakeGerritChange: Add Change-Id in commit message  https://review.opendev.org/73919718:44
openstackgerritGuillaume Chauvel proposed zuul/zuul master: WIP: Scheduler: Reconfiguration ref-updated create/delete  https://review.opendev.org/73919818:44
openstackgerritGuillaume Chauvel proposed zuul/zuul master: WIP: Scheduler: Reconfiguration ref-updated oldrev+newrev  https://review.opendev.org/73907818:44
*** hamalq has quit IRC18:49
*** hamalq has joined #zuul18:49
*** bhavikdbavishi has quit IRC18:52
*** sshnaidm|mtg is now known as sshnaidm|ruck19:01
*** rlandy|mtg is now known as rlandy19:17
openstackgerritJames E. Blair proposed zuul/zuul master: Update Zuul logo  https://review.opendev.org/73956820:21
corvustobiash: it seems like we may need one more zuul 3.x release to get the new kazoo once that's released, that way there's a tagged container image with that in it (otherwise, we can't really require zk tls, can we?)20:38
tristanCcorvus: do we want to create zuul tag to update the zuul image?20:40
corvusif that's the case, then i think our timeline is: wait for kazoo, upgrade opendev to tls zk, issue 3.19.1 (and nodepool 3.13.1) then start working on 4.x20:40
corvustristanC: what do you mean?20:40
tristanCcorvus: zuul-3.19.0 (source) release doesn't pin the kazoo version, thus installing or updating it after a new kazoo release would be enough20:42
tristanCcorvus: would we tag 3.19.1 over the 3.19.0 ref?20:42
fungithat's a good point, it's a packaging revision, unless we want to update the minimum kazoo version in requirements20:43
corvustristanC: ah gotcha.  that's a good point, we could just double tag the same sha20:43
corvuswe'll get the image build we want, with minimal other changes20:43
corvusthat should mean we don't have to worry about landing big changes20:43
corvus(so we could, for example, merge the pf4 change, which i don't think should be going into zuul v3)20:44
tristanCcorvus: but wouldn't that be a release without a note? Perhaps we need a change that force kazoo>2.7.0 requirement min ver20:44
corvusi wonder what reno will do in that case.20:46
fungithat could also be done with a temporary branch... make stable/3.19 from the 3.19.0 tag, merge separate (identical other than their parents) kazoo minimums to stable/3.19 and master, tag that on stable/3.19 as 3.19.1 and then delete the stable/3.19 branch?20:46
mordredcorvus, tristanC: I think a min-bump might be a nice thing though - as a way to signal that the newer kazoo is _important_20:47
corvusi would be okay waiving the 'no release without a note' rule in this case.  we're going to have a lot of messaging about it (sending out emails telling people about the upgrade roadmap, etc).  but i'm also okay with an explicit new release.20:48
mordredbut - I don't think we have to and could also totally go for a double-tag20:48
corvusfungi: you make it sound not very hard.  maybe we should do that.20:48
corvusmordred: we're in violent "meh" :)20:48
mordredyeah.20:48
mordredI think I like fungi's thing perhaps20:48
corvusme too20:48
fungiit's a dance openstack used to do often for libary point releases before they just started branching them all in case they needed one20:49
corvusi think we have consensus on that for now.20:49
fungier, library20:49
tristanCif it's not too much work, then fungi's proposition seems ideal20:49
mordredare we getting a new kazoo release?20:49
corvus1) kazoo release; 2) branch stable/3.x from 3.19.0; 3) land kazoo version bump with release note; 4) tag 3.19.1; 5) delete stable/3.x20:50
corvusmordred: they seem amenable to doing that this week: https://github.com/python-zk/kazoo/issues/62120:50
fungiin theory reno should be fine with it, since the 3.19.1 release notes are discoverable from a tag (otherwise reno would be broken for any openstack projects which deleted branches after eol)20:50
corvusor next, depending on the time zone where that comment was written20:50
corvusfungi: yeah; i don't know what reno would do on a double tagged sha20:51
corvusmaybe just "3.19.1\n3.19.0\nFeatures..."20:51
corvusbut i guess we won't find out :)20:51
fungiwe could find out, it's all doable locally without pushing anywhere20:52
corvusyep20:52
fungibut i have no reason to find out20:52
fungiother than morbid curiosity20:52
fungiand i'm morbid enough already20:52
mordredcorvus: woot! (re release)20:53
*** hashar has joined #zuul20:54
y2kennyis there anyway to search the log of this irc?  (I am trying to find an answer answered here previously)  Googling with eavesdrop don't seems to yield all the result21:13
mnasery2kenny: http://eavesdrop.openstack.org21:16
mnaser"IRC Channel Logs"21:16
mnaserhttp://eavesdrop.openstack.org/irclogs/%23zuul/ :)21:16
y2kennymnaser: right... I am trying to find a search function...  Google seems to only index some of the pages...21:18
mnaseroh, like a search across eavesdrop.. oh21:18
mnasery2kenny: have you tried using the google modifiers so i would search... site:eavesdrop.openstack.org inurl:zuul foobar21:19
mnaserand that should search for foobar for everything that's indexed but google but eh21:20
mnaseri don't think we have an eavesdrop search per say21:20
y2kennyI did... and I only find one result with my name which is not a lot... I wonder how google decide what to index...21:20
y2kennyI just ended up wget the logs and grep :P21:22
fungiyeah, better searchable irc logging for opendev has been on my to do list for a very long time, but so many other things always take precedence21:25
fungii mean, the logging itself is fine (modulo the bot itself needing an overhaul), but the presentation could be improved and some searchable index would be really, really useful21:26
fungithe main reason it hasn't been any higher priority for me is that i keep my client connected and joined to all the channels i care about every minute of the day (excepting server outages and netsplits), so i can locally grep the logs for any channel21:27
*** harrymichal has quit IRC21:27
y2kennyfungi: I have been meaning to get more advance usage with irc myself but freenode has been a bit too easy... :)21:28
y2kennyquestion about fan out job.  If I want to run the same playbook across a range of label/node type or a range of variables, do I have to define a seaparte job for each of those label/variable?  Is there some shortcut to spawn multiple job from one job definition?21:50
fungithere is (currently) no job "generator" to create multiple jobs from a matrix of values, though it has come up before as something somebody might want to work on adding21:53
y2kennyfungi: ok thanks.  I was wondering if there are some yaml hack / syntactic thing that I can try.21:54
y2kennyI did not know there is pointer in yaml until this year :)21:55
fungiyou can use yaml anchors to reuse lists of variables within the same file, but beyond that i'm not aware of any real magic in the yaml spec21:55
y2kennyok21:55
fungier, well, reuse any construct really21:55
fungipointers, yeah that's what i was thinking of21:55
tristanCy2kenny: there is this some additional infos about multiple job definition in this review https://review.opendev.org/#/c/708406/21:56
y2kennytristanC: that looks pretty cool21:56
y2kennyswitching gear a bit... for nodepool, are there any function within the nodepool framework that allows the driver to do something just before a node is assigned to be used?21:58
y2kennyI see 'launch' which makes the node ready to be use by a job but I don't think there's other thing (I may have missed it)21:59
fungithere used to be a concept of "ready scripts" for nodepool, looking now to see if those still exist21:59
y2kennyready script.... let me see...21:59
*** Goneri has quit IRC22:00
y2kennythe use case I am trying to handle is that a node that have launch may have gone stale (something have timeout for example) and the node is no longer useable.  So I want to do a check just prior to the node getting consumed (or if there's another way to check the freshness of the launched node I am open to that as well.)22:00
fungiit looks like https://review.openstack.org/445567 removed ready scripts (they were a thing before nodepool v3)22:02
fungiyou could add a pre phase playbook in your base job which checks the node's freshness. if a pre playbook fails zuul should retry with another node request22:03
y2kennyum... ok22:04
fungiready scripts weren't really that anyway, they ran after a node was launched before it was marked ready (available)22:04
fungiso wouldn't have caught stale nodes22:04
tristanCy2kenny: perhaps the `max-ready-age` attribute would work?22:05
fungiyeah, if it's strictly age you're concerned with, that's the way to go22:05
fungiif you're worried the node might have died while it was waiting to be used, then not necessarily helpful22:05
y2kennytristanC: let me take a look at that...22:05
fungibut also if the node is dead and zuul can't connect to it, then it will also retry with a new node request anyway22:06
y2kennyoh the max-ready-age might be useful22:06
y2kennyfungi: that is true but the cobbler driver is doing something that is a bit... funky... I might need to re-think some of the stuff22:07
y2kennycurrently it behave kind of like the k8s namespace type22:08
y2kennyit will pretty much always return something success but some of the data has a timeout22:08
fungioh, ick22:09
y2kenny(I try to let the driver generate a auth token to talk to cobbler and then pass that up to the job for consumption but that token has a limited life time.22:09
y2kenny)22:09
y2kennyit would be kind of like the k8s driver creating the namespace and create all the certs and such but those certs expires in one hour.22:10
fungiyeah, max age is probably good for that then22:11
y2kennyso max-ready-age will definitely help side step this.22:11
y2kennybut then now I think... what  if the job itself take longer than an hour... but if that's the case, even the API I was asking about at the beginning won't help22:11
y2kennysince the token is valid at the beginning of the job.22:12
y2kennyI probably need to rethink where the auth/security should happen22:12
fungii guess the token can't be used to renew itself22:12
y2kennyit can and should but I still run into problem with the token expiring.  And I also can't rule out the job being longer than the renew period.22:14
y2kennyI have been using the cleanup loop to periodically refresh the token.22:14
y2kennyanyway... I should probably think about this some more.22:14
*** rfolco has quit IRC22:43
*** tosky has quit IRC22:49
*** rfolco has joined #zuul22:51
openstackgerritGuillaume Chauvel proposed zuul/zuul master: WIP: Scheduler: Reconfiguration ref-updated create/delete  https://review.opendev.org/73919823:07
openstackgerritGuillaume Chauvel proposed zuul/zuul master: WIP: Scheduler: Reconfiguration ref-updated oldrev+newrev  https://review.opendev.org/73907823:07
*** hashar has quit IRC23:56

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!