Friday, 2018-09-28

openstackgerritMerged openstack-infra/zuul master: Don't report non-live items in stats  https://review.openstack.org/60554000:09
*** rlandy has quit IRC00:36
openstackgerritIan Wienand proposed openstack-infra/nodepool master: Normalise more of the API stats calls  https://review.openstack.org/60589801:12
*** dkehn has quit IRC01:24
*** dkehn has joined #zuul01:28
tristanCShrews: iirc, minikube needs a nested vm, we talked about using kubespray instead.01:40
tristanCShrews: corvus: clarkb: having the nodepool deployment bits refactor would be very appreciated for the k8s integration job indeed01:41
tristanCcorvus: atm, here is how zuul process the connection_port data: https://review.openstack.org/#/c/570668/9/zuul/executor/server.py01:42
clarkbtristanC: minikube has a mode to install on localhost without a VM01:44
clarkb--vm-driver=none01:44
tristanCclarkb: oh then that may works. the issue remains to sequence "setup provider (openstack/k8s)", "setup nodepool", "configure nodepool" and "run integration test", is it possible to have roles/playbook for each of these steps so that i only have to write step1 and step3 ?01:55
clarkbtristanC: I think the discussuon earlier was to make thr nodepool setup/config split out01:56
clarkband then the integration test today is just loop and check if expected image and node are created01:56
tristanCwhat about zuul integration, shouldn't we also setup zuul and configure a git driver to test jobs too?01:58
clarkbwe dont do that today so that would be new01:58
*** dkehn has quit IRC02:04
clarkbin the past the biggest concerns have been the integration between nodepool and its provisioner apis02:09
clarkbthr api between zuul and nodepool is something we control and have unittests for etc02:09
tristanCone of the issue to do such test is that it's not easy to trigger a job manually in zuul, e.g. we would have to setup a periodic pipeline and wait for execution02:12
clarkbyou could use zuul-enqueue02:13
tristanCdoesn't that needs a connection which supports trigger?02:13
clarkbmaybe? I've never actually tried it with a non working connection02:14
tristanChaving a zuul-base-job/zuul-jobs/zuul/nodepool integration test seems worhty imo, especially since kubectl connection relies on specific bits in each of those project02:14
tristanCwell i mean that would be a nice addition :)02:15
*** dkehn has joined #zuul03:39
tobiashmnaser, Shrews, mordred, corvus: atm we don't do that, but it's on the backlog. In our old environment we changed min-ready by having two nodepool configs and a cronjob that sets symlinks to them. But actually this is a hack and not that easy in a kubernetes world. So I would love to see a way to express this in directly in the nodepool config.04:01
*** toabctl has quit IRC04:48
*** quiquell|off is now known as quiquell05:41
*** chkumar|off is now known as chandankumar05:46
*** pcaruana has joined #zuul06:11
tristanCtobiash: perhaps nodepool could anticipate resources usage based on history?06:12
tobiashtristanC: that would be the most generic and no config approach, but probably the most difficult way to implement06:14
*** bhavikdbavishi has joined #zuul06:40
*** quiquell is now known as quiquell|brb07:04
*** ssbarnea|bkp has quit IRC07:16
*** quiquell|brb is now known as quiquell07:35
*** hashar has joined #zuul07:43
*** jpena|off is now known as jpena07:43
*** quiquell is now known as quiquell|brb07:55
*** quiquell|brb is now known as quiquell08:05
openstackgerritIan Wienand proposed openstack-infra/nodepool master: Normalise more of the API stats calls  https://review.openstack.org/60589808:49
*** toabctl has joined #zuul09:42
openstackgerritMerged openstack-infra/zuul master: replace dict.update by a dict merge in zuul_return  https://review.openstack.org/60205409:57
quiquelltristanC: Do you know where do we have the issue https://logs.rdoproject.org/70/16370/14/check/tox-docs/00152f6/job-output.txt.gz#_2018-09-26_21_11_27_059671  ?10:11
quiquelltristanC: returning empty data after reading zuul config here https://github.com/openstack-infra/zuul-sphinx/blob/master/zuul_sphinx/zuul.py#L10710:12
openstackgerritIan Wienand proposed openstack-infra/zuul-sphinx master: Add attr-overview directive  https://review.openstack.org/60498010:18
openstackgerritIan Wienand proposed openstack-infra/nodepool master: Use zuul-sphinx for configuration layout  https://review.openstack.org/60427410:23
openstackgerritIan Wienand proposed openstack-infra/nodepool master: Add overview of config options  https://review.openstack.org/60498410:23
*** bhavikdbavishi has quit IRC10:38
*** AJaeger has quit IRC10:56
*** rfolco has quit IRC11:07
*** jpena is now known as jpena|lunch11:07
*** AJaeger has joined #zuul11:08
*** ssbarnea|bkp has joined #zuul11:08
*** rfolco has joined #zuul11:26
*** ssbarnea|bkp has quit IRC11:40
*** panda|off is now known as panda11:42
*** yolanda has joined #zuul11:44
*** EmilienM is now known as EvilienM12:00
*** jpena|lunch is now known as jpena12:05
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: web: add tenant and project scoped, JWT-protected actions  https://review.openstack.org/57690712:10
openstackgerritMatthieu Huin proposed openstack-infra/zuul master: CLI: add create-web-token command  https://review.openstack.org/60538612:10
*** rfolco has quit IRC12:18
*** rlandy has joined #zuul12:24
openstackgerritneilsun proposed openstack-infra/zuul master: Add type check for zuul conf  https://review.openstack.org/59191712:25
openstackgerritneilsun proposed openstack-infra/zuul master: Add type check for zuul conf  https://review.openstack.org/59191712:51
*** hashar is now known as hasharAway12:51
*** bhavikdbavishi has joined #zuul12:55
openstackgerritGabriele Cerami proposed openstack-infra/zuul-sphinx master: Raise an error if a file in zuul.d is empty  https://review.openstack.org/60606212:56
*** tbarron has joined #zuul12:56
openstackgerritGabriele Cerami proposed openstack-infra/zuul-sphinx master: Raise an error if a file in zuul.d is empty  https://review.openstack.org/60606212:58
*** rfolco has joined #zuul13:07
tobiashmordred: on fedora based openshift nodes the bionic version of bwrap crashes with 'setting up gid map: invalid argument'13:21
tobiashwhere the alpine based bwrap works...13:21
mordredtobiash: oh spectacular13:23
*** samccann has joined #zuul13:23
mordredtobiash: oh - and now I remember why I went with python:alpine vs. python:slim in pbrx - python:alpine has newer bubblewrap13:25
tobiashmordred: alpine: tried 0.2.0 and 0.3.0, both work... ubuntu bionic: uses 2.1.0 -> failed13:28
*** bhavikdbavishi has quit IRC13:39
quiquellHello14:03
quiquellHave one question regarding variables at jobs14:04
quiquellCan i make cacheable facts inside zuul executions ?14:04
quiquellmordred: ^ you know ?14:04
pabelangerquiquell: zuul-executor is setup for cache facts today14:05
tobiashmordred: now tried 0.3.0 on bionic and it fails too14:05
tobiashmordred: so it's not the version14:06
quiquellpabelanger: It does not store the vars from jobs there ? Do I have to manually add them to the facts ?14:06
quiquellpabelanger: So I can use them in later ansibe-playbook executions ?14:06
mordredtobiash: I'm guessing it's an incompatibility with the libc in ubuntu and the kernel in fedora and the kernel capabilities stuff in bwrap14:07
mordredtobiash: which is ... wow14:07
pabelangerquiquell: do you mean set_facts?14:08
mordredquiquell: there is another mechanism you can use to pass a variable from one playbook to another14:08
tobiashmordred: so as I understood it so far it sets up a usernamespace and crashes when writing the gid_map14:08
quiquellmordred: We are dumping into a file and loading it, was thiking that maybe we can use cacheable facts so we don't need to dump14:08
tobiashmordred: writing the uid_map works14:08
mordredquiquell: https://zuul-ci.org/docs/zuul/user/jobs.html?highlight=zuul_return#return-values14:09
mordredtobiash: hrm14:09
tobiashmordred, quiquell: zuul_return only makes the variables available within a *child job*, not in a later playbook of the same job14:10
pabelangerset_fact: cacheable is a thing now, but you need to be explicity: https://docs.ansible.com/ansible/2.5/modules/set_fact_module.html14:10
pabelangeransible 2.4+14:10
quiquelltobiash, mordred: we are running playbooks inside jobs calling bash, so we lose context14:10
mordredtobiash: oh - silly me14:10
tobiashquiquell, mordred: there is a wip change that makes it possible however: https://review.openstack.org/54980714:11
mordredquiquell: so this isn't zuul's ansible you're concerned with right now - it's ansible you're executing inside of yourjob content?14:11
quiquellmordred: yep... I want to read variables in the "vars" section ot our job inside the playbooks we run from bash14:12
mordredquiquell: so the issue you're running in to is that you have zuul job variables set, and then in your job you are executing ansible and you want those variables available to your in-job ansible14:12
quiquellmordred: We can always dump a file, but maybe there is more elegant solution like cacheable facts14:12
quiquellmordred: yep, with bash in the middle14:13
quiquellmordred: bash is the glue14:13
mordredgotit. so - fact caching isn't going to help - because the ansible zuul is running is executing in a protected context on the executor, and your ansible is running on the remote test node14:13
mordredI don't think, at least at the moment, that there is a better mechanism than the one you're using14:13
quiquellmordred: so dumping is the only solution14:13
mordredyah14:13
quiquellmordred: after we remove bash from the equation we will be able to use the vars directly ?14:14
mordredI've been pondering writing an ansible module for ansible so that you can have ansible execute ansible but with variables transferred and stuff14:14
mordredquiquell: if zuul is executing your playbooks, then yes14:14
quiquellmordred: ack14:17
quiquellthanks mordred, tobiash , pabelanger14:17
*** quiquell is now known as quiquell|off14:31
*** electrofelix has quit IRC14:34
tbarronwhy is zuul still running openstack-tox-py35 in e.g. https://review.openstack.org/#/c/605883/ (stable/queens) despite our having merged https://review.openstack.org/#/c/605893/ ?14:56
corvusanswered in -infra15:03
tobiashmordred: I think I just f*** up my dockerfile for ubuntu... ubuntu's adduser defaults to nogroup while alpine's adduser defaults to the group with the same name as the user if it exists...15:16
mordredtobiash: AH! fingers crossed that fixing that fixes it15:20
tbarroncorvus: ty!15:20
*** bhavikdbavishi has joined #zuul15:23
tobiashmordred: verified, that fixed it, so bwrap is not broken15:37
gundalowclarkb: hi. You mentioned it might be worth restarting etherpad (apache?) before Ansible's Contributors Summit, which starts on Monday15:43
clarkbgundalow: ya one of us can do that today to clear out any stale connections15:45
gundalowThank you :)15:47
ShrewstristanC: what's wrong with needing a nested vm for minikube? devstack uses them too15:55
clarkbshrews thr actual containers run in that vm with minikube but we dont do anything except test ssh with devstack nested VMs15:56
clarkbbut minikube runs on localhost too so non issue15:56
Shrewsclarkb: i cannot find any reference to --vm-driver=None.  https://kubernetes.io/docs/setup/minikube/#quickstart15:56
clarkbShrews: https://github.com/kubernetes/minikube#quickstart15:58
clarkbhas a list of the drivers15:58
Shrewsah15:58
*** ianychoi has quit IRC16:39
*** ianychoi has joined #zuul16:44
*** jpena is now known as jpena|off16:57
openstackgerritMerged openstack-infra/zuul master: Fix node leak on job removal  https://review.openstack.org/60552717:35
*** TheJulia is now known as needssleep18:02
*** hasharAway is now known as hasharRlyAwy18:22
*** hasharRlyAwy is now known as hasharAway19:42
*** openstackgerrit has quit IRC20:07
*** bhavikdbavishi has quit IRC20:12
*** rlandy is now known as rlandy|brb20:27
*** samccann has quit IRC20:40
*** rlandy|brb is now known as rlandy20:49
*** panda has quit IRC20:57
*** panda has joined #zuul20:58
*** rfolco has quit IRC21:18
*** hasharAway has quit IRC21:22
clarkbgundalow: fyi I just restarted apache to claer out those stale connections if they are there21:53
*** EvilienM is now known as EmilienM22:20
*** panda is now known as panda|off22:26
*** rlandy has quit IRC22:27

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