Thursday, 2018-09-27

pabelangerfor now, I've disabled zuul_log_partition using a single container00:32
*** rcarrillocruz has quit IRC01:11
*** rlandy has quit IRC01:31
*** openstackgerrit has joined #zuul02:13
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: Uncap cherrypy  https://review.openstack.org/60113602:13
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: rewrite interface in react  https://review.openstack.org/59160402:14
*** rfolco has quit IRC02:54
*** jiapei has joined #zuul03:42
*** quique|off is now known as quiquell05:31
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix unreachable nodes detection  https://review.openstack.org/60282905:39
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Also retry the job if a post job failed with unreachable  https://review.openstack.org/60283005:39
*** AJaeger has quit IRC06:15
*** AJaeger has joined #zuul06:18
*** pcaruana has joined #zuul06:33
*** quiquell is now known as quiquell|brb06:55
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add build page  https://review.openstack.org/59702407:10
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add job page  https://review.openstack.org/59704807:10
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add config-errors notifications drawer  https://review.openstack.org/59714707:10
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add change status page  https://review.openstack.org/59947207:11
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add project page  https://review.openstack.org/60426607:11
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add labels page  https://review.openstack.org/60468207:11
openstackgerritTristan Cacqueray proposed openstack-infra/zuul master: web: add nodes page  https://review.openstack.org/60468307:11
*** chkumar|off is now known as chandankumar07:18
openstackgerritTristan Cacqueray proposed openstack-infra/nodepool master: Implement a Kubernetes driver  https://review.openstack.org/53555707:19
*** quiquell|brb is now known as quiquell07:38
*** jpena|off is now known as jpena08:01
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: web: add tenant and project scoped, JWT-protected actions  https://review.openstack.org/57690708:04
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: CLI: add create-web-token command  https://review.openstack.org/60538608:09
*** jiapei has quit IRC08:31
*** panda|off is now known as panda09:00
*** electrofelix has joined #zuul09:05
*** jpena is now known as jpena|lunch11:06
*** quiquell is now known as quiquell|lunch11:27
*** ssbarnea|bkp has joined #zuul11:37
*** quiquell|lunch is now known as quiquell11:43
*** jimi_|ansible is now known as jimi|ansible11:43
*** pcaruana has quit IRC11:50
*** rfolco has joined #zuul11:56
openstackgerritSimon Westphahl proposed openstack-infra/zuul master: Use merger to get list of files for pull-request  https://review.openstack.org/60328712:00
openstackgerritSimon Westphahl proposed openstack-infra/zuul master: Use merger to get list of files for pull-request  https://review.openstack.org/60328712:13
*** rlandy has joined #zuul12:22
*** jpena|lunch is now known as jpena12:34
*** pcaruana has joined #zuul12:39
*** samccann has joined #zuul13:17
corvustobiash: are you planning to look at https://review.openstack.org/591604 again?14:37
tobiashcorvus: I'm not finished with my local tests yet, but I'm fine with fixing any findings afterwards14:38
tobiashE.g. opening live logs in a new tab didn't work14:39
tobiashBut no idea yet if that's because of the deployment or the rewrite14:40
corvusi take it the test_streaming failures are due to the cherrypy 17.x release mentioned in 601136?14:44
*** annabelleB has joined #zuul14:58
*** annabelleB has quit IRC15:21
*** quiquell is now known as quiquell|off15:28
*** annabelleB has joined #zuul15:39
*** chandankumar is now known as chkumar|off15:46
*** annabelleB has quit IRC15:47
openstackgerritMerged openstack-infra/zuul master: Uncap cherrypy  https://review.openstack.org/60113616:33
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: WIP: Playing with k8s install  https://review.openstack.org/60580316:34
tobiashcorvus: yes I think so16:35
ShrewstristanC: 605803 ^^ is me playing around with the idea I floated in your k8s driver change. Not sure how far I can get with it16:36
corvusShrews: cool -- when we get that going, we should make it a role in zuul-jobs16:38
corvusit's going to be a pretty swell thing when we can say "roles: [devstack, kubernetes]" in a playbook and just have those things for jobs to use :)16:39
Shrewscorvus: yeah, i was disappointed to not find one there already  :(16:39
Shrewscorvus: not sure i'm qualified to do the k8s config portion of it. tristanC can help there i think16:40
corvuswe should move the current nodepool deployment out of being a devstack plugin into ansible role/playbook16:41
corvusthen we can use the same "deploy nodepool" bits in the devstack functional job, and the k8s functional job16:41
corvusclarkb: ^ cc16:41
AJaegercorvus, clarkb, should we recommend ZUUL as envvar for the kata job - or give them a better guidance? See https://review.openstack.org/60577316:42
clarkbAJaeger: I think that is fine for individual jobs to do16:43
corvusAJaeger: yeah totally up to them.16:43
pabelangerjlk: with github3.py, have you used it with a netrc file for github credentials? Just looking into it now and don't see much info16:44
clarkbcorvus: ya that should work re refactoring deploy nodepool bits16:45
tobiashmordred: update on the segfault issue: the kernel upgrade didn't help so we will switch to ubuntu based executors and see if that fixes it16:45
jlkpabelanger: I don't believe I have16:47
jlkpabelanger: there is a test case covering it which generates a test netrc file16:48
pabelangerjlk: okay, cool. let me look at that16:49
jlkthe test is a bit odd. It's testing that IF a token exists, that it DOESNT use netrc file16:49
jlkI'm gathering netrc is a python requests level thing that should Just Work(tm)16:49
pabelangeryah, I believe so16:50
*** jpena is now known as jpena|off17:11
pabelangerjlk: okay, I think I'd need to refactor github3.py login a bit to support it.  I'll use username / password for now to move forward and work on that in the future17:15
jlkcool17:15
*** panda is now known as panda|off17:46
corvusShrews, tristanC: left a few comments on 535557 -- most are doc nits (i'm happy to help with that but had a few questions), but i do think we want to work through what data we're passing back to zuul and how it gets used a little more.17:56
openstackgerritDavid Shrewsbury proposed openstack-infra/zuul-jobs master: WIP: Add role to install kubernetes  https://review.openstack.org/60582317:59
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: Implement a Kubernetes driver  https://review.openstack.org/53555718:00
openstackgerritDavid Shrewsbury proposed openstack-infra/nodepool master: WIP: Playing with k8s install  https://review.openstack.org/60580318:00
*** sshnaidm is now known as sshnaidm|off18:03
Shrewscorvus: tristanC: i think we need something like minikube installed (https://kubernetes.io/docs/tasks/tools/install-minikube/) for us to have a nodepool k8s functional test. That seems to be a devstack equivalent. Is that the route we should take?18:05
Shrewsbecause my role to install k8s works from me locally, but complains because there is no cluster (provided by minikube)18:06
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Fix unreachable nodes detection  https://review.openstack.org/60282918:07
openstackgerritTobias Henkel proposed openstack-infra/zuul master: Also retry the job if a post job failed with unreachable  https://review.openstack.org/60283018:07
corvusclarkb, pabelanger: ^ you've mentioned minikube in the past18:10
pabelangercorvus: I've used kubespray in the past18:10
clarkbminikube is the upstream k8s devstack like thing18:11
pabelangerI think that is more production then dev18:11
clarkbit would probably work well for this use case18:11
pabelangerhttps://review.openstack.org/#/c/549768/18:11
pabelangerwas a WIP I did a while back18:11
pabelangerbut, don't have real preference personally18:11
Shrewswould we want minikube installation to be a part of the install-kubernetes role? Installation of that perhaps controlled by a variable?18:13
Shrewsor an entirely separate role?18:14
pabelangerif we want a separate role, maybe we should just use kubespray, and contribute to that18:16
clarkbI would expect install kubernetes to install a cluster18:16
corvuspabelanger: your kubespray playbook runs ansible; is it runnable by zuul directly?18:20
pabelangercorvus: I think I tried, but had issues with ansible 2.3 version18:22
pabelangerbut we should try again to have zuul do it18:22
pabelangerthe easy part, is it did just work18:22
corvusmay be worth a quick test to see if a role with include_playbook would work18:23
corvusotherwise, minikube sounds simple :)18:24
pabelangeransible 2.4 was min requirement18:24
pabelangerI can try again later this evening and report back18:24
pabelangerbut yah, don't want to block if minikube is working now18:25
Shrewsafter a cursory glance, seems like maybe minikube is a bit more self-contained?18:25
Shrewsless setup and whatnot18:25
pabelangeryah, kubespray supports a lot of different backends (networking)18:26
corvussimple is better than complete for this i think18:28
Shrewsi guess the most flexible way to handle this would be the install-kubernetes role having 2 vars: an "install-cluster" boolean, and a "cluster-type" that defaults to "minikube", but could later add support for "kubespray"18:29
Shrewsbut there i go thinking too far ahead again  :)18:30
pabelangerShrews: yah, I think if minikube gets us testing now for nodepool, and we can merge the driver. I think that is a bigger win, then how we install k8s18:43
pabelanger+1 to minikube18:43
Shrewshrm, i just noticed how zuul-jobs roles are very debian OS specific19:42
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Provide some accounting of node usage in logs  https://review.openstack.org/60585619:52
*** pcaruana has quit IRC19:54
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Provide some accounting of node usage in logs  https://review.openstack.org/60585619:57
openstackgerritJames E. Blair proposed openstack-infra/zuul master: Indicate whether a build is voting in the logs  https://review.openstack.org/60585719:59
mordredShrews: yah - they tend to get written for ubuntu until someone decides to add support for something else20:07
*** goern has joined #zuul20:08
mnasercan i throw an idea over the fence and run away? :>20:15
mordredmnaser: I don't know that we can stop you :)20:28
mnaseradding scheduling to nodepool in terms of time20:28
mnaseraka max-servers: 300 at night but max-servers: 50 at the day or so20:29
mnaseri mean.. sometimes i think i can do this at our side just by playing with quotas.. but yeah20:29
pabelangermnaser: I'd use the feature, we are stilling how we could do that now for billing reasons20:30
mnaseri think in openstack-infra, providers might be able to be more flexible20:31
pabelangerfor now, I'm thinking of some sort of automation to change max-server via cfgmt20:31
mordredmnaser: that's an interesting thought - I'm guessing that some of the providers (such as you) might be more willing/able to donate more things at some times vs. others?20:31
mnaseryeah, weekends are slow, nights are slow20:31
mnaserit'd help with flush out the queues at night20:31
mordredyah - for times like this when we're just super behind20:31
mnaseryep20:31
*** samccann has quit IRC20:32
pabelangeron the cloud side, some sort of automated quota increase could also work20:32
pabelangermax-server: 300, but when quota lowered, nodepool only launcher what it can20:33
mnaseryeah i figured we could do that but i dunno, feels hacky.20:37
Shrewsmnaser: tobiash does something similar in his environment. might want to chat with him20:41
Shrewsbut opposite... ramps down at night. maybe using max-ready-age?20:42
openstackgerritIan Wienand proposed openstack-infra/zuul-sphinx master: Add attr_overview directive  https://review.openstack.org/60498020:43
mordredShrews: yah - I believe that's also about controlling min-ready20:45
corvusi think either approach would be useful -- nodepool groks quotas as reported by providers now, so a provider changing quota behind the scenes seems like a legitimate way to accomplish that.  but also, doing the same in nodepool could be useful for folks who don't control the environment.20:45
mordredcorvus: ++20:45
mordredit sounds like between mnaser's suggestion and what Shrews reminds us tobiash is doing - the theme would be about attaching temporality to all of the quota-related settings - max-ready-age, min-ready max-servers20:46
corvusyeah, though we may want to support setting max cpu/mem/etc as well, since that may be a more important limiting factor in some cases (and we've moved beyond just "servers" being the only quota metric)20:49
pabelangerand volumes!20:50
pabelangertotally agree20:50
mordred++20:51
*** rlandy is now known as rlandy|biab22:03
openstackgerritMonty Taylor proposed openstack-infra/zuul master: Add nodesets API route  https://review.openstack.org/60587722:34
corvusmordred: you based that on a series of changes which uses the zuul api to export nodepool information... maybe we'll do that, but we might need to talk about it a bit more and it's an added complication your patch doesn't need.23:01
corvusthough i've just +2d them.  but before approval, i think i'd like to ask mordred, clarkb, and Shrews whether that sounds like a good idea, or a bridge too far.23:06
*** rlandy|biab is now known as rlandy23:57

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