Tuesday, 2018-07-10

*** rlandy has quit IRC00:10
mordredcorvus: to be fair, clarkb does have 2 chilren unrelated to that change he could look at00:56
openstackgerritTristan Cacqueray proposed openstack-infra/zuul-jobs master: configure-pypi-mirrors: add initial role  https://review.openstack.org/58116501:10
*** yolanda__ has joined #zuul01:33
*** yolanda_ has quit IRC01:36
*** jimi_|ansible has joined #zuul02:15
*** corvus_ has joined #zuul02:17
*** pleia2_ has joined #zuul02:17
*** corvus has quit IRC02:19
*** rcarrillocruz has quit IRC02:19
*** pleia2 has quit IRC02:19
*** Diabelko has quit IRC02:19
*** jimi|ansible has quit IRC02:19
*** eikke has quit IRC02:19
*** tobasco has quit IRC02:19
*** eikke has joined #zuul02:19
*** Diabelko has joined #zuul02:20
*** pleia2_ is now known as pleia202:20
*** eikke has quit IRC02:21
*** eikke has joined #zuul02:21
*** tobasco has joined #zuul02:22
*** rcarrillocruz has joined #zuul02:25
*** yolanda_ has joined #zuul02:28
*** yolanda__ has quit IRC02:31
*** corvus_ is now known as corvus03:36
*** corvus is now known as Guest7845703:37
*** Guest78457 is now known as jeblair03:38
*** jeblair is now known as corvus03:43
*** ianychoi_ has quit IRC03:54
*** ianychoi has joined #zuul04:08
*** jappleii__ has quit IRC04:25
*** threestrands has joined #zuul04:25
*** yolanda__ has joined #zuul04:46
*** yolanda_ has quit IRC04:49
* SpamapS finally upgrading to zuul 3.1 .. I hope it doesn't break anything :-P05:13
tobiashSpamapS: good luck ;)05:15
SpamapSYa.. I kinda let my install get stale05:16
SpamapSI should probably re-sync zuul-jobs too05:17
SpamapSI'm a little worried the javascript has gotten weird again05:21
SpamapSwould really love to not have a bunch of basically custom zuul deployment ansible :-P05:21
tobiashSpamapS: I think 3.1.0 is before the angular changes05:22
tobiashSpamapS: if you switch to current master and have a multi tenant setup you might need to tweak the reverse proxy settings a but05:23
tobiashbit05:23
SpamapSI said 3.1.. I meant master. ;)05:23
SpamapSWe'll see. It's installing onto my stage env now.05:23
tobiashSpamapS: so if you have a white labeled setup you're fine, if you have a multi tenant setup you'll probably need to add a reverse proxy rule05:24
SpamapSAnother thing I'd really love to see would be fast-forward job skips. If check has run for a job with the same git components.. just mark it SUCCESS pls.05:24
SpamapStobiash: I am not white labeled, but have only one tenant.. for no reason other than I was too lazy to change all my links from /GoDaddy/foo to /foo.05:25
tobiashSpamapS: then you'll need something like this: http://paste.openstack.org/show/725383/05:25
SpamapSHm I might alreayd have something like that.05:26
tobiash(if you want a working tenant list)05:26
SpamapSah, I may not care about that. :)05:27
tobiashSpamapS: but that only works with https://review.openstack.org/57941805:27
SpamapSbut it's good to know05:27
tobiashwhich is not yet merged05:27
tobiashthat stuff is one of the reasons to hold back the next release containing the angular stuff05:28
SpamapSah05:33
SpamapSwell I'll see05:33
SpamapScan rewind to 3.1 if it gets too ugly ;)05:34
SpamapSwe only have 10 users. ;)05:34
openstackgerritIan Wienand proposed openstack-infra/zuul-jobs master: [DNM] download links  https://review.openstack.org/58120406:05
tobiashwe now have 1000 registered users (don't know how many are active atm)06:08
*** threestrands has quit IRC06:30
*** hashar has joined #zuul06:34
*** yolanda_ has joined #zuul06:36
*** yolanda__ has quit IRC06:39
*** gtema has joined #zuul07:02
*** fbo|off is now known as fbo07:28
*** yolanda__ has joined #zuul07:59
*** yolanda__ is now known as yolanda07:59
*** yolanda_ has quit IRC08:02
*** electrofelix has joined #zuul08:03
*** hwoarang has joined #zuul08:13
*** hwoarang has quit IRC08:18
*** goern_ is now known as goern08:18
*** goern has quit IRC08:19
*** goern has joined #zuul08:19
*** sshnaidm|rover has quit IRC08:26
*** hwoarang has joined #zuul08:28
*** hwoarang has quit IRC08:28
*** hwoarang has joined #zuul08:28
*** sshnaidm|rover has joined #zuul08:32
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Fix bindep for SUSE  https://review.openstack.org/58125208:32
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Fix github setup in zuul from scratch  https://review.openstack.org/58125308:32
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: fix zuul from scratch user and group creation  https://review.openstack.org/58125408:32
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Add instructions for deploying zuul with openSUSE  https://review.openstack.org/58125508:32
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Include instructions on building static web components  https://review.openstack.org/58125608:32
*** gtema has quit IRC08:37
*** toabctl has quit IRC08:48
*** toabctl has joined #zuul08:54
*** sshnaidm|rover has quit IRC09:04
*** sshnaidm|rover has joined #zuul09:05
sshnaidm|roverhow do I use zuul secret with files? I have a ssh private key that need to be used in jobs, what is good practice to inject it in jobs?09:22
*** hwoarang has quit IRC09:23
tristanCsshnaidm|rover: perhaps use the add-sshkey zuul-jobs role?09:24
fbotristanC: left comment on 1292909:31
*** gtema has joined #zuul10:18
*** gtema has quit IRC10:35
*** gtema has joined #zuul10:46
*** hwoarang has joined #zuul10:47
odyssey4mecorvus and anyone else who may be able to act as a guide, I'm working on implementing the ability for nodepool to ignore the cloud quota if a config entry is set for a pool, as discussed here: http://eavesdrop.openstack.org/irclogs/%23zuul/%23zuul.2018-05-24.log.html#t2018-05-24T16:17:5811:07
odyssey4meI'm trying to figure out exactly where to enact the use of the config entry and have tried it in the openstack handler's hasRemainingQuota and hasProviderQuota but that doesn't seem to be working... so I went down to the utils.py/non_negative and forced it to return True as a test, and it's still giving me quota issues... I must be barking up the wrong tree?11:09
*** hwoarang has quit IRC11:19
*** hwoarang has joined #zuul11:20
*** hwoarang has quit IRC11:20
*** hwoarang has joined #zuul11:20
*** hwoarang has quit IRC11:21
*** hwoarang has joined #zuul11:22
Shrewsodyssey4me: i would think that adding a new config entry in nodepool/drivers/openstack/config.py for the provider, then checking this value in both of those mentioned methods would work11:24
odyssey4meShrews: yep, doing that - but when it didn't take effect I starting trying to figure out why. And for some reason it seems that nothing at all is taking.11:24
Shrewsodyssey4me: i think modifying the quota non_negative stuff itself is definitely the wrong direction11:25
Shrewsodyssey4me: want to share your code and test with me?11:25
odyssey4meIf I set both those methods to return True without checking anything, it still doesn't action the build and returns the error 'Declining node request 100-0000000908 because it would exceed quota'11:25
odyssey4meyeah, I can push up a review for now - it's incomplete but I'm happy to share where it's at11:26
odyssey4melemme de-hack it quickly and push it up11:26
Shrewsk11:26
Shrewsodyssey4me: if you could add a test case for it testing the desired behavior (even though it may fail right now), that would be helpful11:28
Shrewsbut whatever you have now is fine, too11:29
odyssey4meok, I can try that - I'm a bit of a noob, so it may be somewhat naiive11:29
Shrewsok, just push up what you have now11:29
odyssey4melemme push up the modified code I was testing, then work out a test11:29
openstackgerritJesse Pretorius (odyssey4me) proposed openstack-infra/nodepool master: [WIP] Add ability to ignore provider quota for a pool  https://review.openstack.org/58132911:37
odyssey4meShrews: ^ thanks11:38
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Add instructions for deploying zuul with openSUSE  https://review.openstack.org/58125511:42
openstackgerritJoshua Hesketh proposed openstack-infra/zuul master: Include instructions on building static web components  https://review.openstack.org/58125611:42
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix zuul startup with inexisting project template and gate  https://review.openstack.org/57985911:44
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Tolerate missing project  https://review.openstack.org/57987211:44
tobiashcorvus: stacked these ^ on top of your change 579997 because they conflict11:45
Shrewsodyssey4me: so, couple of initial thoughts... ignoring quota should be an attribute of the provider (not pool), so in ProviderConfig11:50
Shrewsodyssey4me: second thing, the has*Quota() methods can just check this value as the first check and just return True rather than doing *any* quota calculations11:51
odyssey4meon that second thought, I actually tried that - effectively just adding 'return True' in the method, but it still seems to be doing the same as always... that's what got me confused11:52
odyssey4meon the first thought - happy to do that, although the max-* settings are per pool, so I thought it was better suited to be there11:52
Shrewsodyssey4me: that's where i'd need to see your test  :)11:53
odyssey4mefair enough11:53
odyssey4meok, I'll spend some time figuring out the test bit - at a glance it doesn't seem too hard, but as always the devil's in the details11:54
Shrewsodyssey4me: hrm, would it make sense to have 2 different pools within the same provider and one ignores quota and the other doesn't?11:55
Shrewshonest question... trying to think of the use case11:55
Shrewsi suppose they could specify different AZs with different quota requirements... maybe pool is the right place here...11:56
odyssey4megood question, to which I don't really have an answer - my placement was more around proximity to the other bits which relate, rather than a use-case11:57
Shrewsodyssey4me: yeah. just leave it in pool for now while i think about it a bit. i'm still pre-coffee and bfast11:57
odyssey4mewe have found cases where boot-timeout/launch-timeout would be more useful in a pool than provider11:57
odyssey4meit's almost as if it'd be useful to have some settings that apply to both, where a pool's setting culd override the provider's setting11:58
odyssey4me*cloud11:58
odyssey4mebah *could11:58
* odyssey4me gets coffee too :p11:58
*** elyezer has quit IRC12:02
*** elyezer has joined #zuul12:08
*** yolanda has quit IRC12:21
openstackgerritJesse Pretorius (odyssey4me) proposed openstack-infra/nodepool master: Update README to use python3 installation  https://review.openstack.org/58134812:31
*** rlandy has joined #zuul12:35
*** yolanda has joined #zuul12:42
openstackgerritJesse Pretorius (odyssey4me) proposed openstack-infra/nodepool master: Update README to use python3 installation  https://review.openstack.org/58134812:42
openstackgerritJesse Pretorius (odyssey4me) proposed openstack-infra/nodepool master: [WIP] Add ability to ignore provider quota for a pool  https://review.openstack.org/58132912:52
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: [WIP] Add ability to ignore provider quota for a pool  https://review.openstack.org/58132912:54
Shrewsodyssey4me: oops, but the PS i pushed up adds a test12:55
odyssey4meShrews: oh! thanks - didn't realise you were working on that12:55
Shrewsodyssey4me: hopefully i didn't undo your changes12:55
odyssey4mehappy to have that :)12:55
Shrewsodyssey4me: it shows your changes worked as-is12:55
odyssey4meinteresting, my test env must be funky then I guess12:58
*** yolanda_ has joined #zuul13:00
*** yolanda has quit IRC13:02
openstackgerritJesse Pretorius (odyssey4me) proposed openstack-infra/nodepool master: [WIP] Add ability to ignore provider quota for a pool  https://review.openstack.org/58132913:03
odyssey4meShrews: ^ adjusted based o your previous feedback13:04
*** yolanda_ has quit IRC13:05
SpamapSmmmmmmmmm new stuff   Zuul version: 3.1.1.dev88 d7b835d13:10
SpamapShttp://paste.openstack.org/show/725411/13:14
SpamapSdurn13:14
tobiashSpamapS: I think I saw a change from tristan to fix tha13:17
tobiashlet me check13:18
*** yolanda_ has joined #zuul13:18
SpamapSI should always learn to search the review queue before opening up vim.13:18
tobiashSpamapS: https://review.openstack.org/57735713:20
tobiashthat might be your issue13:20
SpamapSIndeed, though the branch in question does actually have branch protections enabled.13:21
tobiashSpamapS: you could still open your vim and add a test case to that :-P13:21
tobiashSpamapS: does your zuul have permission to get that branch protection settings?13:21
SpamapStobiash: it should, it has write access to the repo.13:22
tobiashSpamapS: on newer ghe without app auth the zuul techuser needs to be admin to get branch protection otherwise it will get the same result as it would be without branch protection13:22
tobiashSpamapS: ghe 2.12 changed that afaik13:23
SpamapSadmin, not just write?13:23
SpamapSahh I see13:23
SpamapSmy robots are all just 'write'13:23
tobiashyes, since 2.12 you need admin to get branch protection13:23
SpamapSwe just updated to 2.13 the other day :-P13:23
tobiashso that explains that13:24
SpamapSyep, upgrading our robots to admin on all the things13:24
SpamapSbut yeah, still should return {} and not None. ;)13:25
tobiashSpamapS: I'm not opposed to this, my -1 on that fix is just for the missing test ;)13:25
SpamapSok that seems to have gotten the jobs flowing again13:28
SpamapShm, I have white borders on my terminal watcher13:29
SpamapSwhats up with that?13:29
tobiashSpamapS: that's the new angular design13:30
tobiashthe terminal watcher is its own component now13:30
tobiashbut you should ask tristanC and mordred for the details ;)13:30
SpamapSmmk13:30
mordredSpamapS: javascript13:31
SpamapSwrote a song about it13:31
SpamapSlike to hear it? here it goes13:31
* tobiash listens13:31
SpamapSmmmmmmmm hmmmm hmmmm mmmmmm.. we got ourselves a scripting language. It runs in all the browsers. mmmmhmmm mhmmmmmmmmmmm13:31
SpamapSthank you thank you very much13:31
mordredthat's a great song13:31
SpamapSwrote it myself13:31
mordredyou should totally go into the songwriting business13:32
mordredmaybe justin bieber will record your songs13:32
SpamapShe already does13:32
ShrewsSpamapS: ah, you are so living in colour13:33
Shrewss/colour/color/ ... i went all britishy there13:33
mordredShrews: you're not british?13:34
SpamapSShrews: SpamapS don't play dat.13:34
SpamapSahh fun, new ansible version is breaking some of my jobs. How quaint.13:37
*** adam_g has quit IRC13:38
*** adam_g has joined #zuul13:38
tobiashodyssey4me, Shrews: regarding that ignore quota thing you might want to think about how that interacts with https://review.openstack.org/53693013:39
tobiashodyssey4me, Shrews: I think that this should not be a problem but it's worth thinking about that13:40
Shrewstobiash: good point. i'm not sure how that plays in the rax environment odyssey4me is describing13:42
odyssey4metobiash: yes, in principle that becomes a nice fallback in case the nodepool max-servers setting is actually too high (or something else is using quota)... I'm looking through the patch itself to see if that perhaps might explain why my patch isn't working :p13:42
Shrewsodyssey4me: the way you have the code now, max-servers is not even considered (except for disabling a pool)13:43
odyssey4meShrews: oh dear, ok, let me revisit that13:43
Shrews(sort of relates to my comment i just left on the commit message)13:43
tobiashodyssey4me: the intention is to put the handler into pause mode after catching a quota related launch exception, after that it waits until quota is already available (which would then be probably immediately)13:43
tobiashodyssey4me: so you might be hammering the cloud until it works if you set the wrong max-servers13:44
odyssey4mehmm, yeah - I see that the patch intentionally allows the request to be re-fulfilled in the same provider... why not allow it to be fulfilled by *any* provider?13:47
tobiashodyssey4me: because it can be part of a multi node set which needs to be fulfilled by the same provider13:47
odyssey4meaha, I see13:47
odyssey4mewill that then keep retrying until the full node set is available? or will the full node set be aborted and is open to fulfillment elsewhere?13:48
*** jimi_|ansible is now known as jimi|ansible13:48
tobiashit will keep retrying13:48
tobiashit just aborts the failing node13:49
odyssey4meok, good to know13:49
SpamapShttps://docs.ansible.com/ansible/2.5/porting_guides/porting_guide_2.5.html#fixed-handling-of-keywords-and-inline-variables ... durn... some of my ansible used {{ name }} :-P13:58
* SpamapS fixed it I think13:59
*** yolanda_ has quit IRC14:03
jheskethtristanC: ping14:08
SpamapSThe multi-node set requiring to be handled by the same provider and same AZ is something I've wanted to revisit for a while.14:09
openstackgerritJesse Pretorius (odyssey4me) proposed openstack-infra/nodepool master: [WIP] Add ability to ignore provider quota for a pool  https://review.openstack.org/58132914:09
SpamapSI think in some cases a job should be able to express that it doesn't care about that.14:09
tobiashSpamapS: at least as a nodepool operator I also don't care about AZ in our cloud14:16
SpamapSyeah, at some point I had a patch prepared that ignored AZ-stickiness.14:17
SpamapSdon't remember where it went14:17
tobiashSpamapS: did that land?14:17
SpamapSno14:17
SpamapSI dunno if I even git-review'ed it14:17
SpamapShttps://review.openstack.org/#/c/546175/14:18
*** yolanda_ has joined #zuul14:18
tobiashoh I even reviewed this :)14:19
SpamapSyah.. thread found..14:20
SpamapSbut I actually found that the main reason I had laggy job starts was my zk node being too busy14:20
SpamapSonce I moved it to a dedicated VM even the lag to start a few more nodes wasn't as noticable, so this task got pushed to the bottom of the stack14:21
tobiashbut I still had issues this week wher my cloud added new nodes with a different AZ and then changed that and I got node failures because nodepool tried to spawn nodes in an inexisting AZ14:21
SpamapSah that's a bummer. ;)14:22
tobiashI guess we need to handle this error and in my case I wouldn't even care about AZs14:22
SpamapSwe don't add AZ's ever.. we just expand the existing ones.14:22
tobiashyeah that probably was a deployment issue that was fixed after the deployment and after nodepool noticed that there is an additional AZ14:23
SpamapSOur cloud is also kinda weird with AZ's14:24
SpamapSyou *have* to pick one14:24
SpamapSWe built a routed networks openstack, before neutron had routed networks support.14:24
SpamapSSo az is how you select your over-arching network.14:24
tobiashoh that sounds like fun14:25
SpamapSyyyyyyeaaahhh14:25
SpamapSOur newer control planes just use routed networks.14:25
SpamapSwe also do this weird thing where we bind floating ips directly on the hosts and then have an l3 driver that tells the switch how to route the floating IP to the fixed. It's nice because there's no soft routers.. but it also means we can't use stock images because our images have to know how to bind a floating IP. :-P14:27
odyssey4meShrews: weird, adjusted https://review.openstack.org/#/c/581329/5/nodepool/driver/openstack/handler.py to now just ignore the cloud quota, but my live test still seems to be hitting quota and completely ignoring the code14:30
*** acozine1 has joined #zuul14:31
odyssey4meI'm still hitting https://github.com/openstack-infra/nodepool/blob/master/nodepool/driver/__init__.py#L527 somehow.14:32
*** EmilienM is now known as EvilienM14:42
*** acozine1 has quit IRC14:48
*** acozine1 has joined #zuul14:48
mordredSpamapS: why are you using floating ips for that use case?14:55
mordredSpamapS: like, you just described normal neutron ports14:55
mordredSpamapS: (honest question - not a troll)14:56
tobiashcorvus: circling back to the semi full reconfiguration possibility. What method for triggering this would you prefer? There are a number of possibilities like timer, inotify, SIGUSRx, control socket.15:14
tobiashcorvus: I'd vote for control socket15:14
corvustobiash: yes, and i think that will be more compatible with fbo's use of a script instead of a file15:15
tobiashcorvus: I just noticed that 579997 is semantically conflicting with the job contamination fix15:20
tobiashI added both to my staging branch and that broke every test15:21
corvustobiash: you wrote about the fix in a comment though, right?  it looks straightforward...15:22
tobiashcorvus: yes, it's easy :)15:22
corvustobiash: job contamination is more important, let's land it first15:22
tobiashk15:23
odyssey4meShrews never mind, I found the bug - it was the squishy bit between the keyboard and chair (me)15:42
Shrews:)15:44
mhupabelanger, SpamapS do you mind if I take a look at/possibly take over https://review.openstack.org/#/c/95035/ ? it's a nice feature to have, I'd like to at least attempt to rebase that change15:49
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: Add a dequeue command to zuul client  https://review.openstack.org/9503515:52
pabelangermhu: yes, you'll need to port unit test to zuulv3 layout I believe15:57
mhupabelanger, thx, and yeah I'll do that in my next patch15:58
*** sambetts has joined #zuul16:01
sambettsHi zuul, having a problem with zuul-web, it looks like the static files should have been included in the pypi package when it was built, however they are missing16:02
sambettsare there any docs on how to manually build and add the files without reinstalling  zuul from source16:08
sambetts?16:08
pabelangersambetts: https://zuul-ci.org/docs/zuul/developer/javascript.html should help16:10
pabelangerbut I want to say JS missing from pypi might be a bug?16:10
sambettsyeah I think it seems to be, the MANIFEST in the repo looks like it is trying to include it, but downloading the tar.gz from pypi its missing16:11
sambettsand after installing it, its not there16:11
sambettsso zuul-web for the API works, but the dashboards is completely dead16:12
*** sshnaidm|rover is now known as sshnaidm|bbl16:12
sambettss/is/are/16:12
pabelangerI know in openstack there has been some history with distro packagers about installing config files with pip, but don't think an issue for static html file16:12
*** hashar is now known as hasharDinner16:17
sambettsyeah they aren't config files they are static assets, it looks like someone forgot to do the npm build before creating the sdist16:21
SpamapSmhu: go for it!16:32
*** gtema has quit IRC16:35
*** hwoarang has quit IRC16:42
*** fbo is now known as fbo|off16:44
odyssey4meShrews: how does one go about running the unit tests? are there any special requirements (ie could I run it on a macbook)? is it just tox -e foo, or more?16:48
tobiashodyssey4me: on a macbook is more difficult16:49
Shrewsodyssey4me: nodepool follows (pretty much) the same PTI as OpenStack projects16:49
tobiashodyssey4me: with some tweaks you can get away using docker but that's awfully slow on mac16:50
Shrewsodyssey4me: tox -epy35 (or -epy36 if you have that)16:50
Shrewsodyssey4me: you need to start a zookeeper process16:50
Shrewsbut that's all you need16:50
tobiashodyssey4me: so I personally have a tox wrapper that rsyncs the source to a linux vm and runs tox there16:50
Shrewsyeah, we don't really try to support a mac environment16:51
Shrewsi tried once long ago... it became... tedious16:51
odyssey4meok, let me update that README again with a bit more detail16:51
tobiashit's not just not trying, it's just not possible right now (natively)16:52
*** sambetts is now known as sambetts|afk16:53
tobiashsome time ago I think gear was not compatible because it relies on some linux only socket flags16:53
Shrewstobiash: i don't doubt it16:53
Shrewsepoll vs kqueue, etc16:53
tobiashShrews: ah yes, epoll was it afaik16:54
Shrewsthat's when i gave up16:54
tobiashoh wow, at least pep8 on nodepool is working on mac16:54
odyssey4meWhy does the README currently include cloning project-config?16:55
*** acozine1 has quit IRC16:55
Shrewsodyssey4me: that whole doc could probably stand a revision now. even the 1st paragraph needs updated16:55
odyssey4meam I missing something? I don't see a py35/py36 env defined in tox.ini16:57
Shrewshonestly, i'd rather strip most of the contents out of README and put them in the docs proper. The testing stuff could go in the developer docs16:57
Shrewsodyssey4me: it's built in to tox16:57
odyssey4meah ok16:59
openstackgerritJesse Pretorius (odyssey4me) proposed openstack-infra/nodepool master: Update README to use python3 installation  https://review.openstack.org/58134816:59
odyssey4meok, I'll revise it all tomorrow and move it into the dev docs instead.17:00
odyssey4methanks for your help today folks - https://review.openstack.org/581329 appears to be working as intended... so now it's down to polishing, better validations and tests17:01
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Switch to centos-release-openstack-queens for ovs  https://review.openstack.org/58051817:02
odyssey4meShrews: FYI you were kinda right - it's a bit pointless to ignore the quota for a single pool, well for this use-case certainly... If you think it better to pull it back into the provider, please let me know in review and I'll adjust it tomorrow17:03
pabelangerianw: ^updated to address comments17:03
openstackgerritLogan V proposed openstack-infra/zuul master: encrypt_secret: Allow file scheme for public key  https://review.openstack.org/58142917:17
SpamapSmordred: the thing that makes it not like neutron ports is routing17:23
SpamapSmordred: this isn't a single L2. There are many L2's that the floating ips can move between.17:24
mordredSpamapS: ok. I believe you. :)17:26
SpamapSmordred: good, I don't want to trigger your floating ip rage by showing you how it gets used. ;)17:28
*** electrofelix has quit IRC17:34
tobiashShrews, odyssey4me: just tried to run 'tox -e py36' in nodepool on mac and it worked :)17:43
odyssey4metobiash: ORLY? did you have to install a zookeeper instance first?17:44
tobiashbrew install zookeeper17:44
tobiashzkServer start17:45
tobiashand I needed to install gnu-getopt into the system17:45
Shrewsodyssey4me: tobiash: i would not use brew17:45
tobiashShrews: what else do you recommend?17:46
Shrewsunless it doesn't start the service by default17:46
tobiashit doesn't17:46
Shrewsoh, that's probably ok then. it's not something you want to keep running on a laptop17:46
tobiashit told me that I can activate the service or start it manually17:46
Shrewsi just download it from apache.org and start it from the download17:47
tobiashsure that's possible too17:47
tobiashI was just lazy and didn't even expect that it could work17:48
odyssey4melooks like gnu-getopt is brew installable too17:48
tobiashbut I'm sure zuul won't work because of gearman and bwrap17:48
tobiashyes17:49
tobiashnodepool needs it in the path during the tests17:49
tobiashso it looks like ripping out gearman during the v3 transition was the only thing needed to get the nodepool tests working on mac17:51
SpamapSI wouldn't really trust a test run on a mac. ;)18:23
tobiashSpamapS: I trust zuul :)18:25
SpamapSAFAIK zuul only really works on Linux. :)18:26
tobiashit just makes development on mac a little easier18:26
tobiashzuul probably won't never work on mac18:26
tobiashcorvus: I think we should add both full reconfiguration and semi full reconfiguration to the command socket18:35
tobiashcorvus: do you have whishes for the naming of the commands?18:35
tobiashcorvus: the first commands that came to my mind were 'reconfigure' and 'reload' but that's probably too ambigious18:37
tobiashmaybe 'reconfigure' and 'reconfigure-tenants' ?18:37
corvustobiash: maybe "full-reconfigure" for the current clear-cache-and-reconfigure.  then "reconfigure" for the new reload-tenant-config-but-use-cache option.  we might want to reserve "tenant-reconfigure" or similar if we ever add a manual trigger for the current "tenant reconfiguration" which is automatically triggered by changes landing.18:53
tobiashcorvus: thanks, that sounds good18:54
*** rlandy is now known as rlandy|brb18:56
pabelangermordred: corvus: I'd like to see if I could spend some time on implementing: http://lists.openstack.org/pipermail/openstack-infra/2017-October/005606.html Change publication interface to be directories on node, not executor We just had a ssh key in rdoproject leak due to misunderstanding of how secrets work. And in this case, the job it self doesn't really need access to it if we properly setup publication19:17
pabelangerinterfaces19:17
mordredpabelanger: awesome19:17
corvus++19:18
mordredpabelanger: I have the beginnings implemented - I just keep failing at pushing it through19:18
corvuspabelanger: but also, perhaps privately when you have a minute, i'd like to hear about the misunderstanding that caused that to see if there's any improvements we can make19:18
mordredpabelanger: https://review.openstack.org/#/q/topic:zuulv3-output19:19
pabelangercorvus: sure, https://review.rdoproject.org/r/14754/ was the change added this morning, i didn't have a chance to review until a few hours after it merged19:19
pabelangercorvus: for legacy reasons jobs still configured to rsync directly from a nodepool node to images.r.o, so key was missing when we ran zuul-migrate19:20
pabelangerhowever, because key was writen to disk, anybody could echo it19:21
mordredpabelanger: ah - fun19:21
mordredpabelanger: I think that's ACTUALLY the whole implementation above - other than stepping it through and fixing the bugs that are sure to be there since I wrote it19:21
mordredpabelanger: but I *believe* it's got all the major pieces19:22
pabelangerso, I am not sure how better to protect that from zuul POV. Initial thoughts were maybe set final: true by default if using a secret, and force operator to disable it or warn that allow-projects is missing... but that feels clunky19:22
pabelangermordred: okay, let me review19:23
mordredpabelanger: I'm still down a couple of different rabbit holes - so if you need to fix anything or pushanything forward, please don't block on me - and feel free to take over any of the pieces19:23
pabelangersure19:23
mordredpabelanger: I'm also happy to help - but it might be a few days before I'm out of my current hole19:23
pabelangernp, I think pushing on this for openstack first makes sense, then we can see how to get other zuul onboard19:24
*** rlandy|brb is now known as rlandy19:27
mordredpabelanger: ++19:27
*** hasharDinner is now known as hashar19:32
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Add job to build container images using pbrx  https://review.openstack.org/58016019:42
*** sshnaidm|bbl has quit IRC19:45
Shrewsmordred: that ^^ is pretty neat19:51
*** sshnaidm|bbl has joined #zuul19:52
Shrewsso pbrx is just dox on steroids, eh?19:53
mordredShrews: yeah - I guess it kinda is :)19:53
mordredShrews: speaking of - wanna be core on pbrx?19:53
* Shrews knew he should have kept his mouth shut19:54
mordredShrews: too slow - there you go19:54
mordredthanks for volunteering19:54
Shrewsyay?19:54
*** hwoarang has joined #zuul20:08
*** hwoarang has quit IRC20:10
*** hwoarang has joined #zuul20:11
mordredShrews, corvus: ZOMG - the job worked! http://logs.openstack.org/60/580160/12/check/zuul-build-container-images/a675a7f/job-output.txt.gz20:25
corvusmordred: i never doubted it!20:25
mordredcorvus: golly I sure did20:25
Shrewswasn't the job just echo'ing the command though?20:26
corvusi'm delighted that there is a zuul-bwrap container20:26
Shrewshttps://review.openstack.org/#/c/580160/12/Dockerfile.zuul-executor line 920:27
Shrewsoh nope, nm20:27
Shrewsthere was more to it :)20:27
mordredcorvus: right?'20:27
Shrewsyay20:27
corvusmordred: atm the images are just lost on the build node, right?  they aren't uploaded anywhere (not even logs or tarball) right?20:28
mordredcorvus: that is correct20:28
mordredcorvus: next step - upload them somewhere20:28
corvussounds promising20:29
mordredcorvus: also, need to get zuul-dashboard done20:29
mordredsince it is not really covered yet20:30
corvusSpamapS, jlk: have time/interest in reviewing a github change?  https://review.openstack.org/58021820:30
corvustristanC: https://review.openstack.org/577357 could use your attention20:35
*** acozine1 has joined #zuul20:36
mordredcorvus: fwiw, running 'pbrx build-images' in your zuul source tree should cause you to have docker images for each of those things locally if you wanted to play with them20:38
Shrewshopefully you can get pbrx to run!20:50
* Shrews still puzzling through that one20:51
mordredcorvus: we may have just discovered that python3 will let you import things from directories without __init__.py files20:51
mordredbut python2 will not20:52
Shrewsmordred: i have NO idea how your test worked, but i'm just shrugging it off as "some-other-python-weirdness" that i don't want to get into20:53
mordredShrews: me either20:55
corvusis anyone other than tobias using windows build nodes?20:59
openstackgerritMerged openstack-infra/zuul master: Fix GitHub branch protection test  https://review.openstack.org/58096620:59
openstackgerritMerged openstack-infra/zuul master: Fix secret example yaml  https://review.openstack.org/58003920:59
jlkcorvus: looking21:01
mordredcorvus: notit21:02
*** acozine1 has quit IRC21:02
openstackgerritMerged openstack-infra/zuul master: Fix logging of clone url  https://review.openstack.org/58005321:04
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: Add a dequeue command to zuul client  https://review.openstack.org/9503521:11
*** yolanda__ has joined #zuul21:18
corvustobiash: i'm leaving https://review.openstack.org/578230 for you to +A21:20
*** yolanda_ has quit IRC21:21
*** hwoarang has quit IRC21:24
openstackgerritMerged openstack-infra/zuul master: Reduce requests to github when listing project branches  https://review.openstack.org/58021821:24
*** hwoarang has joined #zuul21:25
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Add role to ensure per-node output dirs exist  https://review.openstack.org/51182321:52
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Add role to fetch output from nodes  https://review.openstack.org/51184321:52
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Update upload-logs to process docs as well  https://review.openstack.org/51185321:52
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Upload fetched artifacts to log server  https://review.openstack.org/51185821:52
openstackgerritPaul Belanger proposed openstack-infra/zuul-jobs master: Only publish artifacts when zuul.change is not defined  https://review.openstack.org/51185921:52
openstackgerritMerged openstack-infra/zuul master: executor: change execution log to INFO  https://review.openstack.org/57870422:16
openstackgerritMerged openstack-infra/zuul-jobs master: Switch to centos-release-openstack-queens for ovs  https://review.openstack.org/58051822:17
*** yolanda_ has joined #zuul22:29
*** hashar has quit IRC22:31
*** yolanda__ has quit IRC22:32
openstackgerritMerged openstack-infra/zuul master: Add test facility to add file contents in github tests  https://review.openstack.org/58094822:32
openstackgerritMerged openstack-infra/zuul master: Fix job contamination by unmerged change  https://review.openstack.org/58094922:32
openstackgerritMerged openstack-infra/zuul master: Require tenant in Pipeline constructor  https://review.openstack.org/58112922:32
*** rlandy is now known as rlandy|bbl22:44
tristanCjhesketh: pong?23:36
openstackgerritLogan V proposed openstack-infra/zuul master: Fix incorrect API URL for project key  https://review.openstack.org/58003423:41

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