Tuesday, 2018-04-10

*** logan- has quit IRC00:02
*** logan- has joined #zuul00:02
*** JasonCL has quit IRC00:03
*** JasonCL has joined #zuul00:08
*** JasonCL has quit IRC00:17
*** odyssey4me has quit IRC00:34
*** odyssey4me has joined #zuul00:34
dmsimardI wrote a blog post about Zuul, ARA and OpenStack: https://dmsimard.com/2018/04/09/scaling-ara-to-a-million-ansible-playbooks-a-month/00:52
dmsimard(and Ansible of course)00:53
dmsimardSuperuser would like to feature it on their blog. Is that okay ?00:53
dmsimardclarkb, fungi, mordred, corvus: ^00:54
pabelangerseems like good publicly for ARA01:06
pabelangerI see a link to zuul-ci.org too :)01:07
*** JasonCL has joined #zuul01:12
*** JasonCL has quit IRC01:14
Shrewscorvus: ooh, https://review.openstack.org/559326 merging will cause tests to flap i believe. i needed to fix the port in use by the new test to not conflict, but dinner and EOD got in the way01:16
Shrewsi'll try to toss something up now01:16
*** JasonCL has joined #zuul01:20
*** JasonCL has quit IRC01:27
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul master: Fix streaming test ports  https://review.openstack.org/55987501:45
Shrews^^ temporary fix. asyncio doesn't seem to like me passing it port 0 for some odd reason01:45
Shrewsif it becomes urgent, just merge that. otherwise, i'll look at a better solution tomorrow unless someone beats me to it01:47
*** trishnag has quit IRC02:13
*** trishnag has joined #zuul02:16
*** trishnag has quit IRC02:16
*** trishnag has joined #zuul02:16
*** jimi|ansible has quit IRC03:10
*** jimi|ansible has joined #zuul03:12
*** harlowja has quit IRC03:16
*** Canaimero-15d has joined #zuul03:27
Canaimero-15dhola03:28
*** Canaimero-15d has quit IRC03:32
*** harlowja has joined #zuul03:57
*** bhavik1 has joined #zuul04:03
*** bhavik1 has quit IRC04:08
ianwpabelanger: the nodepool boot tests are seeing a lot of issues with zk connection losses causing randomish failures; i think due to slow nodes.  maybe it's time to turn it into a two-node test ...04:28
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Update Github3.py to 1.1.0  https://review.openstack.org/55979805:01
openstackgerritMerged openstack-infra/zuul master: Add license and downgrade exception to alembic template  https://review.openstack.org/55405505:29
mrhillsmansean-k-mooney if you have not figured out the implicit role not found issue i think i may know what's going on but it is late for me so i will see if my theory is correct in the morning and check with you if you have figured it out05:36
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: Prefix existing indexes  https://review.openstack.org/55991006:30
*** harlowja has quit IRC06:40
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Also prefix the indexes if needed  https://review.openstack.org/53571806:48
*** hashar has joined #zuul07:07
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: Prefix existing indexes  https://review.openstack.org/55991007:17
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Also prefix the indexes if needed  https://review.openstack.org/53571807:17
*** AJaeger has quit IRC07:31
*** jhesketh_ has joined #zuul07:31
*** AJaeger has joined #zuul07:36
*** jhesketh has quit IRC07:37
*** jpena|off is now known as jpena07:45
*** electrofelix has joined #zuul07:47
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: Prefix existing indexes  https://review.openstack.org/55991008:05
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Also prefix the indexes if needed  https://review.openstack.org/53571808:05
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991008:22
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Also prefix the indexes if needed  https://review.openstack.org/53571808:22
*** jesusaur has quit IRC08:23
*** jesusaur has joined #zuul08:26
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix sql reporting with postgres  https://review.openstack.org/53572008:26
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add tests for postgresql  https://review.openstack.org/54951808:26
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add tests for postgresql  https://review.openstack.org/54951808:28
*** JasonCL has joined #zuul08:31
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991008:33
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Also prefix the indexes if needed  https://review.openstack.org/53571808:33
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix sql reporting with postgres  https://review.openstack.org/53572008:33
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add tests for postgresql  https://review.openstack.org/54951808:33
*** ssbarnea_ has joined #zuul08:43
*** ssbarnea_ has quit IRC08:51
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991009:05
openstackgerritFelix Schmidt proposed openstack-infra/zuul-sphinx master: Make the yaml parser aware of '!encrypted/' tags  https://review.openstack.org/55996309:08
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991009:19
sean-k-mooneymrhillsman: hi i have not had time to valideate the issues yet. reading back through http://eavesdrop.openstack.org/irclogs/%23zuul/%23zuul.2018-03-27.log.html#t2018-03-27T14:07:45 and https://etherpad.openstack.org/p/sqJ1DzLmSU i think this is at least part of my issue09:23
sean-k-mooneyfollowing the zuul from scratch docs gets you 90% of the way there. at least in my case i was able to get to the point that the noop jobs worked. the last 10% will is the tricky bit :)09:28
*** jesusaur has quit IRC10:02
*** jesusaur has joined #zuul10:15
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991010:30
*** JasonCL has quit IRC10:35
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991010:42
*** sshnaidm is now known as sshnaidm|bbl10:47
*** sshnaidm|bbl has quit IRC10:47
*** JasonCL has joined #zuul10:50
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991010:55
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991010:57
*** sshnaidm|bbl has joined #zuul11:27
*** JasonCL has quit IRC11:29
sigmavirus24jlk: tobiash github3.py 1.1.0 is released to fix the bug y'all were running into11:33
tobiashsigmavirus24: yay, thank you :)11:34
sigmavirus24Also if anyone has a good way of getting in touch with the Bandit devs that isn't openstack-dev, I'd greatly appreciate it. They wanted to move bandit to github.com/pycqa11:34
sigmavirus24(lhinds isn't anwering in #openstack-security and Eric hasn't answered a single email since February :( )11:34
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991011:36
AJaegersigmavirus24: That might be more for the tc channel. One suggestion: openstack-dev mailing list gives a record for reference, I would use that as additional means.11:36
sigmavirus24Ah good point. I had forgotten to check if the TC was even considering this :)11:37
sigmavirus24Amazing what a year away will atrophy in one's brain ;)11:39
AJaegersigmavirus24: if a PTL - and lhinds is PTL - is not reacting, then yes, I would reach out to TC.11:42
*** jpena is now known as jpena|lunch11:45
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991011:52
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Also prefix the indexes if needed  https://review.openstack.org/53571811:52
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix sql reporting with postgres  https://review.openstack.org/53572011:52
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add tests for postgresql  https://review.openstack.org/54951811:52
openstackgerritBenedikt Löffler proposed openstack-infra/zuul master: Add role information to task in zuul_json callback  https://review.openstack.org/55999811:52
*** sshnaidm|bbl is now known as sshnaidm11:53
*** odyssey4me has quit IRC12:00
*** odyssey4me has joined #zuul12:00
*** weshay_pto is now known as weshay12:03
*** openstackgerrit has quit IRC12:04
*** dkranz has joined #zuul12:20
*** gouthamr has joined #zuul12:23
*** rlandy has joined #zuul12:27
*** _ari_ is now known as _ari_|conf12:29
*** gouthamr has quit IRC12:43
*** openstackgerrit has joined #zuul12:43
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991012:43
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Also prefix the indexes if needed  https://review.openstack.org/53571812:43
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix sql reporting with postgres  https://review.openstack.org/53572012:43
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add tests for postgresql  https://review.openstack.org/54951812:43
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: test  https://review.openstack.org/56001312:43
*** gouthamr has joined #zuul12:44
*** gouthamr has quit IRC12:45
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: test2  https://review.openstack.org/56001412:46
openstackgerritFelix Schmidt proposed openstack-infra/zuul-sphinx master: Make the yaml parser aware of '!encrypted/' tags  https://review.openstack.org/55996312:47
*** jpena|lunch is now known as jpena12:53
*** logan- has quit IRC12:55
*** logan- has joined #zuul12:56
openstackgerritTobias Henkel proposed openstack-infra/zuul master: WIP: test  https://review.openstack.org/56001312:58
*** nhicher has quit IRC13:00
*** nhicher has joined #zuul13:00
*** JasonCL has joined #zuul13:08
fungidmsimard: excellent article! i'd be thrilled for it to get syndicated on su13:12
*** JasonCL has quit IRC13:13
dmsimardThe intent was to give a little bit of advertising to Zuul, hope it didn't come across otherwise13:13
fungisigmavirus24: the bandit move has been getting discussed at the weekly openstack security sig meeting (1500utc in the #openstack-meeting channel)13:13
fungisigmavirus24: also there's a #openstack-security channel though it's not terribly active13:14
fungiheh, and now i see you've been trying to reach them in there already13:15
*** JasonCL has joined #zuul13:18
*** Wei_Liu has quit IRC13:23
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991013:24
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Also prefix the indexes if needed  https://review.openstack.org/53571813:24
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix sql reporting with postgres  https://review.openstack.org/53572013:24
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add tests for postgresql  https://review.openstack.org/54951813:24
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul master: Fix streaming test ports  https://review.openstack.org/55987513:29
tobiashShrews: added a (nit) comment ^13:34
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul master: Make gearman calls async in ZuulWeb  https://review.openstack.org/56002613:34
Shrewstobiash: oh, oops13:35
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul master: Fix streaming test ports  https://review.openstack.org/55987513:35
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul master: Make gearman calls async in ZuulWeb  https://review.openstack.org/56002613:36
tobiashcorvus, clarkb: I think the postgres stack should be ready for review now. I created the index rename change as first change which tests the mysql index renaming and stacked the other postgres changes on top of it. That tests the renamed index and also the whole thing with postgres.13:44
tobiashmordred: don13:47
tobiashmordred: don't we have jobs on zuul-sphinx?13:48
mordredtobiash: I thought we did13:50
mordredtobiash: nope13:51
mordredtobiash: we have publish jobs defined, but no test jobs13:52
tobiashnothing seems to be triggered there and there are only post jobs defined13:52
corvusand i'm not sure the publish jobs work (unsurprising if the check jobs don't exist)13:53
mordredtobiash: maybe we should put together a job that builds zuul-jobs and openstack-zuul-jobs docs jobs against zuul-sphinx patches13:53
mordredof course, that would require me fixing siblings support for sphinx jos13:53
mordredjobs13:53
mordreds/me//13:53
mordredtobiash: pg patches look good to me - I left a comment on the first one. I don't think it *actually* matters given sizes of current data sets13:54
*** fdegir has quit IRC13:54
*** fdegir has joined #zuul13:54
corvusmordred: it might to openstack-infra?13:55
mordredcorvus: even with openstack-infra I'm not sure it's super important - it would only impact people browsing builds in the dashboard13:56
corvustrue13:56
mordredor, rather, searching for specific builds13:56
mordred(browsing being a table scan anyway)13:56
Shrewstrying to run the test_web test suite in Zuul locally, but getting: AssertionError: False is not true : Static web assets are missing, be sure to run 'npm run build'13:57
corvusShrews: you want https://zuul-ci.org/docs/zuul/developer/javascript.html13:58
corvusooh, we should change that exception message to include that link :)13:59
dmsimardmordred, corvus: thoughts on my late night ping I did last night about superuser.openstack.org ?13:59
mordred++13:59
tobiashmordred, corvus: changed the ordering locally. I can push this up or wait for further reviews first.14:00
corvusdmsimard: great idea :)14:00
Shrewswell that looks like a lot of work14:00
corvustobiash: i'm on change #2 right now14:00
corvusShrews: do you have docker installed?  if so, it's just "npm run build:docker"14:00
Shrewscorvus: no14:01
corvuser, rather, if you have npm installed14:01
mordreddmsimard: I love it - although if I were to provide any feedback on the content, I'd remove the words 'on AWS' from 'How much does 300 000 minutes (or 208 days) of compute costs you at AWS ?'14:01
dmsimardmordred: that's totally fair14:01
dmsimardmordred: It was a tongue in cheek thing but the effect is the same with AWS taken out14:02
corvusShrews: simplest thing is to install docker and run the second command there.14:02
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul master: Make gearman calls async in ZuulWeb  https://review.openstack.org/56002614:02
mordreddmsimard: it's a fantastic post though - you should totally transform it into a conference talk14:02
Shrewscorvus: or abuse our zuul  :)14:02
dmsimardmordred: well it's not like I submitted a talk about ara in vancouver or anything :(14:02
corvusShrews: or, if you want a bunch of stuff installed locally on your workstation, run tools/install-js-tools.sh (that's what i did)14:02
mordreddmsimard: because there are great lessons in there about the costs/benefits of static site generation vs. dynamic backends14:02
corvusmordred: well, there's a lesson about using static site generation for a *database*14:03
mordredcorvus, Shrews: yarn and npm (from the apt/yum repos in install-js-tools.sh are the only things that actually need to be installed on your laptop - everything else is self-contained inside of the source dir14:03
dmsimardmordred: I fixed the aws part, thanks for that14:03
*** swest has quit IRC14:05
mordredcorvus: yah - I think I'd say though that it can be extrapolated. the underlying point being that neither pre-generating all content nor dynamically generating all content are silver bullets and that analyzing actual data size, costs and usage patterns can be valuable14:05
openstackgerritMerged openstack-infra/zuul master: Fix streaming test ports  https://review.openstack.org/55987514:05
mordreddmsimard: also :( re: vancouver14:06
sigmavirus24fungi: thanks for tat. Just noticed your ping after bugging the -tc14:07
corvustobiash: all pg changes lgtm.  i think we can quickly re-review after you push up the change to the first.14:08
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991014:09
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Also prefix the indexes if needed  https://review.openstack.org/53571814:09
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix sql reporting with postgres  https://review.openstack.org/53572014:09
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add tests for postgresql  https://review.openstack.org/54951814:09
tobiashcorvus: ok14:09
corvusmordred: https://review.openstack.org/55991014:11
*** patrickeast has quit IRC14:11
*** patrickeast has joined #zuul14:11
corvustobiash: you can unwip and recheck https://review.openstack.org/559798 now14:12
tobiashcorvus: let's see if the release made it into the mirrors now14:12
corvusoh that14:12
corvustobiash: well, you can at least unwip it :)14:13
tobiashthe last recheck was already after the gh3.py release14:13
*** mnaser has quit IRC14:15
tobiashok, live log looks good14:16
*** mnaser has joined #zuul14:16
corvustobiash: you may also be interested in https://review.openstack.org/55934014:17
corvusthat might be good to sneak into the next release14:17
tobiashlooking14:18
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul master: Make gearman calls async in ZuulWeb  https://review.openstack.org/56002614:18
*** elyezer has joined #zuul14:18
tobiashcorvus: do we want a reno entry there is is this considered to just align implementation to the docs?14:18
*** gouthamr has joined #zuul14:19
corvustobiash: i'm okay skipping reno since it's aligning with the docs, but don't object if folks want to add one14:19
tobiashI'm ok with that, just wanted to ask :)14:20
*** sdoran has quit IRC14:23
tobiashcorvus: lgtm14:24
*** sdoran has joined #zuul14:24
tobiashgithub bump is green now \o/14:24
*** gregdek has quit IRC14:25
*** gregdek has joined #zuul14:26
corvustobiash: comment on https://review.openstack.org/55974514:27
*** zhuli has quit IRC14:28
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Remove initial release note  https://review.openstack.org/56003714:28
*** zhuli has joined #zuul14:28
tobiashcorvus: thanks, will change that later when I'm at home14:29
corvustobiash: do you want to drop in a reno about postgres?14:36
openstackgerritMerged openstack-infra/zuul master: Make reject a mirror of require for github  https://review.openstack.org/55934014:36
*** maxamillion has quit IRC14:38
*** maxamillion has joined #zuul14:39
*** gouthamr has quit IRC14:40
rcarrillocruzhey folks14:41
rcarrillocruzdropping https://github.com/ansible/ansible-runner in case you didn't see it14:41
rcarrillocruzit's a new project from tower folks, for better interfacing (and consuming) ansible14:41
*** elyezer has quit IRC14:48
corvusrcarrillocruz: thanks!14:49
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul master: Make gearman queries asynchronous in github driver  https://review.openstack.org/56004414:54
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul master: Make gearman queries asynchronous in github driver  https://review.openstack.org/56004414:55
openstackgerritMerged openstack-infra/zuul master: Prefix existing indexes  https://review.openstack.org/55991014:57
openstackgerritMerged openstack-infra/zuul master: Also prefix the indexes if needed  https://review.openstack.org/53571814:57
openstackgerritMerged openstack-infra/zuul master: Fix sql reporting with postgres  https://review.openstack.org/53572014:57
openstackgerritMerged openstack-infra/zuul master: Add tests for postgresql  https://review.openstack.org/54951814:57
*** elyezer has joined #zuul15:00
mordredcorvus: if you have a sec, https://review.openstack.org/#/c/551987 has 2x +2 but I've been holding it for you in case you wanted to review15:07
mordredcorvus:  I need to rebase the rest of the stack though due to merge conflict, so mostly trying to avoid full rebase - although I just realized that the rebase won't touch the first patch and it'll keep its votes, so nevermind, I'll just rebase the whole thing15:08
dmsimardAt what point are we upgrading to Ansible >=2.4 ? 2.3 is officially EOL since 2.5 was released: https://github.com/ansible/ansible/blob/devel/docs/docsite/rst/reference_appendices/release_and_maintenance.rst15:12
dmsimardcorvus: ^ my only comment towards the release of a 3.1/3.0.115:12
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Upgrade to webpack 4  https://review.openstack.org/55198715:14
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Upgrade from angularjs (v1) to angular (v5)  https://review.openstack.org/55198915:14
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Translate zuulStartStream into typescript  https://review.openstack.org/55861815:14
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Shift log streaming code into StreamComponent  https://review.openstack.org/55861915:14
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Use glyphicons for status balls  https://review.openstack.org/55199215:14
corvusdmsimard: i suppose we ought to do that soon.15:16
corvusprobably not tomorrow, but maybe it's the next thing we should focus on15:16
dmsimardcorvus: do we have some sort of strategy for testing user playbooks and roles prior to upgrade ? Seeing as Ansible minor releases notoriously introduce regressions (or behavioral changes)15:17
corvusdmsimard: nope.  what we have so far is "deal with the fallout" from upgrading to 2.4, then after that, work on supporting multiple versions (which would let folks opt-in to ansible versions per-job)15:18
dmsimardouch :/15:18
Shrewsi think maybe we should bypass the 2.4 goal and go straight to 2.5. that would give us more breathing room to implement the multiple version support15:21
Shrewsunless, of course, something is preventing us from going straight to 2.515:22
corvusShrews: you and tobiash are the experts :)15:22
fungiwe probably would also benefit from deciding on an ansible version support policy. like whether we get to stop caring about eol ansible versions or not15:22
Shrewspffft15:22
corvusfungi: indeed, especially once we have multiple version support, i'm not sure we will care that much -- at least, i imagine we should be able to carry "eol" versions for some time.15:23
tobiashwe at least depend on >=2.415:23
corvusShrews, tobiash: you want to see if jumping to 2.5 will work?15:24
*** Diabelko has quit IRC15:24
corvusit's a trade-off -- i think the 2.4 support is about ready in zuul, so we could merge it RSN.  but if it's not that much more work to use 2.5, it may be worth it.15:24
tobiashI could try that (possibly next week)15:25
corvuswe need someone to look at the action plugins, etc, for any changes we should know about15:25
*** acozine1 has joined #zuul15:26
tobiashcorvus: regarding pg I think I'll write a reno note15:26
corvusack15:27
pabelangerclarkb: Shrews: nodepool dsvm patch to use AFS mirrors for debian images: https://review.openstack.org/558633/ should help speed up testing on glean / diskimage-builder15:37
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Update in-development releasenotes title  https://review.openstack.org/56005715:40
*** Diabelko has joined #zuul15:41
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Upgrade from angularjs (v1) to angular (v5)  https://review.openstack.org/55198915:54
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Translate zuulStartStream into typescript  https://review.openstack.org/55861815:54
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Shift log streaming code into StreamComponent  https://review.openstack.org/55861915:54
openstackgerritMerged openstack-infra/zuul master: Remove initial release note  https://review.openstack.org/56003715:57
mrhillsmansean-k-mooney my theory did not pan out though i have been able to get jobs running16:00
mrhillsmanother than noop :)16:00
clarkbmordred: I'm attempting to write a test for the builds/ route in zuul-web so that I can make sure my asyncio chagnes don't break that. I'm getting AssertionError: False is not true : Static web assets are missing, be sure to run 'npm run build' how is it that this works under tox normally? (I've subclassed the base zuul web test class too)16:01
clarkbmordred: maybe I've just gotten the url wrong /me looks more16:02
clarkbaha api/tenant/builds maybe16:02
clarkbno that isn't it and the assertion is happening in set up. /me tries to run the other web tests16:04
corvusclarkb: you want https://zuul-ci.org/docs/zuul/developer/javascript.html16:05
corvuswe should make that exception output that url16:05
clarkbcorvus: but when we run tox -epy35 in the gate we aren't doing that right?16:05
clarkbwe're just running tox16:05
corvusclarkb: no, we build javascript first.  we have a special tox job16:06
corvusclarkb: http://git.zuul-ci.org/cgit/zuul/tree/.zuul.yaml#n3216:07
clarkbwe might want to consider using nodeenv and making it all automagic with tox?16:07
jlksigmavirus24: oh, hey thanks!16:07
corvusclarkb: i feel certain mordred must have considered that, but i don't recall the outcome16:08
*** maxamillion has quit IRC16:08
*** maxamillion has joined #zuul16:08
clarkbfwiw the docker command is failing with docker: Error response from daemon: invalid volume spec ":/usr/src/app:z": invalid volume specification: ':/usr/src/app:z' I don't think $(PWD) is getting expanded properly for some reason16:10
clarkbbecause its trying to execute PWD as a comamnd in $(PWD)16:11
* clarkb changes to ${PWD} and will push docs fix if that works16:11
mordredcorvus, clarkb: yes, actually, 've been thinking we should add nodeenv to zuul's tox16:14
mordredthe biggest issue is that we're using yarn currently, which people tend to prefer installing globally - but I just checked and it works as an npm install as well16:16
corvusit's probably worth noting that if you're going to develop on the js stuff, you're still probably better off running the install script.16:17
corvusbut 'how do i make the tests work' is definitely now a FAQ :)16:17
clarkbprogress! I now get a 40416:17
clarkbfrom my test, the existing tests work properly16:17
mordredcorvus: maybe we should hook up tox to use nodeenv if it doesn't find yarn/npm available globally16:18
corvusmordred: that sounds desirable, but i've forgotten the mechanism of nodeenv, so i'm vague on the mechanics of that :)16:18
mordredbut it turns out the nodeenv route is less efficient than just installing yarn, so it would behoove folks doing more regular dev to just install the tools16:19
clarkbcorvus: its a python package that builds node and npm in your virtualenv16:19
mordredcorvus: it piggybacks on virtualenv16:19
mordredyah16:19
clarkbcorvus: so you get a self contained nodejs and npm within the virtualenv like self contained python and pip16:19
corvusah cool -- how would we get tox to 'switch' on that?16:20
corvusi can just wait for the patch if you want :)16:20
mordredcorvus: patch coming16:20
mordredcorvus: but the tl;dr is thatit uses the bin dir in the virtualenv structure to put npm and friends, so tox's venv switching just works16:21
pabelangerI like that vs global npm installs :)16:21
* mordred still advocates for installing npm globally16:22
mordredit's no worse a tool to install globally than pip is16:22
clarkbmordred: the problem for me historically hasn't been npm its been node16:22
mordredBUT - nodeenv patch coming16:22
clarkbbecause distro node is ancient in many cases16:22
mordredright. not from distros16:22
clarkband so you have this weird bootstrapping problem of runtime too old to function16:23
mordrednode installed from the node repos16:23
corvusi've had it installed for weeks and have shown no symptoms of discomfort aside from minor blemishes16:23
clarkbbut once bootstrapped you are fine16:23
mordredsame here - except for months16:23
mordredI would not use distro node to bootstrap npm - I would install the apt/yum repos from node and use them exclusively16:23
mordred(as well as the apt/yum repos for yarn)16:23
clarkbya that helps if you yum or apt :P16:24
clarkbin my case I'm probably fine beacuse rolling distro16:24
mordredyah16:25
mordredclarkb: does tumbleweed have yarn?16:25
*** ttx has joined #zuul16:27
clarkbmordred: not in base repos16:29
clarkbbut does have nodejs 8 and 6 so in theory Ican just npm my way to a yarn?16:29
mordredclarkb: you can - although it's recommended to just install it globally via package management because it's a top-level thing you'd interact with16:34
mordredthat said - 'npm install yarn ; npx yarn install' will totally work16:34
mordredincidentally, 'npx' will let you run any command that was installed into node_modules/.bin in the current dir without needing to muck with paths16:35
mordredit's a worthy command to know about in the toolbox16:35
openstackgerritMerged openstack-infra/zuul master: Update Github3.py to 1.1.0  https://review.openstack.org/55979816:44
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add postgresql release note  https://review.openstack.org/56007916:45
tobiashcorvus: ok or too short? ^16:45
corvustobiash: perfect16:46
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix missing semaphore release on zk error  https://review.openstack.org/55974516:49
tobiashcorvus: ^16:49
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add postgresql release note  https://review.openstack.org/56007917:08
tobiashcorvus: what's the expected process on 559963 as there are no check/gate jobs there?17:10
pabelangertobiash: left comment on 56007917:12
tobiashpabelanger: you mean linking to https://zuul-ci.org/docs/zuul/admin/drivers/sql.html ?17:13
pabelangertobiash: yah, just to help point users to which setting supports postgresql17:14
pabelangermaybe even an example, does look like we provide on that page17:15
openstackgerritJames E. Blair proposed openstack-infra/zuul-sphinx master: Add build-sphinx check/gate jobs  https://review.openstack.org/56009017:20
corvustobiash: ^ merge that first, i think17:20
tobiashcorvus: thanks, lgtm17:21
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add postgresql release note  https://review.openstack.org/56007917:23
tobiashpabelanger: ^17:23
*** sean-k-mooney has quit IRC17:24
pabelangertobiash: I want to say we can use sphinx anchors to point to sql docs, over using a URL.17:24
tobiashoh, right17:25
pabelangerattr:: <sql connection> maybe?17:25
*** sshnaidm is now known as sshnaidm|bbl17:27
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add postgresql release note  https://review.openstack.org/56007917:28
tobiashpabelanger: ok, will try that17:30
clarkbwoo finally got it to 20017:34
*** openstackgerrit has quit IRC17:34
clarkbI have learned a lot about zuul web and the test framework mocking out databases17:34
clarkbor rather fixturing databases17:35
corvuswhew17:35
clarkbnow I just have to make fixtures that won't break everyone else17:36
*** openstackgerrit has joined #zuul17:36
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Add postgresql release note  https://review.openstack.org/56007917:36
clarkbit is probably a problem if the main single-tenant tenant config has a database configured since many tests that use it don't use the db test class right?17:37
clarkbsqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string '$MYSQL_FIXTURE_DBURI$' confirmed17:37
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Update pypi metadata  https://review.openstack.org/56009817:37
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Remove reference to zuul-migrate in extras  https://review.openstack.org/56009917:37
corvusclarkb: yeah, it's heavy-weight, so we only use it where needed17:37
clarkbseparately the mysql I ended up with doesn't do dns lookups by default. any objections to replacing localhost with 127.0.0.1 in the mysql fixture to accomodate that?17:38
pabelangerclarkb: corvus: tobiash: ^maybe pickup for next release too?17:38
corvusclarkb: no objection17:39
corvuspabelanger: left comments17:40
*** jpena is now known as jpena|off17:40
openstackgerritPaul Belanger proposed openstack-infra/zuul master: Update pypi metadata  https://review.openstack.org/56009817:42
pabelangercorvus: okay, I've -W 560099 until we decide how to move forward. I thought we removed it a while back, but maybe it was just disabling of testing cc mordred17:43
openstackgerritZane Bitter proposed openstack-infra/zuul-jobs master: Default warning-is-error to True for non-legacy Sphinx projects  https://review.openstack.org/55934817:51
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Upgrade from angularjs (v1) to angular (v5)  https://review.openstack.org/55198918:00
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Translate zuulStartStream into typescript  https://review.openstack.org/55861818:00
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Shift log streaming code into StreamComponent  https://review.openstack.org/55861918:00
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Use nodeenv for npm and yarn in tox  https://review.openstack.org/56010418:00
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Remove docker instructions and build:docker helper command  https://review.openstack.org/56010518:00
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Clean up developer javascript instructions  https://review.openstack.org/56010618:00
mordredcorvus, clarkb, tobiash: ^^ added nodeenv support, then did some doc cleanup18:00
mordredcorvus: although, come to think of it, with that patch I should be able to remove the zuul-tox-py35 job and go back to using stock jobs18:06
clarkbwhats a typical full test suite run take locally? I am making sure to run the whole thing since I've chagned some db related stuff18:07
clarkbits not as quick as I seem to remember it, I guess that means we've added a lot more testing18:07
*** electrofelix has quit IRC18:09
clarkbmordred: also you may know how to deal with this, the db fixtures grant access to the user from localhost but I'm running mysql in a container so I can delete it when I'm done and it sees the nat address not the localhost ip so I've just granted all foo@'' to deal with that currently18:10
clarkbI don't think we want to do that in the actual test suite code18:10
clarkbbut unsure if there is a better way to handle that18:10
tobiashclarkb: in january I think the full tests took around 8 to 10 minutes on my machine18:12
*** gouthamr has joined #zuul18:13
corvuslast time i ran them was about 6m i think?18:13
mordredclarkb: we could make it foo@% instead of foo@localhost18:13
clarkbmordred: that is what I did locally. I guess I can push that up as part of the use real ip addrs change too18:13
clarkbsomething like 4 chagnes are about to come up out of this and I realize now I didn't rebase on the postgres work so hopefully I don't have to also sort that out18:14
tobiashclarkb: ya, that would help me run the sql tests locally too18:14
clarkbtobiash: cool if it isn't just me it makes me feel better about doing it :)18:15
tobiashclarkb: maybe we should also make the target address configurable like with zk18:15
clarkbtobiash: ya though currently thats beyond what I've done as I've just done a port forwadr from localhost to container18:15
clarkbRan 515 (+514) tests in 911.563s (+903.689s)18:16
clarkbthat was my local wall clock about 15 minutes18:16
tobiashI'm running zk and mysql with docker compose18:16
tobiashAnd due to mac with docket in vm host networking is no option18:17
tobiashSo db and zk are really different hosts in my local testing18:17
*** gouthamr has quit IRC18:19
openstackgerritClark Boylan proposed openstack-infra/zuul master: Make db queries asynchronous in zuul-web  https://review.openstack.org/55985218:22
openstackgerritClark Boylan proposed openstack-infra/zuul master: Update mysql fixture for modern mysql  https://review.openstack.org/56011618:22
openstackgerritClark Boylan proposed openstack-infra/zuul master: Add test for builds/ web route  https://review.openstack.org/56011718:22
clarkbI've pushed the test as the parent change to the chagne in zuul-web so that we can see that zuul-web works correctly before and after18:23
clarkbnow to write the docs update change18:23
openstackgerritClark Boylan proposed openstack-infra/zuul master: Fix docker command in javascript docs  https://review.openstack.org/56011818:24
clarkbok I think ^ is all ready for review now18:24
clarkbtobiash: and maybe we build specifying the db address a change on top of that change18:25
*** harlowja has joined #zuul18:25
openstackgerritMerged openstack-infra/zuul master: Update in-development releasenotes title  https://review.openstack.org/56005718:28
clarkbShrews: ^ sorry just noticing now that your gearman change was based on my sql change. Do you want me to rebase it for you too?18:36
Shrewsclarkb: sure, thx18:37
openstackgerritClark Boylan proposed openstack-infra/zuul master: Make gearman queries asynchronous in github driver  https://review.openstack.org/56004418:37
clarkbdone18:37
*** gouthamr has joined #zuul18:38
clarkbargh I forgot to git add some things18:43
*** gouthamr has quit IRC18:43
openstackgerritClark Boylan proposed openstack-infra/zuul master: Add test for builds/ web route  https://review.openstack.org/56011718:44
openstackgerritClark Boylan proposed openstack-infra/zuul master: Make db queries asynchronous in zuul-web  https://review.openstack.org/55985218:44
openstackgerritClark Boylan proposed openstack-infra/zuul master: Make gearman queries asynchronous in github driver  https://review.openstack.org/56004418:44
clarkbI think that should be happy now with the git add done18:44
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Support databases on other hosts during tests  https://review.openstack.org/56012718:45
tobiashclarkb: ^18:45
tobiashthat might do it, have to create a postgres container before I can validate this locally18:46
*** sshnaidm|bbl is now known as sshnaidm18:48
corvuswithout the pg tests, i'm currently at "Ran 522 (+12) tests in 364.334s" locally18:48
clarkbcorvus: your cpu is likely much faster than mine :)18:48
clarkbI've got an older haswell era low power thing in a micropc18:49
clarkbmaybe I should upgrade18:49
corvusclarkb: Intel(R) Core(TM) i7-3770S CPU @ 3.10GHz.   i run the test suite entirely in tmpfs though.18:49
clarkboh that will help too18:49
clarkbI run it on my ssd18:49
corvusi decided to spare my ssd those flash cycles; it's really io heavy18:50
clarkbmean time to failure seems so incredibly high these days that I don't worry about it too much but also try to keep these disks largely ephemeral in content18:51
clarkbso they have git repos I can always reclone18:51
clarkbbut real data lives on the nas18:51
clarkbwhich runs zfs which totally had a scary bug recently :( thankfully I don't appear to ahve been affected because ubuntu zfs is too old18:51
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Support databases on other hosts during tests  https://review.openstack.org/56012719:02
tobiashclarkb: that makes sql (both mysql and postgres) work for me ^19:02
tobiashcorvus: what do you specify to run that in tmpfs? Just ZUUL_TEST_ROOT?19:04
*** openstackgerrit has quit IRC19:04
corvustobiash: yep19:05
*** JasonCL has quit IRC19:24
SpamapSHm, I get this a lot in my nodepool-launcher log19:28
SpamapShttp://paste.openstack.org/show/718853/19:28
*** JasonCL has joined #zuul19:30
tobiashSpamapS: that looks like zuul deletes a request (e.g. due to dequeueing an item) and nodepool then tries to update it and fails19:31
tobiashSpamapS: do you have an issue or is this just spam in the logs?19:32
*** JasonCL_ has joined #zuul19:32
SpamapStobiash: takes a *very* long time for a job to claim ready nodes.19:32
SpamapSI'm not sure this is the cause, or even a symptom19:32
SpamapSbut I have 5 ready nodes and it takes > 2 minutes to start a job19:33
SpamapShttp://paste.openstack.org/show/718854/19:34
SpamapSI'd expect that request to get served pretty fast19:34
SpamapSit's been sitting there for 2 minutes now19:34
*** openstackgerrit has joined #zuul19:35
openstackgerritMerged openstack-infra/zuul master: Fix docker command in javascript docs  https://review.openstack.org/56011819:35
*** JasonCL has quit IRC19:35
SpamapSand the worker I expect to pick them up, 'a', is just spinning on fetching servers/ports19:36
SpamapS4 minutes queued now19:36
*** JasonCL_ has quit IRC19:36
tobiashSpamapS: what's strange is that it's only processing the min-ready request19:37
tobiashI would assume that it processes both at the same time19:37
tobiashis there quota pressure?19:37
SpamapSnope19:38
SpamapScentos@zuul[zuul-gd]:~$ sudo -u nodepool /opt/venvs/nodepool/bin/nodepool list|wc -l19:38
SpamapS4719:38
SpamapSmax is 7519:38
openstackgerritMerged openstack-infra/zuul master: Update mysql fixture for modern mysql  https://review.openstack.org/56011619:39
SpamapSI do have one worker, 'p', that has max-nodes of 019:39
SpamapSBut I'd expect it to just decline it and quickly move on19:39
SpamapSIt's like nodepool just doesn't want to see that request19:40
tobiashSpamapS: did you configure max-concurrency in your provider?19:40
SpamapStobiash: no19:42
SpamapSis the default low?19:43
tobiashthe default is unlimited19:43
ShrewsSpamapS: use the --detail option to 'list' to see if those nodes are assigned19:43
Shrewsmight provide more insight19:43
Shrewsfwiw, i don't expect unlocked nodes to be assigned, but just curious19:45
SpamapSShrews: ok, it took about 11 minutes to grab a node and start the job btw19:46
SpamapSShrews: http://paste.openstack.org/show/718856/19:55
SpamapShttp://paste.openstack.org/show/718857/19:56
SpamapSrequests just sitting there unserved19:56
SpamapSSeems like what finally makes it work is that for some reason the launcher deletes one of the nodes, and creates a new one19:58
ShrewsSpamapS: that seems like a capacity thing. i can't help you much w/o access to your system, but the first thing i always do is grep the request number in the launcher logs (and maybe zuul logs) and follow the trail20:00
SpamapSShrews: capacity is about 50% used20:00
Shrewsand also make sure you're running the latest version of nodepool20:00
SpamapScentos@zuul[zuul-gd]:~$ sudo -u nodepool /opt/venvs/nodepool/bin/nodepool --version20:01
SpamapS3.0.120:01
ShrewsSpamapS: maybe max-servers is, but there's other capacity things in play.20:02
Shrewsanyway, follow the log trail20:02
clarkbhrm my unittests are still failing, I did rebase and didn't rerun tests so I'm guessing it is realted to that and am debugging20:03
SpamapSNo, that cloud is at 50%20:03
SpamapSI understand what you're saying20:03
SpamapSbut there were *5* ready nodes20:04
SpamapSSo not sure how capacity would even come into play.20:04
SpamapSTo me it looks like the 'a' worker doesn't pick the request up until something happens to trigger it20:04
SpamapSOnce it grabs the request, all works well20:04
SpamapSalso it's not consistent20:06
SpamapSsometimes it fires right up and runs the job20:06
SpamapStobiash: to your point, I wonder if I *SHOULD* make a concurrency limit20:08
openstackgerritMerged openstack-infra/zuul master: Upgrade to webpack 4  https://review.openstack.org/55198720:09
tobiashSpamapS: my question was targeted in the other direction20:10
tobiashI think you shouldn't make a limit20:11
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Use nodeenv for npm and yarn in tox  https://review.openstack.org/56010420:11
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Clean up developer javascript instructions  https://review.openstack.org/56010620:11
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Upgrade from angularjs (v1) to angular (v5)  https://review.openstack.org/55198920:11
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Translate zuulStartStream into typescript  https://review.openstack.org/55861820:11
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Shift log streaming code into StreamComponent  https://review.openstack.org/55861920:11
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Use glyphicons for status balls  https://review.openstack.org/55199220:11
openstackgerritClark Boylan proposed openstack-infra/zuul master: Add test for builds/ web route  https://review.openstack.org/56011720:11
openstackgerritClark Boylan proposed openstack-infra/zuul master: Make db queries asynchronous in zuul-web  https://review.openstack.org/55985220:11
openstackgerritClark Boylan proposed openstack-infra/zuul master: Make gearman queries asynchronous in github driver  https://review.openstack.org/56004420:11
clarkbok I think I got it there20:12
openstackgerritJames E. Blair proposed openstack-infra/zuul master: WIP: Add container spec  https://review.openstack.org/56013620:12
SpamapStobiash: well, if I have too many threads.. I may be suffering GIL problems20:12
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Remove docker instructions and build:docker helper command  https://review.openstack.org/56010520:13
SpamapSBTW, is it intentional that zuul-jobs rely on virtualenv being installed?20:13
*** JasonCL has joined #zuul20:13
*** JasonCL has joined #zuul20:13
corvusSpamapS: we haven't seen gil starvation until we have about 1000 simultaneous launches20:14
SpamapScorvus: ok, that's good to know. :)20:14
SpamapSthen I dunno what's causing it20:14
SpamapSit has ceased happening at this moment20:14
tobiashSpamapS: yah so maybe you want a limit but more like 10020:14
SpamapSI have max-servers at 75.. so it would be hard to get to 1000 ;)20:15
clarkbSpamapS: I think the tox ones likely rely on tox being installed too?20:15
SpamapSclarkb: they do not20:15
clarkboh neat20:15
SpamapSensure-tox is a thing :)20:15
SpamapSand I've just written an ensure-pip and ensure-virtualenv20:16
SpamapSwhich I will gladly contribute20:16
SpamapSjust want to make sure that is wanted20:16
corvusSpamapS: i think so20:16
SpamapS(and do it in such a way where it is a virtual noop when they're already present)20:16
tobiashcorvus: I wonder if it would be worth/possible to use asyncio instead of a thread per node20:16
SpamapSThis way I can use our base images unmodified20:16
SpamapSwhich is good for testing if things can work on those images. :)20:16
clarkbpip10 makes stuff like that more and more dangerous if we don't noop properly if already present20:16
clarkbso ya lets get that correct :)20:16
*** JasonCL has quit IRC20:18
*** JasonCL has joined #zuul20:22
mordredclarkb, Shrews, SpamapS, pabelanger: https://review.openstack.org/#/c/560104 could use review by anybody who doesn't have yarn/npm installed globally but still wants to run zuul tests locally20:26
*** JasonCL has quit IRC20:27
clarkbtopic:asyncio-db-queries is now ready for review and passes testing20:31
corvusi still have a review backlog of about 110 changes, so i won't be reviewing non-urgent recent changes for a while20:32
*** JasonCL has joined #zuul20:35
mordredclarkb: lgtm - I think there's an opportunity to refactor a smidge (as a followup) and shift the run_in_executor and await asyncio.wait_for stuff into rpc.submitJob so that the pattern isn't needed at each callsite - but what's there lgtm20:36
clarkbmordred: on the gearman one? I'll have to defer to shrews for that one20:37
corvusShrews: you decided not to use gear's own async handling like i suggested yesterday?20:38
clarkb(I just rebased it because it depended on my change initially and I was pushing too many patchsets)20:38
mordredclarkb: oh - that is Shrews isn't it20:38
corvusmordred: the rpc class is not only used by zuul web, so we shouldn't leak asyncio stuff into it20:39
*** JasonCL has quit IRC20:39
Shrewsyeah, i mean, we don't always want submitJob() to do asyncio things20:39
corvusbut it's also the case that we don't need to have the task wait inside the executor, since it's already async20:40
Shrewscorvus: does gear support asyncio?20:40
*** JasonCL has joined #zuul20:40
corvusShrews: no, but it *is* asynchronous20:40
corvus(asyncio is not the only way to write an asynchronous program)20:41
corvuszuul itself is an asynchronous single-threaded program.20:41
corvus(the scheduler at least)20:41
corvusso the same model that the zuul scheduler uses to deal with gear asynchronously can be used by zuul-web+asyncio20:42
Shrewsdoes it matter which way we do it?20:42
corvusthe only caveat for that is that submitjob still does wait on the network, so we might want to put that in an executor for now, and consider a change to gear to make it async.20:43
corvusShrews: the change was for efficiency, yeah?  this has a thread for every pending job which is only there to wait for the result from another thread.  this way works, but we could make significantly less use of threads with the other approach.20:44
Shrewscorvus: i thought asyncio used coroutines, not threads20:46
corvusShrews: run_in_executor uses a threadpool20:46
Shrewsah right. i think i remember that now20:46
corvusit seems like the escape hatch :)20:47
clarkbright it basically throws the action onto a thread in a threadpool os that it can wait for it to finish without blocking20:50
clarkbthen when you get a result your await can return and return to normal coordinating coroutines20:50
*** JasonCL has quit IRC20:51
openstackgerritIan Wienand proposed openstack-infra/nodepool master: Reduce strictness of growroot test  https://review.openstack.org/56015020:56
*** JasonCL has joined #zuul21:00
*** JasonCL has quit IRC21:03
*** acozine1 has quit IRC21:03
*** JasonCL has joined #zuul21:04
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Use nodeenv for npm and yarn in tox  https://review.openstack.org/56010421:06
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Clean up developer javascript instructions  https://review.openstack.org/56010621:06
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Upgrade from angularjs (v1) to angular (v5)  https://review.openstack.org/55198921:06
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Translate zuulStartStream into typescript  https://review.openstack.org/55861821:06
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Shift log streaming code into StreamComponent  https://review.openstack.org/55861921:06
*** hashar has quit IRC21:08
*** JasonCL has quit IRC21:08
corvusmordred, tobiash, pabelanger: do we want to hyperlink to documentation inside of release notes?21:21
corvusi'm looking at https://review.openstack.org/56007921:21
corvusand wondering if that's the pattern we want to establish.  it could get quite verbose.  do we want to do it for every note?  just new features?21:21
corvusshould we add it as a second paragraph like that, or just inline links?21:21
corvusmordred: are there patterns from other reno usages that you think have been successful?21:22
*** elyezer has quit IRC21:24
mordredcorvus: I think using doc references like that can be nice, given that we're building the releasenotes along with our docs ...21:28
mordredthe pattern doen't work for the regular openstack projects because the releasenotes are built/published separately (I've wanted to cross-reference in shade/sdk reno before though, so I think this one is neat)21:29
mordredI like how http://logs.openstack.org/79/560079/5/check/build-sphinx-docs/c631c1d/html/releasenotes.html winds up looking21:30
*** JasonCL has joined #zuul21:30
corvusokay, i'm mildly worried about brevity in release notes.  maybe we should just combine those 2 sentences into one paragraph as a compromise :)21:30
mordredah - yah. I think that would be fine21:30
mordredcorvus: the other entry in the bug fixes section already has some references too - and i lik ethey way they flow21:31
mordredcorvus: so I guess my vote is "it's ok to do - but may not always be necessary"21:31
*** JasonCL has quit IRC21:32
clarkbthe final rendering has all of the bug fixes in their own section at the end of the notes right?21:33
pabelangerI'm okay with new features linking to docs, but don't have a strong opinion is people opposite it21:33
clarkbso they don't overpower the typically more relevant info for end uers higher up in the list21:33
corvusclarkb: yes, that's visible in the link mordred pasted21:33
corvusi'm not sure bug fixes are less revelant for users :)21:34
corvusif it's not important, don't add a release note.  if it is, do.  :)21:34
clarkbthats fair21:34
mordredyah - and there are a few different sections you can put the note in21:34
corvustobiash: what's the status of https://review.openstack.org/535680 ?21:43
corvustobiash: (it says WIP, but is green and hasn't been updated in a while)21:43
corvusclarkb: your irc question was answered on https://review.openstack.org/53587821:51
*** elyezer has joined #zuul21:54
clarkb"If in addition in the future we get a way to trigger a reload via a Zuul admin protected API then it makes the process really straightforward." makes me wonder if maybe instead of running arbitrary code to get that data we could POST it as part of that command (and have it imply a reload too)?21:54
clarkbthat might be a cleaner api overall21:55
clarkb(however completely lacking such abilities today)21:55
corvusyeah.  maybe we move toward that in baby steps?21:57
clarkboverall my biggest concern is that this seems to fail relatively quietly and unload the config if it fails because it returns [] (but you'd have to double check me on that)21:57
clarkband so as a user you may not really notice then have a hard time debugging why tenants stopped working21:58
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Reformat tenant_config_script release note  https://review.openstack.org/56016421:58
corvusclarkb: that's my understanding22:01
corvusclarkb: maybe we could improve that with a warning22:01
corvusclarkb: but if you're still +2 on that, could you also +2  https://review.openstack.org/560164 real quick?  that way we don't have to respin that since it has 2x2 already22:02
clarkbcorvus: looking22:02
clarkband ya I'm generally +2 on the idea if it is helpful just awnt ot make sure errors are handled in a way that makes sense to people debugging them22:02
clarkbcorvus: done22:05
*** dkranz has quit IRC22:06
openstackgerritMerged openstack-infra/zuul master: Tenant config can be read from an external script  https://review.openstack.org/53587822:19
*** JasonCL has joined #zuul22:22
*** JasonCL has quit IRC22:23
*** JasonCL has joined #zuul22:25
openstackgerritMerged openstack-infra/zuul master: Allow using remote refs to find commits for change  https://review.openstack.org/54496422:25
openstackgerritMerged openstack-infra/zuul master: Reformat tenant_config_script release note  https://review.openstack.org/56016422:26
corvusmordred: you have a bunch of topic:javascript stuff that's stuck on outdated/abandoned dependencies22:29
*** JasonCL has quit IRC22:33
openstackgerritMerged openstack-infra/nodepool master: Reduce strictness of growroot test  https://review.openstack.org/56015022:37
*** acozine1 has joined #zuul23:03
openstackgerritMerged openstack-infra/zuul master: autohold: prevent using ',' in change argument  https://review.openstack.org/55632923:05
openstackgerritMerged openstack-infra/zuul master: Add clarity to *Zuul from Scratch* instructions  https://review.openstack.org/55634423:12
corvusmy review backlog is down to 63 at EOD23:22
*** JasonCL has joined #zuul23:28
*** JasonCL has quit IRC23:33
*** JasonCL has joined #zuul23:55

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