Wednesday, 2021-11-03

*** redrobot2 is now known as redrobot05:58
*** gibi is now known as gibi_pto_back_thu06:11
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: DNM Initial project commit  https://review.opendev.org/c/openstack/ci-log-processing/+/81560408:37
dpawlikianw: that is an explanation that I was looking for ! (in that PS https://review.opendev.org/c/openstack/ci-log-processing/+/815604 )08:38
ianwdpawlik: ok good :)  all these silly made-up words :)09:56
*** jpena|off is now known as jpena10:09
*** rlandy is now known as rlandy|ruck10:35
*** dviroel|out is now known as dviroel|rover11:21
opendevreviewAlfredo Moralejo proposed openstack/project-config master: Add support for CentOS Stream 9 in nodepool elements  https://review.opendev.org/c/openstack/project-config/+/81144211:49
opendevreviewAlfredo Moralejo proposed openstack/project-config master: Add centos-9-stream nodepool image  https://review.opendev.org/c/openstack/project-config/+/81646511:49
*** anibal is now known as anibalcesar11:51
*** jcapitao is now known as jcapitao_lunch11:56
afaranha_ping fungi thanks for the server, the issue ended up being the reboot of the FIPS after mounting the partition, thanks for the help on that with clarkb15:22
afaranha_the server: centos-8-ovh-gra1-002700345515:22
*** afaranha_ is now known as afaranha15:22
afaranhaand regarding that, could we talk about this patch https://review.opendev.org/c/zuul/zuul-jobs/+/816385 ?15:23
fungiafaranha: so you're done with that node and we can return it to our pool now?15:23
afaranhayea, after the patch and updating the swift fips patch, it worked :D15:23
afaranhahttps://review.opendev.org/c/openstack/swift/+/796057/15:24
fungithanks! i'll delete it now15:24
fungiclarkb: would multi-inheritance be a cleaner solution to 816385 in order to avoid redefining the existing 8-job-deep inheritance chain?15:27
fungii'm trying to think through how that would work as far as pre-run playbook order though15:28
afaranhafungi, do we have another way to tell a job to: RUN this before the pre-run? Or just put a "place holder" on the job and define it later?15:29
clarkbfungi: I don't know that multi inheritance would solve the ordering problem without redefining the jobs15:39
clarkbfungi: if you mix in a fips parent downstream its pre-run is still going to happen too late I think15:40
fungiafaranha: that's what i'm trying to figure out. we can tell the job it has two parents, but seems like that wouldn't get the fips mix-in to run early enough15:40
clarkbI think things would still get resolved in order at that point15:40
clarkbso the first parent defined then the second? There isn't a way to say "this parent is actually a great grandparent"15:41
afaranhaclarkb, is this an RFE or is it already implemented?15:42
afaranhaThat'd probably solve the issue, if we say: JOB_A inherits from JOB_B and JOB_C; and if the order is respected, that means JOB_B pre-run runs before JOB_C pre-run, that would solve it15:42
clarkbwell zuul allows you to do that by defining a new parent job and parenting to that. The problem here is that the openstack and swift unittest jobs are like 5 layers deep for reasons15:43
clarkbbasically you want to do base <- unittest-fips <- openstack-pyXY <- swifth-pyXY or whatever the chain is15:44
clarkbYou could also bring up with the other zuul maintainers if they ahve the same concern as I do around polluting the generic jobs with flags like this. They may not care (though I strongly suspect tristanC will object because he likes to keep the jobs as simple as possible to reduce runtime)15:45
afaranhaclarkb, I understand the concern, I agree with that, BUT, if the other solution is ctrl c + ctrl v on many jobs, it doesn't smells good as well15:47
afaranhamaybe figure out some other way on how to solve it?15:47
clarkbafaranha: right but the problem here is you're making the job worse for all zuul users to address a very specific thing. having a small smell for the very specific thing is better than making everyone else suffer15:47
afaranhabecause if someone else has the same use case, then more jobs will be duplicated changing only one thing, or just the parent15:48
afaranhaclarkb, I'm not really familiar to the zuul, so I may not know the full impact of it. But, as a optional parameter, that defualts to false (fips disabled), how would that impact other users?15:49
clarkbafaranha: you have to run the role too which means there is addtional code executing for every unittest job in all zuul installations15:49
afaranhaas I see, they won't even notice that, unless they want to use it. Again, I may not seeing the full impact of it15:49
clarkbfor something that basically no one else will care about15:50
ade_leeclarkb, how far up the chain would we need to duplicate?  for instance, the job chain right now is -- swift-tox-base < openstack-tox-py27 < openstack-tox < tox <  unittests -- could we do this change on openstack-tox for instance?15:51
fungipart of the challenge is that this inheritance chain is not just an inheritance of jobs, but an inheritance of review scope for different teams and communities. it's currently a need for a consumer of some swift functional job, but that depends jobs maintained by the qa team/tact sig, which depends on jobs maintained by the zuul community (which then depends on base jobs maintained by15:51
fungithe opendev sysadmins)15:51
afaranhaow, right, yea, we get to execute the playbook, at least to the "when" part15:52
clarkbade_lee: you need to run before the unittest job (or replace it)15:52
ade_leethat is openstack-tox -> tox-fips -> unittests-fips ..15:52
clarkbade_lee: as that is what triggers the executions of tools/test-setup.sh15:52
clarkbI guess you could convert all of openstack over to fips and then toggle with a flag there15:53
ade_leeright15:53
clarkbAnother option would be to remount the fs15:53
clarkbor make it survive a reboot15:53
ade_leeclarkb, yeah  - but this just happens to be a symptom of this current test setup.  It would be good to solve this for all these types of tests15:55
ade_leebasically reboot and run things in fips mode as soon as possible15:55
clarkbyup, I'm just pointing out that it isn't fair to all of the other zuul users to make them run extra unwanted ansible for basic unittesting. I think its fine for openstack to say they don't mind but not ok in a base library job15:55
clarkb(and we've had users complain about stuff like this before so I'm trying to be better about it as a reviewer of those changes)15:56
ade_leeack -- I'm ok with making the change at the openstack-tox level if thats what you guys decide15:56
ade_leeclarkb, fungi for context, I'm finishing up a draft to propose fips compatibility/compliance as a community goal -- not sure if it will happen - but converting over to being able to do fips at the openstack-zuul-jobs level would be reasonable then.15:59
fungiyeah, i think we'd have to duplicate some of zuul-jobs in openstack-zuul-jobs to make that happen, but might be a reasonable compromise16:00
clarkbade_lee: ya one concern I mentioend is that we be careful not to suddenly duplicate all the jobs in openstack to get that coverage. Suggesting that instead we maybe default to fips under the assumption non fips would just work if fips works. Or do targetted testing of probably functional behavior since that is likely to have good coverage of the things fips changes16:00
clarkbfungi: ade_lee: and ya duplicating jobs in ozj for specific purposes like this seems reasonable. Those jobs don't change much.16:01
clarkbfungi: https://review.opendev.org/c/openstack/pbr/+/797898 got stephenfin's ACK any chance you want to take a look? I expect that is a very safe change to land now that PBR doesn't rely on it with its own pyproject.toml16:02
clarkbthen we might consider a PBR release and the adventurous can give it a go16:03
afaranhaI think we won't duplicate under ozj, just on zj, ade_lee right?16:03
fungiyeah, sorry i've been sidetracked but will up my priority on the pep-517 work16:03
fungiafaranha: we'd copy some of what's defined in zj into ozj, i think16:03
clarkbafaranha: you can duplicate on either side. The zuul-jobs side will be a bit more critical of ensuring things are generally reusable and not going to unexpectedly make tristanC's jobs slower :)16:03
ade_leeafaranha, no - I think the idea is to create fips versions below ozj16:03
clarkbif you do it in ozj then you can be all openstack specific and that is fine16:04
fungihaving the fips role in zj is not so much a problem, it's job definitions where we need to think about the inheritance16:04
fungiroles can be pretty much anywhere (as long as they don't need secrets)16:05
ade_leefungi, and when we added the role, the ansible folks indicated that they would end up using it. so we likely want to keep it there16:05
afaranhaI thought we would duplicate under zj, like on your patch https://review.opendev.org/c/zuul/zuul-jobs/+/813253/16:06
afaranhaack, I can start working on that tomorrow16:06
ade_leeclarkb, I agree that eventually we'd likely want to default to fips enabled on openstack jobs (and assume if it works under fips , it will work in non-fips), but we're not there just yet16:07
fungiade_lee: yeah, that's what i was saying, keeping the fips role in zj is fine, it's job definitions from zj we may need to duplicate in ozj16:07
fungie.g., unittests16:08
clarkbside note: it is unfortunate that running simple ansible tasks is so costly. But we've apparently appraoched ansible about this and fixing that is difficult :(16:08
clarkbpart of the problem is ansible forks new processes for tasks rather than using a pool (in the past it did use a pool and was quicker) which means you incur python startup costs for every task aiui16:10
ade_leefungi, so it sounds like we have two suggested options here -- adding unittests-fips to zj and tox-fips to zj and having ospenstack-tox depend on tox-fips , or duplicating tox and unittests in ozj16:10
ade_leefungi, if I understood you correctly ..16:10
clarkbfwiw I'm ok with having -fips jobs in zuul-jobs because then people can opt into the extra runtime cost16:11
clarkbBut as fungi points out the review groups might make it simpler to do that in ozj16:11
fungiyeah, i'm also happy to review it in either repo as i straddle both communities there, but have to keep different community priorities in mind when doing so16:12
ade_leefungi, I guess duplicating in ozj would mean needing to keep track if any changes are made in zj.  but I don't suppose these jobs change often.16:13
fungiyep16:13
ade_leefungi, clarkb -- ok - your choice, guys -- afaranha will implement whatever you prefer16:14
afaranhaI think changing in zj would also have this issue, because if the person updating the job doesn't know about fips, we'll need to go and update ourselves16:15
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: DNM Initial project commit  https://review.opendev.org/c/openstack/ci-log-processing/+/81560416:19
clarkbozj is probably going to get the most reviewers who are up to speed on the goals and system there16:29
fungiclarkb: some minor notes on the pep-517 change, otherwise lgtm16:54
clarkbchecking and thanks16:56
opendevreviewClark Boylan proposed openstack/pbr master: Add a PEP517 interface  https://review.opendev.org/c/openstack/pbr/+/79789817:06
opendevreviewClark Boylan proposed openstack/pbr master: PBR package testing improvements  https://review.opendev.org/c/openstack/pbr/+/81653917:06
clarkbfungi: ^ ensuring we don't break existing behavior seems important. So I went ahead and did that update17:06
fungithanks!17:06
fungiit seemed unlikely those changes would alter pbr's behavior, but didn't want to be surprised by being wrong about it ;)17:06
clarkbya being careful there is reasonable17:07
fungiand separating test framework changes from test additions is the safest way to go about it so you don't inadvertently bake in behavior changes17:08
clarkbthe change of the PBR packge itself is probably the most likely to cause problems. But also having a complex url there isn't useful so if we can simplify that then yay17:09
clarkbfungi: unitests have passed for both changes (the longer running integration jobs are still in progress) that is a good sign17:33
fungiyeah, and they're approved so hopefully we'll see them merge forthwith17:40
*** jpena is now known as jpena|off17:48
*** dviroel|rover is now known as dviroel|rover|afk19:45
opendevreviewMerged openstack/pbr master: PBR package testing improvements  https://review.opendev.org/c/openstack/pbr/+/81653920:04
opendevreviewMerged openstack/pbr master: Add a PEP517 interface  https://review.opendev.org/c/openstack/pbr/+/79789820:29
clarkbwoo20:29
clarkbfungi: I guess the next step is requesting a 5.7.0 release? any objections to that? I'm not sure what other stuff might be in the pipeline for pbr but suspect not much20:32
fungiyeah, should just be able to push a request for the releases repo21:00
clarkbremote:   https://review.opendev.org/c/openstack/releases/+/816577 Release PBR 5.7.0 <- done21:01
*** dviroel|rover|afk is now known as dviroel|rover21:29
*** rlandy|ruck is now known as rlandy|ruck|afk22:00
*** dviroel|rover is now known as dviroel|rover|out22:18

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