Sunday, 2016-02-21

*** yamamoto has joined #openstack-kuryr00:03
*** yamamoto has quit IRC00:10
*** yamamoto has joined #openstack-kuryr00:34
*** yamamoto has quit IRC00:35
openstackgerritFrederick F. Kautz IV proposed openstack/kuryr: plugin.sh stops docker service rather than kill docker daemon.  https://review.openstack.org/28280401:04
*** salv-orlando has joined #openstack-kuryr01:20
*** salv-orlando has quit IRC01:30
*** yamamoto has joined #openstack-kuryr01:36
*** yamamoto has quit IRC01:44
*** irenab has joined #openstack-kuryr03:22
*** irenab_ has quit IRC03:24
*** salv-orlando has joined #openstack-kuryr03:26
*** salv-orlando has quit IRC03:38
*** salv-orlando has joined #openstack-kuryr04:00
*** salv-orlando has quit IRC04:09
*** salv-orlando has joined #openstack-kuryr05:09
*** salv-orlando has quit IRC05:14
*** salv-orlando has joined #openstack-kuryr05:31
*** salv-orlando has quit IRC05:38
*** salv-orlando has joined #openstack-kuryr06:00
*** salv-orlando has quit IRC06:07
*** yamamoto has joined #openstack-kuryr06:07
*** salv-orlando has joined #openstack-kuryr06:13
*** salv-orlando has quit IRC06:23
*** yamamoto has quit IRC06:32
*** salv-orlando has joined #openstack-kuryr07:23
*** salv-orlando has quit IRC07:33
*** yamamoto has joined #openstack-kuryr07:33
*** gsagie has joined #openstack-kuryr07:36
*** yamamoto has quit IRC07:39
*** yamamoto has joined #openstack-kuryr08:24
*** yamamoto has quit IRC08:28
*** apuimedo has joined #openstack-kuryr08:56
apuimedomorning08:56
gsagiehi08:57
*** shashank_hegde has quit IRC09:02
apuimedogsagie: irenab: Last night I had a thought about nested COE integration. Maybe it is obvious to the two of you, but I hadn't thought of it that way before09:08
apuimedoOne of my goals was always to limit access to the management network from the VMs, since they are owned by tenants09:08
apuimedothen I was saying that we could probably do fine if we just gave acces to the management network to the VMs that run the k8s controller, for example09:09
apuimedoand that is certainly more limited and probably better09:10
apuimedobut my latest thought is this09:10
*** dingboopt has joined #openstack-kuryr09:10
apuimedojust like there is a port in the VM network for the DHCP server, there is going to be a port for the API watcher09:10
apuimedoso that it can peek at the k8s API, but it will only be for ingressing into the VM (and established connections)09:11
apuimedoSo for the reference implementation we'll have a namespace somewhere where OVS binds a port to the VM network of the k8s magnum bay model09:11
apuimedoand in that namespace, the API watcher is run09:12
apuimedogsagie: irenab: what do you think?09:12
irenabapuimedo: reading09:13
apuimedothanks09:14
irenabapuimedo: it makes sense to me, assuming I understood what you had in mind09:16
apuimedoirenab: if you have any question, ask ;-)09:18
irenabhaving diagram could be helpful :-)09:18
irenabbut in general, I think API watcher could be considered as yet another kube controller component, so it will be on kube management network and it should be able to access openstack management network09:21
apuimedoirenab: yes, my point is that it does not need to sit on the bay VMs, that it can be on the compute nodes themselves or in a separate machine09:23
apuimedoit only needs a namespace with, as you said, a port to the k8s kingdom and one to the management network09:23
irenabapuimedo: namespace here is linux namspace 9pod) not k8s namspace, right?09:24
apuimedoright09:26
apuimedoBloody overloading of the namespace term in k8s...09:26
irenabI think it probably need to be in the kube-system namespace, not sure how access authorization will work for outside the bay, but networking wise seems ok09:27
*** yamamoto has joined #openstack-kuryr09:28
*** yamamoto has quit IRC09:35
*** salv-orlando has joined #openstack-kuryr09:40
*** salv-orlando has quit IRC09:43
*** salv-orlando has joined #openstack-kuryr09:55
*** yamamoto has joined #openstack-kuryr09:55
*** salv-orlando has quit IRC10:02
*** yamamoto has joined #openstack-kuryr10:56
gsagieapuimedo: i believe that we agreed that this is the goal and the local plugin only does the binding10:58
apuimedogsagie: yes, we did agree on the goal10:58
gsagieapuimedo: either way each VM has to have some network connected to the "managment" network as kubelet needs to communicate10:58
gsagiewith the master10:58
apuimedothe management of k8s yes, not the management of OSt10:59
gsagiebut in terms of Neutron, i think only the master VM that has our watcher service needs to have access to10:59
gsagiethe hard part which i was talking with Taku and Irena last week, is how to synchronize them, apparently contrail does a sleep of 30 seconds in the plugin10:59
apuimedoWhat I am saying above is that the watcher does not need to be in the VM11:00
apuimedoit can be running on any compute or network node in the OSt deployment11:01
gsagiei was hoping to achieve this by having our watcher be able to re-trigger the API and make kubelet re-call the plugin11:01
gsagieapuimedo: yeah i like that idea :) it makes it "service like"11:01
apuimedoso the VM doesn't need any access to the OST management network where the Neutron API is11:01
gsagieyeah agreed :) thats a good solution11:01
apuimedogsagie: I'll try to look at the sync thing more this week11:01
gsagieapuimedo: but the watcher must have route to the namespace11:02
gsagieto the Kubernetes master VM that is11:02
apuimedogsagie: not necessarily, it can just have a port on each network11:03
apuimedoand not have any forwarding/routing capabilities11:03
*** yamamoto has quit IRC11:03
gsagieapuimedo: i was thinking about sending the sync question to the Kubernetes mailing list, i have actually read that you can call Kubelet API directly as well, so i wonder if we can somehow force Kubelete to re-call the plugin with all the additional data11:03
gsagiethat our watcher service added on the container after it builded everything in Neutron11:04
gsagieif that make sense11:04
gsagieso our CNI plugin does nothing unless it sees a specific annotation on the container that means eveyrthing is ready from Neutron11:04
apuimedoI'd like to avoid re-triggering, but I don't have an answer yet for what we could do11:04
apuimedogsagie: sure, the CNI plugin will only do something if it sees certain data11:05
gsagiethe other approach is to just let the CNI "store" these actions and wait until it has enough information11:05
gsagietemp solution could be to write it to local file or something like that, or use the K/V11:05
*** yamamoto has joined #openstack-kuryr11:06
*** yamamoto has quit IRC11:06
*** yamamoto has joined #openstack-kuryr11:08
gsagieapuimedo: i really like this thinking thought, the less constraint we impose on the user the better the solution is going to be11:34
*** apuimedo has quit IRC11:42
*** apuimedo has joined #openstack-kuryr12:03
*** salv-orlando has joined #openstack-kuryr12:09
*** salv-orlando has quit IRC12:16
irenabgsagie: I am a bit uncomfortable with imposing the dependency you describe. I think we should use k8s ways to achive the flow that allows api-watcher to handle neutron calls and CNI driver to serve local binding. Did you have a chance to check if adding annotation on Pod  re-triger kubelet Setup?12:21
*** dingboopt has quit IRC12:37
*** yamamoto has quit IRC12:52
*** salv-orlando has joined #openstack-kuryr13:20
*** salv-orlando has quit IRC13:27
*** kexiaodong has quit IRC13:30
*** yamamoto has joined #openstack-kuryr13:52
*** yamamoto has quit IRC13:59
*** salv-orlando has joined #openstack-kuryr14:44
*** salv-orlando has quit IRC14:49
*** salv-orlando has joined #openstack-kuryr16:03
*** salv-orlando has quit IRC16:07
*** salv-orlando has joined #openstack-kuryr17:07
*** salv-orlando has quit IRC17:17
*** salv-orlando has joined #openstack-kuryr17:40
*** salv-orlando has quit IRC17:54
fkautzgsagie: for https://review.openstack.org/#/c/282804/ if we write out to the docker config, we'll probably need to remove the modifications on unstack18:00
*** shashank_hegde has joined #openstack-kuryr18:39
*** salv-orlando has joined #openstack-kuryr19:35
*** salv-orlando has quit IRC19:42
*** salv-orlando has joined #openstack-kuryr20:35
*** salv-orlando has quit IRC20:43
*** salv-orlando has joined #openstack-kuryr21:33
*** srampal has joined #openstack-kuryr22:27
*** srampal has quit IRC22:34
*** banix has joined #openstack-kuryr23:22
*** yuanying has joined #openstack-kuryr23:26
*** shashank_hegde has quit IRC23:46
*** banix has quit IRC23:55

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