Thursday, 2018-04-26

*** kmalloc has quit IRC01:10
*** yolanda__ has joined #zuul01:40
*** yolanda_ has quit IRC01:44
*** gregdek_ has joined #zuul02:09
*** gundalow1 has joined #zuul02:11
*** mordred has quit IRC02:12
*** gregdek has quit IRC02:12
*** gundalow has quit IRC02:12
*** smyers has quit IRC02:12
*** ianw_pto has quit IRC02:12
*** gregdek_ is now known as gregdek02:13
*** ianw has joined #zuul02:13
*** mordred has joined #zuul02:13
*** smyers has joined #zuul02:13
*** dkranz has quit IRC02:58
openstackgerritFatih Degirmenci proposed openstack-infra/zuul master: Fix zuul home directory in zuul from scratch document  https://review.openstack.org/56438605:37
openstackgerritFatih Degirmenci proposed openstack-infra/zuul master: Remove terminal prompt from commands listed in the docs  https://review.openstack.org/56438705:41
*** yolanda__ is now known as yolanda05:45
openstackgerritFelix Schmidt proposed openstack-infra/zuul master: Add start and end timestamp to task result in zuul_json callback  https://review.openstack.org/56388805:52
tobiashcorvus: I like the zuul logo06:23
tobiashwill there be t-shirts available in vancouver?06:23
*** hashar has joined #zuul06:31
openstackgerritFelix Schmidt proposed openstack-infra/zuul master: Add start and end timestamp to task and play result in zuul_json callback  https://review.openstack.org/56388807:21
*** jpena|off is now known as jpena07:35
*** threestrands_ has quit IRC07:52
*** ssbarnea_ has joined #zuul07:56
*** sshnaidm|off is now known as sshnaidm08:19
*** dtruong_ has joined #zuul08:27
*** dtruong has quit IRC08:28
openstackgerritFatih Degirmenci proposed openstack-infra/zuul master: Use code-block for admin documentation and remove terminal prompts  https://review.openstack.org/56438708:47
*** electrofelix has quit IRC08:47
openstackgerritFatih Degirmenci proposed openstack-infra/zuul master: Use code-block for admin documentation and remove terminal prompts  https://review.openstack.org/56438708:49
*** electrofelix has joined #zuul09:33
openstackgerritFatih Degirmenci proposed openstack-infra/zuul master: Use code-block for admin documentation and terminal prompts  https://review.openstack.org/56438709:45
openstackgerritFatih Degirmenci proposed openstack-infra/zuul master: Use code-block for admin documentation and add terminal prompts  https://review.openstack.org/56438709:49
*** gundalow1 is now known as gundalow10:13
*** gundalow has quit IRC10:13
*** gundalow has joined #zuul10:13
*** AJaeger has quit IRC10:40
*** yolanda_ has joined #zuul10:53
*** yolanda__ has joined #zuul10:54
*** yolanda has quit IRC10:56
*** yolanda_ has quit IRC10:58
*** AJaeger has joined #zuul10:59
*** jpena is now known as jpena|lunch11:00
fdegirleifmadsen: regarding zuul from scracth document11:01
*** threestrands_ has joined #zuul11:01
fdegirleifmadsen: I have the draft for centos7 ready and I'm thinking if the document could be structured in a better way11:01
fdegirleifmadsen: there are quite many differences between how it is installed on centos7 so I can perhaps send a change to show the structure I have in my mind to see what you and others think11:02
mordredfdegir: I feel like Shrews was doing some poking around in that area too but I might be wrong - mostly mentioning to pong him for when he's awake11:06
fdegirmordred: thanks for the note - I will wait for Shrews to respond then11:07
fdegirmordred: I plan to send steps for ubuntu as well since I'll bring two zuul instances - one on centos and the other on ubuntu11:07
mordredfdegir: ++ that sounds great11:08
leifmadsenfdegir: yea I started on CentOS7 then bailed because it required a bunch of external dependencies that weren't included11:11
leifmadsenhave at it :)11:11
fdegirleifmadsen: yes - tons of them11:14
fdegirleifmadsen: and additional repos like ius-release and bigtop11:14
fdegirleifmadsen: apart from that, the service files in zuul repo doesn't work with centos since zuul and stuff get installed in different locations - /usr/bin as oppose to /usr/local/bin11:16
Shrewsfdegir: mordred: I'm done with any ZfS doc changes, and had no intention of doing any OS specific install docs (hoping someone else would contribute that), so have at it!  :)11:45
tristanCfdegir: note that software-factory provides a zuul package for centos that has correct service files: https://softwarefactory-project.io/kojifiles/repos/sf-3.0-el7-release/Mash/rh-python35-zuul-3.0.1-1.el7.noarch.rpm11:48
tristanCfdegir: why do you need ius-release and bigtop for?11:50
*** andrea06590 has joined #zuul11:59
andrea06590Hello everybody I am migrating Zuul v2 to v3 and I'd like to know what's the difference beetween launchers (v2) and executors (v3) as they both collect state, run jobs, so is there something additional executors do that launcher don't ?12:04
fdegirtristanC: bigtop is for zookeeper12:05
fdegirtristanC: and ius was for python35 if I'm not mistaken - need to check my notes12:06
fdegirtristanC: yes, it is python3512:07
andrea06590And my last question : is that a good practice to run merger and executor together on the same machine (as on our previous stack we run on the Zuul server : the scheduler, launcher, trigger with 2 additionnal mergers servers12:08
andrea06590Thanks in advance, I am still a bit confused with the new naming (espacially executors)12:10
*** sshnaidm is now known as notsshnaidm12:10
*** notsshnaidm is now known as nosshnaidm12:10
*** nosshnaidm is now known as sshnaidm12:10
tobiashandrea06590: launchers are not existing anymore in v312:20
tobiashthey were basically renamed because there is also a nodepool-launcher and that's bad for talking if you have a launcher in two related apps12:22
fdegirtristanC: it seems I don't need none of the stuff if I switch to sf-release-3.0.rpm which I will do once I verify stuff and reflect updates to my draft doc12:22
fdegirtristanC: thanks for the pointer12:22
tobiashandrea06590: regarding the mergers, you can do that but don't have to as each executor also acts as a merger12:23
*** jpena|lunch is now known as jpena12:24
leifmadsenfdegir: yea, I just didn't know if it was really worth even adding CentOS 7 then. It seems like a huge amount of work and a big mess to maintain.12:30
leifmadsenthat's why I just decided to use something more easily supported/working12:30
andrea06590yes i saw that but it actually act like the executor, doing almost the same job. So it is a good thing to replace my Mergers only by Mergers+Executor ? If so who does the scheduler contact my nodepool (the scheduler12:31
andrea06590Thanks for your answers, my last question is more here to get who is the entry point for contacting my node pool. It will always be the scheduler ?12:33
andrea06590(hope guys my english is correct enough ^^)12:33
*** rlandy has joined #zuul12:35
tobiashandrea06590: I'm not sure I correctly understood but in v3 you need one scheduler and at least one executor, you can have additional mergers if you like to enable more parallel merge operations (which is probably a good idea for larger systems)12:38
tobiashregarding the link from zuul to nodepool: the communication is handled via zookeeper as middleware so nodepool talks to zookeeper and the zuul-scheduler too12:39
andrea06590Got it, that's what we did using v2, so executor is a kind of "replacement" for launcher12:41
andrea06590Ok so scheduler is the only one to have zookeeper in the conf file, and the only one to communicate with the node pool12:42
andrea06590that's what I was thinking because it would save us time to not replace our mergers behavior (maybe consolidating them with executors), but i'll have to replace the main stack (Zuul server, hosting gearman server)12:44
andrea06590Thanks again for your help tobiash, I hope I better understand now :)12:44
AJaegercorvus, tobiash : the deprecation period for https://review.openstack.org/#/c/540890/ is over - if any of you wants to review and +2A during the next days, it would be nice.12:57
*** threestrands_ has quit IRC12:58
tobiashAJaeger: lgtm12:58
AJaegerthanks, tobiash !12:59
openstackgerritMerged openstack-infra/zuul-jobs master: Remove support for extensions as lists  https://review.openstack.org/54089013:20
*** pwhalen has quit IRC13:32
*** JosefWells has joined #zuul13:34
*** pwhalen has joined #zuul13:35
*** pwhalen has joined #zuul13:35
corvusandrea06590: it looks like you got all your questions answered, but also if it helps, we have this diagram which shows the service connections: https://zuul-ci.org/docs/zuul/admin/components.html13:54
andrea06590I asked my question because of this diagram with too many connections, that make difficult for me to understand the exact workflow. Btw can you please confirm that Executor can have direct communication with nodes ? ("The scheduler must be able to connect to the ZooKeeper cluster used by Nodepool in order to request nodes. It does not need to connect directly to the nodes themselves, however – that function is handled by the Ex14:03
*** swest has quit IRC14:04
corvusandrea06590: that's good to know, we'll have to come up with a better diagram :)14:12
corvusandrea06590: yes, the executors need to be able to connect to the nodes (via ssh or winrm) that nodepool provides14:13
corvus(maybe we need a couple of diagrams)14:13
*** ssbarnea_ has quit IRC14:21
pabelangerin https://review.openstack.org/561177/ we added a new dependency on libre2-dev, was their something specific the python re library didn't do?14:23
pabelangertobiash: question for you^14:24
ShrewsAnyone care to +3 this simple nodepool change? https://review.openstack.org/56404514:31
pabelanger+314:34
*** ssbarnea_ has joined #zuul14:36
Shrewspabelanger: thx. oh, can you get this test fix too?  https://review.openstack.org/56431414:36
pabelangersure14:37
Shrewssweet14:37
*** andrea06590 has quit IRC14:38
openstackgerritMerged openstack-infra/nodepool master: Fix awkward merging of code  https://review.openstack.org/56404514:43
tobiashpabelanger: re2 doesn't support backrefs that could be exploited to dos zuul14:44
tobiashIt was decided to migrate zuul to that so any new regex functionality should use that14:44
openstackgerritMonty Taylor proposed openstack-infra/zuul-website master: WIP Use gatsby for static site generation  https://review.openstack.org/56452414:46
openstackgerritMonty Taylor proposed openstack-infra/zuul-website master: Migrate the content  https://review.openstack.org/56452514:46
mordredcorvus: ^^ related to email sent to mailing list14:47
mordredthose don't work yet14:47
openstackgerritMerged openstack-infra/nodepool master: Fix race in test_hold_expiration_no_default  https://review.openstack.org/56431414:47
mordredor, rather, they do work - but I need to update the zuul jobs14:47
-openstackstatus- NOTICE: We've successfully troubleshooted the issue that prevented paste.openstack.org from loading and it's now back online, thank you for your patience.15:07
*** dkranz has joined #zuul15:15
Shrewsmordred: curious, what is the thing in https://review.openstack.org/536862 that requires tox 3.0? is it the "setenv = {[testenv]setenv}" part?15:30
clarkbShrews: yes15:30
clarkbShrews: I left a comment about it on the change15:30
Shrewsclarkb: yeah i saw, but it wasn't clear. i can't find this documented in tox docs15:30
clarkbShrews: I think it is a bug15:30
clarkbrather than a lack of feature15:31
Shrewsi mean, there's this (http://tox.readthedocs.io/en/latest/config.html#substitution-for-values-from-other-sections), but that's not new15:31
clarkbShrews: I seem to recall looking into this briefly when the bug was introduced to tox, let me see if I was good and filed a bug15:32
clarkbalso tox is on github now? amazing15:33
clarkbhttps://github.com/tox-dev/tox/issues/595 someone else filed it15:33
clarkbwow I even pushed up code to attemtp to fix it, I don't remember that code15:34
clarkbShrews: so ya it was just a bug in their ini parsing and variable substitution that I fixed and didn't remember fixing15:38
clarkbShrews: and the lesson here is I should update my local tool installs when I fix the tool :)15:40
*** AJaeger has quit IRC15:46
mordredShrews: fwiw, I was just believing clarkb that 3.0 was needed16:03
clarkbya my bad on that16:04
clarkbI completely spaced on ever fixing this in the first place16:05
pabelangertobiash: ack, thanks16:22
*** jpena is now known as jpena|off16:45
mordredclarkb, Shrews sorry - on a plane so my brain isn't fuly oxygenated - does that mean we can drop the version bump in that tox.ini change?16:51
clarkbmordred: I think it should be at least tox 2.8.116:51
mordredgotcha. how about I update the change just so it's accurate and doesn't force people to upgrade if they don't need to16:52
openstackgerritMonty Taylor proposed openstack-infra/nodepool master: Switch to stestr  https://review.openstack.org/53686216:52
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Cache configuration objects in addition to YAML dicts  https://review.openstack.org/56406116:55
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Change TestMaxTimeout to not run ansible  https://review.openstack.org/56456216:56
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Store source context on all config objects  https://review.openstack.org/56456316:56
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Stop deep-copying job variables  https://review.openstack.org/56456416:56
corvusthose are just 564061 again with some things that could be separate split out to make it smaller.  plus one extra change to fixup some todos16:57
corvusyesterday 564061 passed tests; hopefully it will still do so as 3 separate changes :)16:57
*** ssbarnea_ has quit IRC17:14
*** AJaeger has joined #zuul17:21
corvusclarkb, mordred, tobiash: the stack up through 564061 is green and ready for review17:23
openstackgerritMerged openstack-infra/zuul-jobs master: Add installation/deprecation documentation  https://review.openstack.org/56046317:43
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Allow extra time for some ansible tests  https://review.openstack.org/56457217:49
tobiashcorvus: what's the default wait timeout?17:51
tobiashregarding ^17:51
clarkbmordred: if you are around I did respond to your cms thread with one thing that deserves some thought probably (there is actually a server side service you need to make it work maybe)17:52
corvustobiash: 30s i think17:53
corvustobiash: yeah, set in BaseTestCase in tests/base.py.  used in waitUntilSettled in the same file17:53
tobiashya, found it17:54
* tobiash apologizes for being too lazy to search17:55
mordredclarkb: thanks! replied (and I agree, that is definitely the area that requires some thought)18:09
SpamapShrm, does anybody else know if the version of Ansible zuul is using these days supports 'var is success' as a when: condition?18:12
SpamapS                                "msg": "The conditional check 'yum_bubblewrap is success' failed. The error was: template error while templating string: no test named 'success'. String: {% if yum_bubblewrap is success %} True {% else %} False {% endif %}"18:12
tobiashSpamapS: oh didn't know that this exists18:13
tobiashSpamapS: I only find that in the 2.5 docs https://docs.ansible.com/ansible/2.5/user_guide/playbooks_tests.html#task-results18:17
SpamapStobiash: yeah it mentions 2.1, so was hoping it would work :-P18:17
SpamapShttp://docs.ansible.com/ansible/2.4/playbooks_tests.html shows |success18:19
SpamapSah so does 2.318:19
SpamapSso that's what I'll use18:19
*** ssbarnea_ has joined #zuul18:35
*** ssbarnea_ has quit IRC18:36
fdegirtristanC: i installed zuul-* and nodepool-* from sf but service files don't seem to be included18:36
fdegirtristanC: from here https://softwarefactory-project.io/kojifiles/repos/sf-3.0-el7-release/Mash/18:36
*** ssbarnea_ has joined #zuul18:37
clarkbfdegir: there should be working unit files in zuul and nodepool repos you can pull in (and the zuul docs explain how to set them up)18:43
*** harlowja has joined #zuul18:46
fdegirclarkb: yes but the installation locations are different between fedora and centos18:51
*** xinliang has quit IRC18:51
fdegirclarkb: the ones in the repos are for fedora18:51
pabelangeryou can override them with a systemd override file18:51
corvusshouldn't they work for any distro?18:52
fdegiron fedora, nodepool/zuul go in to /usr/local/bin and on centos they go to /usr/bin18:52
fdegirand the unit files have /usr/local/bin18:53
pabelangeryah, centos you'd need to override path, something like: http://git.openstack.org/cgit/openstack/ansible-role-nodepool/tree/templates/etc/systemd/system/nodepool-builder.service.d/redhat.conf?id=5c8d047bd45208664faf6b55dd59c306054c45b518:53
pabelangerbut fedora is now right for pip318:53
corvusso pip on centos installs into /usr/bin?18:54
fdegirbtw, i am working on the installation instructions for centos, that’s why trying to find way to add as few repos as possible18:54
fdegircorvus: yes18:54
fdegirpabelanger: yes but not for centos18:54
pabelangerfdegir: right18:54
fdegiralso python35 is missing on centos so i needed ius18:55
fdegirand for zookeeper, bigtop18:55
pabelangerI've dropped testing on centos in favor of fedora, to keep external dependencies down18:55
fdegirthats why i tried packages from sf18:55
pabelangerI also thing location for software collection is different then /usr/bin, i want to say /opt/python3?18:56
clarkbto make it even more confusing pytho2n installs on fedora go in /usr/bin too18:56
fdegirif i use sf, things go in to /opt/rh18:57
pabelangerfdegir: yah, that is it18:57
fdegirthings work fine on centos if i bring stuff from all over the place18:57
fdegirso nothing is wrong18:57
fdegirbut lots of things are not available in base repos18:57
Shrewsi'm not sure we want to document using software factory packages in the ZfS docs18:57
corvusfdegir: if you want to catalogue all the things needed to get it working on centos, that would be great, and maybe we can start working on simplifying it.  we can add it to the zuul-from-scratch docs, but in that case, we won't use the sf.io repos (as that wouldn't be zuul from scratch :)18:58
corvusShrews: jinx18:58
fdegircorvus: that was what i started documenting actually18:58
fdegiri have the draft available already and was thinking of sending it as part of zuul from scratch18:58
fdegirand then tristanC mentioned sf so that's why i tried it18:58
pabelangerthe main issue, is zookeeper, their isn't an RPM package18:59
fdegirpabelanger: there is one18:59
corvuswe can also look into adjusting zfs to install things into a virtualenv, but i'd like it if we had a solution to make it easy for folks to run commands (like the zuul cli, etc) out of that venv.18:59
fdegirif you add apache bigtop repo18:59
clarkbcorvus: with the direction pip10 is going that seems like a good idea in general18:59
pabelangerfdegir: right, should have said epel or software collections18:59
corvusor as clarkb keeps pointing out, it's easy to install and run the zk war, if adding a repo for it is too awkward :)19:00
clarkbcorvus: :) I do it on my distro without a zk package :)19:00
fdegirhttps://stackoverflow.com/a/4555601419:00
Shrewsyeah, i run straight from war too19:00
fdegirok, then i will make the docs formatted and send them for review19:01
corvuswe've already moved the zk stuff into the distro-specific section.  so if under fedora and ubuntu it's "install the distro package" and under centos it's "do a bunch of other stuff because it's centos" that's okay :)19:01
fdegirI can add unit files as well and perhaps move the existing ones under fedora27 and update the links19:01
fdegiror something like that19:01
corvusfdegir: cool, it sounds like we might spend a bit of time in review iterating on this, so be prepared for that, but i think that's the best way to proceed.  get the current state out there and then try to make it better.19:01
fdegirthat's fine19:02
clarkbcorvus: upside to venv as well is we can use the same paths on all distros regardless of pip base behavior19:02
corvusfdegir: i'd love it if we could find a way to make just single unit files work, but if we have to have multiples, that's an option.19:02
clarkbcorvus: venvs ^ would be one way19:02
corvusfdegir, clarkb: right.  we just need to talk about venvs and CLI paths19:02
fdegirso the first version might be problematic since it focuses on getting it work on centos by using packages, etc.19:02
fdegiri can read what pabelanger pasted above to override stuff19:03
pabelangersystemd files and virtualenvs will need you to setup a PATH variable19:03
fdegirif not, i just share them as part of the change and we see19:03
tobiashcorvus: I think I'm through your stack19:03
corvusfdegir: yeah, i think that's okay.  it sounds like this is pretty complicated and it's stumped several folks so far.  so just putting what you have up for review and then iterating on it as a group could be productive.  :)19:03
fdegirwill do19:03
fdegirthanks for the direction19:04
tobiashI added a few questions on 56406119:04
pabelangereg: http://git.openstack.org/cgit/openstack/windmill/tree/playbooks/templates/nodepool-builder/etc/systemd/system/nodepool-builder.service.d/override.conf.j219:04
pabelangerbut does work as expect19:04
clarkbpabelanger: that isn't a universal rule, you need it there beacuse nodepool-builder forks dib which is installed in the venv too19:05
corvustobiash: cool, thanks.  we should go ahead and do the two minor improvements i think.19:05
clarkbpabelanger: executors forking ansible will need ti as well but others shouldn't19:05
pabelangercorvus: right, just nodepool-builder and zuul-executor19:05
pabelangerclarkb: ^19:05
pabelangercorvus: sorry19:05
Shrewspabelanger: the sample service files for zuul and nodepool have fully hardcoded paths. We'd need to remove the path bit, yeah?19:06
clarkbShrews: systemd requires rooted paths19:07
pabelangerShrews: no, they should be fine. Infact systemd will want full paths to binaries19:07
*** xinliang has joined #zuul19:07
*** xinliang has quit IRC19:07
*** xinliang has joined #zuul19:07
Shrewsman that's weird, but ok  :)19:07
clarkbit is a security driven decision iirc. Basically if you run a service you know exactly what path is used always19:15
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Cache configuration objects in addition to YAML dicts  https://review.openstack.org/56406120:14
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Stop deep-copying job variables  https://review.openstack.org/56456420:15
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Allow extra time for some ansible tests  https://review.openstack.org/56457220:15
corvustobiash: that's with those 2 nits ^20:15
tobiashcorvus: added comment20:25
mordredcorvus: oy. I have a bunch of reading to catch up on don't I?20:30
corvusi have a test locally with a really big (openstack-size) configuration; it shows a dynamic layout generation causing memory to increase by about 150MB, with the new patchset, it increases by about 0.5MB.20:30
corvusso i think we might be heading in the right direction :)20:31
tobiashYay that sounds awesome :)20:32
corvustobiash: whoops, i'll fix that up real quick :)20:32
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Cache configuration objects in addition to YAML dicts  https://review.openstack.org/56406120:33
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Stop deep-copying job variables  https://review.openstack.org/56456420:33
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Allow extra time for some ansible tests  https://review.openstack.org/56457220:33
corvustobiash: ^20:33
corvusmordred: and yes, reading, but it's fun!  the configloader stuff is becoming incrementally easier to work with.  and if we can push up 50 zuul.yaml changes it will be a happy day20:34
tobiashcorvus: now you get +2 real quick :)20:35
corvuslike, there's actually a method in configloader now that says "load things into cache.  then parse them.  then cache the parsed objects.  then add the parsed objects to a layout".  i mean, i can almost understand that.  :)20:35
clarkbcorvus: its still on my todo list to review these things but my brother just decided to buy a boat so I'm getting roped into that :/20:35
corvusclarkb: i'm good with boats; you review, i'll deal with the boat.20:36
clarkbha20:36
corvussee its all about teamwork in open source projects20:36
*** yolanda__ has quit IRC20:38
tobiashcorvus: yes, I was surprised that it's much easier now20:38
mordredclarkb: what kind of boat?20:38
clarkbmordred: a little drift boat20:39
corvus(also, you need to coil the ropes neatly so you *don't* get roped into the boat)20:39
*** sshnaidm is now known as sshnaidm|off20:39
clarkbfor fiahing on small rivers20:39
tobiashcorvus: today I got management approval for vancouver so I'll be there :)20:41
corvustobiash: yay!20:41
*** yolanda__ has joined #zuul20:43
mordred\o/21:02
clarkbya I noticed you had signed up for the dinner thing \o/21:12
mordredclarkb: oh - crap. did I sign up for the dinner thing?21:15
clarkbmordred: https://ethercalc.openstack.org/7vm2xrsk1yju not yet, currently just taking names and availability21:16
clarkbI sent it to the infra list. If zuulians will be there too feel free to join us21:16
clarkbMonday looks best which is apparently a holdiay which may make some of this tricky but whatever21:16
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Report git sha in status page version  https://review.openstack.org/56462821:24
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Report git sha in status page version  https://review.openstack.org/56462821:39
SpamapShrm..21:43
SpamapSI have a post job that is trying to sync logs from target->executor and with one particular image it gets a perm denied... :-/21:44
SpamapSAnd zuul's key doesn't seem to be on the box21:44
SpamapSso a held node can't be accessed21:44
*** hashar has quit IRC21:44
SpamapSI wonder if I accidentally removed it during the job21:44
clarkbSpamapS: we use noav metadata to add our root users' keys to the root user21:49
clarkbdoesn't prevent things from removing those keys though21:49
SpamapSYeah I don't do anything like that.. but zuul's key should be able to get in.21:52
SpamapSI think I broke that21:52
SpamapSit's the job, not the image21:52
SpamapSah yep, found it21:53
SpamapSjob says it is "adding" a key21:53
SpamapSbut it sets the key to just that21:53
SpamapSand because of persistent ssh, that didn't break, until this new base post task I added to pull the journals down21:53
*** dkranz has quit IRC21:56
* SpamapS renames this channel to #rubberducky21:58
*** ssbarnea_ has quit IRC22:11
*** rlandy is now known as rlandy|afk22:19
clarkbcorvus: comment on https://review.openstack.org/#/c/564563/122:31
clarkbcorvus: I've +2'd it but wanted to make sure you saw that22:31
corvusclarkb: yeah, probably so22:36
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Fix race in test_bubblewrap_leak  https://review.openstack.org/56464022:38
corvusclarkb: oh! i remember22:40
corvusclarkb: it's used by the constructor22:40
corvuswait, no it's used by the manager22:41
corvusyeah, so as long as it's set by the time the manager is added, it should be fine22:41
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Remove source_context argument to Pipeline  https://review.openstack.org/56464222:42
clarkbcorvus: comments on https://review.openstack.org/#/c/564061/6 I think it is functionally correct, just some things I noticed when doing a deep review of that change that could be improved from before and some improvements maybe for the new stuff23:22
clarkbok I think I've reviewed that entire stack at this point.23:23
clarkbSeems worthy of a release all on its own23:23
clarkbbut we should probably give that a good long while on openstack before doing so?23:23
clarkbanyways let me know if you have questions about my comments23:23
corvusclarkb: yeah, maybe we can restart it tomorrow23:24
clarkbfwiw I find this much easier to understand as well23:24
corvusclarkb: replied.  i agree 3 of those are potential future improvements.  i think the sourcecontext thing could go either way (update now or later) -- can you double check i understood your comment correctly on that one?23:26
clarkbya looking23:27
clarkbcorvus: responded in gerrit23:30
corvusclarkb: hrm, one thing i like about the current method is we're certain we're not getting any implied branch matchers or anything.  i don't *think* that's an issue here, but i'll need to double check.23:30
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Simplify UnparsedConfig.copy  https://review.openstack.org/56464723:31
corvusyeah, it should be fine because those only get set on the copied sourcecontext objects.23:33
corvus(so our deepcopied copy will have the default values of None)23:33
*** rlandy|afk is now known as rlandy23:48
SpamapSHas anyone gotten zuul to deploy itself?23:54
SpamapSI have been deploying from my prod zuul -> my stage zuul for the last few months23:55
SpamapSbut I recently turned on deploying to prod23:55
SpamapSand it keeps dying randomly later in the job23:55
SpamapSI have no definitive evidence that this is a problem (the deploy scripts do not restart any services)23:56
clarkbSpamapS: well if you restart the executor it will kill the jobs running. And if you restart the scheduler it releases all the node locks and will kill the job23:56
clarkboh if you don't restart services then I don't think it should be a problem23:56
SpamapSbut like this last time zuul noticed the tenants config change we made, and the deploy job kinda just.. froze shortly thereafter.23:56
SpamapSRight I don't restart executor.23:57
SpamapSFor that reason :)23:57
SpamapSalso because I don't want to restart anything until I have an automated queue saver.23:57
SpamapSwhich I don't :-P23:57
SpamapSso I tend to just let the deploys go, and then restart when the queues are empty23:57
clarkbour deployment is basically that, it updates configs and installs the new python bits23:58
clarkbbut no restarting and is fine23:58
SpamapSyeah same23:58
SpamapSthough some configs cause things to happen, such as tenants.yaml23:58
clarkbits not via zuul though23:58
SpamapSWell like I said, I have no definitive proof23:58
clarkbSpamapS: ya but just config relaods, so unless it is crashing doing that I think it should be fine23:58
SpamapSit's also on CentOS 7 and I suspect SSH just has bugs.23:59
clarkbyou probably want to look at your executor logs to see why the job is having the sad23:59
SpamapSclarkb: SSH timed out23:59
clarkbSpamapS: I would be suspicious of actualyl restarting zookeeper or the scheduler in that case23:59
SpamapS2018-04-26 16:35:04,658 DEBUG zuul.AnsibleJob: [build: 807c2b66a8894b6b8f770a164a58d16e] Ansible output: b'fatal: [godaddy-c7]: UNREACHABLE! => {"changed": false, "msg": "SSH Error: data could not be sent to23:59
SpamapSremote host \\"10.26.57.123\\". Make sure this host can be reached over ssh", "unreachable": true}'23:59
clarkbsince that will cause the lock to go away and nodepool will delete the nodes23:59

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