Thursday, 2020-11-12

pabelangerI'll dig more into it tomorrow for ipv600:00
*** holser has quit IRC00:05
*** rfolco has joined #zuul00:21
*** jhesketh has joined #zuul00:49
ianwcorvus: do you think /var/log/zuul is still worth backing up in it's entirety on zuul.opendev.org?00:58
corvusianw: (probably an #opendev q) no; the only reason would be for extra paranoia in case of compromise (extra auditable logs)01:00
corvus/var/lib/zuul is important01:00
corvuskeys etc01:00
ianwyeah it is of course a trade-off.  it's working set is about 20gb in that directory01:01
pabelangercorvus: do you remember what python-passlib is for in the run-buildset-registry role?01:02
pabelangerI'm trying to add centos support for the role01:03
*** rfolco has quit IRC01:03
corvuspabelanger: i think setting the password (it's a bcrypt hash iirc)01:04
corvuspabelanger: i think lookup('password', '/dev/null') uses it01:05
corvuswait, hrm, no that'd be on the executor01:05
pabelangerI wonder if 3f01dc11f70a9475bd09c1a00477506c64e66c9a might have been why01:06
corvuspabelanger: it may be obsolete01:07
pabelangerack, lets see what testing says01:08
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: WIP: Drop python-passlib from run-buildset-registry  https://review.opendev.org/76244401:08
corvuspabelanger: yeah, if you look at 2292ce9ae which added passlib, there's an htpasswd module use with bcrypt.  but that's gone now.  so i'd guess passlib isn't necessary.01:09
* corvus dinner01:09
pabelanger++01:09
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: WIP: Drop python-passlib from run-buildset-registry  https://review.opendev.org/76244401:12
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Update run-buildset-registry for readability  https://review.opendev.org/76244701:12
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Add zuul-jobs-test-registry-podman-centos-8 job  https://review.opendev.org/76244801:17
*** ikhan has joined #zuul01:23
openstackgerritIan Wienand proposed zuul/nodepool master: Install podman in container for container-based builds  https://review.opendev.org/75664301:44
*** Goneri has quit IRC02:15
pabelangerokay, moving back to build-docker-image, and using quay.io in context, and podman on test-job side works too02:21
pabelangernext up is to stand up intermediate registry to finish off the new jobs02:22
*** ikhan has quit IRC02:59
*** bhavikdbavishi has joined #zuul03:02
*** bhavikdbavishi1 has joined #zuul03:04
*** bhavikdbavishi has quit IRC03:06
*** bhavikdbavishi1 is now known as bhavikdbavishi03:06
*** hamalq has quit IRC03:07
*** rlandy has quit IRC03:10
*** bhavikdbavishi has quit IRC04:09
*** bhavikdbavishi1 has joined #zuul04:09
*** bhavikdbavishi1 is now known as bhavikdbavishi04:11
*** evrardjp has quit IRC05:33
*** evrardjp has joined #zuul05:33
*** reiterative has quit IRC05:42
*** reiterative has joined #zuul05:42
*** vishalmanchanda has joined #zuul05:48
*** cloudnull has quit IRC06:01
*** cloudnull has joined #zuul06:02
*** bhavikdbavishi1 has joined #zuul06:26
*** jfoufas1 has joined #zuul06:27
*** bhavikdbavishi has quit IRC06:27
*** bhavikdbavishi1 is now known as bhavikdbavishi06:27
*** bhavikdbavishi has quit IRC07:48
*** bhavikdbavishi1 has joined #zuul07:48
*** bhavikdbavishi1 is now known as bhavikdbavishi07:50
*** bhavikdbavishi has quit IRC08:07
*** hashar has joined #zuul08:08
*** jcapitao has joined #zuul08:09
*** jpena|off is now known as jpena08:09
openstackgerritDaniel Pawlik proposed zuul/nodepool master: Changed informations provided in openshiftpods driver  https://review.opendev.org/75667108:16
*** bhavikdbavishi has joined #zuul08:18
*** rpittau|afk is now known as rpittau08:19
*** bhavikdbavishi1 has joined #zuul08:21
*** bhavikdbavishi has quit IRC08:23
*** bhavikdbavishi1 is now known as bhavikdbavishi08:23
avasscorvus: sure, I don't have a strong opinion as long as you don't have to scroll down the entire page to reach them08:31
openstackgerritTobias Henkel proposed zuul/zuul master: Fix urllib3 dependency  https://review.opendev.org/76247308:36
openstackgerritMerged zuul/zuul-jobs master: Remove unecessary files attributes from child jobs  https://review.opendev.org/76180209:06
*** yolanda has quit IRC09:29
*** yolanda has joined #zuul09:30
*** bhavikdbavishi1 has joined #zuul09:32
*** bhavikdbavishi has quit IRC09:33
*** bhavikdbavishi1 is now known as bhavikdbavishi09:33
*** sean-k-mooney1 has joined #zuul09:42
*** bhavikdbavishi1 has joined #zuul09:42
*** sean-k-mooney has quit IRC09:43
*** bhavikdbavishi has quit IRC09:44
*** bhavikdbavishi1 is now known as bhavikdbavishi09:44
*** bhavikdbavishi has quit IRC10:10
openstackgerritSimon Westphahl proposed zuul/zuul master: Implementation of Zookeeper backed event queues  https://review.opendev.org/76117010:17
openstackgerritSimon Westphahl proposed zuul/zuul master: Implementation of Zookeeper event watcher  https://review.opendev.org/76117110:17
openstackgerritSimon Westphahl proposed zuul/zuul master: Switch to Zookeeper backed trigger event queues  https://review.opendev.org/76117210:17
openstackgerritSimon Westphahl proposed zuul/zuul master: Switch to Zookeeper backed management event queues  https://review.opendev.org/76173810:17
openstackgerritSimon Westphahl proposed zuul/zuul master: Generalize tenant event queue registry  https://review.opendev.org/76249110:17
avassI'm gonna hit you with a niche use-case again. I think we might have repositories on the same gerrit instances but with different labels that should be set for the gating process to start10:19
avassI can't see a way zuul handles this and the best fix would be to make sure they use the same config. but the only way to support that if it's needed is to add the same instance as two different connections to handle different repositories10:21
tobiashavass: zuul should automatically know which labels are required10:23
tobiashjust add all labels to the triggers10:24
tobiashavass: or do you mean the gate needs to report different labels?10:25
tobiashavass: if you can keep at least the label that is reported by the gate pipeline constant it should automagically work10:26
tobiashif not you probably need different gate pipelines10:26
*** zenkuro has joined #zuul10:50
avasstobiash: right we could use different pipelines as well11:08
*** wuchunyang has joined #zuul11:08
avassit's different 'code-review'11:09
tobiashif the gate pipeline reports the same for all projects it should just work with a single pipeline11:09
tobiashregardless of different required labels11:10
avassyeah but it's the trigger/requirements config that is different11:10
avassso far it looks like all that was need to be done was change the name of a label11:11
tobiashavass: you don't need different requirement configs11:11
tobiashzuul auto-detects them from the project config11:11
tobiashalso for the trigger, just add all of them11:12
tobiashthe magic happens here: https://opendev.org/zuul/zuul/src/branch/master/zuul/driver/gerrit/gerritconnection.py#L96211:12
avassso if there's a label say called 'Maintainer-Review' and that is blocking zuul will autodetect that?11:12
avassif so that's great and can be handled completely in gerrit11:13
tobiashthe change knows which labels are missing, so the gate doesn't need to require them explicitly11:13
avassgreat11:13
*** bhavikdbavishi has joined #zuul11:13
avasstobiash: thanks! :)11:15
*** bhavikdbavishi1 has joined #zuul11:16
avassactually remember debugging that part when we encountered the 'verified' vs 'Verified' error a long time ago11:16
*** bhavikdbavishi has quit IRC11:17
*** bhavikdbavishi1 is now known as bhavikdbavishi11:17
*** zenkuro has quit IRC11:27
*** zenkuro has joined #zuul11:28
*** sean-k-mooney1 is now known as sean-k-mooney11:36
openstackgerritMerged zuul/nodepool master: Fix fake image build under Mac OS  https://review.opendev.org/76054311:36
*** rfolco has joined #zuul11:39
*** jcapitao is now known as jcapitao_lunch11:40
openstackgerritFelix Edel proposed zuul/zuul master: Prepare Zookeeper for scale-out scheduler  https://review.opendev.org/71726911:44
openstackgerritFelix Edel proposed zuul/zuul master: Mandatory Zookeeper connection for ZuulWeb in tests  https://review.opendev.org/72125411:44
openstackgerritFelix Edel proposed zuul/zuul master: Merge Zookeeper connection methods  https://review.opendev.org/75436011:44
openstackgerritFelix Edel proposed zuul/zuul master: Connect merger to Zookeeper  https://review.opendev.org/71622111:44
openstackgerritFelix Edel proposed zuul/zuul master: Connect fingergw to Zookeeper  https://review.opendev.org/71687511:44
openstackgerritFelix Edel proposed zuul/zuul master: Connect executor to Zookeeper  https://review.opendev.org/71626211:44
openstackgerritFelix Edel proposed zuul/zuul master: Improve typings in context of 744416  https://review.opendev.org/75357811:44
openstackgerritFelix Edel proposed zuul/zuul master: Make Zookeeper mandatory for Scheduler  https://review.opendev.org/75671611:44
openstackgerritFelix Edel proposed zuul/zuul master: Make ConnectionRegistry mandatory for Scheduler  https://review.opendev.org/75709511:44
openstackgerritFelix Edel proposed zuul/zuul master: Improve typings in context of 756716 and 757095  https://review.opendev.org/75714811:44
openstackgerritFelix Edel proposed zuul/zuul master: Instantiate executor client, merger, nodepool and app within Scheduler  https://review.opendev.org/75714911:44
openstackgerritFelix Edel proposed zuul/zuul master: Improve typings in context of 756304  https://review.opendev.org/75709711:44
openstackgerritFelix Edel proposed zuul/zuul master: Driver event ingestion  https://review.opendev.org/71729911:44
openstackgerritFelix Edel proposed zuul/zuul master: Component Registry in ZooKeeper  https://review.opendev.org/75918711:44
openstackgerritFelix Edel proposed zuul/zuul master: Move management and result events to model  https://review.opendev.org/76116311:44
openstackgerritFelix Edel proposed zuul/zuul master: Allow (de-)serialization of management events  https://review.opendev.org/76116411:44
openstackgerritFelix Edel proposed zuul/zuul master: Allow (de-)serialization of result events  https://review.opendev.org/76116511:44
openstackgerritFelix Edel proposed zuul/zuul master: Add and fix fields in driver trigger event models  https://review.opendev.org/76116611:44
openstackgerritFelix Edel proposed zuul/zuul master: Allow (de-)serialization of trigger events  https://review.opendev.org/76116711:44
openstackgerritFelix Edel proposed zuul/zuul master: Interface to get a driver's trigger event class  https://review.opendev.org/76116811:44
*** zenkuro has quit IRC11:53
*** zenkuro has joined #zuul11:53
*** tosky has joined #zuul12:18
*** rlandy has joined #zuul12:32
*** jpena is now known as jpena|lunch12:32
*** holser has joined #zuul12:34
*** wuchunyang has quit IRC12:37
openstackgerritSimon Westphahl proposed zuul/zuul master: Prepare Zookeeper for scale-out scheduler  https://review.opendev.org/71726912:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Mandatory Zookeeper connection for ZuulWeb in tests  https://review.opendev.org/72125412:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Merge Zookeeper connection methods  https://review.opendev.org/75436012:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Connect merger to Zookeeper  https://review.opendev.org/71622112:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Connect fingergw to Zookeeper  https://review.opendev.org/71687512:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Connect executor to Zookeeper  https://review.opendev.org/71626212:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Improve typings in context of 744416  https://review.opendev.org/75357812:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Make Zookeeper mandatory for Scheduler  https://review.opendev.org/75671612:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Make ConnectionRegistry mandatory for Scheduler  https://review.opendev.org/75709512:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Improve typings in context of 756716 and 757095  https://review.opendev.org/75714812:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Instantiate executor client, merger, nodepool and app within Scheduler  https://review.opendev.org/75714912:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Improve typings in context of 756304  https://review.opendev.org/75709712:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Driver event ingestion  https://review.opendev.org/71729912:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Component Registry in ZooKeeper  https://review.opendev.org/75918712:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Move management and result events to model  https://review.opendev.org/76116312:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Allow (de-)serialization of management events  https://review.opendev.org/76116412:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Allow (de-)serialization of result events  https://review.opendev.org/76116512:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Add and fix fields in driver trigger event models  https://review.opendev.org/76116612:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Allow (de-)serialization of trigger events  https://review.opendev.org/76116712:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Interface to get a driver's trigger event class  https://review.opendev.org/76116812:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Clear list of Zookeeper connections after tests  https://review.opendev.org/76116912:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Implementation of Zookeeper backed event queues  https://review.opendev.org/76117012:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Implementation of Zookeeper event watcher  https://review.opendev.org/76117112:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Switch to Zookeeper backed trigger event queues  https://review.opendev.org/76117212:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Switch to Zookeeper backed management event queues  https://review.opendev.org/76173812:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Generalize tenant event queue registry  https://review.opendev.org/76249112:47
openstackgerritSimon Westphahl proposed zuul/zuul master: Switch to using zookeeper instead of gearman for jobs  https://review.opendev.org/76250612:47
openstackgerritAlbin Vass proposed zuul/nodepool master: Fix indentation for azure driver documentation  https://review.opendev.org/76251412:49
avasscorvus: there was a missing whitespace in the azure driver ^12:50
avassoh that diff is not fun12:50
*** jcapitao_lunch is now known as jcapitao12:54
*** jpena|lunch is now known as jpena13:29
*** Goneri has joined #zuul13:53
*** Phoenikzz has joined #zuul13:54
corvushttps://groups.google.com/g/repo-discuss/c/72ginQvhPEM/m/yvT_rSa5CQAJ13:55
corvuslooks like an issue with the google log upload?13:55
*** bhavikdbavishi has quit IRC13:57
*** nils has joined #zuul14:02
avasscorvus: I don't think there's been any recent changes to the roles that could cause that14:09
swestcorvus: we are currently looking at the event processing for the scale out scheduler. the target architecture in the spec talks about having separate event queues per pipeline in order to parallelize the processing.14:10
swestwe think that it might be better as a first step to parallelize the processing on a per-tenant level as that would require less changes to how zuul currently works and be a lot easier e.g regarding coordination (we would only need a single tenant lock).14:11
swestevent queues (management, trigger, result) would then be partitioned by tenant and we'd have less event duplication with that solution.14:11
swestwith pipeline event queues there might also be some unforseen issues related to inter-pipelines actions (supercedes).14:11
swestwe could still try per-pipeline events in a later phase if we see the need. any thoughts on this? would you be ok with diverging from the spec here?14:12
fungithose are good points. i didn't consider event duplication where you might trigger multiple pipelines on the same event, and i think that spec predated addition of the supercedes relationships between pipelines14:15
fungisupercedes could probably be approached asynchronously, i don't think there's any expectation that an item is necessarily dequeued from the superceded pipeline at the same moment it's enqueued into the superceding pipeline... i considered it more of a best-effort efficiency measure to not continue to waste resources on builds which are no longer considered relevant14:20
swestfung: yep the case with supercedent pipelines could be solved by decoupling them w/ e.g. events.14:22
corvusswest: i'm concerned that if we lock at the tenant level we won't have done as much to make zuul more scalable.  it addresses the HA case without addressing the scalability case.14:23
fungifor sure, if we only parallelize by tenant, then it doesn't help single-tenant deployments at all14:24
corvusswest: the supercede action could be enqueued as a high-priority management event for the other pipeline14:26
corvusswest: oh you and fungi just said that :)14:26
fungiyeah with other words14:26
fungias long as we're okay with supercedes dequeuing not being atomic/synchronous then that's not hard to solve14:27
swestI think my main concern is the event duplication14:28
fungiyeah, the trivial implementation would result in n-way multiplication of the events to have a copy for every pipeline14:29
fungimaybe there's cheap ways to filter those?14:29
fungii guess the question is whether that's really a problem needing optimization, or if, say,  a 100-pipeline tenant needing 100 copies of all events in a high-churn environment will just fall over14:30
swestfiltering might be possible by doing the eventMatches() check already in the driver. and the event also needs to be added to pipelines containing an item for that change (abandon, old version, ...)14:35
corvusfungi, swest: yeah, if this code just changes from "add event to pipeline" to "add event to pipeline queue" then i think we'll have duplication to a minimum: https://opendev.org/zuul/zuul/src/branch/master/zuul/scheduler.py#L1369-L137014:36
corvusswest: and yes similar with old vers (eg: if there is an old version, or it's abandoned, or it matches, add this event to the pipeline queue and let the pipeline deal with it)14:37
fungione option might be to extend the queue data structure to no longer be a queue, but some sort of heap with pipeline-specific flags and garbage collection to remove events which have been handled by all pipelines14:37
fungithat could require less memory but increases complexity14:37
fungibasically virtual per-pipeline queues setting/removing flags on a common set14:38
fungialso may be considerably less efficient for the pipelines to process14:38
fungiif we're within the same process, python could do that for us i guess by using copies of the common queue with python objects for the queue entries, then once the refcount for an object in the common queue is down to 1, explicitly del it?14:41
fungidoes that work across threads though?14:41
fungii still find multi-threaded sharing of objects hard to reason about14:41
swestfungi: we need to store/sync the pipelines in Zookeeper14:41
fungiahh, nevermind then14:41
corvusfungi: we need some level of persistence in the queue though in case the scheduler process fails14:41
fungiyep, i had forgotten about that tiny detail ;)14:42
corvuseasiest way to do that is what swest says and keep everything in there; however, we could do some in-memory processing if we work to make it durable14:42
corvusbut that would likely be difficult14:42
fungiwell, also the whole point is that this can be distributed across multiple servers, so in-memory anything with regard to queue management is probably off the table14:43
corvus(i mean, i don't have a plan for that; it's just a theoretical possibility)14:43
fungiunless we do a lot of locking14:43
swestcorvus: so I guess that's a soft no regarding per-tenant queues? :)14:47
*** vishalmanchanda has quit IRC14:47
corvusswest: yeah, i feel like we should still target per-pipeline queues.  now, if the change to get there is too big, i think it's fine for per-tenant queue to be a step along the way.  but at least in my mental model, i think i'd probably stick with going straight to per-pipeline.14:49
swestcorvus: ok. I'll do some prototyping to see how this could work. I see your point with the per-tenant queues not being of any help for single tenant deployments, but e.g. in our case w/ ~35 tenants this would already be a significant speedup. my main reasoning was that the implementation would be pretty straight forward with the option to do the per-pipelines queues in later step.14:53
corvusswest: maybe i'm missing something you're seeing, but at least in my head, i think the current 'dispatch event to pipeline' mechanism matches pretty well to 'dispatch event to pipeline queue' so i hope it's not too big of a change.14:55
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Fix error in google log storage  https://review.opendev.org/76253014:56
corvusavass, fungi: can you speedy review that ^ ? i haven't tested it against gcs; i'd like to merge it and see if that fixes gerrit's ci; if it doesn't then i'll set up my test environment for attempt #214:58
avasscorvus: already did :)14:58
swestcorvus: k, I think some protoyping will help clear things up for me. thanks!15:00
avasscorvus: linting passed and I don't think we have any tests for upload-logs except for s3 but I have a hard time seeing how that could break anything anyway so should I go ahead and +3 that?15:07
avassfungi: oh you already did :)15:08
avasstobiash: and you15:08
fungii only +2'd it because it was already approved15:09
fungiby the time i finished reviewing15:10
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Drop python-passlib from run-buildset-registry  https://review.opendev.org/76244415:10
*** yolanda has quit IRC15:11
openstackgerritMerged zuul/zuul-jobs master: Fix error in google log storage  https://review.opendev.org/76253015:17
tristanClooking at promote failure of https://review.opendev.org/762530 , it seems like the executor image is missing unzip and/or tar15:22
tristanCor it is missing another unarchive command15:25
*** hashar has quit IRC15:28
*** bhavikdbavishi has joined #zuul15:30
*** rlandy is now known as rlandy|rover15:40
*** bhavikdbavishi1 has joined #zuul15:43
*** bhavikdbavishi has quit IRC15:44
*** bhavikdbavishi1 is now known as bhavikdbavishi15:44
*** hashar has joined #zuul15:52
*** jfoufas1 has quit IRC16:08
corvustobiash: when you re-org'd the log upload code, did you try running any of the scripts from the cli?16:15
tobiashcorvus: hrm, actually I think I forgot that16:16
corvus(they're designed to be run from the cli for testing as well as imported)16:16
corvustobiash: ok.  it looks like that may not work anymore because of ansible_utils imports16:16
corvusi'll dig into that in a bit (in a meeting now)16:17
openstackgerritzbr proposed zuul/zuul-jobs master: Add tox-py39 job  https://review.opendev.org/76219216:36
openstackgerritzbr proposed zuul/zuul-jobs master: Add tox-py39 job  https://review.opendev.org/76219216:36
*** hashar has quit IRC16:51
*** rlandy|rover is now known as rlandy|rover|brb17:03
*** jcapitao has quit IRC17:05
tobiashcorvus: actually this is intended to handle that case: https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/upload-logs-base/library/zuul_google_storage_upload.py#L5417:23
tobiashmaybe there is something missing there17:24
corvus    from ..module_utils.zuul_jobs.upload_utils import (17:30
corvusValueError: attempted relative import beyond top-level package17:30
tobiashyeah just seeing that17:31
corvustobiash: ^ unit tests handle path manipulation for us17:31
corvustobiash: i'm working around it for the moment with a 3rd import statement that does sys.path.append('..')17:31
corvusi don't love that but it works for now :)17:31
*** bhavikdbavishi has quit IRC17:44
*** bhavikdbavishi has joined #zuul17:45
*** rlandy|rover|brb is now known as rlandy|rover17:45
avasscorvus: you don't need to do that17:48
avasscorvus: you should be able to run it from the roles directory like: python -m upload-logs-base.library.zuul_google_storage_upload17:49
*** jpena is now known as jpena|off17:49
*** rpittau is now known as rpittau|afk17:51
avassupload-logs-base has an __init__.py file so it's treated as it's own module17:52
avassactually it works even if you remove the __init__.py17:56
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Support the project argument in GCS  https://review.opendev.org/76256017:58
avassyou just need to make sure your 'top level package' is a level above what you're trying to import17:58
corvusavass: yep you're right17:59
corvusavass: i almost tried that but thought 'upload-logs-base' would barf.  but it doesn't17:59
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Support the project argument in GCS  https://review.opendev.org/76256018:00
corvusavass, fungi, tobiash: ^18:00
corvusi've manually tested that for real (turns out there were 2 problems)18:01
avasscorvus: should the fix you made earlier be removed? or did that fix something?18:03
corvusavass: it fixed problem #1 of 2.18:03
corvus(problem #1 was masking problem #2)18:04
corvusso they should both stay18:04
avassalright18:04
avasscorvus: the azure driver doc is fixed btw, the indation was slightly wrong and that made the entire document render badly18:22
avasshttps://review.opendev.org/#/c/762514/18:22
openstackgerritMerged zuul/zuul-jobs master: Support the project argument in GCS  https://review.opendev.org/76256018:22
corvusavass: looks great, thanks!18:24
avasszbr: do you have an idea how to fetch the latest version from a github release? (looking at the kind change)18:25
zbrthere api call to return releases but i do not remember a simple url for latest18:26
avasszbr: I think I found a solution: https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c :)18:28
zbrlong live the gists18:30
fungiif you want to order by version, gnu sort has a -V (version sort) option which works well18:30
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Add option to install kubernetes with kind  https://review.opendev.org/74093518:37
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Add option to install kubernetes with kind  https://review.opendev.org/74093518:39
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Add option to install kubernetes with kind  https://review.opendev.org/74093518:39
*** wuchunyang has joined #zuul18:40
avassoh..18:40
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Add option to install kubernetes with kind  https://review.opendev.org/74093518:40
avasszbr: how about that ^?18:40
*** wuchunyang has quit IRC18:44
pabelangercorvus: I'm starting to poke into upload-container-image role, I see https://zuul-ci.org/docs/zuul-jobs/container-roles.html#rolevar-build-container-image.container_registry_credentials exists today.  Were you expecting we'd loop over the registry credentials for the upload?18:46
*** nils has quit IRC18:48
openstackgerritAlbin Vass proposed zuul/zuul-jobs master: Update ensure-helm to always use latest version unless a specific version is specified.  https://review.opendev.org/76256418:48
avassdo we need an announcement when we bump which version a role installs?18:48
avassI'd expect the user to pin the package to a version if they don't want that to change18:49
*** bhavikdbavishi has quit IRC18:54
corvuspabelanger: i don't think i would use the word loop; i would think we would use the creds for the appropriate registry (it's a dictionary keyed by registry)18:54
pabelangerk, need to think about now to login / push / logout for each registry key18:55
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Always log out of docker registry after upload  https://review.opendev.org/76256619:03
pabelangerjust looking at docker-image, I think ^ should help prevent other playbooks from interacting with dockerhub by mistake19:06
avasspabelanger: ++19:06
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Add with_scopes method to GCS credentials class  https://review.opendev.org/76256819:10
corvusavass, fungi: so sorry ^ one more fix (one of the modules i had locally was a bit out of date, so there's a 3rd problem i didn't see in my local testing; i think i have that corrected now and tested this)19:11
avasscorvus: that makes more sense when looking at the traceback :)19:11
corvusavass: yeah, it's almost the same traceback as problem #219:12
openstackgerritMerged zuul/nodepool master: Fix indentation for azure driver documentation  https://review.opendev.org/76251419:22
pabelangerI had a question about nodepool-upload-image and nodepool-promote-image. Why does nodepool-upload-image publish tags to dockerhub directly, and intermediate? then promote the tag on dockerhub side? Could the job not work like publish to intermediate, then on promote-docker-image, copy from intermediate to dockerhub as proper tag? The only thing I can think of, is it could be possible for intermediate19:25
pabelangerto delete the tag before copy / promote happened19:25
corvusthat plus there's less to go wrong in the promote job19:26
corvusoh, and promote can happen on the executor since it's light-weight19:27
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Add with_scopes method to GCS credentials class  https://review.opendev.org/76256819:31
corvuslinter ^19:31
corvusi'm going to self-approve that since gerrit's dead in the water; fungi, avass ^ can you retro-review19:32
avass++19:33
openstackgerritMerged zuul/zuul-jobs master: Add with_scopes method to GCS credentials class  https://review.opendev.org/76256819:46
fungiyep, sorry, heads-down on gerrit upgrade testing but can look in a bit19:52
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: WIP: Create upload-container-image role  https://review.opendev.org/76258121:18
pabelangerokay, first stab at upload-container-image role, now to see how to test21:18
pabelangerthe main things to figure out, is how to loop over the different registries, if container_registry_credentials has multiple endpoints21:19
corvuspabelanger: i think you would loop over the images?21:22
pabelangeryah, trying to see if I can group them some how, to avoid login / logout muliple times21:22
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: WIP: Create upload-container-image role  https://review.opendev.org/76258121:33
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: WIP: Create upload-container-image role  https://review.opendev.org/76258121:35
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: WIP: Create upload-container-image role  https://review.opendev.org/76258121:39
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258121:41
corvuspabelanger: the zuul-jobs-test-build-docker-image-release job tests the upload-docker-image role (when it's used as a plain upload rather than as prep for a promote); you can probably make a similar test for upload-container-image21:48
corvuspabelanger: (it runs another local publication registry to stand in for dockerhub)21:49
pabelangerhmm, I don't see where upload-docker-image is tested21:55
pabelangerwill poke around in test-playbooks21:55
pabelangerI see it now21:56
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258122:01
openstackgerritIan Wienand proposed zuul/zuul master: web: make build table details more clickable  https://review.opendev.org/76258822:04
*** Goneri has quit IRC22:07
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258122:13
pabelangerI'm going to have to split that out into multiple PRs22:14
pabelangerchanges*22:14
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258122:21
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258122:25
openstackgerritMerged zuul/zuul-jobs master: Always log out of docker registry after upload  https://review.opendev.org/76256622:27
*** persia has quit IRC22:31
*** persia has joined #zuul22:32
ianwi wonder why https://zuul.opendev.org/t/zuul/build/e3aa703bb19146499e89147f02631387 that just ran picked up requests 2.24.0 instead of 2.25.022:36
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258122:37
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258122:39
pabelangerokay, need to break for day. will pick up ^ again tomorrow22:39
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258122:41
*** wuchunyang has joined #zuul22:42
ianwhttps://mirror.iad.rax.opendev.org/pypi/simple/requests/ shows 2.25.0 ; i dunno22:43
*** tosky has quit IRC22:44
openstackgerritMerged zuul/zuul-jobs master: Add nimble roles and job  https://review.opendev.org/74786522:44
*** wuchunyang has quit IRC22:46
fungifor some reason https://zuul.opendev.org/t/zuul/build/e3aa703bb19146499e89147f02631387/log/tox/zuul_client-1.log wants to kill my browser22:47
fungioh no wonder... 88k lines?!?22:50
fungiaha, yarn is verbosely echoing every single file move it makes for every package it npm installs22:50
fungithat seems... excessive22:51
fungiianw: according to that log, something is specifying a dependency on requests==2.24.022:53
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258122:53
clarkbnodepool added acap didnt it?22:53
fungithis isn't a cap, it's pinned to a single version somewhere22:54
fungimaybe in one of our dependencies22:54
fungiunfortunately pip isn't saying where it got the requests==2.24.0 versionspec22:54
fungii don't think it's directly in anything we're maintaining, based on a quick look in codesearch22:55
fungioh, nevermind, i see it even though codesearch doesn't23:00
fungiianw: https://opendev.org/zuul/zuul-client/src/branch/master/requirements.txt#L223:00
fungibingo23:00
ianwhrrm, why does it only affect that job23:01
ianwi guess that's all that installs client23:02
fungibecause theh tox env for that job is explicitly installing zuul-client?23:02
fungiyeah23:02
openstackgerritIan Wienand proposed zuul/zuul-client master: requirements: uncap requests  https://review.opendev.org/76259123:04
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258123:13
*** Goneri has joined #zuul23:18
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258123:20
ianwinteresting, still failed.  i wonder if the test isn't installing zuul-client from source23:35
ianwthis uses some sort of pip wrapper in the gate, which doesn't actually seem to install zuul-client from source :/23:45
ianwok, sigh, wow.  so the tox role first does "Run tox without tests" before installing the siblings.  So it tries to pull in zuul-client from pypi which has the bad dependency23:56
openstackgerritPaul Belanger proposed zuul/zuul-jobs master: Create upload-container-image role  https://review.opendev.org/76258123:57

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