Tuesday, 2020-11-03

*** smyers has quit IRC00:08
*** smyers has joined #zuul00:09
*** tosky has quit IRC00:26
*** hamalq has quit IRC01:41
*** ianychoi has quit IRC03:00
*** bhavikdbavishi has joined #zuul03:06
*** bhavikdbavishi1 has joined #zuul03:09
*** bhavikdbavishi has quit IRC03:10
*** bhavikdbavishi1 is now known as bhavikdbavishi03:10
*** ianychoi has joined #zuul03:21
*** zenkuro has quit IRC03:36
*** wuchunyang has quit IRC03:39
*** smyers has quit IRC03:47
*** smyers has joined #zuul03:49
*** bhavikdbavishi has quit IRC04:28
*** bhavikdbavishi has joined #zuul04:29
*** saneax has joined #zuul05:06
*** evrardjp has quit IRC05:33
*** evrardjp has joined #zuul05:33
*** bhavikdbavishi1 has joined #zuul06:32
*** bhavikdbavishi has quit IRC06:33
*** bhavikdbavishi1 is now known as bhavikdbavishi06:33
*** bhavikdbavishi1 has joined #zuul06:48
*** bhavikdbavishi has quit IRC06:50
*** bhavikdbavishi1 is now known as bhavikdbavishi06:50
*** bhavikdbavishi has quit IRC06:58
*** vorotech has joined #zuul07:03
*** vishalmanchanda has joined #zuul07:23
*** mach1na has joined #zuul07:23
*** bhavikdbavishi has joined #zuul07:25
*** bhavikdbavishi1 has joined #zuul07:27
*** bhavikdbavishi has quit IRC07:29
*** bhavikdbavishi1 is now known as bhavikdbavishi07:29
*** vorotech has quit IRC07:42
*** vorotech has joined #zuul07:54
*** vorotech has quit IRC07:57
*** vorotech has joined #zuul08:01
*** mach1na has quit IRC08:01
*** hashar has joined #zuul08:03
*** jcapitao has joined #zuul08:05
*** fbo|off is now known as fbo08:14
*** rpittau|afk is now known as rpittau08:19
*** frenzyfriday has joined #zuul08:29
*** vorotech has quit IRC08:35
*** mach1na has joined #zuul08:38
*** mach1na has joined #zuul08:39
*** tosky has joined #zuul08:40
*** vorotech has joined #zuul08:40
*** mach1na has quit IRC08:49
*** jpena|off is now known as jpena08:56
openstackgerritzbr proposed zuul/zuul-jobs master: More E208 fixes  https://review.opendev.org/76109008:56
*** mach1na has joined #zuul09:01
*** bhavikdbavishi has quit IRC09:06
*** frenzyfriday has quit IRC09:44
*** sshnaidm|afk is now known as sshnaidm|rover09:56
openstackgerritzbr proposed zuul/zuul-jobs master: More E208 fixes  https://review.opendev.org/76109010:05
tobiashavass: commented on the nimble roles10:10
avasstobiash: reasonable, I'll update later10:13
tobiashclarkb: replied on https://review.opendev.org/72024910:24
webknjazAnybody wants to advertise Zuul to pip? https://github.com/pypa/pip/issues/727910:44
*** mach1na has quit IRC10:53
*** mach1na has joined #zuul10:58
*** bhavikdbavishi has joined #zuul11:21
*** bhavikdbavishi1 has joined #zuul11:28
*** bhavikdbavishi has quit IRC11:30
*** bhavikdbavishi1 is now known as bhavikdbavishi11:30
*** jcapitao is now known as jcapitao_lunch11:36
avasswebknjaz: taht would have been cool. I still don't understand what people don't like about the UX, I keep seeing complaints that it's 'bad' but I haven't seen any specifics on what's bad about it11:44
avasswebknjaz: oh, looking a zbr's reply I guess that's because I'm using gerrit. That zuul only reports a single check for github is _slightly_ annoying11:52
zbri think that pabelanger was involved with github integration but I am sure that webknjaz could be able to extend it to make it appear as multiple checks.11:54
zbri never touched that integration.11:54
zbravass: here is a hint, zuul still fails to render ANSI. my changes failed to merge.11:55
avassI don't think you could since zuul only reports once for each buildset11:55
zbri do understand why some people complain about zuul UI, that was the reasons why i tried to improve the UX.11:55
zbrhmm, better to wait for input from those that know the internals11:56
zbrclearlty there is a way to query in progress builds, the js extension for gerrit is still working11:56
zbrit may not push the status, but you clearly can query its progress.11:57
avassIf you can do that in github then it should work I guess11:57
zbri am sure they would not allow you to write javascript that runs on their servers.11:57
avass:)11:57
*** rfolco has joined #zuul12:00
*** vorotech has quit IRC12:00
*** nils has joined #zuul12:01
*** mach1na has quit IRC12:05
*** vorotech has joined #zuul12:09
tobiashavass, zbr: it's one check for a very good reason which is also explained here: https://zuul-ci.org/docs/zuul/discussion/github-checks-api.html#design-decisions12:10
avassmakes sense to me12:14
*** vorotech has quit IRC12:20
*** vorotech has joined #zuul12:21
*** rlandy has joined #zuul12:26
*** jcapitao_lunch is now known as jcapitao12:27
*** vorotech has quit IRC12:31
*** jpena is now known as jpena|lunch12:32
*** vorotech has joined #zuul12:36
zbrclearly a good source of information but i am not fully convinced12:44
zbrit assumes user would want to use zuul for both check/gate for example12:44
zbravass: see https://github.com/ansible/ansible-lint/pull/1089 -- clarkb mentioned it yesterday.12:49
avasszbr: lgtm12:52
*** mach1na has joined #zuul13:02
tristanCzbr: looking at the "208 mode fixes" changes, it seems like we mostly make the default mode explicit, what is wrong with omitting the default, isn't ansible always using 755/644 ?13:04
avasstristanC: ++13:04
avassI would guess it came from ansible changing the default mode, but since that was fixed I'm not sure if we want it to be this verbose13:05
tristanCavass: yeah, i'd like to understand what is the reasoning, it seems like in some situation the default behavior would be unexpected, but i have yet to find an example of such situation...13:06
webknjaz@avass: I think that "bad UX" mostly means that it brings a lot of unfamiliar stuff to the world outside of the openstack bubble + yes the GH integration could be better.13:19
webknjaz@zbr: I proposed expanding the checks properly in this channel some time ago but people couldn't agree on how it should work13:20
webknjaz@avass: one of the differences in, as zbr said, ANSI in logs. That is something that is native to all the other CIs people use. Of course, folks would consider it a bad UX13:22
openstackgerritzbr proposed zuul/zuul master: Enable ANSI rendering via react-ansi  https://review.opendev.org/73944413:25
webknjaz@tobiash: as I mentioned before, that problem with checks is solvable by reporting a static check for gate and mapping the rest as usual. This is what would be considered native to the GH bubble13:25
corvuswebknjaz: can you elaborate on that?  what do you mean by "static check for gate"?13:27
zbrwebknjaz: my initial ANSI patch is likely more than year old but a complete rewrite is still open at https://review.opendev.org/#/c/739444/ and seems to find a hard time getting reviews.13:29
zbra problem tobiash reported yesterday, lack of core reviews.13:29
avasszbr: that change doesn't look too hard to review, you don't happen to have en example to link whenver it's done building?13:30
webknjaz@corvus: I meant a static name13:30
avasswebknjaz: I guess that's what we got for github at the moment, but it would report each job separately as well13:31
*** jpena|lunch is now known as jpena13:32
zbrhaving each job separated would be a benefit for github users using zuul as a 3rd party ci (not primary one)13:32
zbrand while this seems bit outside the original zuul design, we should realise that this is the most likely way someone using github would want to try it.13:33
corvuswebknjaz: i still don't understand your suggestion13:33
corvuswebknjaz: i may need it spelled out with more words13:34
corvus"Most importantly, there can only be one check suite per commit SHA, per app."  that seems key.  how would one solve that?13:35
avassI think I need a betteer explanation what "one check suite" means13:37
avasswhat I believe travis does is it has one check for each 'job' and one that reports if all of them has passed (webknjaz can probably correct me here)13:38
avasswhich is what zuul could do13:38
corvusavass: explained in the first pgraph at https://zuul-ci.org/docs/zuul/discussion/github-checks-api.html#design-decisions and further if you follow the first link there13:38
*** zenkuro has joined #zuul13:39
avasscorvus: reading13:39
webknjaz@avass: Travis does not have that but GitHub Actions do13:39
corvusavass, webknjaz: are you suggesting that we have a check suite consisting of the jobs "pep8, py27, check" and the check job is a meta-job which reports whether all the jobs in the check pipeline passed.  then add a "gate" meta-job which gets added if all the jobs in the gate pipeline pass?13:41
openstackgerritzbr proposed zuul/zuul master: Enable display of dnf/yum failures inside console  https://review.opendev.org/73483313:42
avasssomething along those lines13:42
corvuszbr: i'm all for accomodating folks that want to use zuul as advisory, however we can't do that at the expense of zuul's primary mission: to be a project gating system.  so we have to support the gating workflow if people want to upgrade to it.13:44
webknjaz@corvus: yes, that's what I want. Plus there was a proposal in the past to make it toggleable so that folks could choose13:44
webknjazIf there's multiple pipelines in Zuul, it could use prefixes for check names too13:45
corvuswebknjaz: makes sense13:45
corvuswebknjaz: do you think you could write up a description of that and send it to the zuul-discuss list?  it sounds like there may be a solution there, but it's going to require some detailed thought and the ml is better for getting all our github experts looking at it.13:45
webknjazWhere's that list?13:46
webknjazI'll try13:46
corvuswebknjaz: http://lists.zuul-ci.org/cgi-bin/mailman/listinfo/zuul-discuss13:46
webknjaz👍13:47
*** mach1na has quit IRC13:55
*** mach1na has joined #zuul13:56
*** mach1na has quit IRC13:56
*** mach1na has joined #zuul13:56
openstackgerritzbr proposed zuul/zuul master: Consolidated javascript identation  https://review.opendev.org/74970214:02
*** bhavikdbavishi has quit IRC14:05
*** bhavikdbavishi has joined #zuul14:06
openstackgerritzbr proposed zuul/zuul-jobs master: Update ensure-docker for new releases  https://review.opendev.org/75263014:06
*** bhavikdbavishi has quit IRC14:13
*** saneax has quit IRC14:19
*** saneax has joined #zuul14:20
openstackgerritSimon Westphahl proposed zuul/zuul master: Move management and result events to model  https://review.opendev.org/76116314:29
openstackgerritSimon Westphahl proposed zuul/zuul master: Allow (de-)serialization of management events  https://review.opendev.org/76116414:29
openstackgerritSimon Westphahl proposed zuul/zuul master: Allow (de-)serialization of result events  https://review.opendev.org/76116514:29
openstackgerritSimon Westphahl proposed zuul/zuul master: Add missing fields in driver trigger event models  https://review.opendev.org/76116614:29
openstackgerritSimon Westphahl proposed zuul/zuul master: Allow (de-)serialization of trigger events  https://review.opendev.org/76116714:29
openstackgerritSimon Westphahl proposed zuul/zuul master: Interface to get a driver's trigger event class  https://review.opendev.org/76116814:29
openstackgerritSimon Westphahl proposed zuul/zuul master: Clear list of Zookeeper connections after tests  https://review.opendev.org/76116914:29
openstackgerritSimon Westphahl proposed zuul/zuul master: Implementation of Zookeeper backed event queues  https://review.opendev.org/76117014:29
openstackgerritSimon Westphahl proposed zuul/zuul master: Implementation of Zookeeper event watcher  https://review.opendev.org/76117114:29
openstackgerritSimon Westphahl proposed zuul/zuul master: Switch to Zookeeper backed trigger event queues  https://review.opendev.org/76117214:29
*** Goneri has joined #zuul14:36
openstackgerritSimon Westphahl proposed zuul/zuul master: Implementation of Zookeeper backed event queues  https://review.opendev.org/76117014:39
openstackgerritSimon Westphahl proposed zuul/zuul master: Implementation of Zookeeper event watcher  https://review.opendev.org/76117114:39
openstackgerritSimon Westphahl proposed zuul/zuul master: Switch to Zookeeper backed trigger event queues  https://review.opendev.org/76117214:39
openstackgerritzbr proposed zuul/zuul-jobs master: POC: Force color support in ansible-lint  https://review.opendev.org/76117514:48
*** stevthedev has quit IRC14:54
*** stevthedev has joined #zuul14:55
zbravass: please +W again https://review.opendev.org/#/c/752630/ -- failed to merge last time.14:57
*** masterpe has quit IRC14:57
*** Eighth_Doctor has quit IRC14:59
*** mordred has quit IRC15:00
*** decimuscorvinus has quit IRC15:00
*** decimuscorvinus has joined #zuul15:04
clarkbtristanC: aiui there is no published consistent dovumented default15:17
*** sanjayu_ has joined #zuul15:21
*** hashar is now known as hasharOut15:22
tristanCclarkb: would you know when it is not 0755 or 0644 ?15:23
clarkbI dont think 755 or 644 is docimented anywhere?15:24
*** saneax has quit IRC15:24
clarkbI would respond with when is it 644 or 755? and is that documented?15:24
openstackgerritSimon Westphahl proposed zuul/zuul master: Allow (de-)serialization of management events  https://review.opendev.org/76116415:24
openstackgerritSimon Westphahl proposed zuul/zuul master: Allow (de-)serialization of result events  https://review.opendev.org/76116515:24
openstackgerritSimon Westphahl proposed zuul/zuul master: Add missing fields in driver trigger event models  https://review.opendev.org/76116615:24
openstackgerritSimon Westphahl proposed zuul/zuul master: Allow (de-)serialization of trigger events  https://review.opendev.org/76116715:24
openstackgerritSimon Westphahl proposed zuul/zuul master: Interface to get a driver's trigger event class  https://review.opendev.org/76116815:24
openstackgerritSimon Westphahl proposed zuul/zuul master: Clear list of Zookeeper connections after tests  https://review.opendev.org/76116915:24
openstackgerritSimon Westphahl proposed zuul/zuul master: Implementation of Zookeeper backed event queues  https://review.opendev.org/76117015:24
openstackgerritSimon Westphahl proposed zuul/zuul master: Implementation of Zookeeper event watcher  https://review.opendev.org/76117115:24
openstackgerritSimon Westphahl proposed zuul/zuul master: Switch to Zookeeper backed trigger event queues  https://review.opendev.org/76117215:24
tristanCwell it seems to be the case when testing locally15:24
mhuhello zuul-maint, here are a few patches that are ready for a final +3: https://review.opendev.org/#/c/728118/ https://review.opendev.org/#/c/751312/ https://review.opendev.org/#/c/754103/ https://review.opendev.org/#/c/755519/15:25
clarkbtristanC: I think at one point we theorized it may be umask relatrd15:25
openstackgerritzbr proposed zuul/zuul master: Enable ANSI rendering via react-ansi  https://review.opendev.org/73944415:25
*** vorotech has quit IRC15:27
tristanCclarkb: if that's the case, shouldn't we let umask take over?15:27
openstackgerritMerged zuul/zuul-jobs master: Update ensure-docker for new releases  https://review.opendev.org/75263015:27
clarkbtristanC: not necessarily as it can be variable and inapplocable to certain scenarios15:28
clarkbI think being explicit is the right choice for most situations15:28
clarkbthere are cases whereit doesnt make senselike extracting tarballs15:29
zbrtristanC: when ansible_user is different than become_user you can easily get very weird file modes, due to the way ansible transports the files. the final outcome is that umode is not the one from the become user but the one from ansible users.15:29
tristanCzbr: you mean file owner?15:30
zbri do remember reading several long ansible bugs few months back, and the conclusion was to be explicit unless you want surprises.15:30
zbrvery hard to identify surprises15:30
zbrfile owner is fixed by ansible, the issue is around file mode.15:31
zbrfor mode is more complex than chown, which sorts ownership.15:31
*** Eighth_Doctor has joined #zuul15:32
zbruntil Ansible team will document default file modes, i will strongly support explicit modes.15:33
tristanCzbr: shouldn't we wait for a fix upstream instead of adding explicit default everywhere? Do we have a reproducer where 0755/0644 is not used by default?15:38
zbrtristanC: you are welcomed to read the entire collection of issues: https://github.com/ansible/ansible/pulls?q=CVE-2020-173615:41
zbrthe doc update is already 28 days old, not sure what to wait for,15:41
*** mordred has joined #zuul15:41
zbrBut https://github.com/ansible/ansible/pull/71516/files should be a strong enough motivation.15:42
zbrlook at the 3rd file recomandation.15:43
*** mordred has quit IRC15:47
*** Eighth_Doctor has quit IRC15:47
zbrtristanC: i just got confirmation from ansible core team that https://github.com/ansible/ansible/issues/67794 is still open.15:47
tristanCzbr: that seems to indicate the default is indeed world readable15:49
zbrcan != always does, also default is still not documented.15:50
tristanCzbr: but when is this not the case?15:50
tristanCzbr: reading through the issues you linked, it seems like the issue is the otherway around where non world readable setting where incorrectly set15:52
tristanCzbr: having a playbook that demonstrates how the default world readable mode is not set would be help to justify why mode needs to be explicitly defined15:55
*** bhavikdbavishi has joined #zuul15:56
*** Eighth_Doctor has joined #zuul15:57
clarkbya I think the biggest issue here is ansible doesn't actually state a default or expectation around this stuff and has changed the behavior in the past15:59
clarkbas a result it is better to be explicit where we can be16:00
clarkbwhat is the downside to being explicit?16:00
tristanCclarkb: there more than 70 mode missing in zuul-jobs16:02
clarkbtristanC: and if ansible changes the behavior again many of them will likely break? seems worthwhile to do what we can to mitigate against that?16:04
*** mach1na has quit IRC16:06
*** sanjayu_ has quit IRC16:13
*** sanjayu_ has joined #zuul16:13
*** masterpe has joined #zuul16:15
*** mordred has joined #zuul16:15
*** mach1na has joined #zuul16:20
*** vorotech has joined #zuul16:21
*** mach1na has quit IRC16:31
*** sanjayu_ has quit IRC16:37
zbrhttps://review.opendev.org/#/c/761090/ brings the remaining to 56 - few more and we are done.16:45
mnaseri'm having job failures with ensure-package-repositories due to the fact that gnupg is missing from my (slim) image16:46
*** mach1na has joined #zuul16:46
*** rpittau is now known as rpittau|afk16:46
mnaserwould it make sense to install that inside the ensure-package-repositories role?16:46
clarkbmnaser: we add it into our image16:46
clarkband I think there is a change to add it to the dib minimal stuff16:46
mnaserclarkb: right -- i'm just wondering if this follows the push towards "empty base image" stuff that was being driven16:47
clarkbno this is a weird debian thing16:48
clarkbthey've baked in enough gpg stuff to not need the dep by default, but then if you try to use certain commands it breaks16:48
clarkbthere are ways to deal with that by copying the ascii armored files manually or something16:49
*** saneax has joined #zuul16:49
openstackgerritzbr proposed zuul/zuul master: Enable optional pre-wrapping on console and output  https://review.opendev.org/72360316:49
avassmnaser: I'd say that it should16:49
clarkbwell I think the real fix is using those workarounds16:50
clarkbrather than depending on gpg properly16:50
clarkbfungi: ^ you probably know off the top of your head what the details are16:50
mnaseri mean in that case we'd have to fix the ensure-nodejs role (and likely many others)16:50
mnaseri think we have to do some stuff offline then we can download the file staright to trusted.gpg.d16:50
mnaserbut i think as long as we use the apt_key module, we'll need gnupg16:51
clarkbright stop using apt_key then is what I'm suggesting16:51
clarkbsince that is what debian wants you to do16:51
mnaserhttp://codesearch.openstack.org/?q=repositories_keys&i=nope&files=&repos=16:52
openstackgerritzbr proposed zuul/zuul-jobs master: Make .sh browsable on swift logs  https://review.opendev.org/73179516:53
mnaserso i guess we'll have to get rid of those and change the behaviour of ensure-package-repositories .. or ensure that gnupg is installed and flow through the existing setup16:53
clarkbyou don't have to get rid of them entirely you just have to copy the file into the correct spot as debian wants you to aiui16:53
clarkbrather than use the gpg tooling that needs the pacakge16:53
clarkb(my only concern with adding the package is that debian seems to be saying you shouldn't do it that way anymore)16:54
mnaseryou actually have to transform that file before you drop it into trusted.gpg.d16:54
*** vorotech has quit IRC16:54
clarkbI don't think so with modern debian16:54
clarkbwhich is why they dropped the dep16:54
clarkbold debian yes16:54
zbrzuul-maint: https://review.opendev.org/#/c/723837/ -- just say it if you do not find it useful, i will abandon it. even negative feedback is better than none.16:55
avassmnaser: this gives some information https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=85177416:56
openstackDebian bug 851774 in apt-setup-udeb "Stop using apt-key add to add keys in generators/60local" [Serious,Fixed]16:56
zbrthe idea was to make it easier for new folks to make small contributions to zuul, without having to read a lot of docs about how to run/test different parts.16:56
*** vorotech has joined #zuul16:56
*** vorotech has quit IRC16:56
corvuszbr: you may find https://review.opendev.org/88698 interesting16:56
*** mach1na has quit IRC16:57
fungimnaser: clarkb: yeah, see the "SUPPORTED KEYRING FILES" section of the apt-key manpage but on newer debian versions (those with apt 1.4 or newer) you can stick ascii-armored keys into /etc/apt/trusted.gpg.d16:57
zbrcorvus: another change stuck in time intead of being abandoned.16:57
mnaserok so i guess we can replace the apt_key by get_url or whatever16:57
tobiashI guess if we want a makefile we should go with the new version instead of the 2014 version16:58
avassI think so16:58
fungiif you're using an older version of apt you have to use gpg's binary export format for files in there16:58
mnaserstretch seems to have apt 1.416:58
zbrI do not fancy Makefiles themselves, but usually you do not need to touch them.16:58
mnaserbionic is 1.616:58
mnaserxenial is the only fail at 1.216:59
fungiyeah, for those something needs to import the .asc keyfile into a gpg keyring and then export it in binary format to put in /etc/apt/trusted.gpg.d16:59
fungi(for xenial)16:59
mnaserxenial has only a few months on its timeline..17:00
fungiindeed. eol ~april 2021 i think?17:00
zbri really wish to see zuul cores starting to press the abandon button on changes, abandon is not "delete".17:00
*** hamalq has joined #zuul17:01
*** bhavikdbavishi has quit IRC17:01
tobiashI usually hesitate to press the abandon button on changes that are now owned by me17:01
tobiashs/now/not17:01
mnaserhonestly though this seems like a lot of extra work and testing and potentially breakages vs17:03
mnaserinstalling gnupg if it's not there :(17:03
*** bhavikdbavishi has joined #zuul17:03
avasstobiash: yeah the abandon button equals the 'remove from memory' button for me17:03
avassoh I read something else nvm :)17:04
*** mach1na has joined #zuul17:04
mnasercause its easy to workaround for the downloadable keys17:04
mnaserbut then now we have no structure for zuul imported keys on what the file name should be17:05
mnaserbecause it is possible that it is only "data"17:05
zbri found an interesting change about splitting stdout/stderr. https://review.opendev.org/#/c/650276/10 - should we refresh it?17:08
zbri personally find very useful to have stdout/stderr separated.17:09
openstackgerritMohammed Naser proposed zuul/zuul-jobs master: Install gnupg if keys need to be imported  https://review.opendev.org/76120117:10
mnaser^ this is what i can 'afford' to fix in terms of my time constraints :\17:11
mnaserif that's not ok, ill go update our images to add gnupg -- i don't have time now to rewrite our usage of apt_key17:11
avassI'm fine with that until there's a better solution17:13
clarkbya I won't -1 such a solution. I just think we should be careful relying on the old deprecated expecations of tools17:14
*** jcapitao has quit IRC17:15
clarkbzbr: I seem to recall the concerns with that is we can't stream it that way or something?17:15
clarkbzbr: so its better to be consistent with the stream and the recording?17:15
clarkb(sort of related google says github's parsing of stdout is a problem. Something we should be wary of)17:15
avasssomeone forgot "Don't cross the streams" heh ;)17:16
zbri observed that recently github stopped showing output in real time, now it displays output only after each run did run (task, not entire job).17:16
avassI don't think we want to stop showing output in real time if that's what you mean17:18
zbrthe stream crossing is a tricky bit, once that made me do https://pypi.org/project/subprocess-tee a week ago.17:18
zbri do not see any comment on the review regarding that aspect.17:19
clarkbI think it came up in conversation here (don't knwo if there was a change at that point?)17:20
*** sshnaidm|rover is now known as sshnaidm|afk17:22
zbri see that current implementation does not use asyncio so likely to have some undersired side effects17:23
clarkbalso I think the ansible console splits them?17:23
clarkbso they are already separately readable if necessary17:24
zbransible does not care about that, it does not stream.17:24
clarkbyes, this is not for the streaming aspect17:24
clarkbthis is when the job is completed17:24
zbransible produces output on both, and you can control where do tasks go, you can opt-in for stderr if you want.17:25
zbrbasically you can tell ansible to send everything to stderr if you want.17:25
zbrbut default behavior is to send only warnings to stderr, if i recall well.17:25
zbrquite useful if you want to identify them or if you use a output callback that is machine parseable.17:26
*** sanjayu_ has joined #zuul17:26
*** saneax has quit IRC17:27
zbrdownside of split stderr is that you may get runtime warnings that you have no clue from which tasks they are are origination from.17:27
zbrstill, i found that subprocess-tee was able to produce good console output (combined) while capturing output separated, so it did not affect me.17:28
*** sanjayu_ has quit IRC17:33
*** sanjayu_ has joined #zuul17:33
* zbr got enough for today, see you tomorrow.17:34
*** armstrongs has joined #zuul17:37
*** mach1na has quit IRC17:41
*** bhavikdbavishi has quit IRC17:48
*** nils has quit IRC17:56
*** tosky has quit IRC17:57
*** saneax has joined #zuul18:04
*** sanjayu_ has quit IRC18:06
*** wuchunyang has joined #zuul18:11
*** wuchunyang has quit IRC18:16
*** hamalq has quit IRC18:27
*** hamalq has joined #zuul18:27
*** arxcruz has quit IRC18:28
*** jpena is now known as jpena|off18:33
*** ianw_pto is now known as ianw18:59
*** vishalmanchanda has quit IRC19:02
*** saneax has quit IRC19:24
*** arxcruz has joined #zuul19:28
*** armstrongs has quit IRC19:30
*** zenkuro has quit IRC19:53
*** wuchunyang has joined #zuul20:12
*** zenkuro has joined #zuul20:14
*** wuchunyang has quit IRC20:17
*** zenkuro has quit IRC20:19
*** zenkuro has joined #zuul20:19
*** zenkuro has quit IRC20:26
*** tosky has joined #zuul20:27
*** zenkuro has joined #zuul20:27
openstackgerritMerged zuul/zuul-jobs master: Install gnupg if keys need to be imported  https://review.opendev.org/76120120:30
*** AshBullock has joined #zuul20:35
pabelangeris statsd / graphite / grafana still the best way to render zuul stats?21:07
pabelangeror is there a simpler way21:07
corvuspabelanger: i don't think anything has changed there (if you have a prometheus, it's worth discussing options, but setting up a promethus and exporters if you don't already have one is likely not simpler)21:12
*** hasharOut is now known as hashar21:12
pabelangeryah, no prometheus21:12
pabelangerbasically, need to get some basic metrics out of zuul, I've never setup statsd / graphite / grafana and was looking for something less work21:13
pabelangerI have to answer the question of 'how many jobs a day' do we run21:13
pabelangerand realize that is much harder with out that stack21:14
corvuspabelanger: if it's a one-off request you could grep logs; otherwise, yeah, statsd/graphite.  grafana is optional, it just makes it prettier but you can get graphs or numbers from graphite directly.21:15
openstackgerritClark Boylan proposed zuul/nodepool master: Have nodepool scan as many ssh host keys as possible  https://review.opendev.org/76122921:16
clarkbfungi: corvus ^ thats the result of my poking around at paramiko after the discussion in #openstack-infra21:16
clarkbI hvaen't actually tested that yet, but I think something along those lines is what we want21:16
corvuspabelanger: they're both pretty easy to set up.  grab the graphite rollup config file from opendev.  otherwise, can probably just run from os packages.21:17
pabelangerclarkb: HA, i just enabled FIPs mode in centos21:17
pabelangerI did it by disabling hostkey generation in DIB21:17
clarkbpabelanger: it should be fine if you enable it in the bsae image since nodepool will see the valid keys from the start21:17
clarkbbut if you enable it after nodepool has done the scan paramiko grabs the wrong key type by default21:17
clarkbthen ansible fails to ssh after that21:17
pabelangerclarkb: yah, I did the following: https://github.com/ansible-network/windmill-config/blob/master/nodepool/elements/nodepool-base/finalise.d/89-sshd-keygen / https://github.com/ansible-network/windmill-config/blob/master/nodepool/elements/nodepool-base/sshd-keygen.target21:18
pabelangerand fixes it21:18
pabelangerbut only enables ecdsa21:18
pabelangerI think the issue becomes, on zuul side, how to pick the right SSH key for inventory file21:19
pabelangerI thought about exposing ssh_type setting in nodepool.yaml or something21:19
clarkbwell we appear to write an entire known hosts file21:19
clarkbso it can set all the key types I think21:19
clarkbwhich is what my change is trying to achieve21:20
pabelangerk21:20
clarkbthen when the new ssh connection gets an ecdsa instead of an ed25519 back it can verify that21:20
pabelangerI have to still update add-build-sshkey role to allow for different type of keys, today we hardcode rsa21:20
pabelangercorvus: thanks for info21:21
corvuspabelanger: gl21:21
clarkbreally the worst part about it is that the public api for getting the list of keys that will be used requires you to construct a connection almost21:22
clarkbwhich makes error handling iffy21:22
pabelangerhttps://github.com/ansible/ansible-zuul-jobs/pull/668 is my experiment with FIPs, had to update grub config since command didn't21:23
*** rfolco has quit IRC21:24
*** rfolco has joined #zuul21:24
*** ChanServ has quit IRC21:26
*** rfolco has quit IRC21:29
*** ChanServ has joined #zuul21:32
*** tepper.freenode.net sets mode: +o ChanServ21:32
*** AshBullock has quit IRC21:43
tristanCpabelanger: for 'how many jobs a day' you can also query the database, for example we run this https://softwarefactory-project.io/cgit/software-factory/sf-config/tree/ansible/roles/sf-install-server/files/status-page-update.py script daily to create https://softwarefactory-project.io/status/21:52
corvustristanC: good point; though that may miss some aborted jobs (but maybe that's okay for pabelanger's purpose)21:55
fungiwe did get the data into the statsd emitters to be able to gauge build durations now too right?21:58
fungiso you can do node*hour calculations for specific jobs and whatnot?21:59
pabelangertristanC: thanks, that might be good enough for right now22:01
*** hashar has quit IRC22:01
tristanCcorvus: pabelanger: that's not ideal and we are looking forward replacing this by prometheus metrics, but that is a lot more complicated22:04
pabelanger++22:04
pabelangerfor now, I just need some aprox numbers22:04
pabelangertristanC: which version of patternfly is that dev'd with?22:10
*** holser has quit IRC22:10
pabelangerusing 3.24.0 seem the colapse / expand isn't working22:10
pabelangeroh22:10
pabelangermissing js files22:10
*** holser has joined #zuul22:11
tristanCpabelanger: the css and scripts are hardcoded for https://softwarefactory-project.io/cgit/software-factory/sf-web-assets-distgit/tree/sf-web-assets.spec22:12
tristanCprometheus works great for us, but it's tricky to scrap zuul statsd based metric, so we only use it to monitor a few metrics: https://prometheus.monitoring.softwarefactory-project.io/prometheus/alerts22:15
pabelangertristanC: okay, this will work well for starting point and give me time to setup proper solution22:16
pabelangertyty22:17
tristanCpabelanger: you're welcome :)22:17
pabelangertristanC: care to host my instance :)22:17
pabelangerI'll just dump data to it22:17
tristanCpabelanger: unfortunately zuul doesn't expose a /metric endpoint, so you would still have to setup a custom exporter...22:24
openstackgerritAshley Bullock proposed zuul/zuul master: Add initial bitbucket cloud driver using webhooks  https://review.opendev.org/75900322:25
tristanC(prometheus doesn't listen, it polls metric from services)22:25
*** tosky has quit IRC23:01
openstackgerritMerged zuul/zuul master: Warn user when dynamic layout ignores zuul config  https://review.opendev.org/72024923:12

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