Thursday, 2022-06-23

opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712800:00
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712800:14
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712800:46
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712800:54
*** rlandy|bbl is now known as rlandy01:08
*** rlandy is now known as rlandy|out01:13
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712801:33
opendevreviewOpenStack Proposal Bot proposed openstack/project-config master: Normalize projects.yaml  https://review.opendev.org/c/openstack/project-config/+/84723002:26
*** ysandeep|out is now known as ysandeep04:53
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712804:58
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712805:09
abhishekkcan any core please have a look at this, https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84719305:57
abhishekkthis will unblock gate for glance05:58
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712806:00
opendevreviewMerged openstack/project-config master: Normalize projects.yaml  https://review.opendev.org/c/openstack/project-config/+/84723006:03
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712806:22
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712806:53
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712806:59
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712807:13
*** ysandeep is now known as ysandeep|afk07:30
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712807:32
*** jpena|off is now known as jpena07:38
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Change Zuul CI job to upload container image on merging  https://review.opendev.org/c/openstack/ci-log-processing/+/84700808:08
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Change Zuul CI job to upload container image on merging  https://review.opendev.org/c/openstack/ci-log-processing/+/84700809:05
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: DNM checking upload job  https://review.opendev.org/c/openstack/ci-log-processing/+/84728109:06
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Change Zuul CI job to upload container image on merging  https://review.opendev.org/c/openstack/ci-log-processing/+/84700809:10
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: DNM checking upload job  https://review.opendev.org/c/openstack/ci-log-processing/+/84728109:11
*** ysandeep|afk is now known as ysandeep09:20
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Change Zuul CI job to upload container image on merging  https://review.opendev.org/c/openstack/ci-log-processing/+/84700809:56
*** rlandy_ is now known as rlandy10:34
*** rlandy_ is now known as rlandy10:49
*** rlandy_ is now known as rlandy11:08
*** dviroel|afk is now known as dviroel11:20
opendevreviewMerged openstack/openstack-zuul-jobs master: Add nslookup_target to fips jobs  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84719311:28
dpawlikHey, fungi, clarkb: could someone help with https://review.opendev.org/c/openstack/ci-log-processing/+/847008 ?11:54
fungidpawlik: i managed to dig a log url for one of the retried builds out of the executor logs: https://0b48b99a1954caa6a5cb-d177fea3a813a6c3857df2d202d4eaea.ssl.cf5.rackcdn.com/847008/5/gate/ci-log-processing-functional-test-centos-8-stream-sender/241f80d/job-output.txt11:59
fungiseems like something was preventing zuul from being aware the logs were uploaded12:00
dpawlikfungi: it seems like it fails when zuul executor wants to operate on the vm, am I right? But from the other side, similar configuration is done in Zuul12:06
funginot sure what you mean by "operate on the vm" but all those lines which start with "centos-8-stream" ran on the vm12:07
dpawlikfungi: em, are we talking about ci-log-processing-upload-image job ?12:08
fungie.g. the "Ensure that all services are available and running" loop iterated through output for both the logscraper-openstack and logsender-openstack services12:08
dpawlikbecause this job "ci-log-processing-upload-image" is problematic12:09
dpawlikother are working on the gates for a while, they are fine12:09
fungii think i mistakenly filtered the executor logs for the event id instead of the build id12:09
dpawlikUUID 4341445e1ce24a2593b295acafc892c912:10
dpawlikEvent ID 71d0a8ba900a4a829dcf11c33dd9605412:10
fungiyeah, i shouldn't have tried to start looking into this before coffee12:11
fungiValueError: Encryption/decryption failed.12:13
fungidpawlik: it's unable to decrypt a supplied secret12:13
dpawlikthank you fungi!12:13
fungihow did you encode the secret?12:13
dpawlikfungi: so I need to write long story. Last time when we were talking about the repository, it was suggestion that ci-log-processing project should have another account and push there images. I create such account on docker: https://hub.docker.com/repository/docker/cilogprocessing12:15
dpawlikthe user and password are available in AWS secrets12:15
dpawlikand how I encrypt the password:12:16
dpawlikI did not know, which is a zuul config repository12:16
fungiahh, where is the secret defined?12:16
dpawlikso I use system-config: python3 ./encrypt_secret.py --tenant openstack --infile mypasswordfile --outfile  herewillbepassword.yml https://zuul.opendev.org/ opendev/system-config12:16
fungiokay, so the secret definition is in opendev/system-config? i'm not sure that will work for a job triggered by openstack/ci-log-processing changes12:17
dpawlikfungi: AWS got a service Secrets Manager - https://us-east-1.console.aws.amazon.com/secretsmanager/home12:17
fungiright, i'm talking about the "zuul secret" not an aws secret12:18
dpawlikaa xD12:18
dpawlikfungi: so the secret is defined here: https://review.opendev.org/c/openstack/ci-log-processing/+/847008/5/.zuul.yaml#2112:18
dpawlikbut on which config repository it should base to encrypt the file?12:19
fungiopenstack/ci-log-processing12:19
dpawlikhm12:19
dpawlikok, let me try12:19
fungievery project gets its own unique encryption key, so jobs run for openstack/ci-log-processing won't have the ability to decrypt things encrypted for opendev/system-config's key12:20
fungifor security reasons12:20
dpawlikyeah, I know12:20
* dpawlik need to check our infra secrets how its done12:20
dpawlikI was thinking that it is base on zuul config repository12:21
fungiwell, opendev/system-config isn't a zuul config repository either12:21
fungibut to be clear, it has to do with where the playbook using the secret resides12:22
fungiusually it's in the same repository as your job definition, but i'd have to look at how you've set up that job12:23
fungidpawlik: ahh, i see you're parenting it on the opendev-upload-docker-image and using pass-to-parent to supply the docker_credentials secret to the parent job, so it's actually that parent job's context which matters in this case12:24
dpawliko, good to know12:25
dpawlikso the secret should be generated base on the public key from parent repository?12:25
fungiopendev-upload-docker-image is actually defined in the opendev/base-jobs repo12:25
* dpawlik just to confirm12:25
fungithe repository where the playbook using the secret resides12:26
fungiin this case it's the https://opendev.org/opendev/base-jobs/src/branch/master/playbooks/docker-image/upload.yaml playbook which is handing it off to the upload-docker-image role12:27
fungihttps://docs.opendev.org/opendev/base-jobs/latest/docker-image.html#job-opendev-upload-docker-image12:28
fungithat's the job documentation12:29
* dpawlik reading12:29
dpawliksmall improvement about providing the credentials/secret would be good. Will do a PS later12:32
fungithere is a credentials section for that job's documentation. what's it missing?12:32
fungidpawlik: revisiting https://zuul-ci.org/docs/zuul/latest/config/secret.html i think you need to encrypt the secret for openstack/ci-log-processing after all12:34
dpawlikthe message "The Docker Hub password." is not enough IMHO12:34
dpawlikfungi: I think same I asked tristanC and got confirmation that it should be done with ci-log-processing12:34
dpawliklet's try :D12:34
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Change Zuul CI job to upload container image on merging; change secret  https://review.opendev.org/c/openstack/ci-log-processing/+/84700812:34
fungiyeah, "if the job.secrets.pass-to-parent attribute is set to true [...] the secret is made available not only to the playbooks in the current job definition, but to all playbooks in all parent jobs as well."12:35
fungiso it gets supplied to the job's playbooks as well as the playbooks of parent jobs, but that implies that it does need to be encrypted for the project where the job with the pass-to-parent is being set12:36
fungi(rather than for the parent job)12:36
fungiso hopefully this works12:36
* dpawlik finger crossed ;)12:37
*** dasm|off is now known as dasm13:03
*** ysandeep is now known as ysandeep|afk13:39
opendevreviewMerged openstack/ci-log-processing master: Change Zuul CI job to upload container image on merging; change secret  https://review.opendev.org/c/openstack/ci-log-processing/+/84700813:43
*** ysandeep|afk is now known as ysandeep13:47
dpawlikfungi: tag name is ugly, but it works \o/13:51
dpawlikthank you for help13:51
fungidpawlik: the tag name is intentionally ugly, you need the promote job to retag it accordingly14:20
fungibecause you might have the upload job succeed in gate but other jobs fail, so you don't want it tagged as latest or whatever unless that change actually merges successfully14:21
coreycbhello infra, I'd like to see if someone can take a look at merging this new job for the charms project https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84620015:05
opendevreviewMerged openstack/openstack-zuul-jobs master: Add openstack-python3-charm-zed-jobs  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84620015:15
*** ysandeep is now known as ysandeep|out15:21
opendevreviewKendall Nelson proposed openstack/project-config master: Setup #openinfra-envirosig IRC Channel  https://review.opendev.org/c/openstack/project-config/+/84736415:42
*** frenzy_friday is now known as frenzyfriday|PTO16:21
*** jpena is now known as jpena|off17:02
*** dviroel is now known as dviroel|out21:14
opendevreviewSamuel Walladge proposed openstack/project-config master: Add Cinder Dell EMC PowerStore charm  https://review.opendev.org/c/openstack/project-config/+/84688821:32
opendevreviewGage Hugo proposed openstack/project-config master: Retire openstack-helm-deployments repo  https://review.opendev.org/c/openstack/project-config/+/84741421:38
opendevreviewGage Hugo proposed openstack/project-config master: Retire openstack-helm-deployments repo  https://review.opendev.org/c/openstack/project-config/+/84741422:03
*** dasm is now known as dasm|off22:07
*** rlandy is now known as rlandy|bbl22:30
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712823:35
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712823:47
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: [dnm] testing grafana  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/84712823:53

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