Thursday, 2019-11-21

*** sapd1 has joined #openstack-containers00:39
flwangbrtknr: we can't make it as default because we're using the use_podman label01:02
flwangwhich means user may use atomic system container instead of podman to start the etcd01:03
*** sapd1 has quit IRC01:06
openstackgerritFeilong Wang proposed openstack/magnum master: DO NOT MERGE  https://review.opendev.org/69532201:29
*** dave-mccowan has joined #openstack-containers01:35
*** dave-mccowan has quit IRC01:42
*** ricolin has joined #openstack-containers01:55
*** udesale has joined #openstack-containers03:53
*** ramishra has joined #openstack-containers04:37
*** elenalindq has joined #openstack-containers06:07
*** elenalindq has quit IRC06:08
*** elenalindq has joined #openstack-containers06:08
*** udesale has quit IRC06:15
*** udesale has joined #openstack-containers06:16
*** lpetrut has quit IRC06:21
*** udesale has quit IRC06:39
*** udesale has joined #openstack-containers06:39
*** rcernin has quit IRC07:12
brtknrflwang: ah okay that makes sense now07:15
*** pcaruana has joined #openstack-containers07:27
openstackgerritNamrata proposed openstack/magnum stable/rocky: Fix proportional autoscaler image  https://review.opendev.org/69536308:00
*** dim79 has joined #openstack-containers08:19
*** flwang1 has joined #openstack-containers08:39
flwang1strigazi: around?08:39
dim79brtknr https://storyboard.openstack.org/#!/story/2006846 - as a w/a - have you tried kubelet "--containerized" for k8s <= 1.16?08:50
brtknrdim79: no, is that working for you?08:51
dim79k8s < 1.16, in 1.16 it is removed08:51
dim79yes08:52
brtknrwhich version?08:52
brtknrwhich kube_tag did you use?08:52
dim791.14.9, 1.15.608:52
dim79I use my own images, rebuilt from magnum/dockerfiles from stein08:53
brtknrdim79: what about the upstream images?08:55
brtknrdid you check if all pods are running in kube-system namespace?08:55
dim79all except auto-scaler08:55
dim79I haven't merged its fix yet08:55
brtknrdim79: hmm im curious08:56
dim79yes, for 1.15 https://review.opendev.org/#/c/694032/3 is needed08:56
dim79fedora atomic image I use - Fedora-AtomicHost-29-20191113.108:58
dim79brtknr: > what about the upstream images?08:58
brtknrYes, did you try the upstream kubernetes images from magnum repo?08:59
dim79they are built from master, --containerized is absent in them. There from be matrix like implemented for ALLOW_PRIV08:59
brtknrI dont understand09:00
brtknr--containerized is absent for kubelet?09:02
brtknror for all images?09:02
*** namrata has joined #openstack-containers09:02
dim79may be I don't understand the issue correctly, but this option (--containerized) helped to solved 'absence of tokens in pods' issues09:02
brtknrCan you point me to the changelog where --containerized became a requirement?09:02
dim79I can't09:03
dim79I postponed investigation how to resolve the issue without it09:03
brtknrThanks for digging into this dim79, this is very helpful09:04
brtknrAre you happy to post a patch?09:04
brtknrLooks like --containerized is deprecated09:05
dim79Yes - in k8s 1.1609:05
dim79if you know what is instead - please share with me09:05
openstackgerritNamrata proposed openstack/magnum stable/rocky: Fix proportional autoscaler image  https://review.opendev.org/69537109:08
brtknrdim79: looks like we may need to mount the volumes manually09:08
dim79brtknr: have you found a k8s doc regarding this option removal?09:09
brtknrhttps://github.com/kubernetes/kubernetes/issues/7414809:11
brtknrhttps://github.com/kubernetes/kubernetes/pull/7426709:11
brtknrand the fact that its been removed in 1.1609:11
flwang1does that mean since 1.16. x, we can't run kubelet in a container?09:15
flwang1but why v1.15.4+ is also affected?09:15
brtknrflwang1: it means that --containerized flag is deprecated as it was too unreliable09:16
brtknrbut reading the notes online, all it does it a bunch of volume mounts09:16
brtknrwe need to make sure we are mounting the same paths09:16
flwang1https://github.com/kubernetes/kubernetes/pull/71351/files09:17
flwang1FWIW, it's now much easier to find the solution09:19
flwang1dim79: thank you so much09:19
dim79no prob, help you for your help09:19
dim79the most interesting link is https://github.com/kubernetes/kubernetes/issues/7414809:20
dim79from what I've read - I'll use '--containerized' till 1.16 :)09:20
dim79and will dig deeper after all other issues will be fixed09:21
flwang1is there any way we can see all the paths being mounted from a container inside?09:22
*** ricolin has quit IRC09:22
flwang1if we can know what's the path we're missing, then it's easy to add it09:22
dim79off-topic, fyi - switch to unprivileged flannel (https://review.opendev.org/#/c/694032/3) brokes its 'udp' mode due to:09:40
dim79E1120 20:34:13.737832       1 main.go:289] Error registering network: failed to open TUN device: open /dev/net/tun: no such file or directory09:40
dim79vxlan works ok09:40
brtknrdim79: i think vxlan is the default in train09:46
dim79yes, but it is not in 'stein'09:47
dim79does magnum support only default values?09:47
brtknrdim79: Hmm I have tried mounting other paths and still no luck10:50
brtknrOnly way to get it working seems to be to add --containerized10:50
brtknrbut only up to 1.15.x10:50
dim79yep :(10:52
dim79I believe another way is to run kubelet in host, but need to set it up and debug10:52
brtknrI dont understand how it works with podman though10:53
brtknrwhich also runs inside a container10:53
dim79probably with podman kubelet runs in host's mount namespace (just an idea - I haven't looked at it yet)10:56
openstackgerritDiogo Guerra proposed openstack/magnum master: Add prometheus-adapter  https://review.opendev.org/69164611:00
*** udesale has quit IRC11:14
*** namrata has quit IRC11:22
*** ramishra has quit IRC11:38
openstackgerritBharat Kunwar proposed openstack/magnum master: Use --containerized flag to support 1.{13,14,15}.x in Atomic  https://review.opendev.org/69541512:22
brtknrdim79: ^ i think this fix will be fine for 1.{13,14,15} but after that, we will all have to move to podman12:23
dim79agree12:23
*** ricolin has joined #openstack-containers12:27
dim79regarding review - (sorry, I don't have account at opendev.org yet) - why do you fix only master's kubelet?12:27
brtknrgood observation :)12:29
openstackgerritBharat Kunwar proposed openstack/magnum master: Use --containerized flag to support 1.{13,14,15}.x in Atomic  https://review.opendev.org/69541512:29
dim79sorry, another observation - KUBELET_ARGS are rewritten later in both files. in -master.sh - at line 401, in -minion.sh - at line 24312:37
brtknrdim79: yikes,12:47
strigazibrtknr: dim79 guys I left a comment in gerrit for the issue with --containerized.12:49
brtknrstrigazi: why does it need to be where it was?12:49
strigazibrtknr: because it was designed like this. To fix the bug we should revert to the working state12:50
brtknri just tested it by adding --containized argument to /etc/kubernetes/kubelet and restart and it works12:50
dim79strigazi: than it will be applied to podman as well (because will be hardcoded in docker image)12:50
brtknrdim79: podman uses images from gcr.io, not the ones we build12:50
dim79a12:51
strigazibrtknr: for all versions? eg, having two times --contairized works?12:51
strigazias you want, I think undoing the errors is better that fixing in a different way.12:52
strigaziHow about backports? and so on12:52
brtknryup12:52
brtknrit just ignores the scond one12:52
strigaziwe need to release rocky again with this fix, why not fix the image12:52
brtknrstrigazi: okay fine.. :)12:52
dim79if we are going to fix the image - need to add another build ARG for this - to do not put this option to 1.16 images12:54
brtknr1.16 will not work with docker 1.1312:54
brtknr"i dont think" 1.16 will not work with docker 1.1312:54
brtknrit has weird mount propagation behaviour12:55
brtknri remember hitting this last year when i was workign with something else12:55
strigaziI'm completely lost, what are we discussin now?12:55
strigazi1.16 and 1.13 docker is new?12:55
brtknrDocker 1.13 has some issues with mount propagation12:57
dim79I'm confused as well - how 1.16 docker images are built than? aren't thay built from magnum/dockerfiles/... ?12:57
brtknrthe service account token which gets generated doesn't propagate to calico container12:58
strigazibrtknr: i tested that before and it worked12:58
brtknrwithout --containerized?12:58
strigazidim79: the images for 1.16 and with use_podman are the hyperkube images.12:59
openstackgerritBharat Kunwar proposed openstack/magnum master: Use --containerized flag to support 1.{13,14,15}.x in Atomic  https://review.opendev.org/69541512:59
dim79strigazi: are you going to build images for 1.16 without use_podman?13:00
openstackgerritBharat Kunwar proposed openstack/magnum master: Use --containerized flag to support 1.{13,14,15}.x in Atomic  https://review.opendev.org/69541513:01
strigazidim79: we should stop building images for 1.16, they don't work with atomic.13:01
dim79ok than13:03
brtknrstrigazi: you happy with above13:04
brtknr?13:04
brtknri wont be able to merge it till we do somethng about python213:04
brtknrargh13:04
strigazialmost, we need to the builds again. Can you reference that this commit *should* remove the flag? I3efd4e55e885b95721f13279b44dc1246e2fd2e413:05
strigazialmost, we need to do the builds again. Can you reference that this commit *should* remove the flag? I3efd4e55e885b95721f13279b44dc1246e2fd2e413:05
strigazialmost, we need to do the builds again. Can you reference that this commit *should not* have removed the flag? I3efd4e55e885b95721f13279b44dc1246e2fd2e413:05
openstackgerritBharat Kunwar proposed openstack/magnum master: Use --containerized flag to support 1.{13,14,15}.x in Atomic  https://review.opendev.org/69541513:09
brtknrdone^13:09
brtknrstrigazi: ^13:09
strigaziack13:09
brtknrstrigazi: im excited about support for containerd13:13
brtknrdoes it play well with podman?13:13
strigaziit works, not extensive testing yet.13:14
strigaziwe work on crfs and cvmfs+crfs too13:14
strigazigithub.com/google/crfs13:14
openstackgerritBharat Kunwar proposed openstack/magnum master: Drop python2 tests  https://review.opendev.org/69172113:14
strigazibrtknr: are we dropping python2 or non-voting? I don't mind dropping, does the TC want to drop it?13:15
brtknrflwang1 said he'd prefer non-voting13:16
strigazibut if openstack in general drops it, non-voting is not helping much. Do you want to clarify it?13:17
brtknrstrigazi: i agree with you but he said he had customers who use python2 and would like to try fix the test if possible... i think it makes sense to set to non-voting if he's commited to try and fix it...13:19
brtknrstrigazi: I'd prefer it gone tbh, wastes cpu cycles13:20
brtknr flwang | I understand the py2 pain and I'm trying to fix it13:22
brtknr flwang | i'm reluctant to totally drop the gate since i know some of the users are still using py213:22
brtknr flwang | i prefer to make it non vote instead of dropping it13:22
brtknr flwang | i ping you since i'd like to understand the current status of the v1.14.6/v1.15.4+ support13:22
brtknr flwang | is there any progress on this?13:22
brtknrstrigazi: ^13:22
strigaziso non-voting and he can have a look?13:28
strigazibrtknr: ^13:28
brtknrsounds good to me13:28
strigazidioguerra: can you update the patch?13:30
*** yolanda has quit IRC13:33
*** yolanda has joined #openstack-containers13:36
*** udesale has joined #openstack-containers13:37
openstackgerritBharat Kunwar proposed openstack/magnum master: bug: Use configured heat-container-agent tag  https://review.opendev.org/69519613:44
*** ramishra has joined #openstack-containers14:13
openstackgerritBharat Kunwar proposed openstack/magnum master: Add nginx_ingress_controller_chart_tag  https://review.opendev.org/69428614:15
openstackgerritBharat Kunwar proposed openstack/magnum master: Bump up prometheus operator chart to 8.2.2  https://review.opendev.org/69544314:20
dioguerrabrtknr: already updated14:25
dioguerrastrigazi ^14:25
brtknrdioguerra: we are setting python2 to non voting14:25
brtknrthe decision is to set python2 to nonvoting14:25
brtknrnot drop it14:25
dioguerraThe full removal of python2 needs openstack/requirents.14:26
dioguerracool14:26
openstackgerritDiogo Guerra proposed openstack/magnum master: Set python 2.7 non-voting  https://review.opendev.org/69544914:36
*** goldyfruit has joined #openstack-containers14:46
openstackgerritBharat Kunwar proposed openstack/magnum master: Add nginx_ingress_controller_chart_tag  https://review.opendev.org/69428614:46
openstackgerritBharat Kunwar proposed openstack/magnum master: Bump up prometheus operator chart to 8.2.2  https://review.opendev.org/69544314:47
openstackgerritDiogo Guerra proposed openstack/magnum master: Drop python2 tests  https://review.opendev.org/69172114:58
*** pcaruana has quit IRC15:02
openstackgerritDiogo Guerra proposed openstack/magnum master: Set python 2.7 non-voting  https://review.opendev.org/69544915:13
openstackgerritBharat Kunwar proposed openstack/magnum master: Bump up prometheus operator chart to 8.2.2  https://review.opendev.org/69544315:19
openstackgerritBharat Kunwar proposed openstack/magnum master: Add nginx_ingress_controller_chart_tag  https://review.opendev.org/69428615:20
*** pcaruana has joined #openstack-containers15:20
*** jmlowe has joined #openstack-containers15:22
openstackgerritDiogo Guerra proposed openstack/magnum master: Set python 2.7 non-voting  https://review.opendev.org/69544915:23
dioguerraOK, i think i fixed it brtknr15:24
brtknrGreat!15:24
dioguerra[1] https://review.opendev.org/#/c/691721/ drops python but keeps requirements for python2.15:24
dioguerraalthough its running extra tests and i dont know why build-openstack-api-refsuccess test-release-openstack build-openstack-releasenotes magnum-container-build15:27
*** elenalindq has quit IRC15:45
openstackgerritBharat Kunwar proposed openstack/magnum master: Bump up prometheus operator chart to 8.2.2  https://review.opendev.org/69544315:57
openstackgerritBharat Kunwar proposed openstack/magnum master: Add nginx_ingress_controller_chart_tag  https://review.opendev.org/69428615:57
brtknrdioguerra: flwang1 wants to keep python2 tests16:01
brtknrbut as non-voting16:01
dioguerrai dont know how to keep the tests. I can disable the API check, but not the openstack-tox-py27 because they come from the templates (as far as i understand)16:03
dioguerraI tried to search and cannot set templates to non-voting.16:03
dioguerraI checked nova, they dropped everything16:03
*** udesale has quit IRC16:04
*** sapd1 has joined #openstack-containers16:12
*** dim79 has quit IRC16:17
*** jmlowe has quit IRC16:17
dioguerraflwang: https://review.opendev.org/#/c/691721/516:29
*** ricolin has quit IRC16:39
openstackgerritBharat Kunwar proposed openstack/magnum master: Make traefik compatible with 1.16.x  https://review.opendev.org/69552516:47
brtknri think flwang1 is still in sleepyland16:47
brtknrdioguerra:16:48
*** sapd1 has quit IRC16:56
*** goldyfruit_ has joined #openstack-containers17:14
*** goldyfruit has quit IRC17:17
*** pcaruana has quit IRC17:51
*** pcaruana has joined #openstack-containers18:14
*** gmann is now known as gmann_afk18:38
*** pcaruana has quit IRC18:42
*** pcaruana has joined #openstack-containers19:06
*** flwang1 has quit IRC19:20
*** openstackstatus has quit IRC19:50
*** openstackstatus has joined #openstack-containers19:50
*** ChanServ sets mode: +v openstackstatus19:50
flwangbrtknr: around? does https://review.opendev.org/#/c/695415/ work for v1.16.x?20:40
brtknrflwang: no it doesnt, only upto 1.15.x20:43
brtknri dont think there is a way to use atomic with 1.16.x20:43
*** gmann_afk is now known as gmann20:45
openstackgerritBharat Kunwar proposed openstack/magnum master: Use --containerized flag to support 1.{13,14,15}.x in Atomic  https://review.opendev.org/69541520:46
openstackgerritBharat Kunwar proposed openstack/magnum master: bug: Only query Cinder API if volume size > 0  https://review.opendev.org/69523920:47
openstackgerritBharat Kunwar proposed openstack/magnum master: Make traefik compatible with 1.16.x  https://review.opendev.org/69552520:47
openstackgerritBharat Kunwar proposed openstack/magnum master: Add nginx_ingress_controller_chart_tag  https://review.opendev.org/69428620:48
openstackgerritBharat Kunwar proposed openstack/magnum master: Bump up prometheus operator chart to 8.2.2  https://review.opendev.org/69544320:49
openstackgerritBharat Kunwar proposed openstack/magnum master: bug: Use configured heat-container-agent tag  https://review.opendev.org/69519620:50
brtknrflwang: can you please also take a look at the patches above20:51
brtknri have rebased on top of the CI fix20:52
*** openstack has joined #openstack-containers21:16
*** ChanServ sets mode: +o openstack21:16
*** dave-mccowan has joined #openstack-containers21:22
*** pcaruana has quit IRC21:25
brtknrI’ll do it in a different patch21:49
brtknrwe need to rebuild the current images diest21:50
brtknr21:50
brtknrfirst21:50
flwangseems it has rebuilt the existing v1.15.521:52
flwangcould you propose a new patch to support v1.15.6 and v1.14.9?21:53
flwangi can +2 it quickly21:53
*** ramishra has quit IRC21:57
*** rcernin has joined #openstack-containers22:09
*** sapd1 has joined #openstack-containers23:09

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