Thursday, 2019-07-18

*** goldyfruit has quit IRC00:50
*** goldyfruit has joined #openstack-containers00:53
*** ramishra has joined #openstack-containers01:20
*** goldyfruit has quit IRC02:07
*** goldyfruit has joined #openstack-containers02:08
*** goldyfruit has quit IRC03:30
openstackgerritFeilong Wang proposed openstack/magnum master: [WIP]Allow setting network, subnet and FIP when creating cluster  https://review.opendev.org/67118203:56
*** ykarel|away has joined #openstack-containers04:37
*** udesale has joined #openstack-containers04:39
*** ykarel|away has quit IRC05:04
*** ykarel|away has joined #openstack-containers05:20
*** ykarel|away is now known as ykarel05:24
*** pcaruana has joined #openstack-containers05:44
*** logan- has quit IRC06:00
*** logan_ has joined #openstack-containers06:01
*** logan_ is now known as logan-06:01
*** strigazi has quit IRC06:31
*** sapd1 has quit IRC06:37
*** rcernin has quit IRC06:44
*** ttsiouts has joined #openstack-containers07:13
*** ykarel is now known as ykarel|lunch07:37
*** ttsiouts has quit IRC07:39
*** ttsiouts has joined #openstack-containers07:39
*** ttsiouts has quit IRC07:44
*** ttsiouts has joined #openstack-containers07:46
*** ttsiouts has quit IRC08:00
*** ttsiouts has joined #openstack-containers08:01
*** ttsiouts has quit IRC08:06
*** ttsiouts has joined #openstack-containers08:09
*** yolanda has joined #openstack-containers08:09
*** yolanda has quit IRC08:10
*** ykarel|lunch is now known as ykarel09:00
*** ttsiouts has quit IRC09:27
*** ttsiouts has joined #openstack-containers09:28
*** ttsiouts has quit IRC09:33
*** ttsiouts has joined #openstack-containers09:38
*** dtomasgu has quit IRC09:58
*** ttsiouts has quit IRC10:15
*** ttsiouts has joined #openstack-containers10:15
*** ttsiouts has quit IRC10:20
*** ttsiouts has joined #openstack-containers11:09
*** goldyfruit has joined #openstack-containers11:20
*** realgweep has joined #openstack-containers12:18
*** udesale has quit IRC12:26
*** udesale has joined #openstack-containers12:27
*** ttsiouts has quit IRC14:01
*** ttsiouts has joined #openstack-containers14:02
*** ttsiouts has quit IRC14:05
*** ttsiouts has joined #openstack-containers14:06
*** KeithMnemonic has joined #openstack-containers14:07
*** yolanda has joined #openstack-containers14:09
*** ykarel is now known as ykarel|away14:12
*** ykarel|away has quit IRC14:17
*** ricolin_ is now known as ricolin14:34
*** ykarel|away has joined #openstack-containers15:23
*** ttsiouts has quit IRC15:44
*** ttsiouts has joined #openstack-containers15:45
*** ttsiouts has quit IRC15:49
*** realgweep has quit IRC15:56
*** sapd1_x has joined #openstack-containers16:24
*** sapd1_x has quit IRC16:43
*** ramishra has quit IRC16:49
*** udesale has quit IRC17:00
jrosserWould it be possible to get some more reviews on this? https://review.opendev.org/#/c/667280/17:18
*** hogepodge has quit IRC17:45
*** guilhermesp has quit IRC17:46
*** hogepodge has joined #openstack-containers17:47
goldyfruitStill facing the same issues, I don't see what I missed compare to before :(17:47
goldyfruithttps://paste.api-zulu.com/ofofihibof.swift17:47
*** guilhermesp has joined #openstack-containers17:48
goldyfruitCalico is not deployed17:49
*** mgariepy has quit IRC17:53
*** mgariepy has joined #openstack-containers17:57
*** irclogbot_3 has quit IRC18:07
*** altlogbot_0 has quit IRC18:07
*** irclogbot_0 has joined #openstack-containers18:07
*** altlogbot_2 has joined #openstack-containers18:08
goldyfruitSo Calico seems not installed because in https://github.com/openstack/magnum/blob/master/magnum/drivers/common/templates/kubernetes/fragments/calico-service.sh18:59
goldyfruit[root@uat-qinling-f545mgg7zru4-master-0 ~]# whereis kubectl19:00
goldyfruitkubectl: /var/usrlocal/bin/kubectl19:00
goldyfruitWhy my kubectl binary is in /var/usrlocal/bin/ ?19:00
goldyfruitThe YAML file is generated and then it should be applied by kubectl command19:01
*** ricolin_ has joined #openstack-containers19:03
*** ricolin has quit IRC19:05
goldyfruitWhich Fedora Atomic 29 image are you using19:18
goldyfruitI found 219:19
goldyfruithttps://dl.fedoraproject.org/pub/alt/atomic/stable/Fedora-29-updates-20190708.0/AtomicHost/x86_64/images/Fedora-AtomicHost-29-20190708.0.x86_64.qcow219:19
goldyfruithttps://dl.fedoraproject.org/pub/alt/atomic/stable/Fedora-Atomic-29-20181025.1/AtomicHost/x86_64/images/Fedora-AtomicHost-29-20181025.1.x86_64.qcow219:19
goldyfruitThe first one is the one giving me the issue, trying the second one right now19:19
*** pcaruana has quit IRC20:01
goldyfruitBash condition is not good for:20:17
goldyfruithttps://github.com/openstack/magnum/blob/1963fce81a1864b1f5927b7e86c448961719c7e8/magnum/drivers/common/templates/kubernetes/fragments/enable-auto-healing.sh#L1120:17
goldyfruitif [ "$(echo $AUTO_HEALING_ENABLED | tr '[:upper:]' '[:lower:]')" = "true" || "$(echo $NPD_ENABLED | tr '[:upper:]' '[:lower:]')" = "true"]; then20:18
goldyfruitshould be:20:18
goldyfruitif [ "$(echo $AUTO_HEALING_ENABLED | tr '[:upper:]' '[:lower:]')" = "true" ] || [ "$(echo $AUTO_SCALING_ENABLED | tr '[:upper:]' '[:lower:]')" = "true" ]; then20:18
goldyfruitI got: Jul 18 20:02:33 /var/lib/heat-config/heat-config-script/51d52600-a835-4b60-a731-74be03915b52: line 3610: [: missing `]'20:19
goldyfruitSame here: https://github.com/openstack/magnum/blob/60c7e3117738fa180741fba41561a47b73454bb1/magnum/drivers/common/templates/kubernetes/fragments/enable-auto-scaling.sh#L1120:20
goldyfruitSeems to be already addressed by https://review.opendev.org/#/c/666209/6/magnum/drivers/common/templates/kubernetes/fragments/enable-auto-healing.sh20:31
goldyfruitSo calico doesn't start because of policy20:42
goldyfruitrunc[1785]: The DaemonSet "calico-node" is invalid: spec.template.spec.containers[0].securityContext.privileged: Forbidden: disallowed by cluster policy20:43
goldyfruitGot an another one:20:52
goldyfruitrunc[1785]: The DaemonSet "npd" is invalid: spec.template.spec.containers[0].securityContext.privileged: Forbidden: disallowed by cluster policy20:52
*** belmoreira has joined #openstack-containers21:20
*** belmoreira has quit IRC21:44
goldyfruitI'll check if I got this commit: https://github.com/openstack/magnum/commit/fe0f0efa7237f676faf5a94201b2f18982ceef3421:55
*** spiette has quit IRC21:56
*** spiette has joined #openstack-containers21:58
goldyfruitSo Calico was not there because --allow-privileged=true was missing \o/22:20
flwangjrosser: hi, sorry for the late on your patch, now spyros is on leave, and i'm not sure if I should approve that one without another core vote, he will be back on next Monday, so please just wait another weekend, if he still can't get chance review your patches, i will revisit22:42
flwanggoldyfruit: that's a known issue which is a regression issue22:44
flwanggoldyfruit: would you like propose a patch?22:44
flwangit should be a very easy fix22:44
goldyfruitflwang, from this commit https://github.com/openstack/magnum/commit/fe0f0efa7237f676faf5a94201b2f18982ceef3422:52
goldyfruitIt seems a bit more complex because from the 1.15 release notes, the remove --allow-privileged option22:52
*** ivve has quit IRC22:54
flwanggoldyfruit: I believe calico team is aware of that and they will have a workable version then, at this moment, we just need to add the option back when the calico driver is used22:56
flwangin other words, this is breaking current function, we need to get it fixed right now and seek for long term solution later, does that make sense?22:56
*** rcernin has joined #openstack-containers23:15
goldyfruitok23:22
flwanggoldyfruit: so are you going to propose a patch? otherwise, i can do it23:31
goldyfruitflwang, if you know exactly what to do then yes :)23:40
goldyfruitIf not I can check if it has to be done via yaml or bash23:41
flwanggoldyfruit: ok, never mind, i will propose a patch23:41
goldyfruitflwang, ok23:49

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