Thursday, 2020-01-16

*** kmalloc has quit IRC00:18
*** maxamillion has quit IRC00:18
*** donnyd has quit IRC00:18
*** tdasilva has quit IRC00:18
*** tdasilva has joined #zuul00:19
*** donnyd has joined #zuul00:20
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Add Openshift SCC and functional test  https://review.opendev.org/70275800:20
*** maxamillion has joined #zuul00:20
*** kmalloc has joined #zuul00:20
*** wxy-xiyuan has joined #zuul00:21
*** zxiiro has joined #zuul00:31
*** tdasilva has quit IRC00:42
*** samccann has quit IRC00:42
*** clayg has quit IRC00:42
*** wxy-xiyuan has quit IRC00:42
*** maxamillion has quit IRC00:42
*** donnyd has quit IRC00:43
*** gmann has quit IRC00:43
*** zxiiro has quit IRC00:43
*** jtanner has quit IRC00:44
*** iamweswilson has quit IRC00:45
*** ofosos has quit IRC00:46
*** mnasiadka has quit IRC00:46
*** dcastellani has quit IRC00:46
*** gundalow has quit IRC00:46
*** dustinc has quit IRC00:46
*** portdirect has quit IRC00:46
*** Shrews has quit IRC00:47
*** guilhermesp has quit IRC00:47
*** mnaser has quit IRC00:49
*** tributarian has quit IRC00:51
*** ChrisShort has quit IRC00:52
*** johnsom has quit IRC00:52
tristanCcorvus: the zuul-scheduler logs running in openshift: https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_ac5/702758/3/check/zuul-operator-functional-openshift/ac5c490/docker/k8s_scheduler_zuul-scheduler-0_myproject_6ac410ca-37f8-11ea-abac-fa163e5a906b_0.txt00:52
*** webknjaz has quit IRC00:53
tristanCthough the operator needs to uses Route instead of Ingress (it failed with 'Failed to find exact match for networking.k8s.io/v1beta1.Ingress' in https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_ac5/702758/3/check/zuul-operator-functional-openshift/ac5c490/docker/k8s_operator_zuul-operator-58bf75bff4-lh97j_myproject_3fd5c70e-37f8-11ea-abac-fa163e5a906b_0.txt )00:53
*** ChrisShort has joined #zuul00:54
*** ChrisShort has quit IRC01:04
*** jamesmcarthur has joined #zuul01:14
*** jamesmcarthur_ has joined #zuul01:16
*** jamesmcarthur has quit IRC01:17
*** kmalloc has quit IRC01:17
*** mnasiadka has joined #zuul01:18
*** mattw4 has joined #zuul01:20
*** mnasiadka has quit IRC01:29
*** jamesmcarthur_ has quit IRC01:40
*** mattw4 has quit IRC01:41
*** igordc has quit IRC01:42
*** jamesmcarthur has joined #zuul01:42
*** jamesmcarthur has quit IRC01:47
*** sgw has quit IRC02:06
*** jamesmcarthur has joined #zuul02:12
*** jamesmcarthur_ has joined #zuul02:16
*** jamesmcarthur has quit IRC02:16
*** jamesmcarthur_ has quit IRC02:26
*** jamesmcarthur has joined #zuul02:34
*** bhavikdbavishi has joined #zuul02:54
*** bhavikdbavishi1 has joined #zuul03:04
*** bhavikdbavishi has quit IRC03:06
*** bhavikdbavishi1 is now known as bhavikdbavishi03:07
*** jamesmcarthur has quit IRC03:41
*** jamesmcarthur has joined #zuul03:42
*** jamesmcarthur has quit IRC03:48
*** jamesmcarthur has joined #zuul03:56
*** jamesmcarthur_ has joined #zuul03:59
*** jamesmcarthur has quit IRC03:59
*** rlandy has quit IRC04:07
*** openstackgerrit has quit IRC04:12
*** jtanner has joined #zuul04:27
*** jtanner has quit IRC04:33
*** jamesmcarthur_ has quit IRC04:55
*** jamesmcarthur has joined #zuul04:57
*** jamesmcarthur has quit IRC05:02
*** sgw has joined #zuul05:04
*** jtanner has joined #zuul05:09
*** iamweswilson has joined #zuul05:21
*** jtanner has quit IRC05:24
*** iamweswilson has quit IRC05:25
*** jamesmcarthur has joined #zuul05:26
*** jamesmcarthur has quit IRC05:32
*** tributarian has joined #zuul05:32
*** evrardjp has quit IRC05:34
*** evrardjp has joined #zuul05:34
*** tributarian has quit IRC05:38
*** jtanner has joined #zuul05:46
*** jtanner has quit IRC05:52
*** tributarian has joined #zuul05:53
*** swest has joined #zuul05:58
*** jamesmcarthur has joined #zuul06:00
*** tributarian has quit IRC06:00
*** jamesmcarthur has quit IRC06:07
*** openstackgerrit has joined #zuul06:11
openstackgerritTobias Henkel proposed zuul/zuul master: Add --validate-tenants option to zuul scheduler  https://review.opendev.org/54216006:11
*** saneax has joined #zuul06:18
*** samccann has joined #zuul06:30
*** samccann has quit IRC06:33
*** iamweswilson has joined #zuul06:37
*** iamweswilson has quit IRC06:42
*** jtanner has joined #zuul06:44
*** iamweswilson has joined #zuul06:48
*** dcastellani has joined #zuul06:48
*** wxy-xiyuan has joined #zuul06:48
*** gmann has joined #zuul06:48
*** samccann has joined #zuul06:48
*** kmalloc has joined #zuul06:49
*** mnaser has joined #zuul06:49
*** clayg has joined #zuul06:50
*** ChrisShort has joined #zuul06:50
*** tributarian has joined #zuul06:52
*** donnyd has joined #zuul06:52
*** stevthedev has joined #zuul06:53
*** maxamillion has joined #zuul06:58
*** webknjaz has joined #zuul06:58
*** portdirect has joined #zuul07:00
*** pcaruana has joined #zuul07:00
*** jamesmcarthur has joined #zuul07:02
*** johnsom has joined #zuul07:02
*** dustinc has joined #zuul07:03
*** Shrews has joined #zuul07:06
*** jamesmcarthur has quit IRC07:09
*** mnasiadka has joined #zuul07:14
*** gundalow has joined #zuul07:15
*** evgenyl has joined #zuul07:28
*** wxy-xiyuan has quit IRC07:35
*** tdasilva has joined #zuul07:48
*** guilhermesp has joined #zuul07:48
*** jpena|off is now known as jpena08:01
*** avass has joined #zuul08:25
openstackgerritMatthieu Huin proposed zuul/zuul master: OIDCAuthenticator: add capabilities, scope option  https://review.opendev.org/70227508:25
*** reiterative has joined #zuul08:30
*** tosky has joined #zuul08:32
*** dmellado has quit IRC08:35
*** dmellado has joined #zuul08:37
*** sgw has quit IRC08:39
openstackgerritTobias Henkel proposed zuul/zuul master: DNM: Try out test sharding for tox-py35  https://review.opendev.org/70247308:44
*** themroc has joined #zuul08:50
*** sgw has joined #zuul08:55
*** themroc has quit IRC09:02
*** jamesmcarthur has joined #zuul09:06
openstackgerritJan Kubovy proposed zuul/zuul master: Add spec for scale out scheduler  https://review.opendev.org/62147909:09
*** themroc has joined #zuul09:09
*** jamesmcarthur has quit IRC09:10
openstackgerritJan Kubovy proposed zuul/zuul master: Add spec for scale out scheduler  https://review.opendev.org/62147909:10
openstackgerritMatthieu Huin proposed zuul/zuul master: OIDCAuthenticator: add capabilities, scope option  https://review.opendev.org/70227509:28
*** bhavikdbavishi has quit IRC09:34
openstackgerritSimon Westphahl proposed zuul/nodepool master: Cleanup exception logging in static provider  https://review.opendev.org/70282809:37
openstackgerritSimon Westphahl proposed zuul/nodepool master: Cleanup exception logging in static provider  https://review.opendev.org/70282809:39
*** jangutter has joined #zuul09:48
*** zbr is now known as zbr|rover10:09
openstackgerritSimon Westphahl proposed zuul/zuul master: Report buildset result in MQTT reporter  https://review.opendev.org/70283810:27
*** jangutter has quit IRC11:29
*** chandankumar has joined #zuul11:41
*** panda is now known as panda|drappt11:46
openstackgerritBenjamin Schanzel proposed zuul/zuul master: Handle Erroneous Cron Strings in TimerDriver  https://review.opendev.org/70223711:46
*** bhavikdbavishi has joined #zuul11:53
openstackgerritBenjamin Schanzel proposed zuul/zuul master: Handle Erroneous Cron Strings in TimerDriver  https://review.opendev.org/70223711:55
*** bhavikdbavishi has quit IRC12:03
*** jpena is now known as jpena|lunch12:05
openstackgerritBenjamin Schanzel proposed zuul/zuul master: Allow Passing of Jitter Values in TimerDriver  https://review.opendev.org/70285412:08
openstackgerritSimon Westphahl proposed zuul/zuul master: Report buildset result in MQTT reporter  https://review.opendev.org/70283812:08
openstackgerritSimon Westphahl proposed zuul/zuul master: Report buildset result in MQTT reporter  https://review.opendev.org/70283812:31
*** bhavikdbavishi has joined #zuul12:36
*** rlandy has joined #zuul12:59
*** jpena|lunch is now known as jpena13:10
*** jamesmcarthur has joined #zuul13:15
openstackgerritBenjamin Schanzel proposed zuul/zuul master: Allow Passing of Jitter Values in TimerDriver  https://review.opendev.org/70285413:21
*** jamesmcarthur has quit IRC13:24
*** jamesmcarthur has joined #zuul13:25
*** panda|drappt is now known as panda13:25
*** jamesmcarthur has quit IRC13:33
*** electrofelix has joined #zuul13:35
zbr|rovercan we do something about reindexing zuul docs, breaking google search is a real PITA13:36
zbr|roveri cannot force google to reindex because I cannot pass the validation13:37
*** bhavikdbavishi has quit IRC13:41
*** ianychoi_ has quit IRC13:44
*** jamesmcarthur has joined #zuul13:44
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Import dhall-operator  https://review.opendev.org/70210413:45
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Import zuul application from dhall-zuul  https://review.opendev.org/70210513:46
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Replace existing operator tasks with the new application  https://review.opendev.org/70210613:46
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Add OpenShift SCC and functional test  https://review.opendev.org/70275813:46
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Add custom image override  https://review.opendev.org/70286613:46
*** zxiiro has joined #zuul14:01
*** rishabhhpe has joined #zuul14:02
Shrewszbr|rover: why not just use the search tool on https://zuul-ci.org/docs/zuul/ ?14:02
openstackgerritBenjamin Schanzel proposed zuul/zuul master: Allow Passing of Jitter Values in TimerDriver  https://review.opendev.org/70285414:03
*** jamesmcarthur has quit IRC14:04
Shrewszbr|rover: also, part of the reason for the reorg is to make things easier to find at a glance (still a work-in-progress, of course). I'd love to know what you're searching for that isn't easily findable from the root level doc page.14:08
tristanCShrews: i had to use the search tool to find where the spec list landed14:15
pabelangerI'd love something, it TOC, that linked directly to each stanza for configration. eg: pipeline, job, project, project-template. I often look to reference it, but always end up using search because 'job content' doesn't have it. Where 'Project Configuration' does, and my brain never remembers14:16
pabelangers/it/in14:16
tristanCpabelanger: +1 :)14:16
Shrewspabelanger: tristanC: https://review.opendev.org/70197714:17
Shrewsthat was my biggest complaint, too   :)14:17
pabelanger\o/14:17
tristanCShrews: something i find missing from sphinx is being able to customize the toc. I wonder if we shouldn't create it manually so that we can add subtitle and controls the depth level14:19
ShrewstristanC: yeah, i think mnaser had that issue too. we can debate if the Developer Guide should be it's own section or not (pulling it out of Reference). Don't know if that would make it easier to find.14:19
ShrewstristanC: i don't know how to do that (or if it can even be done). would be nice if we could get more control over it. i searched for options but did not find any solutions14:20
tristanCShrews: for example, shouldn't we add one more level to the reference section, and group the project config YAML into it's own branch?14:20
ShrewstristanC: i wanted to do that with the config yaml, but you can't change the depth for a single item in the toc14:21
Shrewsso we can only affect the entire Reference section, which would expose more levels for all of the docs there14:22
Shrewsi'm not pleased with that sphinx shortcoming, tbh14:23
tristanCmaybe we could use a update-index script to manually generate the toc using sphinx directive, at least for the main index14:23
rishabhhpeclarkb: fungi: i tried building the image with config drive: true as u suggested in your nodepool.yaml file but still the config field is not getting populated to true and even i changed the nova.conf also as suggested by fungi .. can u please let me know what can be done now14:24
*** ianychoi has joined #zuul14:25
fungirishabhhpe: hopefully you meant BOOTING the image with config drive: true?14:28
Shrewspabelanger: i think "Job Content" might be poorly named because that's where I always started my search for the job yaml, too. Glad to know it wasn't just me14:28
rishabhhpeclarkb: also the image file shared by you also does not populating the config drive14:28
rishabhhpefungi: yes14:28
fungirishabhhpe: building the image has nothing to do with config drive options14:28
*** jamesmcarthur has joined #zuul14:28
fungirishabhhpe: so this sounds like maybe nova isn't honoring the setting in nodepool. can you share a copy of the nodepool.yaml your launcher uses? if there are usernames and passwords in it, please delete those first14:29
rishabhhpefungi: yes you are correct .. i am not sure where my configuration is lacking now14:29
fungiit could be something as simple as incorrect indentation14:29
rishabhhpeok .. so after deleting the username and password do i need to build the dib image again ?14:29
zbr|roverShrews: i doubt that breaking google search was part of the intended outcome.  lets face it, google does much better search any anyone, yet. let's fix it please.14:30
fungirishabhhpe: no, i was asking if you can share a copy of the nodepool.yaml from your executor with us, just reminding you not to share any usernames and passwords which might be present in that file14:31
rishabhhpefungi: please find my nodepool.yaml file -: http://paste.openstack.org/show/788471/ .. i do not have username password setting in it14:31
Shrewswell that's not a very helpful response14:32
rishabhhpefungi: got it .. i am not giving any username and password field in it .. it is required to provide that ?14:32
fungizbr|rover: the hostility is not appreciated here, please keep it civil14:33
*** pcaruana has quit IRC14:33
fungirishabhhpe: not required, no, i just wanted to be sure you didn't accidentally leak any credentials when sharing a file with us, that's all14:33
fungirishabhhpe: so, the example we shared with you yesterday was this: https://opendev.org/openstack/project-config/src/branch/master/nodepool/nl01.openstack.org.yaml#L6314:34
fungirishabhhpe: setting config-drive in the diskimages list for the provider14:34
fungiat first glance it seems to be done the same in your configuration14:35
fungirishabhhpe: do you happen to know what version of openstack/nova you're running in that provider?14:36
rishabhhpefungi: $ sudo pip3 freeze | grep nova14:37
rishabhhpepython-novaclient==16.0.014:37
rishabhhpeso settings in my nodepool.yaml are correct according to u ?14:37
fungirishabhhpe: i mean your openstack cloud, what version of the nova api server14:37
funginot on your nodepool server14:38
*** sgw has quit IRC14:38
fungizbr|rover: if you want to help with the search issue, a .htaccess file with permanent redirects for the files which moved in https://review.opendev.org/701608 (per my review comment at the end) might be a good next step14:38
rishabhhpefungi: this is from my devstack server : http://paste.openstack.org/show/788474/14:39
rishabhhpeboth are same on stack and ci server14:39
fungirishabhhpe: python-novaclient is a different package than nova. it's possible nova is installed with python2 rather than python3 so try using pip instead of pip3 and see if it's listed14:40
rishabhhpefungi : please see this http://paste.openstack.org/show/788475/14:42
*** jamesmcarthur has quit IRC14:44
rishabhhpei can see its installation under both :(14:45
fungirishabhhpe: oh, yep, i missed it because it's not installed from a release it's installed from a random git commit14:46
fungii'll see if i can figure out which nova version that roughly equates to14:46
rishabhhpefungi: OK, so this all may take time from your end ?if yes can u please mail me the same if i provide my email id14:47
fungirishabhhpe: that commit seems to be from december 11, after the last nova release, so it's new. that's mainly what i needed to know14:50
fungijust wanted to rule out the possibility that you had an ancient (like 5+ years old) openstack deployment you were trying to connect nodepool to, which might have required some additional effort to integrate with14:51
rishabhhpefungi: that was a old setup and now i am bringing a complete new setup with latest tools14:52
fungirishabhhpe: so we're left with trying to figure out why your nodepool launcher, when configured to set config-drive: true, isn't causing nova to attach a config drive even though you're able to manually boot an instance in nova with a config drive14:55
fungiwhich probably means digging into debug logs for nodepool-launcher and maybe also nova-api14:56
rishabhhpefungi: yes u find it correct14:56
fungiare you able to find your nodepool-launcher debug log? ours is /var/log/nodepool/launcher-debug.log but where it's written may depend on how you've installed it14:57
fungii'm looking through ours and i don't think it logs the api requests it's making14:58
rishabhhpei did not enables the debug logging rather i can provide you nodepool.log14:58
rishabhhpehope that also works14:59
fungirishabhhpe: i'm also somewhat tight on time. today is solid with meetings for me, i'm wrapping up with one right now and about to have two at the same time starting in a minute14:59
fungii'm a bit stumped with your current problem, to be honest14:59
rishabhhpefungi: no problem u carry on with your meeting we can look at this later .. just let me know the time if we can catch up today .15:00
zbr|roverfungi: before fixing the redirects, we need to trigger reindexing, look at https://stackoverflow.com/questions/9466360/how-to-request-google-to-re-crawl-my-website15:01
zbr|roverusually it happens in less than hour15:01
*** sgw has joined #zuul15:01
zbr|roveri see that we do not have a sitemap.xml file15:02
tristanCzbr|rover: iiuc, htaccess redirects would help any external index, not just google search user15:02
zbr|rovertristanC: yeah,... and depends how many redirects you have to write in that file.15:03
fungirishabhhpe: maybe someone else in here has ideas on how to troubleshoot why nodepool-launcher isn't successfully requesting that nova attach a config drive. you did restart the nodepool-launcher service after adding that to its configuration, right? it won't see configuration changes automatically and needs a restart to reread its configuration files15:04
*** swest has quit IRC15:04
*** jamesmcarthur has joined #zuul15:04
rishabhhpeyes i restarted it15:05
rishabhhpefungi: well this is the error i am getting in nodepool.log15:06
rishabhhpehttp://paste.openstack.org/show/788477/15:06
mnaserfwiw i think we should look at the 404s happening right now on zuul-ci.org15:08
fungirishabhhpe: yeah, that looks consistent with what we've been discussing. if there's no config drive attached to the instance, glean will be unable to determine how to configure the network interfaces and then nodepool will be unable to connect to the node over ssh15:08
fungimnaser: as in adding redirects for the documents which were renamed/moved, or some other 404s?15:09
rishabhhpefungi: yes apart from this not other error is coming in hte log15:09
mnaserfungi: yes for the doc re-org15:09
mnaserfor example yesterday i was looking for "zuul kubernetes spec" and the #1 result on google was https://zuul-ci.org/docs/zuul/developer/specs/container-build-resources.html15:10
mnasersearching "zuul user guide" yields https://zuul-ci.org/docs/zuul/user/index.html15:10
*** reiterative has quit IRC15:11
openstackgerritSorin Sbarnea proposed zuul/zuul-website master: Add verification file  https://review.opendev.org/70288815:12
*** jamesmcarthur has quit IRC15:21
zbr|roverfungi: mnaser ^ once me (or someone else) gets verified on google search console, it is possible to add others. The console gives very good insights on how people are accessing the site.15:24
*** bhavikdbavishi has joined #zuul15:29
mnaserya we really should do that15:31
zbr|roverthat search issue displeases me greatly and I give a very simple example why our search sucks big time. Today i was looking on how to debug how zuul decides which jobs to run or not, i remembered someone told me about an option that I can configure. I tried searching using "debug".15:33
*** bhavikdbavishi1 has joined #zuul15:34
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Replace existing operator tasks with the new application  https://review.opendev.org/70210615:35
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Add custom image override  https://review.opendev.org/70286615:35
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Add OpenShift SCC and functional test  https://review.opendev.org/70275815:35
*** bhavikdbavishi has quit IRC15:35
*** bhavikdbavishi1 is now known as bhavikdbavishi15:35
zbr|rovergoogle used to work fine, so i was forced to use our quick search, got 5-6 answers and the samples where not convincing. clicking on the did not sent me to the location of debug page, but to the top of the page. I tried to use Firefox native search in page, and guess what found nothing even if the "debug" text was on the page, probably because the theme did override the browser search functionality.15:36
zbr|rovermainly we how have two broken ways to find information about zuul15:36
pabelangerI imagine, because google isn't free tool, we may not want to depend on it15:37
zbr|roverpabelanger: lucky for me I was able to get the right link from you. thanks! I will pay with a beer on first occasion.15:38
zbr|roverpabelanger:i bet electricity is not a free either for most of us, but we still pay the bills.15:38
corvuspabelanger, zbr|rover: this is starting to sound like it's getting off-topic15:40
corvusi don't think anyone has suggested that we actively don't want to add redirects?  if that's the case, maybe we should be open to adding redirects?15:41
pabelangeryes, I think redirects are great. My comment was related to verification file15:42
zbr|rovercorvus: ok, how about progessive fixes based on efforth/benefits? a) reindex google b) out redirects (google tool would report which one are broken!) c) improve alabaster/sphinx search.15:42
zbr|roverlast one would clearly take days.15:43
*** avass has quit IRC15:46
*** rfolco is now known as rfolco|doctor15:48
corvusi'm not particularly interested in logging into google for any of this, but if one of the other maintainers wants to, i don't object.  i don't think it's necessary; i think the redirects alone will solve all of the identified problems.15:51
corvusi'm happy to fetch the 404 list for anyone who's working on that15:52
openstackgerritJeremy Stanley proposed zuul/zuul-website master: Add and update redirects for Zuul docs reorg  https://review.opendev.org/70290416:02
fungithat's a programmatic transformation of the git show for Shrews's docs reorg commit16:03
*** michael-beaver has joined #zuul16:04
*** ianychoi_ has joined #zuul16:05
corvusfungi: that's a cool way to do it :)16:05
*** jpena is now known as jpena|off16:07
fungii just added a review comment with the convoluted shell one-liner i used, in case anyone wants to verify16:07
pabelanger+216:07
*** ianychoi has quit IRC16:08
fungii figured it was faster to just do that than argue about it16:10
mnaserfungi: THANK YOU! that is super useful in terms of making search engines happy16:10
mnaserand also making our potential users less confused16:10
tristanCcorvus: if you have some time, would you know why that change https://review.opendev.org/702758 seems to randomly fails with 'Unknown configuration error' . Commenting 'recheck' fix it. Could it be related to the long stack of change using requires container image?16:10
fungimnaser: no sweat, it took ~10 minutes ;)16:11
*** rishabhhpe has quit IRC16:11
fungii'd already wasted more time than that talking about it16:12
fungiand was eager to stop wasting still more16:12
mnaser\o/16:12
fungibut for the future, if we move docs around we should remember to update the .htaccess file in zuul-website as well16:13
*** themroc has quit IRC16:13
fungiin the course of adding those i noticed that the reorg had actually broken our /start quick link16:13
tristanCcorvus: i guess the real exception should be logged in opendev's scheduler logs16:14
corvusfungi: oh, just noted something we should fix in the htaccess change; should be easy for anyone to do if you're busy16:15
corvustristanC: yeah, i'll look in a few mins16:15
fungicorvus: nah, i'll take a look16:16
openstackgerritJeremy Stanley proposed zuul/zuul-website master: Add and update redirects for Zuul docs reorg  https://review.opendev.org/70290416:17
fungicorvus: updated ^16:18
mnaserhm16:22
mnaserdoes zuul see testing against gerrit3+ ?16:22
mnaserim trying to get gerrithub integrated and it seems to return a 401 on getting the version (i checked the http password twice and reset it twice)16:23
fungigiven corvus is working on zuul for upstream gerrit and i believe they dogfood their latest code, i expect it works?16:24
fungihe had examples of it commenting on changes there anyway16:24
clarkbquickstart also tests gerrit316:25
fungioh, right, so it does!16:25
fungii'm heading out to grab lunch but am happy to check out the redirects when i get back if they merge while i'm out16:25
*** sugaar has quit IRC16:28
*** electrofelix has quit IRC16:29
*** sugaar has joined #zuul16:29
corvusmnaser: hrm, i don't know why that shouldn't work16:31
corvusmnaser: maybe try using curl to hit the endpoint to get zuul out of the picture first16:31
corvusmnaser: curl --digest -u user:pass  https://review.gerrithub.io/a/accounts/self16:35
corvusmnaser: that's what zuul is going to do by default; it also supports basic rather than digest auth if that's necessary to make it work16:36
corvusi haven't logged into gerrithub, so i haven't tried that16:36
corvuspabelanger, Shrews: want to +3 https://review.opendev.org/70290416:37
clarkbdoesthe zuul vhost allow redirects from the htaccess file? iirc that has to be explicitly allowed16:42
corvusclarkb: we have /start16:43
clarkboh right16:43
clarkbalso I think that is what the allow override list we had to pass through for the LE change allows so should be good to go16:44
*** mattw4 has joined #zuul16:45
openstackgerritMerged zuul/zuul-website master: Add and update redirects for Zuul docs reorg  https://review.opendev.org/70290416:45
*** chandankumar is now known as raukadah16:49
*** dtroyer has quit IRC16:52
mnasercorvus: ok right, i can replicate and get a 401 to gerrithub but not opendev17:01
mnasercorvus: i wonder if we really need to make an authenticated called to get the version though. it seems available via the unauthenticated api17:02
clarkbthe /start redirect works for me now17:02
clarkbzbr|rover: did you want to test some of your urls?17:02
corvusmnaser: we don't, but if that doesn't work, then later things that do require auth won't work.  so it's helpful to fail early17:02
mnasermy "zuul kubernetes spec" google search is working :)17:03
mnasercorvus: yep, i agree with that, i wonder if gerrithub has certain things locked down17:03
corvusmnaser: try some other urls, like self or project list?17:04
mnaserhmm17:05
mnasercurl to https://review.gerrithub.io/changes/?q=is:open+owner:self returns "Must be signed-in" without the /a/ in the url17:05
zbr|roverclarkb: https://zuul-ci.org/docs/zuul/user/client-user.html17:05
mnaserbut adding the /a/ makes it return unauthorized17:05
openstackgerritMerged zuul/zuul master: Extract project config YAML into ref docs  https://review.opendev.org/70197717:06
mnaseri guess i could omit the password for now17:06
*** mattw4 has quit IRC17:07
mnaserim assuming gerrithub probably has some funky auth17:08
clarkbzbr|rover: looks like that file was deleted and all it did was include another file. So we need to add a redirect to the location of the file it included.17:08
corvusmnaser: try basic instead of digest?17:08
mnasercorvus: curl seems to return unauthorized too doing basic auth17:09
*** mattw4 has joined #zuul17:10
openstackgerritClark Boylan proposed zuul/zuul-website master: Add client-user redirect  https://review.opendev.org/70292617:11
clarkbzbr|rover: ^ I think that will take care of it17:11
zbr|roverclarkb: any reasons for not enabling google site tools? that tools is not GA17:11
clarkbI don't know what google site tools is17:11
clarkb(so couldn't tell you)17:11
zbr|roverclarkb: a tool that enable a webmaster(owner) to see how google indexed his site. ask to url removals, reindexing, seeing pages with errors (incoming links)17:12
zbr|roveris mainly a query tool, but google does not allow random people to use unless they verify ownership (one of 4 methods)17:13
zbr|roverobviously as you do not want competition to de-list you :D17:13
zbr|roveri quite nice, last time I used it it was 2+ years ago, but today I seen that it improved a lot.17:14
zbr|roveronce the first webmaster verifies he can add others by adding their google addresses, so no need to create one verification for each user.17:15
corvusmnaser: https://github.com/jenkinsci/gerrit-code-review-plugin/blob/master/CONTRIBUTING.md#gerrithub-configuration  doesn't look like anything unusual17:16
mnasercorvus: i wonder if its because they use http for git and not for the actual api17:16
clarkbI'm not sure I want to be involved in that. google's account rules are a bit terrifying at times and I don't want them to break zuul things because they decide I've broken some fi rule or something.17:16
clarkbits possible that jimmy might be willing to help with that if they already have setups in place for other web properties but probably need to have maintainers decide that is what we want to do17:17
corvusmnaser: lol also https://opendev.org/airship/armada/commit/226175a62a0a2cf4effb366b0dc4ae27573167d7 has http instructions too :)17:17
mnasercorvus: ahah17:17
corvusor, at least, had17:18
mnaseri think in those cases, they're using the api for git operations, not the api17:18
corvusmnaser: typically in gerrit, it's the same auth17:19
mnasercorvus: right, but i'm figuring that because gerrithub is some "saas"-ified gerrit, it may have limitations17:19
* mnaser drafts up an email17:19
clarkbyou should be able to ask luca17:19
corvusmnaser: you know luca?17:20
mnaseri do not, i was planning to send an email to info@gerritforge.com which was at the footer of the site17:20
corvus1 sec17:20
corvus(i privately asked mnaser to email luca and cc me)17:27
*** jpena|off is now known as jpena17:29
*** rishabhhpe has joined #zuul17:30
rishabhhpefungi: Hi did you get a time to check that issue ?17:31
*** evrardjp has quit IRC17:34
*** evrardjp has joined #zuul17:34
clarkbrishabhhpe: does your nodepool-launcher and nodepool-builder use that same config file?17:39
clarkbI wonder if we are only updating the builder's config17:39
rishabhhpei think so both will use same config file only because if i change anything in that file say create some error then my nodepool commands will give error17:40
*** saneax has quit IRC17:40
clarkbok just double checking17:41
rishabhhpeclarkb: but still is there any way with which i can be double sure same file is getting used ?17:41
clarkbrishabhhpe: have you tried to manually boot the image explicitly enabling config drive to see if that works?17:41
clarkbrishabhhpe: check the running process command something like `ps -elf | grep nodepool` the -c flag specifies the config path17:42
rishabhhpeyes if i am manually booting the image by providing config-drive true it is taking the parameter17:42
*** rfolco|doctor is now known as rfolco17:42
openstackgerritMerged zuul/zuul-website master: Add client-user redirect  https://review.opendev.org/70292617:44
clarkbok so the cloud side should be working then, but for some reason that isn't getting passed through from nodepool17:44
fungirishabhhpe: if you `ps auxww|grep nodepool-launcher` you should see the full command-line your launcher service is running with. make sure the -c parameter listed there is referring to the same exact file location as the nodepool config you're editing17:49
rishabhhpefungi: clarkb: i am not getting -c param in the command listed by you http://paste.openstack.org/show/788492/ also i tried with pstree also but still not getting the full text17:51
fungiinteresting, maybe it's falling back to a default conffile path then17:51
clarkbok it probably relies on the default path then whcih I think is /etc/nodepool/nodepool.yaml17:51
clarkbrishabhhpe: is ^ the file you have been editing?17:51
fungiours looks like: /usr/bin/python3 /usr/local/bin/nodepool-launcher -c /etc/nodepool/nodepool.yaml -l /etc/nodepool/launcher-logging.conf -p /var/run/nodepool-launcher/nodepool-launcher.pid17:52
clarkbyes that is the default for launcher17:52
fungi`nodepool-launcher --help` says: -c CONFIG     path to config file (default: /etc/nodepool/nodepool.yaml)17:52
fungiso yes, i guess ours is just unnecessarily explicit17:53
rishabhhpefungi: clarkb: i did not changed anything in configuration just followed the zuul from scratch link and yes my nodepool.yaml stays in /etc/nodepool directory17:54
clarkbI'm just confirming that is the file we have edited17:55
rishabhhpeclarkb: no i have not editted anything in that file17:55
fungiisn't that the file you're editing to add the config-drive: true?17:56
rishabhhpeyes in that file only i had edited .. i mean to say apart from this configuration .. system level configuration i had not changed like getting debug logging and where to place the logs and all .. everything is placed in default path like my nodepool.pid is generated in default path /var/run/nodepool17:58
clarkbI expect the next step is going to be turning on openstacksdk debug logging and checking what it says it is requseting17:59
clarkbis it possible there is a clouds.yaml setting that overrides config drive stuff?18:00
clarkbmordred: ^18:00
clarkbrishabhhpe: are you able to share your clouds.yaml file? you can remove the username and password info18:00
rishabhhpeOK sure i will share it18:00
pabelangerclarkb: corvus: anything I can help with for zuul / nodepool release? Last I see, we just need tags / release annoucements prepared?18:01
clarkbpabelanger: I think that may be it. Both already have release notes that capture the important updates18:02
rishabhhpeclarkb: here is the file http://paste.openstack.org/show/788493/18:03
clarkbhttps://zuul-ci.org/docs/nodepool/releasenotes.html#new-features and https://zuul-ci.org/docs/zuul/overview/releasenotes.html#in-development18:03
fungiclarkb: according to openstacksdk docs, we could enable debug logging by altering nodepool to add openstack.enable_logging(debug=True)18:04
clarkbrishabhhpe: thanks, nothing there should override config drive settings18:04
fungii'm not immediately finding a way to do the same from clouds.yaml though18:05
rishabhhpefungi: clarkb: next what can be done now ?18:06
clarkbfungi: I think we can do it from the nodepool logging config file too18:06
clarkbor just run nodepool with -d?18:07
pabelangerclarkb: ack!18:07
fungi-d            do not run as a daemon with debug logging (default: False)18:07
fungiyep, that's an option18:07
corvusclarkb, pabelanger: i'll start the releases now18:07
pabelanger\o/18:08
clarkbfungi: rishabhhpe ya I think try running it with --debug/-d and see if we can capture the sdk logs18:08
corvusclarkb: ok that i'll do release?  (want to avoid confusion)18:08
clarkbcorvus: yes18:09
corvusclarkb: i'd like to zuul ca12e0fe66cc0829375ac4eb5b823c29a7375528 as 3.15.0 for zuul18:10
corvusclarkb: that's a few commits ahead of what you suggested (e6d8b210cc416ed494b0b0248404e3e6d7ce337c)18:10
corvusbut they are all docs changes18:10
corvusso might as well freeze 3.15.0 with nicer docs18:10
rishabhhpeclarkb: let me try18:11
corvusclarkb: (waiting on ack from you that looks okay)18:11
corvuspabelanger: ^ also18:11
pabelangerlooking18:12
clarkbcorvus: double checking18:12
pabelangerca12e0 wfm18:13
clarkbconfirmed those are only docs updates. lgtm18:13
corvusboth tags pushed18:13
rishabhhpeclarkb: fungi: i had pasted the debug log here : http://paste.openstack.org/show/788495/18:21
corvustristanC: the error from earlier: http://paste.openstack.org/show/788496/18:22
fungirishabhhpe: that's probably not the paste url you meant, but yeah what we're talking about now is that we probably need to adjust the logging config to make it include debug logging from the openstacksdk library so we get details about what api requests it's making to nova18:24
rishabhhpefungi: so for that what changes needs to be done in configuration ?18:25
fungirishabhhpe: sorry, i'm in another meeting right now, but do you have a /etc/nodepool/launcher-logging.conf file? or does the ps command i mentioned earlier indicate nodepool-launcher is running with the -l option (and if so, what's the filename it mentions after -l)18:27
rishabhhpeno i do not have launcher-logging.conf file and there is no -l option in ps -ef|grep nodepool18:28
*** jpena is now known as jpena|off18:41
corvusShrews: i think we should move the release notes out of the "developers" guide and back to the top level18:54
*** rlandy is now known as rlandy|afk18:54
clarkbcorvus: they are linked at a top level fwiw18:54
clarkbhttps://zuul-ci.org/docs/zuul/overview/releasenotes.html and live in overview18:54
clarkb(though I'm looking at the website not the code, maybe it isn't organized like that in rst)18:55
corvusclarkb: no you're right18:55
corvusi think "overview" may not be the right word there.18:56
*** openstackgerrit has quit IRC18:58
rishabhhpefungi: clarkb: actually i was starting the service for nodepool as nodepool-launcher not by systemctl utility and now when i am trying to run it with systemctl it is getting killed because on every restart /var/run/nodepool directory is getting deleted18:58
rishabhhpeis there any way i can overcome that18:58
*** openstackgerrit has joined #zuul18:59
openstackgerritMatthieu Huin proposed zuul/zuul master: JWT drivers: Deprecate RS256withJWKS, introduce OpenIDConnect  https://review.opendev.org/70197218:59
pabelangerfeature request, it would be nice to also see nodepool version info on zuul status UI page19:00
pabelangerI wonder if UI could access nodepool API to figure that out19:00
corvuspabelanger: it would be better for zuul-web to supply it19:01
openstackgerritMatthieu Huin proposed zuul/zuul master: JWT drivers: Deprecate RS256withJWKS, introduce OpenIDConnect  https://review.opendev.org/70197219:02
corvuspabelanger: if you're interested in implementing that, i would recommend: 1) make sure nodepool writes the info to ZK; 2) have zuul-web read that info from ZK and return it via an api/info endpoint19:02
pabelangerack19:02
pabelangersure, can hack on it19:02
pabelangermostly thought of it while upgrading nodepool19:02
pabelanger(also, upgraded zuul.a.c to nodepool 3.11.0)19:03
pabelangerworking on zuul upgrade now19:03
corvuspabelanger: and keep in mind that every component could be a different version, so it really needs to be a list of components19:03
pabelangeryah, guess that is true19:03
openstackgerritJames E. Blair proposed zuul/zuul master: Re-order reference index  https://review.opendev.org/70296219:05
mnaserruning zuul with -f automatically enables debug :<19:10
openstackgerritMatthieu Huin proposed zuul/zuul master: JWT drivers: Deprecate RS256withJWKS, introduce OpenIDConnect  https://review.opendev.org/70197219:10
pabelangermnaser: I've found running with debugs helpful by default19:11
corvusthat may be, but that's not why -f does that19:12
corvuswe do not intend users to run with debug logs enabled19:12
corvusif there's something important that only shows up in debug, it should be moved to info19:12
pabelangerI'm just reading up on -f, I wasn't aware of it19:12
mnaserso that means the k8s stuff is by default outputting everything as debug19:12
corvus-f runs with debug due to historical reasons19:12
corvusyeah, it's a long complex process to unwind it, and i'm not sure anyone is pushing on that.19:13
corvusthe end result is we should have -f and -d do 2 separate things19:13
pabelangerah, didn't know we added -f19:15
corvusmaybe we just need to make -f not imply -d now?  i'm not sure where we are in the process.  tobiash might remember.19:15
openstackgerritMohammed Naser proposed zuul/zuul-helm master: Added support for configuring disk_limit_per_job  https://review.opendev.org/70296319:17
tobiashcorvus: you mean https://review.opendev.org/#/c/635649?19:17
tobiashI still need to address review comments on that, but I forgot about that19:19
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Add OpenShift SCC and functional test  https://review.opendev.org/70275819:20
pabelangermnaser: for 702963, does that mean, every config setting a user wants to tweak needs to be exposed?  Bringing back bad memories puppet-zuul and plumbing changes though all the layers19:20
mnaserpabelanger: corvus actually has a change that allows you to manage tehe secret externally19:21
corvustobiash, mnaser: yeah i think 635649 is the next step, then once everyone is using images with "-f" we can change "-d" to stop implying foreground.19:21
pabelangermnaser: ah, cool!19:22
pabelangerfor ansible-role-zuul, just shipped a minimal template, and if people wanted to toggle bits, they could pass in their own. Would be aweomse to do the same with helm19:23
mnaseri mean you could technically do that too by using templating, thats how i templated the connections19:23
pabelangeryah, I'm a big fan these days of passing in the whole config object, then each settings19:24
pabelangeris helm still a thing that runs inside your k8s? Much like heat does?19:25
mnaserno with helm 3 its more of a templating engine19:25
pabelangerack, thanks19:26
mnasercorvus: did we somehow manage to remove the ability to define extra files :(19:27
mnaseroh thats weird19:27
mnaseri never pushed that change ugh19:27
fungipabelanger: are you thinking of something like a versions endpoint which enumerates the versions of zuul and nodepool running on each executor, merger, builder, launcher...?19:28
openstackgerritSorin Sbarnea proposed zuul/zuul-jobs master: tox: change default calling as a module  https://review.opendev.org/69005719:28
openstackgerritMohammed Naser proposed zuul/zuul-helm master: Add extra files for secret  https://review.opendev.org/70296519:29
fungiit would also be fairly trivial to collect info on what versions of python dependencies are present in the module search path of each of those as well. i have some sample code i can provide which i'm using to do that in one of my personal projects19:29
pabelangerfungi: not sure, I mostly wanted to have an 'easy' way to check the version number of nodepool and zuul. Today, for zuul I can look at UI for zuul-web, but I guess that isn't the version number for all zuul services19:30
fungialso reporting info on the ansible envs for each executor could be a nifty addition19:30
fungibasically have one api method you can call to get information on the versions of zuul/nodepool/ansible and dependencies present on all of the components, so you can easily spot when you may have missed upgrading some or have unexpected inconsistencies between them19:31
clarkbcorvus: see note on https://review.opendev.org/#/c/702962/119:42
*** rishabhhpe has quit IRC19:43
mordredmorning all19:51
mordredclarkb: re: sdk and config-drive - for which settings? it shouldn't be doing much with config-drive in general?19:52
clarkbmordred: for the nova boot request for a config drive19:52
clarkbmordred: the setting is apparently set in the nodepool config but the instances that are booted do not get config drives19:52
clarkbif manually booted then it all works19:52
mordredoh, that's weird19:53
mordredyes - i agree, sdk logs would be nice19:53
tristanCcorvus: that traceback is not very helpful... could it be raised from another exception handler?19:55
corvusclarkb: i did that originally, but then i realized that *_def was subservient to config.  so jobs comes right after config+*_def.  the alternative would be for jobs to come before config, but config is more important; that seems backwards.19:56
corvustristanC: i agree; i didn't see any other logs nearby.19:57
tristanCthis time it took 8 rechecks to pass through the 'Unknown configuration error'19:57
corvusthere's clearly a code bug19:58
clarkbcorvus: it reads to me like jobs is an expansion of what is introduced in job_def19:58
tristanCiiuc, job that requires artifacts results in sql queries during freeze, and perhaps when there is too many parents the scheduler could choke and report that generic error comment?19:58
clarkb"here is how you make a job" and then "this is how you make jobs useful"19:58
corvusclarkb: oh, i see what you mean.  but i see all of the config reference as a unit.  i don't think we should interrupt describing how to configure the system and insert how to write jobs in the middle of that.19:59
corvusclarkb: perhaps some xrefs within job_def would help bridge the gap?19:59
corvusespecially in the *run attributes?20:00
corvus(here's how you say what playbook to run; follow this link to see what you can do in the playbook)20:00
clarkbcorvus: ++ was just going to suggest from the *run: directives20:00
pabelangerand upgraded zuul.a.c to 3.15.020:01
*** tosky has quit IRC20:04
*** bhavikdbavishi has quit IRC20:06
mnaserhmm20:08
mnaserdoes zuul include the upstream branches by any chance (or what would be a way you'd be able to compare the pristine branch vs local branch without doing a remote pull)20:09
mnaseri'm working on moving a piece of software to run under zuul and it does this thing where it tries to discover what are the changes it is testing20:10
clarkbmnaser: yes, I believe tehre are remotes for the source with appropriate pointers20:10
clarkbmnaser: is this a github project that is trying to check intermediate commits in a PR?20:10
clarkb(I really don't like that pattern, but I've seen it and developing a standard role for extracting that info might be a good idea)20:11
mnaserclarkb: i think this is one of those "lets reduce the amount of work we do by testing only the changes"20:11
mnaser"This means that e.g. a git diff origin/<branch>..<branch> will show the changes being tested." -- ok cool20:11
fungii think in that case zuul will show there are no changes20:13
clarkbya its not the origin remote20:13
clarkbI'm trying to figure this out. I had to look it up forever ago because kata does the walk through each commit in a PR and test them thing20:13
fungibecause zuul "tests the future" by providing your test environment with the speculative future states of all repositories involved based on whatever dependency information it's aware of20:13
*** sshnaidm is now known as sshnaidm|afk20:14
fungiit presents the future as if it were the present20:14
fungithough in most cases (as long as you can guarantee every commit will be tested before merging) it's likely sufficient to compare HEAD against HEAD^120:15
pabelangerfor https://zuul-ci.org/docs/zuul/reference/job_def.html#attr-job.match-on-config-updates does a config update, include a change to a job playbook? Or just zuul.yaml files them self? I am guessing just zuul.yaml files20:15
clarkbfungi: not if using github20:15
fungiand rely on the fact that there's another build ahead of that one where HEAD^1 is actually HEAD20:15
fungiclarkb: which is why i said "as long as you can guarantee every commit will be tested before merging"20:15
fungiif it's a github project following a rebase/squash methodology then it probably still holds20:16
fungiso long as the pr updates are squashed into the previous pr commit (so more like commit --amend)20:17
clarkbya20:17
clarkbmaybe it is the origin ref.20:18
clarkbheads/foo should be the zuul checkout for sure20:18
fungii'm really wishing i'd gotten a good photo of one of the "no rebase" road signs in mexico20:18
clarkbyup found it link in a moment20:20
clarkbmnaser: fungi https://opendev.org/zuul/zuul/src/branch/master/zuul/merger/merger.py#L766-L77120:21
clarkbits still a potentially speculative base, so each job would be responsible for their own piece of the delta pie20:21
clarkbfungi: ^ which answers your question20:22
fungiaha, okay so for a github pr with multiple commits, origin remote will possibly have the state of a pr it's marked as dependent on, or sequenced after, or else the actual origin branch tip20:24
clarkbfungi: I think in teh github case I think it means each PR has to be tested that way20:24
clarkbyup20:24
fungiright20:24
fungiso origin/master..master can still have multiple commits in it, but it will only be the commits present in your pr20:25
mordredyah20:25
openstackgerritSorin Sbarnea proposed zuul/zuul-jobs master: ensure-tox: use portable pip call  https://review.opendev.org/70297820:26
clarkbzbr|rover: does ^ mean that python3 only systems don't have `pip` but do have `pip3` and the python module 'pip'?20:27
openstackgerritSorin Sbarnea proposed zuul/zuul-jobs master: ensure-tox: use portable pip call  https://review.opendev.org/70297820:27
clarkbone problem with ^ is it will start running all tox targets that don't specify a python under python3 by default for many platforms20:27
clarkb(becuse our ansible connection is done via python3)20:28
zbr|roverclarkb: all systems with python3 have pip3, not pip (unless someone....)20:28
mordredzbr|rover: you sure?20:28
clarkbzbr|rover: well my pip is python320:28
clarkband I have pip3 too20:28
mordredyes - same20:29
clarkbmostly my concern with that change is tox runs jobs under the python it is installed under by default20:29
clarkbwhich means any target that doesn't specify a python could suddenly switch python versions after that changem erges20:29
mordredclarkb: it was already installing tox using an arbitrary python though20:29
clarkbmordred: well in our case it was the "system default python"20:29
clarkbmordred: because that is how dib sets things up20:29
mordredso Im not sure this changes the fact that pythonless tox envs are indeterminate20:29
mordredclarkb: fair point20:30
zbr|roverclarkb: let me put it this way: for centos-8 there is no tox package and if you install the system without the outdated python2, the ensure-tox role will choke big time.20:30
clarkbzbr|rover: because there is no `pip` only `pip3`?20:30
zbr|roveryeah!20:30
mordredis that installing pip from packages?20:31
zbr|roverthe only thing we know for sure is that we have one python installed, that is the ansible_python.executable one.20:31
mordredbecause I'll keep beating my dead horse that installing pip from distro packages is an exercise in pain ... but good to know20:31
zbr|roverusing module calling, we reach its pip.20:31
clarkbI'll have to think on this over lunch. But that change will likely break openstack stable jobs runnin on not bionic20:32
clarkbgranted those stable jobs should specify a python but we've already had to go through this with bionic defaulting to python320:32
mordredyah - I grok the issue that's trying to be solved and think the end result here will be more consistent - but I also agree with clarkb about thinking about it20:33
zbr|roveratm its is impossible for me to make use of ensure-tox, hopefully we can fix that.20:34
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: DNM: test arbritary uid support for zuul image  https://review.opendev.org/70298020:34
zbr|roveri hope that everyone agrees that we should aim to use platform default python, unless someone is overriding it manually.20:35
clarkbzbr|rover: that is not what your change does though20:36
clarkbypur change uses the ansible python which us not the platform default in many cases20:36
zbr|roverclarkb: it is, ansible team worked a lot to assure this. (assuming we are not talking about an outdated/buggy version)20:37
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: DNM: test arbritary uid support for zuul image  https://review.opendev.org/70298020:37
zbr|roverclarkb: or you prefer me to propose something like PIP=`command -v pip3 pip | head -n1` ?20:38
clarkbauto is really new20:38
clarkbits gonna be hard set in many cases20:38
zbr|roversince 2.8 detection works well, we already removed harcoding in most places in tripleo.20:39
clarkbpersonally I think we should prefer 'pip' if present as that tends to be the default20:39
zbr|roverif one is on 2.7, he is on his own.20:39
clarkbzbr|rover: but zuul supports more than 2.8 and 2.920:39
mordredyah20:39
*** armstrongs has joined #zuul20:40
zbr|roverthe reality is that the current hardcoded `pip` from the role may not exist, but  `<> -m pip` is guaranteed to exist.20:40
mordredyes - but is going to be a behavior change for a set of current users20:41
zbr|roverin the end I do not want to waste too much energy on this, I would be glad to use even a `command -v pip pip3` like you said.20:41
mordredso has the potential to be a breakign change20:41
zbr|roveras long we fix the problem.20:41
mordredagreee - fixing the problem is a good thing20:41
mordredzbr|rover: I think command -v pip pip3 might be the safest approach for now20:42
zbr|rovermordred: ok, updating it.20:42
mordredmuch as I do like the simplicity of python -m pip20:42
zbr|roverwe can work on that one later, when is less pressure. i support it too.20:43
tristanCcorvus: a child change of the 'Unknown configuration error' seems to be in an odd state, both of its job are in 'waiting' state, currently in the status page: https://zuul.opendev.org/t/zuul/status20:43
tristanCit's https://review.opendev.org/#/c/702980/, i was hoping it would demonstrate why we need https://review.opendev.org/#/c/650246/ in zuul image. iiuc, if both job are 'waiting', then it's never going to start20:45
openstackgerritSorin Sbarnea proposed zuul/zuul-jobs master: ensure-tox: improve pip detection  https://review.opendev.org/70297820:47
openstackgerritSorin Sbarnea proposed zuul/zuul-jobs master: ensure-tox: improve pip detection  https://review.opendev.org/70297820:48
mordredzbr|rover: typo20:49
*** armstrongs has quit IRC20:49
openstackgerritSorin Sbarnea proposed zuul/zuul-jobs master: ensure-tox: improve pip detection  https://review.opendev.org/70297820:50
tristanCcorvus: nvm, it was waiting for the build-image of the zuul change20:53
*** sgw has quit IRC20:59
*** rlandy|afk is now known as rlandy21:03
openstackgerritSorin Sbarnea proposed zuul/zuul-jobs master: ensure-tox: improve pip detection  https://review.opendev.org/70297821:04
openstackgerritSorin Sbarnea proposed zuul/zuul-jobs master: ensure-tox: improve pip detection  https://review.opendev.org/70297821:06
fungiianw: one other building block. we can indeed parse the pip log to find out what wheels we downloaded from pypi: sed -n 's,.*Downloading from URL .*/\([^/]*\.whl\)#.*,\1,p' pip.log21:08
fungithough might want to extend the pip wheel command to something like `pip --log pip.log wheel ...` so we can more directly control where the appending log resides21:08
fungioh, oops, that was meant for #openstack-infra21:09
fungisorry for the noise, folks21:09
*** jamesmcarthur has joined #zuul21:11
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Replace existing operator tasks with the new application  https://review.opendev.org/70210621:13
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Add custom image override  https://review.opendev.org/70286621:13
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: Add OpenShift SCC and functional test  https://review.opendev.org/70275821:13
openstackgerritTristan Cacqueray proposed zuul/zuul-operator master: DNM: test arbritary uid support for zuul image  https://review.opendev.org/70298021:13
*** sgw has joined #zuul21:14
*** jamesmcarthur has quit IRC21:17
*** jamesmcarthur has joined #zuul21:18
zbr|roverclarkb: mordred : i think ensure-tox now ready https://review.opendev.org/#/c/702978/21:24
*** jamesmcarthur has quit IRC21:25
clarkbzbr|rover: thanks that version looks safe for existing users21:26
zbr|roverclarkb: i hope so, i wasn't able to test it on rdo due to how that repo is consumed there.21:27
*** rfolco has quit IRC21:29
openstackgerritJames E. Blair proposed zuul/zuul master: Docs: move project config docs to user reference  https://review.opendev.org/70299221:48
openstackgerritJames E. Blair proposed zuul/zuul master: Move overview section to reference  https://review.opendev.org/70299521:55
*** sgw has quit IRC22:01
openstackgerritJames E. Blair proposed zuul/zuul master: Docs: re-order reference index  https://review.opendev.org/70296222:13
openstackgerritJames E. Blair proposed zuul/zuul master: Docs: move project config docs to user reference  https://review.opendev.org/70299222:13
openstackgerritJames E. Blair proposed zuul/zuul master: Docs: move overview section to reference  https://review.opendev.org/70299522:13
openstackgerritJames E. Blair proposed zuul/zuul master: Docs: add admin reference section  https://review.opendev.org/70299722:13
*** jamesmcarthur has joined #zuul22:13
corvusShrews: perhaps we should consider making the file hierarchy a little more flat so we don't have to keep updating redirects?22:13
Shrewscorvus: I guess we could. Isn't most of the redirecting done now though? Open to whatever is easier.22:15
corvusShrews: well, those 4 changes move stuff around that will need to update the redirects22:16
clarkbcorvus: http://paste.openstack.org/show/788503/ is the reason for that change having problems22:16
clarkbpossibly a github3 bug22:16
clarkbpabelanger: ^ have you seen that before?22:16
corvusclarkb: neat.  that's not ringing a bell22:17
* clarkb pulls up api docs for github22:17
clarkbhttps://developer.github.com/v3/pulls/reviews/#list-reviews-on-a-pull-request is what we are retriving when we fail22:18
clarkbI wonder if you can leave a review that isn't associated to a commit on a PR22:19
*** jamesmcarthur has quit IRC22:19
clarkbhttp://paste.openstack.org/show/788504/ I think that is what is happening there22:20
clarkbalso nice of github to make that available anonymously22:21
corvusclarkb: "neat" a review without a commit?22:24
clarkbcorvus: ya whats even better is that is a "changes requested" review which is associated to code changes that are edited on top of the code22:26
clarkbits really weird that they wouldn't have an associated commit id as a result22:26
clarkbbut I've found https://github.com/sigmavirus24/github3.py/issues/82522:26
clarkbjlk: ^ I know you mentioned you weren'22:26
clarkber22:26
clarkbweren't doing much with github3 because biking, but any idea if there was any further progress on that?22:26
clarkbI'm trying to sort out what exactly merged and why we appear to still hit this22:27
*** jamesmcarthur has joined #zuul22:28
clarkboh the merged change is the change that added the code that is hitting the bug22:28
clarkbnot a fix22:28
jlkyeah, no fix yet. Also we haven't done a release in a while, which I was going to do, but alas.22:32
clarkbjlk: actually looks like pabelanger got a fix merged22:32
clarkb(I see it in the code, now looking for it in the github side)22:32
clarkbbut I think we need a release to consume it22:32
jlkah, yeah22:33
clarkbhttps://github.com/sigmavirus24/github3.py/pull/944 there we go22:33
clarkbalright considering that I'm just gonna remove the depends-on on our side as the PR has already merged22:33
clarkbthen we can approve it and land our code knowing the next github3 release will fix this22:33
jlkthere, I closed the issue22:33
jlkI'll poke around at doing a release.22:33
clarkbthanks!22:34
*** jamesmcarthur has quit IRC22:35
*** jamesmcarthur has joined #zuul22:47
*** jamesmcarthur has quit IRC22:48
*** jamesmcarthur has joined #zuul22:52
*** smcginnis is now known as smcginnis|PTO22:52
tristanChttps://review.opendev.org/702758 shows zuul-operator working on openshift and kubernetes. though i had to use sf zookeeper image because all the other i tried failed to start22:55
*** jamesmcarthur has quit IRC22:55
clarkbfungi: makes an interesting point on https://review.opendev.org/#/c/671435/ about zuul's api. Zuulians may want to read that and see if they have any good ideas22:58
clarkblong story short is in order to provide live zuul status in a ci system like gerrit it would be good if we could retrieve status data for changes without tenant info22:58
clarkbbecause a change may be tested in more than one tenant22:58
funginow you've got me intrigued22:58
fungioh, that point22:58
fungiyeah, maybe just return status data for all tenants visible to the caller if that change is active in pipelines for any of them?23:00
clarkbmaybe we can aggregate all tenant jobs for a per change status?23:00
clarkbjinx23:00
fungithough that could present some minor ui challenges too23:00
mordredtristanC: interesting re: zk image. corvus mnaser - y'all haven't had zk image issues have you? makes me think it would be worth figuring out what's different here23:02
mnasermordred, tristanC: the chart i was using ran fine, esp in the zuul-system umbrella chart in CI23:04
clarkbmordred: I've not run zk out of a containter yet, but they give you a tarball with everything in it but java and it just works with my openjdk java23:04
clarkball that to say its weird23:04
tristanCIt's because openshift starts the service with arbritary uid, and the popular zookeeper images failed with permission denied (either on data, or conf)23:04
mordredah - gotcha. zk failed on openshift - not on plain k8s23:05
tristanCthe one from bitnani seems to work, but it requires an environment variable to start23:05
corvusthe quick-start job runs with zk in a container23:05
clarkblike you should be able to FROM openjdk wget | tar x CMD $pathto zkServer.sh start23:05
tristanChere is docker.io/library/zookeeper running in k8s: https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_d3a/702106/13/check/zuul-operator-functional-k8s/d3a3db4/docker/k8s_zk_zuul-zk-0_default_7bcc2511-3e26-410c-be28-0135893d7e8b_0.txt23:06
mordredtristanC: have I mentioned I don't like that "feature" ? :)23:06
tristanCand here is the same image in openshift: https://4dc2ad2f50a7fc6565c9-5b268c91353402091e090d56d63539d9.ssl.cf1.rackcdn.com/702758/5/check/zuul-operator-functional-openshift/2afb6c5/docker/k8s_zk_zuul-zk-0_myproject_2f3f4c82-387f-11ea-8792-fa163e725965_5.txt23:06
clarkbhow do you manage persistent data ni those cases?23:06
tristanCclarkb: when using persistent volume mount point, openshift does set the right uid23:07
fungipersistent data isn't cloud-native, get with the times! sheesh ;)23:07
fungiclearly you're not familiar with the newest trend, dataless computing23:07
tristanCmordred: actually, that feature is quite good because it reveal issue with your deployment, a service shouldn't be writting to the container rootfs, the data should be in a volume23:08
clarkbfungi: if you love NIH you'll love dataless computing. You get to reinvent everything each time you reboot :)23:08
mordredtristanC: "should" is often theoretical though and there's times when writing files that are meant to be ephemeral is fine23:09
mordredtristanC: but - it's not going away, so my complaining isn't going to accomplish anything useful23:09
tristanCmordred: right, but in that case, all the failure were related to data not meant to be ephemeral23:09
mordrednod23:10
tristanCmordred: ephemeral folder like /tmp or /var/tmp works as expected in openshift too23:10
clarkbShrews: you may want to check my comment on https://review.opendev.org/#/c/702828/2/nodepool/driver/static/provider.py to ensure I've read the behavior there properly23:54

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!