Tuesday, 2017-06-06

*** vikasc has joined #openstack-kuryr00:04
*** kzaitsev1pi has quit IRC00:14
*** aojea has joined #openstack-kuryr00:24
*** aojea has quit IRC00:28
*** limao has joined #openstack-kuryr00:49
*** mattmceuen has joined #openstack-kuryr01:27
*** pmannidi has quit IRC01:33
*** yedongcan has joined #openstack-kuryr01:41
*** pmannidi has joined #openstack-kuryr02:20
*** qwebirc89498 has joined #openstack-kuryr02:26
*** hongbin has joined #openstack-kuryr02:26
qwebirc89498Hello everyone02:26
qwebirc89498I'm facing an issue when using kuryr-kubernetes with openstack02:27
qwebirc89498how to set the annotations for the kind: Service02:28
qwebirc89498apiVersion: v1 kind: Service metadata:   name: nginx-kuryr-service22   annotations:      openstack.org/kuryr-lbaas-spec: ?????02:29
qwebirc89498if we don't set the annotations for the kind: Service then we will have a KeyError02:33
qwebirc89498_get_lbaas_spec will try to get the needed info from the parameter service02:33
qwebirc89498 annotations = service['metadata']['annotations']             annotation = annotations[k_const.K8S_ANNOTATION_LBAAS_SPEC]02:33
qwebirc89498any ideas on this configuration?02:34
*** yamamoto_ has joined #openstack-kuryr03:25
qwebirc89498ping hongbin03:45
*** janki has joined #openstack-kuryr04:05
*** limao has quit IRC04:10
*** limao has joined #openstack-kuryr04:11
*** limao has quit IRC04:11
*** limao has joined #openstack-kuryr04:12
*** hongbin has quit IRC04:16
*** limao has quit IRC04:16
*** salv-orlando has joined #openstack-kuryr04:26
*** gouthamr has quit IRC04:30
*** salv-orlando has quit IRC04:31
*** yedongcan has quit IRC04:34
*** limao has joined #openstack-kuryr04:36
*** limao has quit IRC04:48
*** salv-orlando has joined #openstack-kuryr05:00
*** limao has joined #openstack-kuryr05:01
*** yamamoto_ has quit IRC05:07
*** ltomasbo|away is now known as ltomasbo05:10
*** yedongcan has joined #openstack-kuryr05:17
*** yamamoto has joined #openstack-kuryr05:51
*** aojea has joined #openstack-kuryr05:55
*** kzaitsev_pi has joined #openstack-kuryr05:57
*** reedip has quit IRC06:00
qwebirc89498janonymous: do know how to set the annotations for the Service? I want to test the kuryr-kubernetes neutron lb part06:07
qwebirc89498I info i got from service metadata not contains the annotations part06:08
*** zengchen has joined #openstack-kuryr06:09
*** salv-orlando has quit IRC06:13
*** salv-orlando has joined #openstack-kuryr06:13
*** aojea has quit IRC06:15
janonymousqwebirc89498: Hi, sorry i am a bit out of context. What are the logs saying? can you copy the errors06:15
*** aojea has joined #openstack-kuryr06:15
*** aojea has quit IRC06:16
*** aojea has joined #openstack-kuryr06:16
*** salv-orlando has quit IRC06:17
janonymousqwebirc89498: Also i want to know if enable_plugin neutron-lbaas*  are enabled in devstack.conf ?06:19
qwebirc89498janonymous: here is the errors06:20
qwebirc89498ERROR kuryr_kubernetes.handlers.logging [-] Failed to handle event {u'object': {u'status': {u'loadBalancer': {}}, u'kind': u'Service', u'spec': {u'clusterIP': u'10.254.106.162', u'sessionAffinity': u'None', u'type': u'NodePort', u'ports': [{u'targetPort': 80, u'protocol': u'TCP', u'port': 8000, u'nodePort': 30447}], u'selector': {u'name': u'nginx-kuryr'}}, u'apiVersion': u'v1', u'metadata': {u'name': u'nginx-kuryr-servi06:20
qwebirc89498Yes the neutron-lbaas* are enabled06:21
janonymoustype=NodePort..06:22
janonymousLooking in it, till the time just for reference: http://superuser.openstack.org/articles/networking-kubernetes-kuryr/06:22
janonymousqwebirc89498: ^^06:22
qwebirc89498janonymous:  I debugged this issue found that we need to get annotation info from the Service metadata part here is the code06:24
qwebirc89498annotations = service['metadata']['annotations']             annotation = annotations[k_const.K8S_ANNOTATION_LBAAS_SPEC]06:24
qwebirc89498if it's not existed then will return None06:25
janonymousqwebirc89498: i am not sure of type NodePort is supported yet... also what is out put of `kubectl get services -o yaml` and `kubectl get pods -o yaml`06:28
janonymousivc_:^^06:28
qwebirc89498janonymous: i tried NodePort  LoadBalancer ClusterIP all failed due to get the annnotations from Service06:29
janonymousqwebirc89498: i am not sure if type NodePort is supported yet...https://bugs.launchpad.net/kuryr-kubernetes/+bug/168411806:30
openstackLaunchpad bug 1684118 in kuryr-kubernetes "kuryr does not support service type = Nodeport" [Undecided,Confirmed]06:30
qwebirc89498janonymous: yes i changed the bug status to confirmed....06:31
*** reedip has joined #openstack-kuryr06:33
qwebirc89498janonymous: here is the out put of `kubectl get services -o yaml`06:35
qwebirc89498-bash-4.3# kubectl get services -o yaml apiVersion: v1 items: - apiVersion: v1   kind: Service   metadata:     creationTimestamp: 2017-05-31T12:21:47Z     labels:       component: apiserver       provider: kubernetes     name: kubernetes     namespace: default     resourceVersion: "6"     selfLink: /api/v1/namespaces/default/services/kubernetes     uid: b7b11489-45fb-11e7-b1ce-fa163ebf2712   spec:     clusterIP: 10.254.06:35
*** dimak_ has joined #openstack-kuryr06:36
janonymousqwebirc89498: you can use http://paste.openstack.org/ to paste logs06:36
qwebirc89498janonymous: ok will do that06:38
*** pcaruana has joined #openstack-kuryr06:39
qwebirc89498janonymous:  here is the link for the log http://paste.openstack.org/show/611456/06:40
*** dimak_ has quit IRC06:43
*** yamamoto has quit IRC06:46
*** yamamoto has joined #openstack-kuryr06:47
*** limao has quit IRC07:00
*** limao has joined #openstack-kuryr07:00
*** salv-orlando has joined #openstack-kuryr07:01
*** aojea has quit IRC07:24
*** aojea has joined #openstack-kuryr07:25
*** salv-orl_ has joined #openstack-kuryr07:28
*** aojea has quit IRC07:29
*** salv-orlando has quit IRC07:31
*** egonzalez has joined #openstack-kuryr07:37
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Generic vif driver extension to enable ports reuse  https://review.openstack.org/43687607:42
*** oanson_ has joined #openstack-kuryr07:42
*** oanson_ has quit IRC07:50
*** dimak_ has joined #openstack-kuryr07:55
*** roeyc has joined #openstack-kuryr07:56
*** roeyc1 has joined #openstack-kuryr07:58
*** qwebirc89498 has quit IRC07:59
*** roeyc has quit IRC08:00
*** kzaitsev_ws has joined #openstack-kuryr08:04
janonymousqwebirc89498: ping08:06
*** qwebirc26776 has joined #openstack-kuryr08:07
*** qwebirc26776 has quit IRC08:10
*** qwebirc89498 has joined #openstack-kuryr08:11
*** dimak_ has quit IRC08:13
*** garyloug has joined #openstack-kuryr08:23
*** dimak_ has joined #openstack-kuryr08:29
*** xiangxinyong has joined #openstack-kuryr08:30
qwebirc89498irenab: we need to disable the kube-proxy in order to use kuryr-kurbernetes along with neutron LBAASV2?08:39
*** oanson_ has joined #openstack-kuryr08:51
*** neil__ has joined #openstack-kuryr09:01
*** aojea has joined #openstack-kuryr09:02
*** limao has quit IRC09:15
*** Guest55399 has quit IRC09:15
*** limao has joined #openstack-kuryr09:17
openstackgerritKirill Zaitsev proposed openstack/kuryr-kubernetes master: [WIP] Add sriov capabilities to VIF handler  https://review.openstack.org/46245509:23
*** limao has quit IRC09:23
kzaitsev_wsqwebirc89498: yeah. it's the usual routine to disable it09:23
qwebirc89498ok , one more question , for now  we only supplyr clusterIp service type?09:24
kzaitsev_wskuryr-k8s uses lbaasv2 for services. kube-proxy uses iptables rules. the 2 do not behave well together =)09:25
*** pmannidi has quit IRC09:25
qwebirc89498ok got it09:26
qwebirc89498do we have any doc about how to use the lbaasv2 for services?09:26
kzaitsev_wsyep. https://github.com/openstack/kuryr-kubernetes/blob/master/kuryr_kubernetes/controller/handlers/lbaas.py#L5309:27
kzaitsev_wsI don't think there's any specific doc on the topic though09:29
qwebirc89498ok09:29
qwebirc89498let me paste some info to describe my issue09:30
kzaitsev_wsI mean the regular install docs mention service_subnet =)09:30
qwebirc89498here is the debug info i got from the service parameter   http://paste.openstack.org/show/611475/09:35
qwebirc89498we can see that there in annotations in metadata part so in kuryr-kurbernetes will return None and eventually failed to create LB09:36
qwebirc89498sorry there is no annotation in the metadata part09:36
kzaitsev_wsI'm confused =)09:37
kzaitsev_wsI mean I don't understand your question =)09:38
*** garyloug has quit IRC09:40
qwebirc89498ok in another way when kuryr-kubernetes try to create LB for service , it need to get annotations info from the service object09:42
qwebirc89498 def on_present(self, service):         lbaas_spec = self._get_lbaas_spec(service)09:42
kzaitsev_wsI don't think it get's any annotations from service object09:42
kzaitsev_wsit watches for service object events09:43
kzaitsev_wsand if there is an event - sets the annotation itself09:43
*** garyloug has joined #openstack-kuryr09:43
kzaitsev_wswell, yes in a sense it gets annotation from the service object, but it was the annotation that kuryr-k8s has set itself earlier09:44
qwebirc89498inside of _get_lbaas_spec(service) func    there is part of code annotations = service['metadata']['annotations']             annotation = annotations[k_const.K8S_ANNOTATION_LBAAS_SPEC]09:44
qwebirc89498correct09:44
kzaitsev_wsqwebirc89498: well nobody expects you to put that annotation there by hand =)09:45
qwebirc89498so here the question is that how to prepare the yaml file to contains the annotations info ?09:45
kzaitsev_wsyou dont =)09:45
kzaitsev_wskuryr-k8s sets the annotation itself when it sees a new/empty service09:47
qwebirc89498then who will do that ?  i created the service and deployment by the yaml file09:47
qwebirc89498here is my content of the yaml file09:48
kzaitsev_wsjust follow a few lines deeper into the code. if the annotation is empty kuryr-k8s sets it09:48
qwebirc89498could you please point the code to me ? i debugged this issue if there is no annotation  then will return None09:49
qwebirc89498you mean we can just put an empty annotation to the yaml file?09:50
kzaitsev_wshttps://github.com/openstack/kuryr-kubernetes/blob/master/kuryr_kubernetes/controller/handlers/lbaas.py#L112-L12009:51
kzaitsev_wsthen09:51
kzaitsev_wshttps://github.com/openstack/kuryr-kubernetes/blob/master/kuryr_kubernetes/controller/handlers/lbaas.py#L86-L8809:51
kzaitsev_wsthen09:51
kzaitsev_wshttps://github.com/openstack/kuryr-kubernetes/blob/master/kuryr_kubernetes/controller/handlers/lbaas.py#L47-L4909:51
kzaitsev_wsso if there is no annotation - the spec is empty. kuryr-k8s builds a new one. it has changes (differs) with the empty one and it sets/updates the annotation09:52
kzaitsev_wsqwebirc89498: I mean that you don't set the annotation by hand09:53
* kzaitsev_ws away on a meeting09:53
*** oanson_ has quit IRC09:55
*** limao has joined #openstack-kuryr10:05
*** limao_ has joined #openstack-kuryr10:26
*** limao has quit IRC10:28
*** limao_ has quit IRC10:29
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Generic vif pool driver extension to precreate reusable ports  https://review.openstack.org/43687710:30
*** vikasc has quit IRC10:41
*** yamamoto has quit IRC10:52
*** vikasc has joined #openstack-kuryr10:54
kzaitsev_wsit's a lot nicer to have sriov in a single cni handler tbh, than a separate cni. configuration will be much simpler =)11:16
*** salv-orl_ has quit IRC11:16
kzaitsev_wsI've left a couple of things in my patches undecided, but nevertheless I feel they're ready for review =)11:17
*** gouthamr has joined #openstack-kuryr11:39
*** rwallner has joined #openstack-kuryr11:40
*** pcaruana has quit IRC11:53
*** yamamoto has joined #openstack-kuryr11:56
*** dimak_ has quit IRC12:03
*** dimak_ has joined #openstack-kuryr12:05
*** atoth has joined #openstack-kuryr12:07
*** pcaruana has joined #openstack-kuryr12:09
*** aojea has quit IRC12:14
*** yedongcan has left #openstack-kuryr12:15
*** yamamoto has quit IRC12:21
*** janki has quit IRC12:21
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Nested vif driver extension to enable ports reuse  https://review.openstack.org/43689312:30
*** yamamoto has joined #openstack-kuryr12:38
*** gouthamr has quit IRC12:39
*** vikasc has quit IRC12:48
*** gouthamr has joined #openstack-kuryr12:51
*** limao has joined #openstack-kuryr12:51
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Nested vif driver extension to enable ports reuse  https://review.openstack.org/43689313:02
*** mattmceuen has quit IRC13:02
*** vikasc has joined #openstack-kuryr13:05
*** yamamoto has quit IRC13:10
*** yamamoto has joined #openstack-kuryr13:11
*** limao has quit IRC13:16
*** limao has joined #openstack-kuryr13:17
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-kubernetes master: Nested vlan vif pool driver extension to precreate reusable subports  https://review.openstack.org/43689413:19
*** yamamoto has quit IRC13:21
*** yamamoto has joined #openstack-kuryr13:23
*** limao has quit IRC13:34
*** pcaruana has quit IRC13:34
*** limao has joined #openstack-kuryr13:34
*** aojea has joined #openstack-kuryr13:47
*** rwallner has quit IRC13:48
*** pcaruana has joined #openstack-kuryr13:51
*** limao has quit IRC13:55
*** limao has joined #openstack-kuryr13:56
*** pcaruana has quit IRC13:59
*** pcaruana has joined #openstack-kuryr14:00
*** janki has joined #openstack-kuryr14:02
*** salv-orlando has joined #openstack-kuryr14:04
*** dimak_ has quit IRC14:05
*** limao has quit IRC14:16
*** limao has joined #openstack-kuryr14:17
*** hongbin has joined #openstack-kuryr14:28
*** rwallner has joined #openstack-kuryr14:30
*** limao has quit IRC14:38
*** limao has joined #openstack-kuryr14:39
*** dougbtv_ is now known as dougbtv14:50
*** yamamoto has quit IRC14:55
*** salv-orlando has quit IRC14:59
*** limao has quit IRC14:59
*** salv-orlando has joined #openstack-kuryr15:00
*** limao has joined #openstack-kuryr15:00
*** rwallner has quit IRC15:00
*** rwallner_ has joined #openstack-kuryr15:01
*** rwallner_ has quit IRC15:02
*** rwallner_ has joined #openstack-kuryr15:02
*** salv-orlando has quit IRC15:04
*** rwallner_ has quit IRC15:19
*** limao has quit IRC15:21
*** limao has joined #openstack-kuryr15:21
*** rwallner has joined #openstack-kuryr15:38
*** limao has quit IRC15:39
*** roeyc has joined #openstack-kuryr15:40
*** roeyc has quit IRC15:40
*** roeyc1 has quit IRC15:42
*** ltomasbo is now known as ltomasbo|away15:52
*** gsagie has joined #openstack-kuryr15:52
*** aojea has quit IRC15:58
*** janki has quit IRC15:58
*** egonzalez has quit IRC16:05
*** rwallner has quit IRC16:07
*** kzaitsev_ws has quit IRC16:12
*** yamamoto has joined #openstack-kuryr16:26
*** yamamoto has quit IRC16:31
*** rwallner has joined #openstack-kuryr16:32
*** pcaruana has quit IRC16:34
*** garyloug has quit IRC16:54
*** rwallner has quit IRC17:00
*** rwallner has joined #openstack-kuryr17:02
*** rwallner has quit IRC17:07
*** roeyc has joined #openstack-kuryr17:11
*** aojea has joined #openstack-kuryr17:16
*** aojea has quit IRC17:20
*** egonzalez has joined #openstack-kuryr17:24
*** rwallner has joined #openstack-kuryr17:25
*** aojea has joined #openstack-kuryr17:50
*** rwallner has quit IRC18:00
*** rwallner has joined #openstack-kuryr18:01
*** tonanhngo has joined #openstack-kuryr18:08
*** roeyc has quit IRC18:24
*** aojea has quit IRC18:25
*** atoth has quit IRC18:25
*** gsagie has quit IRC18:26
*** yamamoto has joined #openstack-kuryr18:29
*** roeyc has joined #openstack-kuryr18:34
*** yamamoto has quit IRC18:34
*** atoth has joined #openstack-kuryr18:39
*** atoth has quit IRC18:39
*** atoth has joined #openstack-kuryr18:40
*** roeyc has quit IRC18:48
*** rwallner has quit IRC18:56
*** pcaruana has joined #openstack-kuryr18:56
*** rwallner has joined #openstack-kuryr18:58
*** rwallner_ has joined #openstack-kuryr19:00
*** rwallner_ has quit IRC19:00
*** rwallner_ has joined #openstack-kuryr19:00
*** aojea has joined #openstack-kuryr19:02
*** rwallner has quit IRC19:03
*** salv-orlando has joined #openstack-kuryr19:03
*** gouthamr has quit IRC19:12
*** yamamoto has joined #openstack-kuryr19:31
*** rwallner_ has quit IRC19:33
*** pcaruana has quit IRC19:33
*** rwallner has joined #openstack-kuryr19:36
*** yamamoto has quit IRC19:36
*** neil__ has quit IRC19:56
*** salv-orl_ has joined #openstack-kuryr20:06
*** salv-orlando has quit IRC20:08
*** rwallner has quit IRC20:15
*** rwallner has joined #openstack-kuryr20:23
*** rwallner has quit IRC20:28
*** aojea has quit IRC20:32
*** yamamoto has joined #openstack-kuryr20:32
*** aojea has joined #openstack-kuryr20:35
*** aojea has quit IRC20:36
*** yamamoto has quit IRC20:37
*** aojea has joined #openstack-kuryr20:37
*** gouthamr has joined #openstack-kuryr20:40
*** egonzalez has quit IRC20:56
*** egonzalez has joined #openstack-kuryr20:56
*** yamamoto has joined #openstack-kuryr21:33
*** yamamoto has quit IRC21:37
*** gouthamr has quit IRC21:40
*** rwallner has joined #openstack-kuryr21:44
*** rwallner has quit IRC21:54
*** aojea has quit IRC22:03
*** egonzalez has quit IRC22:11
*** yamamoto_ has joined #openstack-kuryr22:34
*** yamamoto_ has quit IRC22:40
*** rwallner has joined #openstack-kuryr22:50
*** rwallner has quit IRC22:55
*** gouthamr has joined #openstack-kuryr22:57
*** hongbin has quit IRC22:59
*** pmannidi has joined #openstack-kuryr23:04
*** tonanhngo has quit IRC23:05
*** tonanhngo has joined #openstack-kuryr23:12
*** rwallner has joined #openstack-kuryr23:13
*** tonanhngo has quit IRC23:16
*** rwallner has quit IRC23:18
*** yamamoto_ has joined #openstack-kuryr23:36
*** limao has joined #openstack-kuryr23:37
*** gouthamr has quit IRC23:41
*** yamamoto_ has quit IRC23:42
*** gouthamr has joined #openstack-kuryr23:44
*** gouthamr has quit IRC23:51

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