Wednesday, 2018-09-26

*** annabelleB has quit IRC00:05
openstackgerritMerged openstack-infra/zuul-jobs master: use find instead of ls to list interfaces  https://review.openstack.org/60467700:26
openstackgerritMerged openstack-infra/zuul-jobs master: Add Gentoo iptables handling  https://review.openstack.org/60468800:50
*** hashar has joined #zuul00:56
*** rlandy has joined #zuul01:05
*** rlandy has quit IRC01:19
*** hashar has quit IRC01:26
pabelangerfor an untrusted job, do you think we can have it be able to read zuul.executor.inventory_file but not write it? Today log-inventory needs to be a trusted job and trying to see how to make it untrusted01:48
clarkbpabelanger: you might be able to make an exception for that one file but in general arbitrary reads are not safe for the executor either01:49
clarkbcould expose sensitive data that way01:49
pabelangerclarkb: yah, agree. Given we don't do any filter of the inventory file today, I would assume sensitive data is okay in this case01:51
pabelangerI know we don't want to allow writes, to prevent an trusted job from changing the file for the next playbook run01:52
pabelangers/trusted/untrusted01:52
clarkbits a general restriction we dont allow read or wrotes outside the workspace for the job01:53
clarkband I dont think we can allow reads generally is what I mean01:53
clarkbfor this one file it is probably ok01:53
clarkb(since we copy it anyway for logging)01:53
pabelangerYup, will raise it again in the morning.01:54
pabelangersee what others say01:54
*** pcaruana has joined #zuul04:14
*** pcaruana has quit IRC04:38
tobiashpabelanger: I think making an exception for this file will open the door for subtile security issues. I think it would be safer to just copy the inventory file into the work root too so an untrusted job can fetch it from there (and writing to it will be harmless)04:45
openstackgerritMerged openstack-infra/zuul master: Web: don't update the status cache more than once  https://review.openstack.org/60524304:57
*** quique|rover|off is now known as quiquell|rover05:40
*** pcaruana has joined #zuul05:43
*** quiquell|rover is now known as quique|rover|brb06:43
*** chkumar|off is now known as chkumar|ruck06:44
*** quique|rover|brb is now known as quiquell|rover07:00
*** hashar has joined #zuul07:06
*** jpena|off is now known as jpena07:51
*** hashar has quit IRC08:06
*** hashar has joined #zuul08:06
openstackgerritFabien Boucher proposed openstack-infra/zuul master: Doc: executor operations document pause, remove graceful  https://review.openstack.org/60245508:55
openstackgerritFabien Boucher proposed openstack-infra/zuul master: Doc: executor operations - explain jobs will be restarted at restart  https://review.openstack.org/60313608:55
*** chkumar|ruck has quit IRC08:58
*** chandankumar has joined #zuul08:59
*** chandankumar is now known as chkumar|ruck09:00
*** electrofelix has joined #zuul09:26
*** ssbarnea|bkp has quit IRC09:28
*** hashar is now known as hasharAway09:51
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: CLI: add create-web-token command  https://review.openstack.org/60538610:06
electrofelixFor the independent pipeline manager, does zuul still merge the change to the target branch before testing? Know it doesn't merge changes in the pipeline together, but unclear about whether it's the change under test that is just checked out or a merged result of the target branch (usually master) + change proposed merged together10:14
*** pcaruana has quit IRC11:15
*** jpena is now known as jpena|lunch11:21
*** bbayszczak has joined #zuul11:59
*** jimi_|ansible has joined #zuul12:13
*** rlandy has joined #zuul12:18
*** quiquell|rover is now known as quique|rover|lch12:20
*** panda|off is now known as panda12:21
pabelangertobiash: yah, that is an option too.12:22
*** jpena|lunch is now known as jpena12:28
*** quique|rover|lch is now known as quiquell|rover12:44
logan-electrofelix: yes it is merged to the target branch12:47
*** sshnaidm is now known as sshnaidm|mtg13:07
dmsimardbtw: Ansible to adopt molecule and ansible-lint projects, https://groups.google.com/forum/m/#!topic/ansible-project/ehrb6AEptzA13:13
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: CLI: add create-web-token command  https://review.openstack.org/60538613:18
*** chkumar|ruck is now known as chandankumar13:26
*** samccann has joined #zuul13:27
electrofelixlogan-: thanks, good to have it confirmed13:29
electrofelixI thought this was the case but couldn't find the right doc to confirm to dispel some confusion about merging multiple changes versus individual ones13:30
*** panda has quit IRC13:32
*** bbayszczak has quit IRC13:39
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: CLI: add create-web-token command  https://review.openstack.org/60538613:58
*** bbayszczak has joined #zuul14:09
pabelangercorvus: do you some time later today to help debug upload-logs-swift things? Last week we started testing it for ansible-network, but ran into some issue with indexes not working for tox-docs jobs14:16
pabelangerI am unsure if an issue with zuul-job side, or something to debug with mnaser14:16
*** panda has joined #zuul14:21
*** bbayszczak has left #zuul14:26
*** bbayszczak has joined #zuul14:26
bbayszczakHi guys.   In leboncoin we are using Hashicorp Vault to manage our secrets.  Is a Vault integration something you would like to see in Zuul ?14:26
*** bbayszczak has quit IRC14:29
*** bbayszczak has joined #zuul14:30
pabelangerbbayszczak: I've seen the question raised before but so far just secrets with existing system. I think so far has been no, just to keep secret management simple14:35
*** bbayszczak has quit IRC14:35
*** bbayszczak has joined #zuul14:36
mordredyeah - I think we'd need to think pretty deeply about what integration with an external secrets system would look like ...14:43
mordredbut I imagine that what one might want to do is store an access key for vault as a zuul secret, so that a given job could make use of vault secrets14:44
mordredbut so that the zuul structures and constraints related to trusted/untrusted job content can still apply to the access key14:45
mordredit's certainly worth pondering how the two interact so that we at least have a story14:45
*** annabelleB has joined #zuul14:51
dmsimardmordred: how far away are we from landing the zuul ui refactor ?14:53
dmsimardthere's a good amount of backlog in the openstack queues and http://logs.openstack.org/04/591604/27/check/zuul-build-dashboard/3acc9d4/npm/html/status makes my browser happier than zuul.openstack.org :D14:54
corvushopefully soon, but https://review.openstack.org/591604 is currently failing tests14:56
dmsimardtristanC: ^14:58
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: rewrite interface in react  https://review.openstack.org/59160414:58
dmsimardcorvus: thanks14:58
corvustimely :)14:59
*** pcaruana has joined #zuul15:01
*** bbayszczak has quit IRC15:01
*** bbayszczak has joined #zuul15:02
mordredcorvus, dmsimard: speaking of - have y'all looked at the puppet-zuul patch tristanC wrote?15:24
*** annabelleB has quit IRC15:24
mordredhttps://review.openstack.org/#/c/60425115:25
bbayszczakmordred: as you said we will try to provide Vault access to job through Zuul secrets15:26
bbayszczakmordred: we will come back with a feedback on it :)15:26
bbayszczakmordred: thanks15:26
dmsimardmordred: I have not15:26
mordredbbayszczak: cool - I'll be interested to hear how it works for you - it's probably a recipe that other people will be interested in15:26
*** chandankumar is now known as chkumar|off15:26
dmsimardmordred: personally I think that there's a bit too much logic in the vhost15:27
*** quiquell|rover is now known as quique|rover|off15:27
mordreddmsimard, corvus: also, I don't know if you've tried it out (it works on the preview versions) - but if you naviagate to that link above on a phone, you can add the dashboard as an "app" on your phone, because the progressive web stuff is all enabled. it's super cool15:27
*** quique|rover|off is now known as quique|off15:28
mordredit'll be more cooler once we've deployed it, because the 'app' will then auto-update itself in the background15:28
dmsimardmordred: I'm not sure what you mean, wouldn't that just be a browser bookmark ?15:29
*** sshnaidm|mtg is now known as sshnaidm15:29
mordreddmsimard: no - it does a $something that's different, and when you launch it from the saved launcher, it doesn't launch in a browser, it behaves like a phone app15:31
bbayszczakcorvus: Hi, Monty Taylor asked for your opinion on https://review.openstack.org/#/c/602054 . If you could have a look :) . Thanks in advance15:32
mordreddmsimard: if you browse to that logs link above and ten click the browser menu, you'll see "Add to Home Screen"15:35
dmsimardcompletely unrelated15:35
dmsimardzuul now puts comments on the gerrit lines for highlighting syntax errors15:35
dmsimardwhat ?15:35
corvusbbayszczak: good call, thanks :)15:35
dmsimardthat is awesome15:35
mordreddmsimard: yah man - how cool is that?15:35
mordreddmsimard: I've got a half-done patch to get the pep8 jobs to do the same thing15:36
dmsimardI will buy an alcoholic beverage to the fine person who contributed this feature15:36
* mordred introduces dmsimard to his friend corvus15:36
dmsimardWhat a coincidence, I'll be in Austin next week :p15:36
corvusdo they even have booze in austin? ;)15:37
dmsimardIt'll be my first time but Robyn says there's a good place nearby15:37
mordreddmsimard: https://review.openstack.org/#/c/589634/15:37
pabelangertacos!15:37
clarkbcorvus: they are very proud of their vodka in austin (which is weird to me but ok)15:38
corvuswow logs expired on that :)15:38
dmsimardhttp://sevengrandbars.com/austin/15:38
mordredcorvus: do you remember what I was waiting on for that pep8 update? I feel like it was important I hold off and wait for something, but I think that something got done15:38
corvusclarkb: i did not know that15:38
mordredcorvus: oh - it was the mapping of line numbers15:38
corvusmordred: and that's done!15:38
dmsimardmordred: it would be interesting to brainstorm how the new ara api can help pinpoint errors and send people in the right direction15:39
mordredclarkb, corvus: Tito's is one of the best vodkas15:39
mordredlike, I now get really sad when I go to a bar that doesn't stock it and I want vodka. ketel one is the next best thing, but it's really not as good at tito's15:40
dmsimardmordred: parsing the output seems a bit fragile ? Is there a programmatic interface ? like can we export the results to a format we don't need to parse ?15:40
mordreddmsimard: not to my knowledge, no - pep8 doesn't support that15:41
dmsimardmordred: https://pep8.readthedocs.io/en/release-1.7.x/intro.html#example-usage-and-output15:41
dmsimardpep8 testsuite/E40.py --format='%(path)s|%(row)d|%(col)d| %(code)s %(text)s'15:41
corvusparsing is likely to be reusable for other things though, which is nice.15:41
mordredyah - but that's still parsing the output15:42
dmsimardwell, if we enforce our own format, we're less likely to be broken by an update of pep8 or whatever15:42
clarkbyou could have that write json too15:42
clarkbmaybe15:42
mordreddmsimard: yes, totally agree15:42
dmsimardclarkb: that's what I had in mind but at first glance it doesn't look like it's a thing15:43
clarkb--format='{ path: "%(path)s" }15:43
mordredyah - but that doesn't really help- since it'll be multiple strings inline in the output text15:44
mordredso you'd still have to scan to find them15:44
mordredand to find their ending point15:44
dmsimard¯\_(ツ)_/¯15:44
mordredif we updated flake8 to have a '--json-output' option that would write all of the errors to a single json file at the end, that would be great15:44
dmsimardI'm trying to forget all about my days of parsing text with perl scripts15:44
dmsimardmordred: https://pypi.org/project/flake8-json/ heh15:45
dmsimardIt's seeking maintainers apparently so YMMV15:45
*** annabelleB has joined #zuul15:47
dmsimardseems simple enough https://gitlab.com/pycqa/flake8-json/blob/master/src/flake8_json_reporter/reporters.py15:48
dmsimardOh, it's sort of ugly, though... like manually writing brackets inline15:48
mordredyeah - I was just thinking the same thing15:51
mordredI'd think accumulating the things into a datastructure and json.dump ing to a file at the end would be more useful15:51
*** panda is now known as panda|bbl15:52
mordredof course, then there is the problem that as a plugin it would need to be installed, and also tox envs would have to be updated to use it15:52
mordredfor now I think just parsing the output is a decent enough step forward15:52
dmsimardyeah, I guess we have to start somewhere15:52
*** annabelleB has quit IRC16:06
*** annabelleB has joined #zuul16:17
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: WIP Extract pep8 messages for inline comments  https://review.openstack.org/58963416:18
*** che-arne has joined #zuul16:27
*** bbayszczak has quit IRC16:29
*** panda|bbl is now known as panda16:35
*** jpena is now known as jpena|off17:09
mordredtobiash: did you ever happen to learn if alpine was related to your crashes?17:27
tobiashmordred: not yet, I'm on a team workshop today and tomorrow17:27
mordredtobiash: kk.17:28
SpamapSalpine crashes?17:34
tobiashSpamapS: we get random segfaults of amsible on fedora based openshift nodes and alpine based executors17:42
tobiashCentos based compute nodes don't show this17:42
tobiashWith maybe 1 percent of job runs17:44
clarkbpython2.7 is running ansible on all of them?17:45
clarkb(zuul hard codes this currently but could be local patch to use python3 I guess)17:45
tobiashclarkb: I think the ansible-playbook process is actually py3, just on the target we force py217:46
clarkbah17:47
clarkbI wonder if it is a python3 vs python2 issue in that case17:47
*** electrofelix has quit IRC17:56
SpamapShmmm... you know...18:00
SpamapSI saw some weird segfaults of docker on my alpine based executors.18:00
SpamapSI do python3 on everything.18:00
mordredSpamapS: yah - I'd love to learn what's up - I could imagine alpine being involved because of musl vs glic18:11
mordredglibc18:11
mordredbut also alpine could be a distraction and the issue could be something else18:11
clarkbmordred: fedora doesn't musl though. Which is why I was wondering if python3 is at fault18:12
clarkbwe have seen segfaults in newer python18:12
clarkb(in the past)18:12
mordredclarkb: right - but musl is the c-lib inside the container18:14
clarkboh gotcha it is fedora hosting alpine18:15
mordredso it's the c library that the python running the ansible is linked to - so it could just be python3+musl - it could just bepython3 - or it cold be a combo of those with the libc on the container host18:15
clarkbnot fedora containers18:15
mordredfedora containers aren't involved18:15
mordredthe containers are all alpine18:15
mordredthey're running on a mix of fedora and centos hosts18:15
tobiashI did a kernel upgrade yesterday to 4.18.6, can look tomorrow if that helped18:16
mordredcool18:17
tobiashIf not we'll switch to bionic based executors18:17
tobiashAnd hope that solves the problem18:17
tobiashIf not... Well I'm not really keen in debugging python to track down a heisenbug18:18
mordredtobiash: me either :)18:19
clarkbif you can get a core dump and a stacktrace that mighe help narrow it down (like maybe its a specific syscall)18:19
clarkbof course it could be happening forever down the road and we'll never line the two up18:19
*** pcaruana has quit IRC18:24
*** annabelleB has quit IRC18:25
tobiashI'm not sure how to get one of processes running in containers in openshift, have to check that first18:26
*** annabelleB has joined #zuul18:27
SpamapSmordred: I'll dig out the logs for mine later today. I think it may have been something else.. because the docker build would still succeed.. it just exited with some weird stack dump.18:38
*** annabelleB has quit IRC19:09
mnasermordred: on a zuul related note, did you get a chance to prepare/work out your zuul workshop @ openstack days nordic?19:13
mordredmnaser: still need to do some prep - pabelanger showed me the etherpad y'all worked from and he's going to work on things some more next week in austin - so I'm gonna try to sycn with him19:16
*** annabelleB has joined #zuul19:19
mnasermordred: okay cool, let me know, im arriving to stockholm at 8:50 am on monday oct 8th!19:20
mordredmnaser: sweet - I arrive in the morning on tuesday ...19:24
mnaseroh boy19:24
mnasergood luck19:24
mordredmnaser: if anyone there decides to get stressed beause I'm not there yet - just let them know I'll be there and it'll be fine :)19:24
mnaserwhen i saw flights were arriving in the AM i moved a day back19:24
mnaserin case you're on an A35019:24
mnaseri'll be prepared19:24
mnaser:P19:24
mordredhahahaha19:27
mordred(I wish I was on an A350)19:27
mnasermy long detroit to amsterdam flight is on an a35019:28
mnaserbut in the middle seat, couldn't get a window one in time :<19:28
dmsimardmnaser: hope you have internet this time19:28
mnasermordred: i got one more connection in my plane just to get a delta flight to make sure i have wifi19:28
mnasererr sorry dmsimard ^19:28
mordredmnaser: story of my life19:29
mnaserstill dont know how at this day and age most large companies dont have wifi on flight19:29
dmsimardMontreal -> Detroit -> Amsterdam looks like a weird connection ? It's the wrong way!19:29
mnaseramsterdam to berlin too after19:30
mnaseryes it si the wrong way19:30
mnaserbut if i went through a delta partner it would have been AF to paris then stockholm19:30
mnaserand air france is cool, i wanted to try the a380, never been in one, but no wifi = no bueno19:30
mordredyah19:30
dmsimardI hear AF isn't on strike right now :p19:30
mordreddmsimard: no way19:31
* mnaser logs in to check if by any chance a window seat free'd up19:31
mnaserhttps://imgur.com/5C7KIdk i think i should give up on that19:32
dmsimardMucho legroom if graph is accurate19:33
mnaseroh yeah apparently to seatguru its an excellent amount of legroom19:33
mnaserbut also twice the armrests to fight over too19:33
mnaser:P19:33
dmsimard¯\_(ツ)_/¯19:34
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: web: add tenant and project scoped, JWT-protected actions  https://review.openstack.org/57690719:51
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Fix node leak on job removal  https://review.openstack.org/60552720:34
*** hasharAway has quit IRC20:37
*** samccann has quit IRC20:51
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: CLI: add create-web-token command  https://review.openstack.org/60538620:57
*** panda is now known as panda|off21:13
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Don't report non-live items in stats  https://review.openstack.org/60554022:00
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Speed up build list query under mysql  https://review.openstack.org/60517022:07
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Improve docs for inventory_file  https://review.openstack.org/60266522:09
corvusclarkb: can you take a look at https://review.openstack.org/602830 and let me know if you anticipate any problems from that?22:45
clarkbcorvus: I don't anticipate any issues with that and have +2'd it22:59
pabelangerokay, upload-logs-swift seems to be working now for tox-docs: https://object-storage-ca-ymq-1.vexxhost.net/v1/a0b4156a37f9453eb4ec7db5422272df/logs_45/45/8d13b58b7114c0ae2150a1fc49113516f0b2487e/check/tox-docs/214cb58/html/23:05
pabelangerI decided to delete all containers / objects from vexxhost and have zuul create it again. This time things are happy23:06
mordredpabelanger: \o/23:07
pabelangermordred: indeed, going to roll it out into production this evening23:08
pabelangergreat work corvus!23:08
pabelangerand everybody else who helped23:08
*** annabelleB has quit IRC23:14
*** jlvillal has joined #zuul23:24
pabelangerHmm, set-zuul-log-path-fact might need to be tweaked for swift. emit-job-header log the properly header when setting zuul_log_url23:41
pabelangercan look more into that tomorrow23:41
*** openstackgerrit has quit IRC23:49

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