Friday, 2018-08-03

clarkbcorvus: https://review.openstack.org/#/c/587580/4/roles/wip-upload-logs-swift/library/zuul_swift_upload.py has a comment saying we won't copy symlinked dirs but the test has a symlinked dir that seems to be in the filelist (symlink_loop_a)00:08
*** elyezer has joined #zuul01:51
*** swest has quit IRC01:52
*** elyezer has quit IRC01:54
*** swest has joined #zuul02:07
*** threestrands has joined #zuul02:11
*** threestrands has quit IRC02:23
*** hwoarang has quit IRC03:52
tobiashianw: a dib upgrade fixed the cleanup problem in the error cases I tested so that looks good03:54
ianwtobiash: ok, thanks; we pick off problems as they appear, but there's plenty of points lurking where things can go wrong that there is still a daemon running, or we don't catch exit status properly etc04:06
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add /{tenant}/job/{job_name} route  https://review.openstack.org/55097805:36
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add /{tenant}/projects and /{tenant}/project/{project} routes  https://review.openstack.org/55097905:40
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add /{tenant}/pipelines route  https://review.openstack.org/54152105:44
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: scheduler: add job's parent name to the rpc job_list method  https://review.openstack.org/57347306:01
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add /{tenant}/labels route  https://review.openstack.org/55397906:01
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add /{tenant}/nodes route  https://review.openstack.org/55399806:01
*** jimi|ansible has quit IRC06:33
*** jesusaur has quit IRC06:40
*** jesusaur has joined #zuul06:45
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add /{tenant}/labels route  https://review.openstack.org/55397907:12
tristanCjhesketh: thanks for all the review on the web route!07:14
jheskethtristanC: no worries, thanks for putting up with my nit-picking07:14
jheskethonce these are merged I'll do the web-ui side07:14
tristanCabout the nodes and labels one, i think we should also consider moving them to nodepool. i put the code in zuul to get an unified endpoint, but we may want to have zuul-web/zuul-webui setting to pull the data from the nodepool webapp07:16
tristanCwell, i think nodepool should be merged in zuul, but if it's not going to happen, we need to find a way for user to get access to that data07:17
jheskethI agree on both parts07:20
jheskethI think there was a time where nodepool made sense to be separate, but I'm not sure that's true anymore07:20
tristanCanother option would be to split the zk.py module in its own project, that would reduce code duplication07:22
jheskethwell it could be a library inside one project or the other and they two projects depend on each other07:33
*** jpena|off is now known as jpena08:20
*** jiapei has joined #zuul08:36
*** electrofelix has joined #zuul08:49
*** goern has joined #zuul10:04
*** jpena is now known as jpena|lunch11:03
*** jiapei has quit IRC11:47
*** elyezer has joined #zuul11:51
*** jpena|lunch is now known as jpena11:57
goernhmm, how do I develop a post-review job? Do I really need to merge something to get a test run triggered?!12:06
goernadding the job itself to a branch of the jobs repo and refering to it via Depends-On is done...12:09
*** panda|rover is now known as panda|rover|off12:17
pabelangergoern: yes, you'll need to merge changes first before able to test them with post-review.12:42
goernpabelanger, hmm, so I better prepare a test repo because testing will require a lot or merging empty commits? or will the new job be used when I enqueue a job again via commandline?!13:01
pabelangergoern: yah, another option is to move the job into a trusted project for testing, then you can test in check.  Just be careful not to leak a password in logs, then once working propelry, move job into untrusted project for and test for post-review pipeline13:04
*** jimi|ansible has joined #zuul13:06
goernpabelanger, ack13:08
*** swest has quit IRC13:44
*** swest has joined #zuul13:45
dmsimardcorvus: should https://www.youtube.com/watch?v=KXh0sh3ETkQ and https://www.youtube.com/watch?v=6177329H4Tg be on zuul-ci.org ?14:05
*** nhicher has joined #zuul14:40
clarkbjhesketh: tristanC: there continues to be a non zero set of users using nodepool to manage images in particular. But I also think that people have tlaked about using nodepool in conjuncton with eg jenkins15:03
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Switch storyboard url to be by name  https://review.openstack.org/58859715:18
openstackgerritMonty Taylor proposed openstack-infra/nodepool master: Switch storyboard url to be by name  https://review.openstack.org/58860015:20
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Add pause/unpause support to scheduler  https://review.openstack.org/58861015:44
-openstackstatus- NOTICE: The infra team is renaming projects in Gerrit. There will be a short ~10 minute Gerrit downtime in a few minutes as a result.16:04
openstackgerritMonty Taylor proposed openstack-infra/zuul-website master: WIP Add podcast.__init__ audio stream  https://review.openstack.org/58861516:05
*** jpena is now known as jpena|off16:44
*** openstackgerrit has quit IRC16:49
*** dmellado has quit IRC17:22
*** gouthamr has quit IRC17:23
*** gouthamr has joined #zuul17:26
-openstackstatus- NOTICE: Project renames and review.openstack.org downtime are complete without any major issue.17:30
*** gouthamr has quit IRC17:33
corvusclarkb, tobiash: can you +3 https://review.openstack.org/587580  ?  i'm uncomfortable leaving that vulnerability open longer than necessary17:40
clarkbcorvus: last night I asked about the test on that. symlink_loop/symlink_loop_b is asserted to be a directory but the code says we should skip loops?17:42
corvusclarkb: i believe symlinked directories are created as empty directories  (ie, the dirent is there, but there's no content because we don't recurse into it)17:44
corvus(symlink_loop is a real directory)17:44
clarkbgotcha17:45
corvuswe could probably eliminate that by doing an is-symlink check when we're adding directories to the list and skip it17:45
mnasermordred: carrying on that convo, we're pretty much gearing to have our entire infra managed by a single repo so we're running into a lot of interesting issues on how to manage17:46
corvusi'm not sure which is more desirable -- finding an empty directory where you expected some logs, or finding no directory17:46
mnaserthe idea is check/gate + post to run ansible and run against all infra, kinda like what infra is aiming to do now17:46
mordredmnaser: awesome!17:46
mnaserbut unsure on the whole balance of managing secrets within ansible vs within zuul17:46
mordredmnaser: the thinking infra-side so far has been to keep our secrets on what was puppetmaster.o.o and what is becomming bridge.o.o - and store a secret in zuul that has the ssh key needed to connect to bridge17:47
mnaserso storing a vault password and using it for the ansible run .. or just storing the secrets directly inside zuul and consuming them, still a *shrug*17:47
mordredmnaser: we haven't *done* that yet though17:47
mnasermordred: i see, so it's not single user workers that run ansible in post pipeline for example17:48
mordredbut yeah - similar to the first - storing a vault password - I just don't think we'll bother with vault17:48
mordredthat's at least not what we're looking at so far17:48
mnaseri see, if you don't mind me quickly asking, any reason in particular on why not go that route at least17:48
mordredcomplexity mainly. we have a LOT of secrets in our private hiera - it doenst' seem like a big win, for us, to encode each of them as zuul secrets. but also - rightnow zuul only has one version of ansible available, so we were a little concerned about tying ourselves to that version17:50
mordredso I'd say it's mostly a "how can we move forward in reasonable steps" thing17:51
mnasermordred: we have a ton of secrets too so that seems like a sensible thing to do17:51
* mnaser will have to think about this a bit more17:52
mordredyah. it's an interesting case ... we're definitely exploring some new ground here :)17:52
* mnaser will keep an eyeout17:52
clarkbcorvus: before you dive into fixing nodepool can we context switch back to the symlinks thing?18:05
clarkbcorvus: os.walk isn't following symlinks which is how we avoid loops right?18:05
corvusclarkb: it does not recurse into directories which are symlinks18:05
corvuswhich is how we avoid loops18:06
*** electrofelix has quit IRC18:06
clarkbcorvus: where do we check that? we check that the directories share a root but you could symlink loop under the same root right?18:06
corvusthe root check isn't about avoiding loops.  os.walk's behavior is how we avoid loops.  the root check is about symlinking to a file outside of the root to trick a role running trusted on the executor to give you a file you wouldn't normally have access to.18:07
clarkbright ok, the default os.walk behavior is the thing then. Thanks18:08
corvus(ie, bypassing the normal only access files inside the working directory checks we do)18:08
clarkbya18:08
*** openstackgerrit has joined #zuul18:35
openstackgerritMerged openstack-infra/zuul-jobs master: Swift logs: don't allow links outside of the supplied path  https://review.openstack.org/58758018:35
*** smyers_ has joined #zuul18:45
*** smyers has quit IRC18:46
*** smyers_ is now known as smyers18:46
*** gouthamr has joined #zuul19:04
logan-mnaser: similar use case here. we're migrating jobs from jenkins to zuul and using zuul secrets to drop an ansible vault password file currently. vault password file can also be a script, so there are some examples out there where the vault password can be loaded into a gpg agent so it is not stored on disk during the run. have not gone that route yet though.19:06
mnaseroh i didnt know the password can be a script, thats interesting19:07
*** smyers_ has joined #zuul19:27
*** smyers has quit IRC19:28
*** smyers_ is now known as smyers19:28
*** smyers_ has joined #zuul19:55
*** smyers has quit IRC19:56
*** smyers_ is now known as smyers19:56
*** dmellado has joined #zuul19:56
*** gouthamr has quit IRC20:00
*** smyers has quit IRC20:01
*** smyers has joined #zuul20:02
*** harlowja has joined #zuul20:21
*** rbergeron has quit IRC20:35
*** rbergeron has joined #zuul20:35
*** pcaruana has quit IRC21:38
*** gouthamr has joined #zuul21:48
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: Un-wip upload-logs-swift  https://review.openstack.org/58867722:48
openstackgerritMerged openstack-infra/zuul-jobs master: Add HTMLify logs role  https://review.openstack.org/58810523:09
*** harlowja has quit IRC23:48

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