Monday, 2018-09-24

openstackgerritMerged openstack-infra/zuul-jobs master: lay down gentoo use file for openvswitch  https://review.openstack.org/60465501:18
openstackgerritMatthew Thode proposed openstack-infra/zuul-jobs master: create the pacage.use file...  https://review.openstack.org/60467102:20
AJaegertobiash: want to remove your -2 from https://review.openstack.org/#/c/578238/ ?04:09
*** _ari_ has quit IRC04:11
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: executor: add support for generic build resource  https://review.openstack.org/57066804:29
*** spsurya has joined #zuul05:02
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Implement a Kubernetes driver  https://review.openstack.org/53555705:09
tobiashAJaeger: of course05:20
tobiash+2 now05:20
openstackgerritMatthew Thode proposed openstack-infra/zuul-jobs master: use find instead of ls to list interfaces  https://review.openstack.org/60467705:22
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Support node caching in the nodeIterator  https://review.openstack.org/60464805:25
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Use node cache in quota calculations  https://review.openstack.org/60464905:25
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Cache iterations over ready nodes  https://review.openstack.org/60465005:25
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Use cache when counting poolnodes  https://review.openstack.org/60465105:25
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Use cache when deleting oldest unused nodes  https://review.openstack.org/60465205:25
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Fix race in test_launchNode_delete_error  https://review.openstack.org/60467805:25
*** jimi|ansible has joined #zuul05:29
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Support node caching in the nodeIterator  https://review.openstack.org/60464805:40
*** quique|rover|off is now known as quiquell|rover05:45
*** jiapei has joined #zuul05:46
*** pcaruana has joined #zuul06:05
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add labels page  https://review.openstack.org/60468206:13
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add nodes page  https://review.openstack.org/60468306:13
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Support node caching in the nodeIterator  https://review.openstack.org/60464806:31
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Use node cache in quota calculations  https://review.openstack.org/60464906:31
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Cache iterations over ready nodes  https://review.openstack.org/60465006:31
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Use cache when counting poolnodes  https://review.openstack.org/60465106:31
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Use cache when deleting oldest unused nodes  https://review.openstack.org/60465206:31
openstackgerritIan Wienand proposed openstack-infra/nodepool master: Use zuul-sphinx for configuration layout  https://review.openstack.org/60427406:33
openstackgerritMerged openstack-infra/zuul-jobs master: log-inventory: remove inventory_file usage  https://review.openstack.org/57823806:34
openstackgerritMatthew Thode proposed openstack-infra/zuul-jobs master: Add Gentoo iptables handling  https://review.openstack.org/60468806:38
*** quiquell|rover is now known as quique|rover|brb06:58
openstackgerritMatthew Thode proposed openstack-infra/zuul-jobs master: use find instead of ls to list interfaces  https://review.openstack.org/60467706:58
*** dkehn_ has joined #zuul07:11
*** dkehn has quit IRC07:12
*** dkehn_ is now known as dkehn07:12
openstackgerritMerged openstack-infra/zuul-jobs master: create the pacage.use file...  https://review.openstack.org/60467107:17
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Cache node iterations of DeletedNodeWorker  https://review.openstack.org/60469107:23
openstackgerritTobias Henkel proposed openstack-infra/nodepool master: Cache node iterations in cleanup workers  https://review.openstack.org/60469107:29
*** quique|rover|brb is now known as quiquell|rover07:30
*** jpena|off is now known as jpena07:49
tobiashtristanC: is the decision to use the path router in the webui rewrite fixed?08:04
tristanCtobiash: what do you mean?08:05
tristanCtobiash: the react ui is using the browserrouter already, not the hashrouter08:05
tobiashtristanC: ah, I missed the wrong word, browserrouter is path based right?08:05
tristanCtobiash: and to make the html5 links work, you need https://review.openstack.org/60425108:05
tristanCtobiash: that is correct, links will be "https://zuul.openstack.org/job/devstack"08:06
*** hashar has joined #zuul08:06
tobiashtristanC: that's why I'm asking because if I understood that right, the browserrouter requires rewrite rules to make deep links work08:06
tobiashwhile the hashrouter wouldn't08:07
tobiash(but has uglier urls)08:07
tristanCtobiash: that is also correct08:07
tristanCdeep link work if you start from '/', the ui use 'history.pushState()' which updates the url without doing http request08:07
tristanCbut then, if you copy-paste the link, they won't work without the rewrite proposed in 60425108:08
tobiashtristanC: is the ugly url the only drawback of the hashrouter?08:08
tobiashbecause that makes me think if the hashrouter would be the more general solution08:08
tristanCtobiash: afaict yes, you should be able to just s/BrowserRouter/HashRouter/ if you prefer that08:09
tristanCtobiash: i would also prefer if hashrouter would be the more general solution, as it simplifies sub-url setup08:09
tobiashwell I can deal with that, but I think about zfs and smaller deployments that might not have an apache in front08:10
tristanCtobiash: well i also fixed zuul-web to implement the rewrite rules, see https://review.openstack.org/#/c/591604/25/zuul/web/__init__.py08:10
tobiashah ok, so deployment without reverse-proxy will work08:11
tobiashdeployment with reverse proxy will need to change rewrite rules?08:11
tristanCtobiash: yes, as documented in https://review.openstack.org/#/c/591604/25/doc/source/admin/installation.rst08:12
tobiashtristanC: thanks, I wasn't that far with the review yet ;)08:12
tristanCtobiash: heh, no worries :)08:13
tristanCtobiash: i also wrote a blog post about React that may be useful, it's: https://www.softwarefactory-project.io/react-for-python-developers.html08:13
tobiashcool, thx08:14
openstackgerritFabien Boucher proposed openstack-infra/zuul master: Doc: executor operations - explain jobs will be restarted at restart  https://review.openstack.org/60313608:18
openstackgerritFabien Boucher proposed openstack-infra/zuul master: Doc: executor operations - explain jobs will be restarted at restart  https://review.openstack.org/60313608:20
*** openstackgerrit has quit IRC08:22
*** ianychoi_ has joined #zuul09:30
*** ianychoi has quit IRC09:34
*** chkumar|ruck has joined #zuul10:07
*** ssbarnea|bkp has joined #zuul10:23
*** jiapei has quit IRC10:23
tobiashtristanC: when I install zuul it doesn't copy the static css and js files to the destination10:52
tobiashtristanC: I'm installing with 'python3 setup.py install' and it does a yarn build and the generated files are in the source dir under /zuul/web/static/static/ which doesn't seem to be copied during installation10:54
tristanCtobiash: zuul/web/static/static is expected, is the zuul/web/static/index.html generated?11:02
tobiashtristanC:  zuul/web/static/index.html is generated and also installed11:02
tristanCbut not the static sub directory?11:02
tobiashthe second static dir is missing from the installation11:02
tobiashtristanC: what's also really strange is that if I curl /index.html I get an empty response, if I curl /foo then I get the expected generated index.html11:05
*** jpena is now known as jpena|lunch11:10
tristanCtobiash: hum, good catch, not sure how to instruct pbr to copy sub-directories too...11:26
tristanCtobiash: perhaps the static files needs to be moved to package-data, e.g. in /usr/share, and makes zuul-web uses pkg_resources as root location11:27
tobiashtristanC: the easiest way is probably to put an __init__.py file in there11:27
tobiashbut that's probably a hack ;)11:27
*** dkehn has quit IRC11:37
*** quiquell|rover is now known as quique|rover|brb11:40
*** dkehn has joined #zuul11:43
*** quique|rover|brb is now known as quiquell|rover11:45
*** samccann has joined #zuul11:54
*** _ari_ has joined #zuul11:56
tristanCtobiash: adding the __init__.py file is not enough, for some reason, the rest of the sub directory content doesn't get installed...11:56
tristanCand using package-data or data-files in setup.cfg doesn't seems to work with directory :(11:57
tobiashtristanC: did you try with globbing?12:01
tobiashhttps://docs.openstack.org/pbr/latest/user/using.html#files12:01
tobiashthe docs say that with globbing you can copy files and directories12:01
*** jpena|lunch is now known as jpena12:14
mordredtobiash, tristanC: morning! it *should* work, so that's sadmaking. you tried putting an __init__.py in there already?12:16
mordredtristanC: try putting 'include zuul/web/static/static/*' in MANIFEST.in12:17
tobiashmordred: is that manufest not recursive?12:17
*** rfolco has joined #zuul12:18
mordredtobiash: I thought it was - but maybe not?12:20
mordredtobiash: the story with additional files and setuptools is always a pile of black magic12:20
tobiashmordred: probably not, because zuul/web/static is in the installation, but zuul/web/static/static not12:20
tristanCmordred: indeed, MANIFEST.in does explain why zuul/web/static was created in the first place12:23
*** openstackgerrit has joined #zuul12:25
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: rewrite interface in react  https://review.openstack.org/59160412:25
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: rewrite interface in react  https://review.openstack.org/59160412:33
tristanCtobiash: last 2 PS should have fixed static file installation and zuul-web serving of real file paths12:33
tobiashtristanC: doesn't cherrypy.lib.static.staticdir already handle the file and we just need to return true in that case?12:34
tristanCtobiash: it seems like we need to return serve_file(), return true raises a 50012:36
tobiashtristanC: ah, you're right, just tried that and got 50012:37
mordredtristanC: sweet, the MANIFEST line worked then?12:38
tobiashchecking in a bit12:40
tristanCmordred: seems like it yes12:46
mordredtristanC: nice blog post on react - thanks for writing that12:46
tristanCmordred: thanks! you're welcome :-)12:47
mordredtristanC: re: "It installs command line tools in node_modules/.bin/." - don't know if you found this yet, but if you want to run an executable from that dir easily, you can use npx - so like, 'npx webpack' will run the webpack command from node_modules/.bin12:47
*** jiapei has joined #zuul12:47
mordred(I only recently discovered that - I've been doing ./node_modules/.bin/foo when I wanted to run something instlaled locally :) )12:48
tristanC"npx - execute npm package binaries" *facepalm*, i didn't knew that...12:49
tristanCi've been doing export PATH=${PATH}:$(pwd)/node_modules/.bin; and rely on the shell to execute binaries...12:49
mordredyup - I've done that one too12:51
tobiashtristanC, mordred: I've rebuilt the zuul-web container and now it includes the static stuff12:52
tobiashtrying the serving in a bit12:52
mordred\o/12:52
tobiashtristanC, mordred: it works :)13:03
tobiashthe fonts of the top bar are a bit small13:04
*** bbayszczak has joined #zuul13:42
bbayszczakpabelanger: Hi, the review concerning the zuul_return behavior when using it multiple times has been +2 (https://review.openstack.org/#/c/602054), what's the next step ?   Thanks !13:46
pabelangerbbayszczak: I'll review shortly, just finishing up a meeting now13:51
bbayszczakpabelanger: ok thanks !13:52
*** annabelleB has joined #zuul14:01
*** samccann has quit IRC14:05
*** samccann has joined #zuul14:06
*** chkumar|ruck has quit IRC14:08
*** bbayszczak has quit IRC14:13
*** chandankumar has joined #zuul14:14
*** chandankumar is now known as chkumar|ruck14:15
*** quiquell|rover is now known as quique|rover|off14:15
mordredpabelanger: that lgtm - something about it triggers my "I'd like to make sure corvus looks at it" sense just to make sure14:28
*** annabelleB has quit IRC14:28
pabelangermordred: Yah, agree14:30
pabelangerwith github driver, if I added a require label to for gate pipeline, then PR is enqueued into gate, but then remove the label, zuul doesn't remove the change from gate and the PR was merged14:38
tobiashpabelanger: that's because it's already triggered and github won't prevent merging because of a missing label14:39
pabelangertobiash: yah, unexpected difference with gerrit14:40
tobiashpabelanger: does it dequeue with gerrit?14:41
tobiashOr does just gerrit prevent the merge then?14:41
mordredgerrit prevents the merge14:41
pabelangersorry, not dequeue, what mordred said14:42
*** annabelleB has joined #zuul14:43
tobiashpabelanger: you could write a github app that reacts on '/approved' comments and sets an 'approved' build status14:44
tobiashthen you could require that and if you would '/decline' and the app removes that status you could prevent the merge14:44
corvustobiash: you could call that app "zuul" :)14:45
corvus(a pipeline could do that pretty easily)14:45
pabelangerso, pipeline after gate to recheck labels? then the merge?14:46
corvusso in github, you can't require a label with branch protection?14:49
pabelangerchecking docs, as I don't know14:51
pabelangerI only see status checks, not labels14:53
corvusthe thing about having zuul dequeue based on that is that, for example, openstack's gate pipeline removes a required label, so if we implemented that, the gate pipeline would immediately dequeue anything that went into it.  so we'd have to make it optional.14:57
*** chkumar|ruck is now known as chkumar|off15:02
corvusi'm going to be catching up on email and paperwork for a bit... i'll try to catch up with what's been going on soon.  :)15:03
*** bbayszczak has joined #zuul15:17
*** jesusaur has quit IRC15:26
*** jimi|ansible has quit IRC15:26
*** jesusaur has joined #zuul15:32
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Use = not : for ini settings in pypirc  https://review.openstack.org/60482015:39
tobiashcorvus: welcome back :)15:55
tobiashcorvus: that would work although a bit expensive15:56
openstackgerritClark Boylan proposed openstack-infra/nodepool master: Do Not Merge Testing glean + nodepool integration  https://review.openstack.org/60482615:56
*** bbayszczak has quit IRC16:06
*** jiapei has quit IRC16:43
*** dkehn has quit IRC16:49
*** hashar is now known as hasharDinner16:55
openstackgerritFabien Boucher proposed openstack-infra/zuul master: WIP - Pagure driver  https://review.openstack.org/60440416:55
clarkbhttps://review.openstack.org/#/c/604248/2 is a change that would be useful for the openstack team to support a cloud that changed some networking related stuff (and we need to have greater control over behavior via config passed to nodes from nodepool)16:56
clarkbif anyone has time to review that it would be much appreciated16:56
Shrewsclarkb: i'16:58
Shrewsi'll take a look16:58
clarkbthank you!@16:58
clarkbI think others have asked for this feature in the past too so gnerally useful16:58
clarkbwas that spamaps or tobiash ?16:58
tobiashclarkb: that probably was SpamapS16:58
tobiashlooking too btw16:59
*** dkehn has joined #zuul16:59
Shrewsclarkb: lgtm. could we add a release note in a follow up?17:09
clarkbShrews: ++17:09
*** sshnaidm has joined #zuul17:11
*** annabelleB has quit IRC17:12
*** annabelleB has joined #zuul17:13
*** sshnaidm is now known as sshnaidm|pto17:13
*** sshnaidm|pto has quit IRC17:20
*** jpena is now known as jpena|off17:21
openstackgerritMerged openstack-infra/nodepool master: Add instance boot properties  https://review.openstack.org/60424817:23
*** annabelleB has quit IRC17:32
*** sshnaidm|pto has joined #zuul17:33
*** annabelleB has joined #zuul17:40
tobiashShrews, corvus: tested znode caching in prod: https://paste.pics/fbe409084b1e084bc725820d43aa2c5017:46
tobiashboth peaks did the same requests, the first is without znode caching, the second with znode caching17:47
tobiashthis graphs the open node requests reported by zuul17:48
tobiashand single launcher with all requests served by a single provider17:50
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Block twine 1.12.0 when we install it  https://review.openstack.org/60486217:57
openstackgerritClark Boylan proposed openstack-infra/nodepool master: Add release note for instance-properties config  https://review.openstack.org/60486318:10
clarkbShrews: ^ that is the release note followup18:10
corvustobiash: i'm excited about the words "znode" and "caching".  it's definitely on my radar once i get caught up.  :)18:15
tobiashcorvus: that was my yesterday's evening project with some finetuning today :)18:16
*** samccann_ has joined #zuul18:36
*** sshnaidm|pto has quit IRC18:36
*** samccann has quit IRC18:36
*** dkehn has quit IRC18:39
*** dkehn has joined #zuul18:47
*** ianychoi_ is now known as ianychoi18:54
*** panda has quit IRC18:56
*** samccann_ has quit IRC19:08
*** pcaruana has quit IRC19:17
*** annabelleB has quit IRC19:31
*** dkehn has quit IRC19:35
*** annabelleB has joined #zuul19:37
*** panda has joined #zuul19:37
*** dkehn has joined #zuul19:57
*** jimi|ansible has joined #zuul20:19
*** sshnaidm|pto has joined #zuul20:34
*** samccann has joined #zuul20:40
*** samccann has quit IRC20:53
*** annabelleB has quit IRC21:01
*** annabelleB has joined #zuul21:03
*** sshnaidm|pto has quit IRC21:10
openstackgerritMerged openstack-infra/nodepool master: Add release note for instance-properties config  https://review.openstack.org/60486321:23
*** annabelleB has quit IRC21:34
*** sshnaidm|pto has joined #zuul21:40
ianwhey, could i ask for a couple of eyes on moving nodepool config documenation to zuul-sphinx (https://review.openstack.org/604274) and the associated zuul-sphinx change (https://review.openstack.org/604267)21:45
ianwit's one i'd prefer to not keep rebasing if we're generally happy with it21:45
*** AJaeger_ has joined #zuul22:10
*** AJaeger has quit IRC22:11
corvusianw: cool!  i left a comment on a small but important detail on the sphinx change22:11
ianwcorvus: ok, i did think it looked ok in italics, but not fussed.  did you write all zuul-sphinx?22:15
corvusianw: we did a big push to standardize things and wrote a style guide which touches on it: https://zuul-ci.org/docs/zuul/developer/docs.html#literal-values22:16
openstackgerritIan Wienand proposed openstack-infra/zuul-sphinx master: Add example and type options to attributes  https://review.openstack.org/60426722:17
corvusi think an example value would qualify as us "instruct[ing] a user to type a specific string into a configuration file" so that probably applies22:17
ianwyep, cool22:18
ianwi spent a bit of time trying to get zuul-sphinx to create an "contents" style overview of the options22:18
corvusoh that sounds useful (especially if you could ask for a subgroup of options)22:19
ianwyeah i started hacking around the "doctree-resolved" event and then traversing the desc type nodes, but it felt like square peg in round hole22:22
openstackgerritIan Wienand proposed openstack-infra/zuul-sphinx master: Add example and type options to attributes  https://review.openstack.org/60426722:26
corvusianw: there's a data structure with all the objects that's used by the resolve_xref method; not sure if that would be helpful22:29
*** panda is now known as panda|off22:38
*** mmedvede_ has joined #zuul23:00
*** jimi|ansible has quit IRC23:00
*** _ari_ has quit IRC23:00
*** Diabelko has quit IRC23:00
*** jlvillal has quit IRC23:00
*** fbouliane has quit IRC23:00
*** mmedvede has quit IRC23:00
*** mmedvede_ is now known as mmedvede23:00
*** sshnaidm|pto has quit IRC23:04
*** hasharDinner has quit IRC23:05
*** Diabelko has joined #zuul23:08
openstackgerritClark Boylan proposed openstack-infra/nodepool master: Do Not Merge Testing glean + nodepool integration  https://review.openstack.org/60482623:54

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