Wednesday, 2018-10-24

clarkbtrying to run stestr directly from the tox venv says that there is no subunit installed and fails. So now I'm passing all the args through tox00:00
clarkbI think this is mostly working except for the it fails part :)00:01
clarkbmaybe I need tox -r to pull in the new stuff00:01
clarkbthat was it I can reproduce now00:04
clarkbif the openstack sdk integration tests run before tests that wait for image we fail beacuse there is a real-cloud thread running. Now t ofigure out where/why that thread is running00:04
clarkbok I think I see the bug00:07
openstackgerritClark Boylan proposed openstack-infra/nodepool master: Don't let openstacksdk run a taskmanager during testing  https://review.openstack.org/61283500:16
clarkbthat should fix this bug00:16
clarkbone thing that kept tripping me up is that sdk runs a taskmanager using the cloud name in cloud config as the thread name00:22
clarkbnodepool uses the provider name00:22
clarkbthats a difference we'll want to sort out if we convert to the sdk taskmanager00:22
clarkb(I think cloud name is fine, except that it isn't region specific. That should probably be a more unique key)00:22
clarkbpy35 and py36 both pass on ^ which is a rarity (so I think this does fix it) I will now go find dinner00:28
ianwclarkb: ++ great find!00:29
SpamapShttp://logs.openstack.org/24/612824/1/check/zuul-quick-start/5757b3a/job-output.txt.gz#_2018-10-23_23_08_00_56142800:36
SpamapScommon fail?00:36
SpamapSRequest failed on fetching the status page during zuul-quick-start00:36
clarkbSpamapS: that is unrelated to the bug I just fixed in nodepool. I'm not sure if that is a common failure or not00:37
SpamapShrm00:37
SpamapSdefinitely seems unrelated to the patch itself.00:37
clarkbSpamapS: if zuul-web couldn't start due to config read failure, that might cause it?00:38
SpamapStrue00:39
clarkbSpamapS: that example conf file is likely used by the docker compose setup00:39
SpamapSah so maybe my messing with it breaks that00:39
clarkbor at least it is possible that is the case. A lot of the xample stuff is used by docker compose00:39
* SpamapS looks closer00:39
SpamapSah cool I think I actually just need to set the password00:43
openstackgerritClint 'SpamapS' Byrum proposed openstack-infra/zuul master: Add the process environment to zuul.conf parser  https://review.openstack.org/61282400:44
* SpamapS squints at zookeeper and remembers it has no auth and then huffs and walks away for a minute00:46
SpamapS>:|00:46
dmsimardis there anything locking ourselves into zookeeper ? genuinely curious00:48
SpamapSJust a painful backward-incompatible upgrade00:50
SpamapSwe *could* test with zetcd and have a transition period00:50
SpamapSand to be clear, zk *does* have auth options00:51
SpamapSthey just aren't simple or awesome.00:51
dmsimardhad never heard about zetcd before, interesting00:52
clarkbI really like zk...00:55
clarkbetcd has a lot of problems with python granted they dont affect zuul mich00:55
clarkbyay for not using asyncio or eventlet I guess00:55
dmsimardsometimes the grass isn't always greener00:56
dmsimard:)00:56
clarkbetcd v2 lacks features compared to zk and v3 is grpc which makes some python stuff weird because they only support real threads00:57
clarkbwhich zuul and nodepool do so less an issue here now that the asyncion was removed00:57
SpamapSyeah I don't love how grpc requires you to buy in to all of these things in a single implementation00:59
SpamapSlike, protobufs, k, http2, k, oauth2, k... but.. they forced all 3 of those things into a custom protobuf compiler so now if you want to just use your own http2 or oauth2... nope.00:59
dmsimardyay golang01:00
SpamapSactually IIRC grpc came from C++ folks01:05
SpamapSand then python01:05
SpamapSand then go01:05
dmsimardProtobufs was go I thought01:18
dmsimardNevermind01:18
mordreddmsimard: yeah - we used protobuf back in drizzle02:56
*** bhavikdbavishi has joined #zuul02:56
mordredclarkb: +A on the nodepool test fix ... we actually have a few patches in flight which should simply that whole thing and actually get rid of the task manager thread completely03:00
mordredclarkb: https://review.openstack.org/#/c/605043/ is the proposed replacement implementation - next up for that is writing tests03:00
openstackgerritMerged openstack-infra/nodepool master: Don't let openstacksdk run a taskmanager during testing  https://review.openstack.org/61283503:21
*** spsurya has joined #zuul04:24
*** nilashishc has joined #zuul04:35
*** bhavikdbavishi has quit IRC04:35
*** bhavikdbavishi has joined #zuul04:36
openstackgerritMerged openstack-infra/nodepool master: Normalise more of the API stats calls  https://review.openstack.org/60589804:57
*** chkumar|off is now known as chandankumar05:03
*** rlandy|bbl has quit IRC05:21
*** sshnaidm|pto is now known as sshnaidm|ruck05:45
tristanCcorvus: regarding zuul configuration, maybe we should consider being able to add connections using the rest api, similarly for projects, pipelines, jobs, ...06:51
tristanCthat way we could have a web wizard and it may simplify automated post-conf, whatever the deployment method used06:52
tristanCclarkb: regarding zuul in openshift, iiuc pods are further restricted and may not be able to perform regular user operation, like creating nested namespaces06:54
*** bhavikdbavishi has quit IRC07:02
*** bhavikdbavishi has joined #zuul07:03
*** pcaruana has joined #zuul07:06
*** threestrands has quit IRC07:13
*** bhavikdbavishi has quit IRC07:25
*** themroc has joined #zuul07:48
*** jpena|off is now known as jpena07:48
*** ianychoi_ is now known as ianychoi08:03
*** bhavikdbavishi has joined #zuul08:08
*** hashar has joined #zuul08:18
*** jesusaur has quit IRC09:45
*** jesusaur has joined #zuul09:49
*** panda has quit IRC09:54
*** panda has joined #zuul09:55
*** bhavikdbavishi has quit IRC11:18
openstackgerritSimon Westphahl proposed openstack-infra/zuul master: Fix issue in Github connection with large diffs  https://review.openstack.org/61298911:27
*** jpena is now known as jpena|lunch11:36
openstackgerritSimon Westphahl proposed openstack-infra/zuul master: Fix issue in Github connection with large diffs  https://review.openstack.org/61298911:45
openstackgerritMerged openstack-infra/nodepool master: Reduce socket connect timeout in nodescan  https://review.openstack.org/60889712:14
openstackgerritSimon Westphahl proposed openstack-infra/zuul master: Fix issue in Github connection with large diffs  https://review.openstack.org/61298912:14
*** rlandy has joined #zuul12:31
*** rfolco|rucker is now known as rfolco|rover12:34
*** jpena|lunch is now known as jpena12:37
Shrewsclarkb: looks like the tmpfs change did not have any impact on the zookeeper test failures, but i think it's still worth keeping12:39
Shrewsdstat graphs don't show anything concerning either12:47
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: DNM: testing zookeeper oddities  https://review.openstack.org/61275012:50
*** hashar is now known as hasharAway13:07
corvustristanC: i think it's fine for someone to write a web wizard which then writes out the config file.  i don't think zuul needs to do that.13:09
Shrewscorvus: is the --change option to zuul's autohold the change id (e.g., Ie92...), or the review # (e.g, 612750)?13:10
Shrewsi could not discern that from the code13:11
corvusShrews: number13:12
Shrewsi can't tell you how often that confuses me  :(13:13
tristanCcorvus: that implies that zuul-web run on the scheduler node... wouldn't it be better if such configuration happens over gearman?13:13
corvustristanC: no i'm saying that i don't think zuul needs to handle this.  it's very deliberately a git-driven system.  if someone wants to hide that behind a web interface, that's fine, they can write that and it can output config files that zuul can read.13:16
corvusput another way: the api for zuul's config is git13:17
corvusanything can write to that api -- human or machine13:18
tristanCcorvus: how about connections defined in zuul.conf and tenant configurations in zuul.yaml?13:20
corvustristanC: we already landed the change which lets zuul.yaml come from an external process.13:23
tristanCcorvus: yes, but it doesn't seems to be enough for SpamapS use-case...13:25
corvusi thought we found a solution for SpamapS's use case13:25
tobiashcorvus: do you cache normal git workspaces or bare repos in the nodes?13:32
tobiashcorvus: I'm currently working on a generic way to use git to push repos to the nodes13:32
tobiashand have a working proof of concept13:33
corvustobiash: normal i believe13:33
corvusi'll double check13:33
corvusyes, normal13:34
tobiashcorvus: I used bare repos for start, but I think that won't matter as long as we look in the right path for the repo13:34
tobiashcorvus, mordred: I also noticed that the buildlog seems to be buggy with loops13:35
tobiashit worked on two repos but the log only contains one: http://paste.openstack.org/show/732963/13:37
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Collect docker logs after quick-start run  https://review.openstack.org/61302713:46
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Add the process environment to zuul.conf parser  https://review.openstack.org/61282413:46
corvusSpamapS, clarkb: ^ maybe that will help13:46
openstackgerritTobias Henkel proposed openstack-infra/zuul-jobs master: Add prepare-workspace-git role  https://review.openstack.org/61303614:04
tobiashcorvus: this should work generically ^14:06
tobiashcorvus: a change that is currently incompatible to openstack is that this uses the canonical name for the cached repos14:07
tobiashbut other than that it should be compatible as a drop-in replacement of the 'use-cached-repos/mirror-workspace-git-repos' dance14:08
tobiashand it also should be compatible as a drop-in replacement of prepare-workspace so users can choose to cache or not to cache just by placing the repos into the image or not14:10
corvustobiash: great, thanks!14:28
corvusi thought we did use the canonical name on our images... at any rate, that should be easy for us to fix14:28
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: DNM: testing zookeeper oddities  https://review.openstack.org/61275014:42
clarkbShrews: ya I found the bug in the nodepool test suite and fixed it14:49
clarkbShrews: https://review.openstack.org/#/c/612835/ should fix a large number of nodepool test errors14:49
*** pbrobinson has joined #zuul14:49
Shrewsclarkb: i don't see how that affects zk connections though14:51
clarkbShrews: it doesn't, but I think the zk connection suspending was just noise14:51
clarkbI dug into the test failures I had run into and they were all this wait for image timeout happening beacuse wait_for_threads() was stuck on an extra thread14:51
clarkbShrews: https://review.openstack.org/#/c/612828/ was the last major piece of my debugging puzzle14:53
clarkbShrews: then I was able to reproduce by running the sdk integrations test before the webapp tests14:53
corvusmaybe the suspending was just part of the normal shutdown (which then was halted waiting for the openstacksdk thread)14:55
corvusnonetheless, i'm very happy to have zk running on tmpfs in the gate.  i do that locally for tests :)14:55
Shrewscorvus: as do i14:56
Shrewsmostly because i forget to shut it down14:56
clarkbShould I rebase https://review.openstack.org/#/c/612816/ so that it doesn't depend on the dstat work?14:57
Shrewsi'd say no. i want both14:57
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Merger: automatically add new hosts to the known_hosts file  https://review.openstack.org/60845314:59
corvusShrews, clarkb: the dstat stuff isn't mergable as-is -- it clones something from github.  we need to either find a real way to do that (package and release it?) or switch to sar.  i propose we un-base on dstat, wait for tobiash to push up his sar stuff, and see if we can incorporate that.  if that doesn't work, i'll look into solutions for dstat15:02
clarkbok I'll rebase then15:03
tobiashcorvus: I'll see if I can push up the sar stuff later today15:10
*** bjackman has quit IRC15:19
*** themroc has quit IRC15:45
*** pcaruana has quit IRC15:49
*** samccann_ is now known as samccann15:56
*** hasharAway is now known as hashar16:02
*** bhavikdbavishi has joined #zuul16:19
openstackgerritClark Boylan proposed openstack-infra/nodepool master: Run test zookeeper on top of tmpfs  https://review.openstack.org/61281616:20
clarkbrebased without dstat stuff16:20
*** pcaruana has joined #zuul16:46
SpamapSdstat?16:48
SpamapSI think I have commit access to that.16:48
clarkbSpamapS: changes to zuul and nodepool to run dstat and graph the results per job, but tobiash has some other thing they run on all jobs that apparently works great we'll look at too16:49
SpamapSdstat is pretty gross inside16:53
SpamapSI wined to dag a couple years back and he granted me and some other people commit access so we could fix it16:54
SpamapSbut by that time I had moved on16:54
*** panda is now known as panda|off16:59
openstackgerritTobias Henkel proposed openstack-infra/zuul-jobs master: WIP: Add sar logging roles  https://review.openstack.org/61311217:07
*** irclogbot_8 has joined #zuul17:08
*** hashar is now known as hasharDinner17:08
openstackgerritTobias Henkel proposed openstack-infra/zuul master: DNM: Enable sar logging for unit tests  https://review.openstack.org/61311717:13
tobiashlet's see if that works, had to rework that a bit to make it compatible ^17:15
*** jpena is now known as jpena|off17:15
tobiashhrm, I guess I have to wait quite some time to get a node to see if it's working...17:17
*** irclogbot_8 has quit IRC17:21
*** irclogbot_8 has joined #zuul17:22
tobiashcorvus: any idea how I could share here an svg example file of ^ ?17:23
clarkbtobiash: imgur? we had ti stoo rendering in gerrit iirc17:28
tobiashhrm, didn't work17:29
*** bhavikdbavishi has quit IRC17:41
*** bhavikdbavishi1 has joined #zuul17:41
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Collect docker logs after quick-start run  https://review.openstack.org/61302718:03
*** electrofelix has quit IRC18:05
corvushrm... that change, which touches no python code, encountered 283 pep8 errors18:07
corvusi guess there was a new flake8 release18:08
tobiashyes18:11
corvuswow there's some really bad rules18:14
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Collect docker logs after quick-start run  https://review.openstack.org/61302718:19
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Add the process environment to zuul.conf parser  https://review.openstack.org/61282418:19
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Pin flake8  https://review.openstack.org/61313418:19
*** nilashishc has quit IRC18:22
Shrewsooh, this new X1 laptop is soooo much lighter than the T450s it's replacing18:37
*** ssbarnea|bkp2 has joined #zuul18:39
*** dkehn_ has joined #zuul18:42
*** D0han_ has joined #zuul18:43
*** tobiash_ has joined #zuul18:43
*** jhesketh_ has joined #zuul18:44
*** jesusaur has quit IRC18:48
*** tobiash has quit IRC18:48
*** ssbarnea has quit IRC18:48
*** jlk has quit IRC18:48
*** dkehn has quit IRC18:48
*** SpamapS has quit IRC18:48
*** SotK has quit IRC18:48
*** D0han has quit IRC18:48
*** Diabelko has quit IRC18:48
*** jhesketh has quit IRC18:48
*** dkehn_ is now known as dkehn18:48
*** Diabelko has joined #zuul18:49
*** D0han_ is now known as D0han18:49
*** jesusaur has joined #zuul18:49
*** SpamapS has joined #zuul18:50
*** jlk has joined #zuul18:56
*** pwhalen has joined #zuul19:05
*** openstackgerrit has quit IRC19:06
*** openstackgerrit has joined #zuul19:10
openstackgerritJames E. Blair proposed openstack-infra/zuul master: WIP: support foreign required-projects  https://review.openstack.org/61314319:10
mordredcorvus: ^^ ooh19:12
corvuswhen i get that fleshed out, i'll try doing a third-party ci setup using the docker-compose stuff and see if it's less terrible19:14
*** irclogbot_8 has quit IRC19:25
*** irclogbot_8 has joined #zuul19:25
*** irclogbot_8 has quit IRC19:26
*** irclogbot_8 has joined #zuul19:27
*** irclogbot_8 has quit IRC19:31
openstackgerritMerged openstack-infra/nodepool master: Run test zookeeper on top of tmpfs  https://review.openstack.org/61281620:06
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Filter file comments for existing files  https://review.openstack.org/61316120:49
corvusmordred: ^20:50
*** pcaruana has quit IRC20:50
*** openstack has quit IRC21:03
*** openstack has joined #zuul21:07
*** ChanServ sets mode: +o openstack21:07
*** spsurya has quit IRC21:21
*** hasharDinner has quit IRC21:48
*** rlandy is now known as rlandy|bbl22:31
openstackgerritMerged openstack-infra/zuul master: Pin flake8  https://review.openstack.org/61313423:15
*** openstackgerrit has quit IRC23:20
*** jesusaur has quit IRC23:34

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