Monday, 2019-07-08

*** jamesmcarthur has joined #zuul00:01
*** jamesmcarthur has quit IRC00:23
*** jamesmcarthur has joined #zuul00:47
*** jamesmcarthur has quit IRC01:00
*** jamesmcarthur has joined #zuul01:02
*** jamesmcarthur has quit IRC01:17
*** altlogbot_2 has quit IRC01:28
*** altlogbot_0 has joined #zuul01:30
*** jamesmcarthur has joined #zuul01:45
*** jamesmcarthur has quit IRC01:51
*** dmyrhorodskyi has quit IRC01:52
*** jamesmcarthur has joined #zuul02:05
*** rfolco has quit IRC02:09
*** bhavikdbavishi has joined #zuul02:25
*** bhavikdbavishi1 has joined #zuul02:28
*** bhavikdbavishi has quit IRC02:30
*** bhavikdbavishi1 is now known as bhavikdbavishi02:30
*** bhavikdbavishi has quit IRC02:59
*** jamesmcarthur has quit IRC03:25
*** bhavikdbavishi has joined #zuul04:10
*** SotK has quit IRC04:14
*** SotK has joined #zuul04:15
*** AJaeger_ is now known as AJaeger05:17
*** raukadah is now known as chandankumar05:51
*** pcaruana has joined #zuul06:12
*** sanjayu_ has joined #zuul06:26
*** themroc has joined #zuul06:57
*** sshnaidm|ruck is now known as sshnaidm|afk07:21
*** jangutter has joined #zuul07:31
*** gtema_ has joined #zuul07:46
*** hashar has joined #zuul07:52
*** openstackgerrit has joined #zuul08:06
openstackgerritMerged zuul/zuul master: Fix multi-tenant caching of extra config files  https://review.opendev.org/66900808:06
*** brett-soric has joined #zuul08:11
*** tosky has joined #zuul08:11
*** AJaeger has quit IRC08:26
mhuHi there, we noticed that nodepool won't allocate a nodeset if all the nodes don't belong to the same pool: is this by design?08:33
*** sshnaidm|afk is now known as sshnaidm|ruck08:38
tobiashYes, cross pool multi node is not possible and would require quite some thought08:47
*** brett-soric has left #zuul08:56
*** AJaeger has joined #zuul09:40
*** gtema has joined #zuul09:46
*** gtema_ has quit IRC09:47
*** panda is now known as panda|bbl09:48
mhutobiash, sorry just seeing your answer - so this is deliberate IIUC?10:12
*** gtema has quit IRC10:13
*** gtema has joined #zuul10:14
*** electrofelix has joined #zuul10:29
*** panda|bbl has quit IRC10:33
*** hashar has quit IRC10:33
*** panda has joined #zuul10:37
*** bhavikdbavishi has quit IRC10:38
*** hashar has joined #zuul10:58
*** hashar has quit IRC11:27
fungimhu: deliberate, correct11:31
*** bjackman_ has quit IRC11:34
fungiat a minimum we need continued support for avoiding cross-provider or inter-region nodesets because some users of nodepool rely on that11:35
*** rfolco has joined #zuul11:38
*** bhavikdbavishi has joined #zuul11:43
*** bjackman_ has joined #zuul12:01
*** hashar has joined #zuul12:14
mhuthanks fungi !12:17
*** rlandy has joined #zuul12:29
* Shrews waves with his one good paw12:43
pabelangermhu: there are also some inefficiencies around multi-node quota handling too. We see some cases where 1 of 2 nodes will come online, but 2nd node cannot launch due to quota limit. Then you have an idle locked ready node until a slot frees up. In our cases, that could be 90mins12:45
pabelangerwould be nice to handle the nodeset request as single quota check12:45
mhupabelanger, ah yeah makes sense12:45
pabelangerbut yah, we've seen this issue too where a provider is filled up, but 3 others are empty12:46
pabelangerdue to multinode jobs12:46
*** bhavikdbavishi has quit IRC13:08
*** bhavikdbavishi has joined #zuul13:09
*** yolanda has quit IRC13:14
*** gtema has quit IRC13:31
*** electrofelix has quit IRC13:45
*** jamesmcarthur has joined #zuul13:47
*** jamesmcarthur has quit IRC13:52
*** michael-beaver has joined #zuul13:53
*** sgw has quit IRC13:57
*** dmellado has quit IRC14:09
*** dmellado has joined #zuul14:11
*** yolanda has joined #zuul14:15
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Don't use -latest nodesets in integration jobs  https://review.opendev.org/66967514:18
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Change the repo used in some base-roles tests  https://review.opendev.org/66967614:18
pabelangerlooking at statsd, I can see ansible-test-network-integration-ios-python37.SUCCESS.sum (or job.SUCCESS.sum) which I think is the time it look for the job to run. I can then add that into graphite or grafana to see the average run times over a week.  However, I am having a little trouble trying to see what the average time for all job runs in a week is (not sure which function i should be using is).14:29
pabelangerI'm trying to calculate compute hours basically14:30
*** dmellado has quit IRC14:30
*** dmellado has joined #zuul14:32
pabelangersumSeries, looks to give me the data in 1 day itervals14:32
pabelangerbut, I need to zoom out to 6 months in grafana14:33
*** chandankumar is now known as raukadah14:35
clarkbpabelanger: https://review.opendev.org/#/c/616306/ the data reported by that change may be more useful for compute hours?14:39
pabelangerclarkb: yah, that is a good start. I was looking to break it down further by job14:43
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Don't use -latest nodesets in integration jobs  https://review.opendev.org/66967514:45
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Change the repo used in some base-roles tests  https://review.opendev.org/66967614:45
clarkbpabelanger: the script in the zuul/tools dir called node_usage.py (I think) can do it down to job level14:46
clarkbbut requires access to logs14:46
pabelangerack14:47
*** gouthamr has quit IRC14:47
pabelangerI'm looking at grafyaml dashboards in openstack now, to see if this is already done14:47
clarkbit isn't14:49
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Add test job for ensure-sphinx  https://review.opendev.org/66895814:49
openstackgerritJames E. Blair proposed zuul/zuul-jobs master: Update the sphinx python package sets  https://review.opendev.org/66895414:49
*** dmellado has quit IRC14:49
*** dmellado has joined #zuul14:53
*** jamesmcarthur has joined #zuul14:54
*** gouthamr has joined #zuul14:56
*** jeliu_ has joined #zuul14:57
*** sgw has joined #zuul15:15
*** hashar has quit IRC15:30
*** rlandy has quit IRC15:31
*** rlandy_ has joined #zuul15:36
*** rlandy_ is now known as rlandy15:37
*** rlandy has quit IRC15:38
corvusmordred: i left a comment on 659180 which i suspect is at the level of minor typographical error, but could be more and is worth double checking.  otherwise, i dig it.  :)15:38
*** rlandy has joined #zuul15:44
*** rlandy is now known as rlandy_15:45
*** rlandy has joined #zuul15:45
*** jeliu_ has quit IRC15:57
Shrewscorvus: wow, mucho changes with nodepool testing, i see.15:58
corvusShrews: yeah, we landed the rework where we stop running nodepool as a devstack plugin, and just use devstack to get an openstack.  glean, sdk, dib, etc inherit from the new jobs, but they pass in most of their configuration, so that stuff isn't in the nodepool repo anymore.  i think there's still a little bit more we could move out of the nodepool repo and into the "consumers" but the heavy lifting is done;16:00
corvuswe can tweak that as we need to later16:00
corvusShrews: so i think zuul and nodepool repos are both ready to move to the zuul tenant; i'm finishing up zuul-jobs now... then i think we might be ready to make the move?  i'll have to check.16:01
*** gtema has joined #zuul16:01
Shrewsneat16:01
corvusShrews: last i checked we hadn't merged the admin web api yet, so i haven't pushed on your autohold stack.  there have been lots of people taking time off, so the atmosphere has been... "relaxed"? :)16:03
Shrewscorvus: ok. i noticed my stack is all in merge conflict anyway. i suppose it can just remain that way until we are ready to consider it16:05
corvusShrews: ack; i don't imagine the conflicts are major16:06
Shrewsfyi, i'm not expecting to be super productive for a couple more weeks. a fairly bulky sling prevents me from using that arm for typing16:07
Shrewsbut alas, my vacation days are all used up, so i"ll do what i can16:07
corvusShrews: it's nice to see your voice again :)16:08
Shrewslol16:08
*** mattw4 has joined #zuul16:09
corvusa general question for folks:  i'm looking at adding a feature to make files matchers match when a job's configuration is changed (right now, the best we can do is match "^\.zuul.yaml", which, if the repo has a lot of jobs, could mean running a bunch of unecessary changes; the only antidote to that is to put each job in its own file, and that's tedious).  so, if i add this feature, should a files matcher16:12
corvusjust always automatically match if the job config itself is updated?  or should we make it explicit, perhaps with something like matching a fake file which can't exist ("^/ZUUL_JOB$")?16:12
corvusclarkb, AJaeger, tobiash, SpamapS, pabelanger: ^ you may have thoughts, but i'd love to hear from anyone16:13
clarkbI think most users will want the default behavior of testing the job if its config changes. Maybe instead of an explicit matcher we have some way to disable a default of testing the job if its config updates?16:14
clarkbThat could be files-matcher-opts dict ?16:15
corvusthat could work16:15
*** bhavikdbavishi has quit IRC16:17
*** hwangbo has joined #zuul16:23
tobiashcorvus: that sounds like a great idea16:25
tobiash++ for explicit16:25
*** jamesmcarthur has quit IRC16:27
fungii do like the idea of always running a job if that job's configuration changes16:30
*** jamesmcarthur has joined #zuul16:30
fungiextending that to also trigger the job if any of its in-repo playbooks or roles are altered would probably also be desirable, though that seems like it would be nontrivial to determine16:31
AJaegercorvus: yeah, I was thinking about that problem when writing https://review.opendev.org/#/c/669148 - how to best self test a change. So, I'm all in for any change to a job triggers it - and agree with clarkb, we need a way to disable that...16:34
AJaegercorvus: and what about if a parent changes that is in the same repo?16:35
*** jamesmcarthur has quit IRC16:35
* AJaeger would be fine if .zuul.yaml (or smiliar) is updated, all jobs defined in that file are run16:36
*** igordc has joined #zuul16:37
corvusAJaeger: you can do that today -- the problem is that if we did that in either the zuul-jobs or the system-config repo, a single change could run enough unecessary jobs to exhaust a significant portion of our quota16:38
corvusbasically, those two repos have a lot of "unrelated" jobs -- system-config will eventually have a job for every server we run, and zuul-jobs will eventually have a job for every role it has16:39
AJaegercorvus: so, some more fine grained control would indeed be better...16:39
corvusi'm pretty sure i can get "change C has modifed job J, therefore run job J".  i'm not sure if calculating "change C depends on change B which modifies job J, so run job J on change C" is practical... it's possible, but it may involve quite a lot of computation.  so i'm going to aim for the simpler case first; we can expand it later.16:43
*** themroc has quit IRC16:48
fungiyeah, i think anything at all there is of some benefit16:52
fungiand the immediate change detection is probably the 90% case anyway16:52
openstackgerritJames E. Blair proposed zuul/zuul master: WIP: Run jobs when their own config changes  https://review.opendev.org/66972216:53
openstackgerritMerged zuul/zuul-jobs master: Add a script to make platform-specific versions of jobs  https://review.opendev.org/66895516:54
*** jamesmcarthur has joined #zuul16:56
AJaegercorvus: sure, start simple16:59
SpamapScorvus:I've wanted that smart file matcher for a long time. :)17:02
openstackgerritAndreas Jaeger proposed zuul/zuul-jobs master: Add Gentoo integration tests  https://review.opendev.org/66914717:06
*** igordc has quit IRC17:10
openstackgerritMerged zuul/zuul-jobs master: Add base role integration jobs  https://review.opendev.org/66806117:11
pabelangercorvus: wfm17:15
openstackgerritMerged zuul/zuul-jobs master: Add multi-node integration jobs  https://review.opendev.org/66876717:15
openstackgerritMerged zuul/zuul-jobs master: Don't use -latest nodesets in integration jobs  https://review.opendev.org/66967517:15
corvusSpamapS, pabelanger: do you have an opinion on whether it should be opt-in or opt-out?17:15
pabelangermaybe slight preference to opt-out?17:16
pabelangerI mean, if enabled by default wouldn't be a big issue for us I think17:17
AJaegercorvus: can we now remove testing from openstack-zuul-jobs?17:20
corvusAJaeger: iirc, there's some stuff that's only in ozj which may need to stay, but i think we can remove most of that; i'll work on that.17:22
AJaegerthanks, corvus !17:23
*** gtema has quit IRC17:24
*** jeliu_ has joined #zuul17:24
*** jamesmcarthur has quit IRC17:34
*** jamesmcarthur has joined #zuul17:37
SpamapScorvus:opt-out would feel more helpful. I could see some people not liking that17:41
*** igordc has joined #zuul17:41
openstackgerritMerged zuul/zuul-jobs master: Change the repo used in some base-roles tests  https://review.opendev.org/66967617:42
openstackgerritMerged zuul/zuul-jobs master: Add Gentoo integration tests  https://review.opendev.org/66914717:42
*** igordc has quit IRC17:43
*** SpamapS has quit IRC17:46
*** igordc has joined #zuul17:46
*** sanjayu_ has quit IRC17:47
*** jamesmcarthur has quit IRC17:52
*** SpamapS has joined #zuul17:55
*** jeliu_ has quit IRC17:57
*** jeliu_ has joined #zuul17:58
*** jamesmcarthur has joined #zuul17:58
*** jamesmcarthur has quit IRC17:59
*** jamesmcarthur has joined #zuul18:14
*** jamesmcarthur has quit IRC18:14
*** jamesmcarthur has joined #zuul18:15
openstackgerritMerged zuul/zuul-jobs master: Add test job for ensure-sphinx  https://review.opendev.org/66895818:30
openstackgerritMerged zuul/zuul-jobs master: Update the sphinx python package sets  https://review.opendev.org/66895418:34
*** sshnaidm|ruck is now known as sshnaidm|afk18:46
*** themroc has joined #zuul18:54
*** themroc has quit IRC18:56
openstackgerritJeff Liu proposed zuul/zuul-operator master: Create tasks that spin up kubernetes and run the operator  https://review.opendev.org/66802919:12
fungitristanC: i'm curious, what was the impetus for having zuul-operator depend on postgres? is that a more common rdbms choice in the kubernetes ecosystem?19:25
corvusfungi: mordred suggests that we replace that in the current revision of the spec19:28
fungiahh19:29
fungiseems reasonable19:29
fungii'll resist the urge to submit a typo fix to the readme for it if that is likely to go away anyway ;)19:30
corvusfungi: yeah, my view of the situation is that we're designing the system in the spec, and once we know where that's heading, we'll update tristanC's work to match; in the mean time, jeliu_ is working on getting jobs working so when we're ready to move forward, we'll have tests ready to go.  i'm not too concerned with the actual content of the repo right now (other than it's something that jeliu_ can load19:32
corvusinto k8s and execute); i don't think it reflects any final decisions19:32
*** jeliu_ has quit IRC19:32
*** jeliu_ has joined #zuul19:33
corvusthough maybe we should merge a readme update that says "this is not ready" :)19:33
fungithanks for the detail!19:33
openstackgerritJeff Liu proposed zuul/zuul-operator master: Create tasks that spin up kubernetes and run the operator  https://review.opendev.org/66802919:33
openstackgerritJeff Liu proposed zuul/zuul-operator master: Create tasks that spin up kubernetes and run the operator  https://review.opendev.org/66802920:11
mordredcorvus fungi: I agree with all of those words20:24
mordredcorvus: additionally, I love the idea of the feature to have file matchers match on job config changes - and I lean towards opt-out20:35
openstackgerritJeff Liu proposed zuul/zuul-operator master: Create tasks that spin up kubernetes and run the operator  https://review.opendev.org/66802920:35
mordredcorvus: I think it's the behavior people want to have happen most of the time20:35
mordredeven if they haven't thought about it super specifically20:36
mordredand _not_ doing it is a great way to foot-gun20:36
*** rlandy has quit IRC20:39
*** rlandy_ is now known as rlandy20:39
*** ianychoi has joined #zuul20:41
openstackgerritJames E. Blair proposed zuul/zuul master: WIP: Run jobs when their own config changes  https://review.opendev.org/66975220:46
*** pcaruana has quit IRC20:50
corvusi'm feeling more love for "out-out" so i'm going with that for now; if folks want to -1 that in review it won't be too hard to change.  i will now spend 2 hours attempting to name the option to disable it.20:51
fungiopt-out sgtm too, though it does mean a (probably subtle) change in behavior20:54
corvusyeah.  hopefully a welcome one.  :)20:55
*** mattw4 has quit IRC21:02
*** mattw4 has joined #zuul21:03
mordredcorvus: what if you name the option "untest-my-jobs-kthxbai"21:06
fungiplz-to-be-breaking-my-jobs21:08
*** jeliu_ has quit IRC21:16
*** jamesmcarthur has quit IRC21:17
*** mattw4 has quit IRC21:26
*** mattw4 has joined #zuul21:27
openstackgerritJames E. Blair proposed zuul/zuul master: Run jobs when their own config changes  https://review.opendev.org/66975221:39
corvusthose are both way better than what i went with.21:39
mordredcorvus: yours is less bad for different reasons21:40
*** jeliu_ has joined #zuul21:44
*** tjgresha has joined #zuul22:10
*** jeliu_ has quit IRC22:23
*** jamesmcarthur has joined #zuul22:34
openstackgerritJames E. Blair proposed zuul/zuul master: Run jobs when their own config changes  https://review.opendev.org/66975222:47
*** jamesmcarthur has quit IRC22:53
*** jamesmcarthur has joined #zuul23:00
*** tosky has quit IRC23:06
tristanCfungi: corvus: it's just that the available postgresql operator seemed easier to use23:14
fungigot it, thanks tristanC!23:14
*** andreaf has quit IRC23:15
*** andreaf has joined #zuul23:15
*** rlandy has quit IRC23:36
*** jamesmcarthur has quit IRC23:37
*** hwangbo has quit IRC23:42
*** mattw4 has quit IRC23:45
*** michael-beaver has quit IRC23:53
*** jamesmcarthur has joined #zuul23:57
*** hwangbo has joined #zuul23:58

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