Saturday, 2019-01-26

pabelangertristanC: dmsimard: our tenant in sf.io is broken?01:47
pabelangerhas anything change on zuul side?01:47
pabelangerhttps://ansible-network.softwarefactory-project.io/zuul/config-errors01:48
pabelangerno pipelines are loaded either01:48
pabelangerbase-minimal is in ansible-network/zuul-config01:49
pabelangerit's almost like ansible-network/zuul-config isn't loaded01:50
pabelangerbut nothing has changed on our side01:50
pabelangerLast reconfigured: Fri Jan 25 2019 18:12:37 GMT-0500 (Eastern Standard Time)01:52
pabelangerI suspect there is something around that timeframe to why ansible-network/zuul-config didn't load01:52
tristanCpabelanger: looking...01:56
pabelangerhopefully not 3.5 related :)01:57
tristanCthat's odd, config looks good, nothing in logs. it seems like zuul-config project isn't getting loaded properly02:02
pabelangerI know there was some updates to github driver around reloads, let me find commit02:02
pabelangertristanC: http://git.zuul-ci.org/cgit/zuul/commit/?id=aad0e17ddd64851ca4c9e77185c74bebcc049fba02:05
tristanCansible is also affected, but no config-errors are logged: https://ansible.softwarefactory-project.io/zuul/status02:05
tristanCi'll try a service reload first02:07
pabelangerodd02:07
pabelangerI think we have base / base-minimal there too02:07
tristanCpabelanger: in ansible, both base and base-minimal are in the zuul-config repo02:08
pabelangerk02:08
tristanCreconfiguration is in progress, let's see if zuul-config gets loaded02:09
pabelangertyty02:09
tristanChum, so ansible-networ/zuul-config doesn't appeared in logs after reconfiguration02:18
tristanCi mean, during the reconfiguration event02:18
tristanCalso, https://softwarefactory-project.io/zuul/t/ansible-test/status does work, im' looking for difference between the two tenants02:19
pabelangertristanC: we do use branch protection02:19
tristanCpabelanger: but not for zuul-config right?02:19
pabelangerno, we have it enabled there too02:20
pabelangertristanC: I am not sure on ansible/zuul-config, not admin. If I was to guess, i don't think they have it setup02:21
tristanCfor ansible/zuul-config, all branches except the master gets loaded during reconfiguration...02:23
pabelangerwow, they have branches there02:23
pabelangerthat isn't good02:23
pabelangerwill have to delete them next week02:24
tristanCiirc, doesn't zuul just ignore later down the road non master branch for config projects?02:24
pabelangernot sure TBH, never tried branching config-project02:24
tristanCpabelanger: back to aad0e17, iiuc, this may be causing zuul to cache an empty project-config for the protected branch of zuul-configs, and then the content gets ignored by reconfigure?02:27
tristanCin logs, i don't see any "Submitting cat job" for ansible-network/zuul-config02:28
pabelangertristanC: want me to disable branch protection and test?02:29
tristanCperhaps i could add a debug log in the "if not tpc.load_classes" and restat the scheduler02:29
pabelangersure02:29
tristanCthough that's odd, because zuul-config should have load_classes02:30
tristanCok, restarting scheduler now with the extra debug log02:33
tristanCarg, no luck, ansible-network/zuul-config doesn't seems to be assigned that cacheUnparsedConfig02:38
pabelangertristanC: lets test with branch protection removed02:39
tristanCfwiw, here are grep ansible-network output after the restart: https://softwarefactory-project.io/paste/show/1399/02:40
pabelangertristanC: and ansible-network/zuul-config is listed in tenant_config?02:41
tristanCyes02:41
pabelangerodd02:41
pabelangerI'm going to disable branch protection now, then we can reconfigure and see what happens02:42
pabelangerI don't think it will fix anything, but a data point02:42
tristanChere is the 3 tenants configuration with config-project on github: https://softwarefactory-project.io/paste/show/1400/02:42
pabelangerokay, branch protection removed on ansible-network/zuul-config02:42
tristanCalright, testing reload first02:43
tristanCthis time it did 02:43:34,347 INFO zuul.TenantParser: Loading configuration from ansible-network/zuul-config/zuul.d/pipelines.yaml@master02:44
pabelangerwow02:44
pabelangeronce zuul is finished, I'll add it back02:45
tristanCpabelanger: i don't think this behavior was introduced by zuul-3.5.0, pretty sure ansible tenant was working after the update02:46
pabelangermaybe 3.4.0 then?02:47
pabelangertristanC: we've had branch protection for a while on the repo02:47
tristanCpabelanger: could it be that github api recently changed and branch protection affects how the apps can list project?02:47
pabelangercould be02:47
pabelangerwhat version of github3 do we have?02:47
pabelanger1.0.2 we released recently02:48
pabelangertristanC: I guess we have branch protection on ansible/zuul-config, can confirm monday02:49
tristanC1.2.002:49
pabelangerk, we'll have to confirm with tobiash next week, for now I can leave branch protection off02:51
pabelangertristanC: have to run, will check backlog in a few hours. Thanks again for helping on your saturday02:52
tristanCpabelanger: alright, thanks for the ping too, this went unnoticed :)02:52
tristanCi'll try: https://softwarefactory-project.io/r/14881 Bump to github3 to 1.3.002:56
tristanCpabelanger: ansible/zuul-config is protected according to https://api.github.com/repos/ansible/zuul-config/branches03:17
tristanCok i think i understand what's going on. when 'exclude-protected-branch' isn't set, zuul query github branches with protected=0, e.g.: https://api.github.com/repos/ansible/zuul-config/branches?protected=003:40
tristanCand i guess that github is now only returning unprotected branch now, resulting in zuul skipping protected branch03:41
tristanCpabelanger: so i think https://review.openstack.org/633314 should fix the issue, alternatively setting exclude-unprotected-branches on ansibles' zuul-config would do the trick too03:51
tristanCso, i fixed ansible tenant by applying: https://github.com/ansible/zuul-config/pull/4704:07
*** bhavikdbavishi has joined #softwarefactory04:09
tristanCpabelanger: and ansible-network should work if we apply https://softwarefactory-project.io/r/14882 after re-enabling branch protection on ansible-network/zuul-config04:10
tristanCotherwise, I think we need https://review.openstack.org/633314 to restore the previous behavior (e.g. zuul load protected branch when not using the exclude-unprotected-branches option)04:15
*** bhavikdbavishi has quit IRC04:38
*** bhavikdbavishi has joined #softwarefactory06:52
*** bhavikdbavishi has quit IRC07:11
*** bhavikdbavishi has joined #softwarefactory12:47
*** bhavikdbavishi has quit IRC13:36
pabelangertristanC: wow, so github changes API it seems16:32
pabelangertristanC: yah, I think we want to land your patch, or discuss it upstream, but also agree exclude-protected-branch should also be set16:32
pabelangerthanks for digging into this16:32
*** sfbender has quit IRC22:05

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