Thursday, 2017-09-07

dmsimardfungi: ah, yes, I had found the "executing local code is prohibited" but I'm not sure where it's coming from :)00:14
dmsimardah, perhaps it's from use-cached-repos00:20
dmsimardoh, no, duh it's right there above the error mirror-workspace-git-repos00:21
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: WIP: Make the base playbooks/roles work for every supported distro  https://review.openstack.org/50128100:24
dmsimardjeblair, mordred: seems like half of the roles contain something that runs on the executor and end up being prohibited because they're running out of the trusted context (congrats security)00:28
dmsimardso it looks like the best course of action is to go multinode with an ansible-playbook command :/00:28
jeblairdmsimard: the mirror update role should not need to run in the trusted context00:29
clarkbjeblair: fungi  Ithink I figured it out. The shallow copy of the nested default logging config means that there is a race in updating the shared handlers dict00:30
clarkbjeblair: I think a trivial fix for that is to use a deepcopy there. I'll push that up and we can discuss in gerrit00:30
dmsimardjeblair: I figured I might as well run everything that was included in base in one large integration job .. but nope.00:30
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: WIP: Make the base playbooks/roles work for every supported distro  https://review.openstack.org/50128100:31
jeblairdmsimard: yeah, it may be best to just focus on the mirror role since that's the issue at the moment.  constructing a pseudo executor is going to be a bit more work.00:32
dmsimardjeblair: I'm finding issues unrelated to mirrors with my attempts, such as opensuse not being able to run this module https://github.com/openstack-infra/zuul-jobs/blob/master/roles/validate-host/library/zuul_debug_info.py00:32
jeblairdmsimard: that one should also be okay in untrusted context00:33
dmsimardjeblair: apparently not00:33
dmsimardjeblair: http://logs.openstack.org/81/501281/9/check/base-integration-centos-7/5cccc7a/job-output.txt.gz#_2017-09-07_00_25_20_47744200:33
jeblairdmsimard: i mean the test should function, not that it should pass00:33
dmsimardjeblair: oh, for the module it just spits a MODULE ERROR so it's probably a missing python dep or something.00:34
jeblairdmsimard: i mean to say that you can use the same approach as for the mirror config, you don't need to run that in the trusted context on the executor.00:34
dmsimardor just the command syntax on suse being different00:34
jeblairdmsimard: basically -- i think we're going to find that more or less by definition, the base roles that run on the nodes and don't need special access are the ones that are going to be suceptible to node differences and need more work+testing00:35
dmsimardoh, hum, the console output is not the same in the .txt.gz00:35
dmsimardthan in the web console00:35
jeblairit's the same file00:35
jeblairi have to run; happy to help more tomorrow00:36
openstackgerritClark Boylan proposed openstack-infra/zuul feature/zuulv3: Use deepcopy when copying ansible logging config  https://review.openstack.org/50149900:36
clarkbjeblair: fungi ^ thats the fix I think00:36
clarkbanother alternative is to go from str to dict to str (json)00:38
fungioh, yeah, classic mutable object reuse00:39
fungier, i guess not. i misread. still, great find00:41
*** harlowja has quit IRC00:48
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: WIP: Make the base playbooks/roles work for every supported distro  https://review.openstack.org/50128101:01
openstackgerritClark Boylan proposed openstack-infra/zuul feature/zuulv3: Use deepcopy when copying ansible logging config  https://review.openstack.org/50149901:03
clarkbI'm a derp01:03
fungii was trying to figure out why that was failing01:04
fungioh, hah01:05
fungidigging through 60k pages in lynx is kinda painful01:05
jamielennoxis -infra putting tox in the image? i assume so01:16
jamielennoxpabelanger: if you pip install --user tox here: http://git.openstack.org/cgit/openstack-infra/zuul-jobs/tree/roles/ensure-tox/tasks/main.yaml#n201:17
jamielennoxthen the $PATH is wrong in command, here: http://git.openstack.org/cgit/openstack-infra/zuul-jobs/tree/roles/tox/tasks/main.yaml#n1401:18
clarkbjamielennox: yes we are01:18
clarkbit gets pulled in by our infra-package-needs dib element iirc01:18
jamielennoxclarkb: yea, i found it, it's interesting that it's just pip installed into root as opposed to like bindeps which is into a venv01:18
jamielennoxjust found it01:19
jamielennoxi was expecting tox_executable to be set somewhere01:19
fungiwe'd been installing tox into the system environment for far longer01:20
fungii'm not personally keen on installing python packages that way given how they can drag in dependencies and the notorious conflicts between distro packages on some platforms01:21
jamielennoxyea, installing into root is always bad, but ok, it's just something that hasn't been updated01:22
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: WIP: Make the base playbooks/roles work for every supported distro  https://review.openstack.org/50128101:35
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: WIP: Make the base playbooks/roles work for every supported distro  https://review.openstack.org/50128101:45
openstackgerritMerged openstack-infra/zuul-jobs master: Handle floating ips in multi-node-known-hosts  https://review.openstack.org/50145901:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: WIP: Make the base playbooks/roles work for every supported distro  https://review.openstack.org/50128101:53
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: WIP: Make the base playbooks/roles work for every supported distro  https://review.openstack.org/50128101:57
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: WIP: Make the base playbooks/roles work for every supported distro  https://review.openstack.org/50128102:02
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add integration test jobs for the configure-mirror role  https://review.openstack.org/50153402:46
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Streamline configure-mirrors and Ubuntu repository setup  https://review.openstack.org/50153502:46
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for centos in configure-mirrors  https://review.openstack.org/50153602:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for debian in configure-mirrors  https://review.openstack.org/50153702:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for fedora in configure-mirrors  https://review.openstack.org/50153802:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for opensuse in configure-mirrors  https://review.openstack.org/50153902:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add integration test jobs for the configure-mirror role  https://review.openstack.org/50153402:54
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Fix lint issue  https://review.openstack.org/50154002:54
Shrewsjeblair: mordred: pabelanger: before I fall asleep and forget, we should probably consider upgrading the nodepool builders to the v3 branch code as part of the upgrade.02:58
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Streamline configure-mirrors and Ubuntu repository setup  https://review.openstack.org/50153502:59
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for centos in configure-mirrors  https://review.openstack.org/50153602:59
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for debian in configure-mirrors  https://review.openstack.org/50153702:59
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for fedora in configure-mirrors  https://review.openstack.org/50153802:59
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for opensuse in configure-mirrors  https://review.openstack.org/50153902:59
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add integration tests for validate-host  https://review.openstack.org/50154303:12
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add integration tests for validate-host  https://review.openstack.org/50154303:13
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Streamline configure-mirrors and Ubuntu repository setup  https://review.openstack.org/50153503:13
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for centos in configure-mirrors  https://review.openstack.org/50153603:14
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for debian in configure-mirrors  https://review.openstack.org/50153703:14
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for fedora in configure-mirrors  https://review.openstack.org/50153803:14
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for opensuse in configure-mirrors  https://review.openstack.org/50153903:14
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add integration tests for validate-host  https://review.openstack.org/50154303:14
dmsimardSorry for the spam, screwed up a rebase twice03:15
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Use deepcopy when copying ansible logging config  https://review.openstack.org/50149903:21
dmsimardclarkb, jeblair, mordred, pabelanger: There's a patch tree to add support for configure-mirrors with the supported distros here: https://review.openstack.org/#/q/status:open+topic:zuulv3+project:openstack-infra/zuul-jobs .. first change is 501534, last change is 50153903:21
dmsimardI'll work on adding the /etc/ci/mirror_info file tomorrow and I've also started looking at validate-host which is challenging because it runs a lot of stuff on the executor side https://review.openstack.org/#/c/501543/03:22
dmsimardI know so far that the custom zuul_debug_info module doesn't work on suse: http://logs.openstack.org/43/501543/3/check/base-integration-opensuse423/9375b75/job-output.txt.gz#_2017-09-07_03_18_35_776512 (could we just run command/shell tasks? we could also consider using ara_record I guess)03:24
*** harlowja has joined #zuul04:06
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Handle some common yaml syntax errors  https://review.openstack.org/50148604:09
*** yolanda has quit IRC04:15
*** timrc has quit IRC04:20
*** timrc has joined #zuul04:21
*** xinliang has quit IRC04:21
*** cinerama has quit IRC04:21
*** cinerama has joined #zuul04:21
*** xinliang has joined #zuul04:21
*** xinliang has quit IRC04:21
*** xinliang has joined #zuul04:21
*** tflink has quit IRC04:28
*** tflink has joined #zuul04:35
*** tflink has quit IRC04:53
*** tflink has joined #zuul04:59
ianwdmsimard: current we don't have anything making mirror_info?05:04
ianwcurrently?05:04
*** harlowja has quit IRC05:11
openstackgerritMerged openstack-infra/zuul-jobs master: Delete unused run-cover role  https://review.openstack.org/50124405:51
openstackgerritJamie Lennox proposed openstack-infra/zuul-jobs master: Fix fetching tox output for empty dirs  https://review.openstack.org/50157205:57
*** jianghuaw has joined #zuul06:17
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: launcher: add cancel job function  https://review.openstack.org/50158106:35
*** hashar has joined #zuul07:38
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Use password supplied from nodepool  https://review.openstack.org/50082308:20
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Use username from node information if available  https://review.openstack.org/45398308:20
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: Rename ssh_port to connection_port  https://review.openstack.org/50079908:20
openstackgerritMerged openstack-infra/nodepool feature/zuulv3: Fix nodepool's docs about config-drive  https://review.openstack.org/50039109:13
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: DNM: test  https://review.openstack.org/50164309:20
openstackgerritTobias Henkel proposed openstack-infra/zuul feature/zuulv3: DNM: test  https://review.openstack.org/50164309:25
*** jkilpatr has quit IRC10:40
*** electrofelix has quit IRC11:07
*** jkilpatr has joined #zuul11:15
dmsimardianw: no, it's on the to-do11:41
dmsimardthere's a tox-pep8 job that has been stuck for a good while now, probably worth looking into: http://zuulv3.openstack.org/12:48
dmsimardhttp://zuulv3.openstack.org/static/stream.html?uuid=25439f4aee1a47ff8f3bf791fd58eeb9&logfile=console.log12:48
mordred2017-09-07 04:10:06,748 DEBUG zuul.AnsibleJob: [build: 71489da8e8244e4eb813b2d56893d4a3] Sending result: {"result": "ERROR", "error_detail": "Unable to find playbook /var/lib/zuul/builds/71489da8e8244e4eb813b2d56893d4a3/trusted/project_0/git.openstack.org/openstack-infra/project-config/base/ensure-tox"}13:03
mordredfollowed by13:03
mordred2017-09-07 04:10:06,904 ERROR zuul.AnsibleJob: [build: 71489da8e8244e4eb813b2d56893d4a3] Error cleaning up jobdir:13:03
mordredTraceback (most recent call last):13:04
mordred  File "/usr/local/lib/python3.5/dist-packages/zuul/executor/server.py", line 912, in execute13:04
mordred    self.jobdir.cleanup()13:04
mordred...13:04
mordredFileNotFoundError: [Errno 2] No such file or directory: 'ae4368a4459f901e6b3d6e6e1ad544ba4652cd'13:04
dmsimardmordred: for that tox-pep8 job thing ?13:08
mordredyah13:14
dmsimardlooks like we need to do a better job at cleanly catching that13:16
mordredyah - well -13:41
mordredthere are two things I don't understand13:41
openstackgerritDirk Mueller proposed openstack-infra/zuul-jobs master: Expand PATH for SUSE systems to include /usr/sbin  https://review.openstack.org/50173713:42
*** electrofelix has joined #zuul13:42
openstackgerritDirk Mueller proposed openstack-infra/zuul-jobs master: Expand PATH for SUSE systems to include /usr/sbin  https://review.openstack.org/50173713:45
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Make validate-host read from site-variables  https://review.openstack.org/50059213:57
openstackgerritDirk Mueller proposed openstack-infra/zuul-jobs master: Expand PATH for SUSE systems to include /usr/sbin  https://review.openstack.org/50173714:06
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul-jobs master: Create fetch-zuul-cloner role.  https://review.openstack.org/50174914:09
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul feature/zuulv3: Remove zuul-cloner shim  https://review.openstack.org/50175014:09
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul feature/zuulv3: Remove zuul-cloner shim  https://review.openstack.org/50175014:10
Shrewsjeblair: mordred: shim moved to a role ^^^   Is there a zuul variable that specifies the zuul source repo on the nodes? I created a role var for it because I couldn't really find one to use (closest was zuul.project.src_dir)14:12
Shrewsmordred: yoo iz fast14:14
*** dkranz has joined #zuul14:14
mordredShrews: it's just '~/src'14:15
openstackgerritMerged openstack-infra/zuul-jobs master: Fix lint issue  https://review.openstack.org/50154014:15
Shrewsmordred: should I add that as a default for the variable?14:15
mordredoh - wait - I guess for us in this context it's '~/src/git.openstack.org' right? because you're looking for 'openstack-infra/shade'14:16
Shrewsmordred: oh actually, it would need the "git.openstack.org" part14:16
Shrewsyah that14:16
mordredyah14:16
Shrewsyah yah14:16
mordredyah- let's just set the default for it to that14:18
mordredShrews: we can make it more fancy later if we need to14:18
Shrewsmordred: can't use that as the default... it's openstack specific14:19
Shrews(no-no for zuul-jobs)14:19
Shrewsi'll just leave it as-is i guess14:20
jeblairwe could just not have a default, and require that users supply it for the role; so when we add that to the base job, we put ~zuul/src/git.openstack.org14:20
mordredah. good point. SO ... we could set the default to "{{ zuul_site_legacy_cloner_src_dir }}"14:20
mordredand set zuul_site_legacy_cloner_src_dir: ~zuul/src/git.openstack.org in site-variables14:20
mordredbut we can also just do jeblair's thing14:21
Shrewsjeblair's thing is already done, so that gets my vote  :)14:21
mordredawesome14:21
jeblairmordred: didn't we use apt-get update in https://review.openstack.org/501540 because the apt python module isn't installable until we do that?14:22
clarkbmordred that no such file or directpry thing looks similar to the problem I in logging.json config I pushed  patch to fix yesterday. Basically crossed streams via shared dict. Though I dont think the work dir itself could be shared that way14:23
mordredjeblair: oh! yes - I'd forgotten abot that - maybe we need to put in a comment there14:23
jeblairhttps://review.openstack.org/49271614:23
jeblairyep14:23
jeblairmordred: i will revert with comment14:23
jeblairdmsimard: ^14:23
mordredjeblair: ++14:24
dmsimardjeblair: ah eh.. then we need to add a skip lint tag14:24
dmsimardjeblair: I had to send that in because the tox-linters job was failing14:24
dmsimardeither add a skip lint tag or add an exception for that ansible-lint error14:24
jeblairdmsimard: let's add an exception14:24
dmsimardjeblair: https://github.com/willthames/ansible-lint#false-positives14:24
jeblairthat's not linting, that's a computer telling a person how to write a program and getting it wrong14:25
dmsimardlet me see what error code it was ...14:25
dmsimardjeblair: eh, it's a best practice to use ansible modules where possible :)14:25
jeblairdmsimard: yep, and where not possible is a surprisingly large amount of time14:25
dmsimardjeblair: looks like ANSIBLE000614:27
dmsimardhttp://logs.openstack.org/34/501534/1/check/tox-linters/3592e80/job-output.txt.gz#_2017-09-07_02_50_17_48406214:27
dmsimardI'll send a revert with an exception added in14:27
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Revert "Fix lint issue"  https://review.openstack.org/50175314:27
mordredjeblair: http://logs.openstack.org/62/500162/1/gate/tox-py35/213272a/ been sporadically hitting this test failure - I tried writing https://review.openstack.org/#/c/501266/ - but that doesn't seem to work :)14:28
mordredjeblair: any thoughts on what I should look at?14:28
openstackgerritJames E. Blair proposed openstack-infra/zuul-jobs master: Revert "Fix lint issue"  https://review.openstack.org/50175414:28
jeblairdmsimard: ^ feel free to amend that if necessary14:29
dmsimardjeblair: oops, had already sent in a revert14:29
jeblairdmsimard: mine has a comment14:30
dmsimardjeblair: okay :P14:30
Shrewsmordred: oh, ewww14:30
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Revert "Fix lint issue"  https://review.openstack.org/50175414:30
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Expand PATH for SUSE systems to include /usr/sbin  https://review.openstack.org/50173714:32
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add integration tests for validate-host  https://review.openstack.org/50154314:32
jeblairmordred: part of your change uses create_connection, but part of it just switches to inet614:32
jeblairmordred: what happens when you run test_websocket_streaming locally?14:33
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Make validate-host read from site-variables  https://review.openstack.org/50059214:37
dmsimardmordred: btw when troubleshooting a suse issue I found this: http://logs.openstack.org/43/501543/3/check/base-integration-opensuse423/9375b75/job-output.txt.gz#_2017-09-07_03_18_35_776512 but in the json there's the real OSError exception: http://logs.openstack.org/43/501543/3/check/base-integration-opensuse423/9375b75/job-output.json14:37
dmsimardis there a particular reason why the OSError isn't fed back to the console/job output ?14:37
mordredjeblair: yah - I just switched to AF_INET6 for server connections, and to create_connection for clients14:38
mordreddmsimard: nope. that is a bug - it shuold, in fact, print the exception - and we have integration tests for that :)14:38
dmsimardwell isn't that unfortunate14:39
mordredyah14:39
dmsimardmordred: it's reproducible while running validate-host without https://review.openstack.org/#/c/501737/ -- I'll write it down somewhere so we can look at it later14:40
mordreddmsimard: cool14:40
mordreddmsimard: http://logs.openstack.org/62/500162/1/check/zuul-stream-functional/e878cc7/stream-files/stream-job-output.txt if you search for MODULE FAILURE in there you'll see it14:40
jeblairmordred: i think i see the problem.  you changed one of the clients to inet6 instead of using create connection.  left comment.14:40
mordredjeblair: oh - piddle. thanks14:41
dmsimardmordred: maybe something specific to SUSE? but that'd be weird, I guess we can easily test it, let me send a test patch14:41
jeblairdmsimard, clarkb, mordred: so what's going on with jobdirs?14:41
dmsimardjeblair: uncaught exception afaict? mordred pulled an exception out: http://eavesdrop.openstack.org/irclogs/%23zuul/%23zuul.2017-09-07.log.html#t2017-09-07T13:03:3114:43
dmsimardlooks like he's currently fixing that exception by getting rid of ensure-tox :P14:43
jeblairokay, i'll look at those logs and see if i can learn more14:43
dmsimardI haven't had the time to take a look at it yet14:43
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Update tests to use AF_INET6  https://review.openstack.org/50126614:45
mordredjeblair: yah - unsure - there's an exception in the logs related to jobdir - but what's more troubling is the job that's just hung14:45
mordredjeblair: the exception in the logs looks to me like a thing that would just cause the job to abort14:46
*** hashar is now known as hasharAway14:47
jeblairthat error is pretty disturbing on its own14:51
jeblairclarkb: did you have a theory that tied it to that test failure?14:51
clarkbjeblair: https://review.openstack.org/#/c/501499/ was a similar issue I fixed14:51
clarkbthinking about it I dont think the streams could cross like that outside the logging confs as it relied on the shared dict refs being used14:52
clarkbthe top level JobDir attributes shouldnt be shared like that14:52
dmsimardneed +5 on https://review.openstack.org/#/c/501754/14:53
jeblairclarkb: yeah, we rmtree jobdir.root which is a plain string; i think the only possibility for racing there is if we have two builds with the same uuid14:54
jeblairand the executor claims only to have gotten one job with that uuid14:55
jeblairmordred: the item that job ran for was removed; the stuck item looks like something else14:57
mordredjeblair: oh - yah - sorry - I forgot that I poked around a little bit on item one - that playbook it's referencing legitimately did not exist14:59
mordredand I have a patch up to project-config to fix that error15:00
mordredhttps://review.openstack.org/#/c/501742/15:00
jeblairwe have 3 zuul-executor processes running15:00
jeblairnormally there are 215:00
mordredjeblair: oh! so potentially an orphan subprocess from a restart, and thus two zuul-executors stepping on each other?15:01
* SpamapS awakens15:03
dmsimardAnyone else seen a bit of flapping on the "tox-py35-on-zuul" job ?15:03
mordreddmsimard: yah - it's the websocket streaming test which seems to be less happy on ipv6 hosts15:04
mordreddmsimard: https://review.openstack.org/501266 is a stab at fixing15:04
dmsimardmordred: ok, thought it was just me http://logs.openstack.org/43/501543/4/check/tox-py35-on-zuul/86de246/testr_results.html.gz15:04
dmsimarddo we have v6 nodes ? I thought OSIC was the only cloud with v615:05
mordrednope - it started showing up when we added some clouds with ipv615:05
mordreddmsimard: there are many clouds with ipv615:05
mordreddmsimard: vexxhost and rackspace both spring to mind - and I think ovh too?15:05
mordredit's an area in which openstack is demostrably WAY better than the non-free clouds that we can't seem to ever get anyone to shout loudly enough about15:06
dmsimardok then :)15:06
jeblairmordred: yeah. i can't explain how two of them would interfere in a way that would cause this, but then, i was prompted to check because the logs didn't make sense.  i'm kind of inclined to throw up my hands and say regardless of whether two instances running is causing the weirdness we're seeing, it's at least too difficult to eliminate it as a possibility.15:06
jeblairi'm going to restart ze0115:06
mordredjeblair: I agree15:06
mordredjeblair: running two executors on the same dirs is not a thing we've designed for15:07
mordredjeblair: btw - https://review.openstack.org/#/c/501266/ passed tests15:07
Shrewsi just saw the tox-py35 job fail, but for different reasons on test_dynamic_dependent_pipeline_failure15:08
jeblairShrews: that's a new test i just wrote; i may have not written it well enough15:08
jeblairShrews: link?15:08
Shrewsjeblair: http://logs.openstack.org/50/501750/2/check/tox-py35/255c26e/testr_results.html.gz15:08
jeblairmordred: +2.  Shrews want to +3 501266 ?15:08
jeblairze01 restarted15:09
Shrewslooking15:09
jeblairze02 has *one* executor running15:09
jeblairwhich probably means its streaming thing is inop15:09
jeblairi will restart it as well15:09
jeblairze02 restarted15:10
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Add UPPER_CONSTRAINTS_FILE file if it exists  https://review.openstack.org/50032015:10
dmsimardWhat makes it so a role goes in project-config, zuul-jobs or openstack-zuul-jobs ?15:15
dmsimardI guess zuul-jobs are for what would make for "generic" zuul jobs, openstack zuul jobs specific to our zuul instance.. but then project-config ?15:16
mordreddmsimard: trusted openstack-specific jobs15:17
dmsimardmordred: ah, okay.15:17
mordreddmsimard: by and large we try to put the majority of the roles in zuul-jobs and make them parameterizable15:18
mordredsome things, like roles/legacy-copy-project-config-scripts are very legimitately openstack-only and intended to only exist for transition15:18
Shrewsremote:   https://review.openstack.org/501769 Add fetch-zuul-cloner role to base job15:21
Shrewsi *think* those var values are accurate15:21
openstackgerritMerged openstack-infra/zuul-jobs master: Revert "Fix lint issue"  https://review.openstack.org/50175415:22
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Update tests to use AF_INET6  https://review.openstack.org/50126615:23
mordredShrews: I agree with your var values15:24
Shrews\o/15:24
openstackgerritJames E. Blair proposed openstack-infra/zuul feature/zuulv3: Make test_dynamic_dependent_pipeline_failure more robust  https://review.openstack.org/50177815:34
jeblairShrews: ^ i think that should tidy that up15:34
dmsimardjeblair, mordred, Shrews: there's a tree of patches for configure-mirrors and validate-host for cross-distro support ready for final +3 -- starts at https://review.openstack.org/#/c/501534/ and works it's way up a couple patches deep15:34
dmsimardjeblair: if I hijack your devstack-legacy patch and add a depends-on to the top of that zuul-jobs patch tree, would I be able to test devstack on centos and suse ?15:36
jeblairShrews: for the zuul-cloner change, can you add it to the base-test job first, then after that lands, pick some job (like py35) and set parent to base-test.  the second change doesn't have to land, but just running the tests for it should exercise that role without us having to land a change to 'base' untested15:36
jeblairShrews: then if that works, you can copy the role over to base15:36
dmsimardjeblair: and by hijack I mean add a review rebased on your patch15:36
Shrewsjeblair: oh sure15:37
jeblairdmsimard: i think if you wrote a patch to devstack-gate that reparented devstack-legacy on your job which used base-minimal + the new configure mirror role, that should work yes.15:38
dmsimardjeblair: oh, right, because yours inherits base. Okay, well, at least I can start testing stuff.15:39
jeblairit looks like devstack-legacy has enough +2s, so i +w'd it.  but yeah, you can build on top of that while it's landing.15:39
jeblairShrews: +3d both15:41
Shrewsjeblair: thx. and now i understand why we have a base-test  :)15:42
dmsimardjeblair: where are the "playbooks/legacy-pre" and "playbooks/legacy-post" playbooks ? I don't see those ?15:43
dmsimardjeblair: nevermind.. code editor didn't pick up new git checkout15:43
* dmsimard curses at pycharm15:43
dmsimardah, I'm not going to be able to test with minimal -- mirror-workspace-git-repos requires to be run from the executor15:45
dmsimardso I guess I'll need to wait until the zuul-jobs work lands15:46
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Fix spacer-lines to work with multi-node and items  https://review.openstack.org/50016215:46
Shrewslooks like open source version of Tower was announced: https://www.ansible.com/awx-project-faq15:47
dmsimard\o/15:48
dmsimardShrews: https://twitter.com/dmsimard/status/90581511787031347315:49
Shrewsoops. not sure that's supposed to be public just yet.... ^D all the things15:50
jlkAWX again?15:50
jlkhahaa15:50
dmsimardShrews: it's leaked all over the place already15:50
Shrewsoh, yeah. that was from yesterday's email  phew15:51
dmsimardMichael and Robyn have tweeted about it, amongst other leaks15:51
openstackgerritMerged openstack-infra/zuul-jobs master: Create fetch-zuul-cloner role.  https://review.openstack.org/50174915:52
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Make test_dynamic_dependent_pipeline_failure more robust  https://review.openstack.org/50177815:57
pabelangerShrews: mordred jeblair: re: nodepool feature/zuulv3, should we merge master into feature/zuulv3 and prepare to merge feature/zuulv3 back to master?16:00
mordredpabelanger: yes - I think I did a recent master->feature/zuulv3 so it shouldn't be too hard16:01
Shrewspabelanger: mordred: jeblair: oh that reminds me... see my note about migrating the builders to v3 code?16:02
Shrewssomething we hadn't considered16:02
Shrews2.5 should be very similar to v3, but still....16:02
pabelangerYa, maybe we should just stand up nb01.o.o as feature/zuulv3 and leave nb03 / nb04 for now16:03
Shrews++16:04
pabelangerlet me see if I can merge master to feature/zuulv3, without paste bombing 1000s patches16:04
*** persia has quit IRC16:07
SpamapSWhat's AWX?16:08
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul-jobs master: DNM: testing cloner shim  https://review.openstack.org/50178916:10
mordredSpamapS: it's the new project that is the open source version of tower16:10
mordredSpamapS: that is being announced this week but seems to have been leaked already16:10
SpamapSAh16:11
SpamapSnever heard of it :-P16:11
mordredthink AWX -> Tower like Fedora -> RHEL fwiw - same general approach/setup/thinking16:11
mordredSpamapS: well, that's not surprising, as it hasn't actually been announced yet :)16:11
mordredor, rather, perhaps was only just announced today16:11
SpamapSI heard THOSE words uttered last night16:11
SpamapSbut never WHAT hadn't been announced :-P16:14
Shrewsjeblair: seems /usr/zuul-env/bin does not exist on the nodes. I guess I should change the fetch-zuul-cloner role to just create it?16:16
dmsimardmordred: yes, it was leaked all over the place today, afaik it's announced at ansiblefest (if it hasn't been already)16:16
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Make validate-host read from site-variables  https://review.openstack.org/50059216:18
openstackgerritPaul Belanger proposed openstack-infra/nodepool master: Remove opensuse-42.2 and fedora-25 from nodepool dsvm jobs  https://review.openstack.org/50179316:19
mordredShrews: oh - that's very strange - it should exist16:19
pabelangerShrews: mordred: ^ something we can skip for merging master to feature/zuulv3 branch16:19
mordredShrews: we should be baking that in to the nodes16:19
mordredShrews: in dib16:20
mordredShrews: nodepool/elements/nodepool-base/install.d/89-install-zuul in project-config16:20
mordredpabelanger: +A16:21
Shrewsmordred: umm, i'm baffled then16:21
mordredShrews: where is the fail?16:22
Shrewsmordred: failed on https://review.openstack.org/501789  I would paste the log, but the jobs kept failing over and over for some reason. I was watching live logs16:22
Shrewsmordred: 2017-09-07 16:16:59.861230 | TASK [fetch-zuul-cloner : Install zuul-cloner shim]16:23
Shrews2017-09-07 16:17:00.772532 | ubuntu-xenial -> localhost | ERROR: Destination directory /usr/zuul-env/bin does not exist16:23
mordredShrews: let's add an autohold on a  job and go poke on a node16:24
mordredalso - why did those retry_limit16:26
SpamapSok, python SRU re-uploaded, including to zesty now16:28
pabelangernice16:29
SpamapSweird not having a linux laptop.. but actually I have a big cloud so I can do my work there...16:30
SpamapSonly thing I don't like about packaging in the cloud is that I still have to download stuff to sign it.16:30
SpamapSaaaaand now I see zesty has python 3.6.1 which also needs that fix. Arggghh16:34
mordredSpamapS: ugh.16:35
mordredSpamapS: feels like you should be able to figure out something using GPG_AGENT and ssh to let you sign things remotely over your ssh connection16:36
jlkSpamapS: why package in the cloud instead of in a local container or VM?16:36
SpamapSmordred: I don't trust that :)16:37
SpamapSjlk: cause I don't really know how to do that yet :)16:37
Shrewsmordred: i was assuming they kept retrying b/c the base pre-run playbook kept failing, but i'm not sure. let me set the autohold...16:37
SpamapSstill re-learning mac16:37
jlkyeah that's fiar.16:37
jlkfair16:37
SpamapSdockering isn't a bad idea actually16:37
SpamapSI do kinda know that16:37
jlkDocker for Mac has gotten fairly good. It still uses a little Linux VM to do the dockering, but it's nearly seamless16:38
SpamapSThat's totally fine16:38
SpamapSjust don't make me learn all the vm things :-P16:38
SpamapSaaaand the patch doesn't cleanly apply16:38
mordredSpamapS: of course it doesn't16:41
mordredSpamapS: oh - although there is probably an upstream 3.6 version of the patch16:41
mordredSpamapS: since upstream ported it to 3.6 too16:41
mordredSpamapS: so rather than strictly porting the quilt patch I made, you  might be better off refreshing that patch in the 3.6 branch wiht a clean applicatoin of the upstream version for 3.616:42
jlkSpamapS: yeah the docker app hides it. You just launch "docker" app and you get a task bar icon to interact with, and you can then just use "docker" commands on the CLI16:42
SpamapSYeah I just have to find that. :-P16:42
Shrewsmordred: 198.72.124.220  .... and that path exists16:43
Shrewsjeblair: also, you have a held node (in case you're done with it)16:43
mordredShrews: got it16:46
mordredShrews: https://review.openstack.org/#/c/501749/1/roles/fetch-zuul-cloner/tasks/main.yaml16:46
mordredShrews: I believe those both need "become: yes"16:46
Shrewsah ha16:46
mordredShrews: I think that error message ansible is giving us is total bong16:47
mordredShrews: OH wait16:49
mordredShrews: delegate_to: localhost16:49
mordredShrews: so - multiple things16:49
mordredShrews: remove delegate_to: localhost16:49
mordredShrews: add become: yes to both tasks16:49
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul-jobs master: Use elevated privs for fetch-zuul-cloner  https://review.openstack.org/50180716:50
mordredShrews: and add a file: path: "{{ destination | dirname }}" state: directory become: yes as a first task16:50
Shrewsk. 1 sec16:50
mordredShrews: so that we can stop installing that venv once v3 is out16:50
Shrewsmordred: should that first task use become: yes also? probably so16:52
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul-jobs master: Fixes for fetch-zuul-cloner  https://review.openstack.org/50180716:53
Shrewsmordred: i think ^^^ covers all that16:54
mordredShrews: ++16:54
mordredclarkb: ^^ could you +A that real quick?16:54
clarkbwe are installing a python script that is a jinja2 template? fun16:55
clarkbis it actually a template or is that how ansible looks for the content?16:56
Shrewsclarkb: actual template for specifying the source directory for the on-node repos16:56
Shrewsclarkb: https://review.openstack.org/#/c/501769/2/playbooks/base-test/pre.yaml16:57
clarkbcouldn't that be an argument when caling the script?16:57
Shrewsclarkb: it has to be backward compat with how current jobs are using it16:58
clarkboh right16:58
clarkbfun16:58
openstackgerritMerged openstack-infra/nodepool master: Remove opensuse-42.2 and fedora-25 from nodepool dsvm jobs  https://review.openstack.org/50179317:13
openstackgerritMerged openstack-infra/zuul-jobs master: Fixes for fetch-zuul-cloner  https://review.openstack.org/50180717:15
*** persia has joined #zuul17:16
Shrewsmordred: yay, looks like those fixes worked17:17
Shrewsgotta step away for a bit17:17
*** harlowja has joined #zuul17:19
dmsimardclarkb: should there be a reminder on openstack-dev about the zuul migration ?17:49
clarkbdmsimard: probably. But I'll defer to mordred and jeblair on that as far as preparedness goes17:50
dmsimardaye, my next question was when/where this migration was going to occur -- I'm landing in denver sunday around noon and have nothing special planned so I can probably lend a hand17:51
clarkbplan was to do first attempt saturday evening then roll back and use what that teaches us to make proper rollout sunday/monday17:51
clarkbprobably not a bad idea to have a concreter plan here soon17:52
clarkbI know mordred and fungi has tc+board meeting things all day sunday but other than that I expect we'll be flexible? I land saturday at 4pm ish17:52
dmsimardah, I'm probably not going to be able to help saturday evening, my flight is at 6AM sunday morning so I'll need the sleep.. waking up at 3AM is gonna be brutal17:52
*** electrofelix has quit IRC17:53
jlkI can be around Saturday evening depending on time. But I'm out Sunday due to memorial service, and I'm traveling to DEN on Monday.17:54
dmsimardstill need a +3 on a series of patches to unblock my devstack tests on suse/centos/fedora when anyone has a chance, starts here: https://review.openstack.org/#/c/501534/17:54
openstackgerritMerged openstack-infra/zuul-jobs master: Don't install bindep if there's no bindep file  https://review.openstack.org/50101818:00
jeblairlet's regroup tomorrow and figure out what we're doing and when18:07
jeblairdmsimard: jlk has questions on 50153418:09
dmsimardlooking18:11
jeblairdmsimard: do you want to land that change, or are you just using it to drive testing?18:13
dmsimardjeblair: yeah I'm looking to land that whole thing18:13
dmsimardunless there's a reason not to18:13
dmsimardjlk: replied to your comments18:13
jlkokay18:16
jlkwill look again18:16
jeblairdmsimard: okay, left some suggestions on where i think we sholud move those jobs.18:17
dmsimardjeblair: the plan is to prevent a commit to zuul-jobs from introducing a regression in base, so the jobs *have* to be in zuul-jobs ?18:19
dmsimardjeblair: unless you mean define the jobs in openstack-zuul-jobs and then add it to the zuul-jobs pipeline18:19
jeblairdmsimard: yep the second thing is what i meant18:19
dmsimardok, sure18:19
jeblairdmsimard: as a config-repo, project-config is permitted to add jobs to any project's pipeline.  and since they're actually defined in openstack-zuul-jobs, they'll still work for pre-merge testing in the same way18:20
jeblairdmsimard: you should find an existing project stanza for zuul-jobs in project-config18:20
dmsimardjeblair: wait -- so the jobs need to go in openstack-zuul-jobs but added to project-config for the zuul-jobs pipeline?18:21
jeblairdmsimard: "job:" stanzas in openstack-zuul-jobs; "project:" stanza in project-config18:21
dmsimardjeblair: ok so that means I'd need to squash the configure-mirrors patch so that they pass the jobs that would be merged in project-config (cause I'm not going to send 5 patches to project-config to progressively add each distro like I did for zuul-jobs)18:24
dmsimardjobs that would be added to the pipeline in project-config*18:24
dmsimardin zuul-jobs, I made sure the jobs would pass for each patch (each new distro, adding a distro job on each patch)18:26
jeblairdmsimard: if you want, we can land the whole series and forklift it over post facto18:28
jeblair(zuul-jobs doesn't have many consumers yet; it won't be broken for folks for long)18:29
dmsimardI don't mind either way, I iterated that series as a single patch ( https://review.openstack.org/#/c/501281/ ) and then split it so it would be easier to review and test18:29
dmsimardforklifting would unblock me immediately because base-minimal doesn't run trusted tasks that are required18:30
jeblairdmsimard: not sure what you mean by that?18:32
dmsimardconfigure-mirrors is broken for every distro but ubuntu, the fixes for that are in this series of patches18:32
dmsimardI'm unable to leverage the devstack-legacy work because I'd need to run from base-minimal which doesn't include the cached-repos/git-workspace roles which I can't run "manually" due to the local executor commands18:33
jeblairdmsimard: ah gotcha18:34
dmsimardIt's confusing, sorry :(18:34
jeblairdmsimard: want to write the forklift patches while i go through the stack?18:34
dmsimardaye, I had already started working on it18:34
dmsimardBTW mirror_info.sh is still on my todo18:35
dmsimardjeblair: ah I suspect there might be a merge conflict hidden in there about the apt update thing.. let me go ahead and fix that18:36
jeblairdmsimard: yeah i was just looking at that.  i think you're right18:36
dmsimardI'll need to rebase the whole thing, blergh18:38
*** olaph has quit IRC18:40
*** olaph has joined #zuul18:41
jeblairokay i have a ridiculous problem: http://paste.openstack.org/show/620657/18:43
jeblairwhen i use a shell task with a heredoc, everything is indented one space18:43
jeblairer, i should rephrase that as: everything in that shell block is indented one space so the heredoc doesn't work (since " EOF" != "EOF")18:44
pabelangerjeblair: did you make it to ansiblefest?18:44
jeblairpabelanger: yes, im hiding in a room behind the tshirts18:44
dmsimardjlk: btw, on ignore_errors vs failed_when18:45
pabelangerjeblair: any room for another body?18:45
jeblairpabelanger: yep18:45
pabelangerk, making my way over18:45
dmsimardjlk: the behavior is different afaik, ignore_errors will count the failures but make them non-fatal but failed_when: false makes the task 'ok' while in reality they're not18:45
dmsimarddo I have that right ?18:45
jlkjeblair: do it as "script:" instead of shell?18:45
jlkdmsimard: let me confirm some testing. Mostly what it does is visually different. ignore_errors still makes the output red, even though it doesn't stop execution. failed_when: false does not.18:46
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for debian in configure-mirrors  https://review.openstack.org/50153718:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for centos in configure-mirrors  https://review.openstack.org/50153618:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for opensuse in configure-mirrors  https://review.openstack.org/50153918:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for fedora in configure-mirrors  https://review.openstack.org/50153818:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Expand PATH for SUSE systems to include /usr/sbin  https://review.openstack.org/50173718:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add integration tests for validate-host  https://review.openstack.org/50154318:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add integration test jobs for the configure-mirror role  https://review.openstack.org/50153418:47
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Streamline configure-mirrors and Ubuntu repository setup  https://review.openstack.org/50153518:47
dmsimardjeblair: ^ rebased to resolve the apt cache thing18:47
jeblairjlk: yeah, i'd have to make it an external file then; i was hoping to just do something really quick and simple18:48
dmsimardjeblair: if it can make you feel better I planned on take on mirror_info and hit that kind of problem I guess :)18:49
jeblairmostly, i don't understand why this doesn't work with shell18:49
dmsimardI don't remember seeing this problem18:50
jeblair(and if i'm going to have to eat crow after telling people "this is how you make ansible do a shell thing like in jjb")18:50
dmsimardthen again, when copying a file, I'll typically use a copy or a template task18:50
dmsimards/copying/writing/18:50
dmsimardcopy allows you to source the content directly without needing to use a template file if it's not appropriate18:51
jlkdmsimard: http://paste.openstack.org/show/620660/18:51
jlkdmsimard: at least with the command module, piping through |failed  works for both cases.18:51
jeblairyeah, there are better ways of doing this if *this* were the task.  instead, this is a radically simplified version to illustrate the problem18:51
dmsimardjlk: but it shows up as changed instead of failed18:52
dmsimardjlk: which bothers me a bit when the failures are somewhat important but not fatal18:52
jlkyeah. I'm likewise bothered by red output that's not fatal, it makes it difficult to find the real error18:52
jlkI won't fight hard though if the Zuul project prefers ignore_errors. I'd just want it to be consistent18:53
dmsimardjlk: then again, I'm not convinced by https://review.openstack.org/#/c/501543/5/roles/validate-host/tasks/main.yaml anyway18:53
dmsimardjlk: I need to think about how these roles might behave when outside of a zuul context (i.e, third party ci)18:54
dmsimardthe block is basically a hack in order to try and run the role without failing because some tasks need to run on the executor (and fail because they can't)18:55
dmsimardit did allow me to troubleshoot that SUSE validate-host issue, though, so it wasn't in vain18:56
clarkbdmsimard: https://review.openstack.org/#/c/501536/4/roles/configure-mirrors/handlers/main.yaml does that require apt and yum be installed on both ubuntu and centos?19:02
clarkbor handlers only run when they are notified?19:02
dmsimardclarkb: handlers only run when they are notified.19:02
dmsimardclarkb: those reviews are self-tested FWIW, look at the v3 jobs19:03
clarkbya I wasn't sure if it was passing beacuse we somehow had yum on ubuntu or not19:03
jeblairhere's my issue: https://github.com/ansible/ansible/issues/1285619:03
pabelangerstepping away for some lunch, but puppet changes are up to allow us to bring nb01 / nb02 back online as feature/zuulv3 is we want to19:04
jeblairso, wow, _raw_params fixes that.  fascinating19:05
dmsimardclarkb: you would see if these tasks had ran19:05
dmsimardjeblair: we just learned that together19:05
dmsimardlarsks (bug submitter) is quite awesome :)19:06
dmsimardhe helped me jumpstart ara in the beginning of the project19:06
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Enable maintainConnectionCache  https://review.openstack.org/50114419:07
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Close command socket after sending stop  https://review.openstack.org/50075519:11
clarkbdmsimard: I left a comment on https://review.openstack.org/#/c/501534/3 and looks like jeblair's -1 still applies from ps219:12
Shrewsjeblair: looks like the base-test stuff worked: http://logs.openstack.org/89/501789/1/check/tox-py35-on-zuul/ef1c4e2/job-output.txt.gz#_2017-09-07_17_17_08_23925719:12
Shrewsjeblair: submitted https://review.openstack.org/501843 for the base job19:12
Shrewsanyone care to +3 https://review.openstack.org/496251 ?19:13
dmsimardclarkb: ok, I'll fix your comment in a follow up patch so I don't have to rebase the stack again, I think jeblair said he'd look at the tree soon. I'm working on patches to address his comment and move stuff out to openstack-zuul-jobs and project-config.19:14
jlkmordred: re your project-config change to emit messages about what change triggered the job, yeah you'd think that'd be a variable generated by the driver and passed through.19:15
*** jkilpatr has quit IRC19:17
jlkmordred: and in a way that has the full URL so that multiple connections in the same install would work (multiple gerrits for example)19:19
openstackgerritMerged openstack-infra/nodepool feature/zuulv3: Set base environment as python3  https://review.openstack.org/49625119:19
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Remove project pipeline definition from zuul-jobs  https://review.openstack.org/50184919:23
jeblairShrews: perfect thanks!  usually that catches something.  ;)19:28
Shrews\o/  one less thing on the pre-ptg todo list19:29
dmsimardShrews: btw was it you who worked on the improved integration tests for zuul stream19:29
dmsimardI forget19:29
Shrewsdmsimard: not really. i just added some output validation19:30
jeblairdmsimard: what happened to my comment about apt-get update ?19:30
dmsimardShrews: ah, k -- caught a bug earlier in zuul stream figured you might know where to look19:30
jeblairdmsimard: you dropped it in your update to 50175419:31
dmsimardjeblair: I rebased on top of the revert and it's moved here https://review.openstack.org/#/c/501535/4/roles/configure-mirrors/handlers/main.yaml19:31
dmsimardit's used as a handler instead19:31
jeblairdmsimard: yeah, i'm looking for my *commentZ*19:31
dmsimardjeblair: oh, hm, let me check my emails19:32
jeblairdmsimard: it was in PS1 of my revert change, but you pushed ps2 on top of it and dropped the comment19:32
jeblairi really don't want to go through another revert cycle on that19:32
dmsimardjeblair: doh, sorry, let me add that back19:33
jeblairthx19:33
jeblairdmsimard: that and one other comment on 50153519:34
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Streamline configure-mirrors and Ubuntu repository setup  https://review.openstack.org/50153519:36
dmsimardjeblair: there's the commment fix ^19:36
dmsimardchecking 50153519:36
dmsimardah doh, that's the same patch :D19:36
mordredjlk: well ... it is! https://review.openstack.org/#/c/501492/19:37
*** dkranz has quit IRC19:37
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Streamline configure-mirrors and Ubuntu repository setup  https://review.openstack.org/50153519:37
dmsimardjeblair: debug message fixed ^19:37
dmsimardbrb19:37
*** jkilpatr has joined #zuul19:38
jeblairtobiash, mordred: 501492 needs docs.  i had to -2 to stop merge.  happy to flip when change has docs.19:40
jeblairpabelanger: ^19:40
*** olaph1 has joined #zuul19:40
mordredjeblair: oh - piddle - sorry ... one sec19:41
jeblairdmsimard: your stack has +3s all the way but you'll need to rebase19:41
*** olaph has quit IRC19:42
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Be more permissive in configuring nodes  https://review.openstack.org/50185319:47
mordredjeblair, dmsimard: ^^ inspired by yesterday's conversation about node specifications19:48
jeblairmordred, dmsimard: i was thinking about that further, and i'm starting to lean against it19:48
mordredjeblair: yeah? whyso?19:48
jeblairmordred: mostly because if we go with dmsimard's idea of making a bunch of convenience nodesets, then we get syntax errors if someone tries to use one that doesn't exist.  but with that change, we don't.19:49
openstackgerritMonty Taylor proposed openstack-infra/zuul feature/zuulv3: Add change_url to zuul dict passed into inventory  https://review.openstack.org/50149219:54
jeblairmordred: also, does your change eliminate the ability to specify a nodeset?19:54
jeblairmordred: oh, no i see it now.  nm.19:54
mordredjeblair: not at all - it only treats a string in a place where a dict used to be as the name of a node with both label and name the same19:54
mordredjeblair: the nodeset idea doesn't bother me / sounds good - it's still slightly repetitive typing when defining multi-node nodesets, but there are other improvements I think we shoudl consder there as well, so happyto shelve this one19:57
jeblairmordred: okay, i'd still like us to mull over whether we want to add the ambiguity here -- i think this may be the first place where a string could mean two differet things.19:57
jeblairmordred: yeah, i'm in favor of defining convenince nodesets in project-config for now and discussing this later19:58
mordredjeblair: ++19:58
mordredjeblair: also,it' snot *quite* two different meanings for string, - since one is 'nodesetname' and one is ['nodename']  - but I take your meaning, the leading - or not could certainly lead to confusion19:59
mordredjeblair: I've marked the nodes one WIP, https://review.openstack.org/#/c/501492/ now had docs20:00
jeblairmordred: gotcha.  that may help a bit.  it's at least not ambiguous for the software, may still be for the wetware :)20:01
mordredjeblair: silly wetware :)20:02
jeblairmordred: okay, i carried through the existing +2s for a +3 on change_url20:02
mordredwoot. thanks20:05
dmsimardjeblair: not sure if I need rebase, I think it's https://review.openstack.org/#/c/501534/ that is missing, it's the first of the tree20:13
dmsimardI'll address clarkb and pabelanger's comments in a follow up patch20:14
jeblairdmsimard: 501536 is based on outdated ps of 50153520:14
dmsimardjeblair: does that matter with "merge if necessary" ?20:15
dmsimardzuul didn't fail the merge check20:15
jeblairi believe so.  however, if you would like to test that, i'll indulge.20:16
clarkbya gerrit won't let you merge if you are based on the old thing20:17
dmsimardclarkb: hmm, I overestimated the merge if necessary :)20:19
jeblairclearly needs a 'merge if convenient' middle-ground option :)20:19
dmsimardlol20:20
dmsimardok let me rebase the darn thing20:20
dmsimardmight as well address clark and pabelanger's comments20:20
dmsimardspam inc :(20:21
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for centos in configure-mirrors  https://review.openstack.org/50153620:22
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for debian in configure-mirrors  https://review.openstack.org/50153720:22
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for fedora in configure-mirrors  https://review.openstack.org/50153820:22
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Add support for opensuse in configure-mirrors  https://review.openstack.org/50153920:22
openstackgerritDavid Moreau Simard proposed openstack-infra/zuul-jobs master: Remove project pipeline definition from zuul-jobs  https://review.openstack.org/50184920:22
dmsimardok, I didn't need to touch the base, just from 501536 and up, hopefully that should do it20:23
* dmsimard sends new patch to fix 501536's comments20:25
jeblairwhole stack approved20:27
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Stop output start and end times for each task  https://review.openstack.org/50016320:28
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Handle debug messages cleanly  https://review.openstack.org/50149020:31
openstackgerritMonty Taylor proposed openstack-infra/zuul-jobs master: Add a role to emit an informative header for logs  https://review.openstack.org/50149520:34
mordredjlk: ^^ thank you - the prevoius version of that did not copy-pasta properly20:35
openstackgerritMerged openstack-infra/zuul-jobs master: Add integration test jobs for the configure-mirror role  https://review.openstack.org/50153420:35
openstackgerritMerged openstack-infra/zuul-jobs master: Streamline configure-mirrors and Ubuntu repository setup  https://review.openstack.org/50153520:36
ianwdmsimard: i started on the /etc/ci/ script in 50157820:43
ianwseemed too infra specific for zuul-jobs20:43
mordredianw: in its current form it is, but eventual goal is for configure-mirrors to properly set up any mirrors a zuul operator indicates that they have, and no-opping if they don't configure a mirror-host20:49
dmsimardianw: arguably configure-mirrors is very openstack specific right now20:49
mordredianw: I imagine it'll take us a while to get it fully solid and legit re-usable of course20:49
jeblairis it?20:50
mordredI mena, I know that when settingup 3rd party cI things, it's also quite important to set up local mirrors of things, else jobs fail frequently20:51
jeblairat any rate, /etc/ci definitely is openstack specific, so not putting it in zuul-jobs seems prudent20:51
jeblairthe goal for configure-mirrors is to be reusable, so in zuul-jobs seems appropriate (regardless of whether we have perfectly achived that yet)20:51
mordredagree20:52
dmsimardwe meant to deprecate/get rid of /etc/ci anyway right ?20:52
ianwat least the /etc/ci/mirror_info.sh script is full of our http proxies and stuff20:52
dmsimardlike we're only putting it in because people are relying on it right now ?20:52
pabelangereventually, but I think we need to support /etc/ci/mirror_info.sh for a bit20:53
jeblairdmsimard: ideally; we haven't really thought about that more than agreeing that we should think about it.  :)20:53
ianwyeah, but i still think it's useful for things that aren't 100% ansible driven and want access to the variables20:53
mordredright. we don't konw what it wants to be in the future - we just know it'snecessary today20:53
pabelangerI know about 5 projects that depend on it20:53
dmsimarddid we have success in fixing that zuul stream ipv6 thing ?20:55
ianwanyway now the integration tests are there i'll try working it in20:56
pabelangerdmsimard: yes20:56
jeblairdmsimard: mordred's change to fix it merged.20:56
jeblairmordred: http://logs.openstack.org/36/501536/5/gate/tox-py35-on-zuul/1154233/testr_results.html.gz20:56
jeblairdmsimard, mordred: however, it seems there may still be a problem ^20:56
dmsimardianw: fyi I'm currently waiting for the configure-mirror/validate-host tree to land (it's merged) and then I'd like to test centos/fedora devstack things20:57
jeblairConnectionRefusedError: [Errno 111] Connect call failed ('2604:e100:1:0:f816:3eff:fe3b:7930', 7902)20:57
dmsimardianw: the plan is to leverage jeblair's work here https://github.com/openstack-infra/devstack-gate/blob/master/.zuul.yaml#L27 and work from there but is there a lot of custom stuff involved for other distros or is it mostly copypasta ?20:57
dmsimardjeblair: let me see when that merged because I just recheck'd two fairly recent failures20:58
ianwdmsimard: hmm, i want to say almost nothing would need to be done, but that may not be true :)  d-g has an is_fedora function used in just a couple of places20:59
ianwit wouldn't be more than those things21:00
dmsimardianw: we're mostly running d-g from v321:00
dmsimardI might request your help :)21:01
ianwsure.  this is going to break http://people.redhat.com/~iwienand/devstack-status/ again :)21:01
openstackgerritMerged openstack-infra/zuul-jobs master: Split the log_path creation into its own role  https://review.openstack.org/50149421:04
jlkjeblair: has zuul been restarted since yesterday afternoon? Are we seeing improvement in github responses?21:04
mordredjeblair: do we still want/need merge-check ?21:05
mordredjeblair: and yah - my change to fix it does not seem ot have fixed it21:05
jeblairmordred: let's keep it for now; retiring it isn't really tied to v3, more tied to gerrit features/settings.21:06
mordredjeblair: gotcha.21:06
mordredjeblair: and noop job still exists?21:06
jeblairmordred: yep21:06
mordredjeblair: cool21:07
jeblairSep 05 21:30:29 zuulv3 systemd[1]: Started LSB: Zuul scheduler.21:07
jeblairjlk: that looks like a negative; let's do that when things settle down a bit (running a lot of jobs now)21:07
jlkkk21:07
openstackgerritMerged openstack-infra/zuul feature/zuulv3: Add change_url to zuul dict passed into inventory  https://review.openstack.org/50149221:23
mordredjeblair, jlk, clarkb, pabelanger, Shrews, ianw: I'd like to restart the zuul-scheduler to pick ip thatchange ^^ - that ok with folks?21:27
jeblairmordred: wfm; please recheck 500202 when you do21:28
mordredjeblair: will do21:31
pabelanger++22:34
mordredjeblair, pabelanger, jlk: zuul scheduler as well as ze01 and ze02 have been restarted22:36
pabelangergreat22:39
jlkwoo22:44
*** hasharAway has quit IRC22:54
openstackgerritMerged openstack-infra/zuul-jobs master: Add support for centos in configure-mirrors  https://review.openstack.org/50153623:07
SpamapSanybody know how to get zookeeper on centos?23:20
SpamapSpabelanger: ?23:21
mordredSpamapS: I think dmsimard and tristanC have a something somewhere23:24
SpamapSI'm sure they do.. but they're not responding to me and I"m racing them to update BonnyCI before they just throw the whole software factory at me. ;-)23:24
dmsimardnooooo that's a lie23:24
clarkbSpamapS: I install from zk upstream tarball  works fine23:24
dmsimardSpamapS: sorry I went to eat while this cloud thing was down23:24
SpamapSclarkb: but then I have to like, write a systemd unit file23:24
mordredSpamapS: oh - well, as far as that race goes, tristanC has already updated software factory to include v3 support ;)23:24
clarkbSpamapS: it comes with a start stop etc script you can just copy over23:25
SpamapSdmsimard: clouds are always down .. a bit ;)23:25
dmsimardSpamapS: this cloud happens to host software factory23:25
clarkbits sysvy but systemd knows how to talk to that23:25
dmsimardSpamapS: so there ya go23:25
mordreddmsimard: \o/23:25
dmsimardSpamapS: https://github.com/softwarefactory-project23:25
dmsimardyou want just zookeeper or the whole thing ?23:25
dmsimardmnaser tried out software factory and was pretty happy with it :D23:25
SpamapSthats um23:26
SpamapSa lot of..23:26
SpamapSrepos23:26
clarkbSpamapS: seriously just use upstream tarball...23:26
dmsimardSpamapS: https://github.com/softwarefactory-project/zookeeper-lite-distgit23:26
dmsimardSpamapS: I could point you to the RPM repository but hah, it's kinda down right now23:26
SpamapSdmsimard: well if there's a like.. "here's how to try software factory" ... I'll take that too :)23:27
SpamapSclarkb: I belieb you.. but.. bah ;)23:27
dmsimardSpamapS: the docs are self hosted on SF, it's really.. yeah23:28
dmsimardembarassing23:28
dmsimardSpamapS: hang on23:28
dmsimardSpamapS: https://github.com/softwarefactory-project/sf-docs23:29
clarkbthe nice thing for me is it runs entirely in a corner as a non privileged user23:29
dmsimardSpamapS: SF provides either heat templates to deploy the whole thing for you automatically (really) or you can nova boot your stuff manually like it's 201523:30
clarkbI think the script might need a slight modification to work properly if you want to symlink it into /etc/init.d/ though23:30
clarkb(so that it properly looks up its real path)23:30
clarkbdmsimard: if only heat existed in any cluods23:31
mordredclarkb: it's actually in most of them now I believe23:31
clarkbmordred: I think of the ones we use its in 2?23:31
clarkbvexxhost and rax23:31
mordredhrm. I though it was more than that23:32
SpamapSdmsimard: As a former heat core.. I don't really trust Heat. Also we're about to remove Heat from our clouds so........23:32
mordredoh well23:32
clarkboh citycloud might have it too23:32
SpamapSsince nobody uses it here23:32
SpamapS(to be fair, it never breaks when nobody uses it)23:32
dmsimardSpamapS: oh don't get me wrong, I hate heat23:33
dmsimardI also deployed it at $oldjob and no one used it23:33
dmsimardjust saying it's there and it's kinda like that "docker run" kind of trying it out thingy23:33
SpamapSACK23:34
clarkbmordred: ya citycloud seems to have it23:34
SpamapSwell I'm nearly done with BonnyCI-on-centos so I may as well finish that before I play with SF23:34
clarkbalso til heat uses two catalog entries23:34
mordredclarkb: orly?23:34
clarkbmordred: yup and in some clouds they have different names but in others they don't23:35
dmsimardSpamapS: FWIW SF is a bit more than just nodepool/zuul/gerrit, it also bundles storyboard, ELK, grafana/influx23:35
mordredclarkb: what entries did you see?23:35
dmsimardthey're on-demand enabled23:35
clarkbmordred: https://wiki.openstack.org/wiki/API_Working_Group/Current_Design/Service_Catalog sometimes its heat-cfn for cloudformations and sometimes its just heat for cloud formations23:35
SpamapSyeah I don't even need gerrit23:35
clarkbmordred: and then 'heat' for orchestration23:35
dmsimardSpamapS: oh, SF kinda assumes gerrit right now though23:36
mordredclarkb: that's service-name - did you see 'orchestration' as service-type for orchestration?23:36
SpamapSwell I could fix that :)23:36
SpamapSor23:36
dmsimardSpamapS: it's going to remove that assumption actually, but not right now23:36
SpamapSkeep the gerrit23:36
SpamapSand get us on to it ;)23:36
dmsimardSpamapS: where's your new gig? :D23:36
SpamapSdmsimard: GoDaddy23:36
clarkbmordred: ya the two types are orchestration and cloudformations23:37
dmsimardoh, with harlowja and klindgren ?23:37
mordredawesome23:37
harlowjasup23:37
dmsimardharlowja: ohai23:37
SpamapSif ZK is already in Fedora (since F22??) why isn't it in EPEL yet?23:37
harlowjaand now SpamapS23:37
mordredclarkb: we do not have an entry in service-types-authority for cloudformations - but that's ok, because we also don't care about it :)23:37
dmsimardSpamapS: grats :)23:37
mordredSpamapS: there are bugs open for that23:37
clarkbmordred: its apparently common in those example catalogs though23:38
mordredoh - sure23:38
dmsimardSpamapS: f22 is way too bleeding edge for rhel :)23:38
harlowjadmsimard whats up, ha23:38
harlowjaoh, nm, reading backlog, lol23:38
mordredclarkb: I'm more just making sure that there isn't variation I didn't know about on the orchstation service-type front23:38
dmsimardharlowja: you end up going to the ptg after all or no ?23:38
clarkbmordred: there is variation in the 'name' field23:38
ianwSpamapS: http://lists.openstack.org/pipermail/openstack-infra/2016-December/004963.html ... guess what, it's almost december again!23:39
clarkbmordred: not sure if that matters23:39
mordredclarkb: that doesn't matter - name should be ignored23:39
ianwi haven't updated that, but zookeeper is like the little top of a big iceberg23:39
mordredclarkb: it is only looked at during service discovery as an absolute last resort (such as when our rax account had 2 different compute entries)23:39
mordredclarkb: but situations such as that are considered bong, and the recommendation is for folks to largely ignore service_name23:40
clarkbmordred: got it23:40
clarkbseriously though zookeeper tarball has worked great on tumbleweed23:40
clarkbI run the init script and it starts, I run it again and it stops23:40
SpamapSianw: apparently this mountain moves slowly ;)23:42
ianwi think it's because it's java23:42
dmsimardoh man ianw beat me to it23:42
dmsimardno one wants to package zookeeper in RDO23:43
dmsimardno one23:43
clarkbalso you could totally run an ubuntu vm or container on centos >_>23:43
dmsimardit's like elasticsearch, we stay away from them like the plague23:43
clarkbdmsimard: doesn't elasticsearch publish packages though? so at least there is an easy way to consume that ste of tools on $distro23:43
dmsimardotoh, if we were to adopt etcd3 instead... :)23:43
harlowjadmsimard nah, don't think i can, due to a bachloer party i gotta go to23:43
dmsimardharlowja: ok :(23:44
SpamapSyeah but elasticsearch actually makes their own centos packages23:44
SpamapSso it's NBD23:44
harlowjau can come to bay area dmsimard23:44
ianwit's just a huge time sink to context switch into the java world23:44
clarkboh ya zk tarballs says symlink is followed automatically23:44
clarkbso that should totally just work, grab tarball, unpack, set symlink in /etc/init.d/ then systemctl reload-units23:44
dmsimardIs zuul eventually going to move to etcd3 ? I know zuul isn't impacted by TC decisions, just curious23:45
clarkbdmsimard: considering how even more painful it is to use etcd3 than zk right now in devstack I hope not23:45
SpamapSgrab tarball, embed gpg key.. verify ... :-P23:45
ianwSpamapS / dmsimard : so yeah, the conclusion i basically came to was that centos 8 will appear before anyone does the work to get it all done properly on centos 723:46
SpamapSianw: ACK23:46
dmsimardianw: so just like py3 :P23:46
SpamapSAlmost done fetching the tarball in ansible :-P23:46
clarkbSpamapS: path to script is bin/zkServer.sh in the tarball23:46
clarkbshould work as a sys v init script23:47
SpamapSwe'll see23:47
SpamapSI'm mostly trying to figure out how to verify the sig easily23:47
SpamapScan't find the GPG keys in any verifiable place at the moment23:48
clarkbSpamapS: according to their docs they want you to grab them from http://apache.org/dist/zookeeper/KEYS23:49
clarkbhttp://www.apache.org/dyn/closer.cgi#verify <- the docs23:49
* clarkb notes that is http not https23:49
clarkboh https works too they just don't link/redirect to it23:49
SpamapSyeah as usual :-P23:50

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