*** hongbin has quit IRC | 00:02 | |
*** banix has joined #openstack-kuryr | 00:49 | |
*** limao has joined #openstack-kuryr | 00:57 | |
openstackgerrit | Antoni Segura Puimedon proposed openstack/kuryr: [WIP] CNI driver implementation https://review.openstack.org/382129 | 01:34 |
---|---|---|
*** apuimedo has quit IRC | 01:37 | |
*** banix has quit IRC | 01:42 | |
*** diogogmt has quit IRC | 01:44 | |
*** banix has joined #openstack-kuryr | 01:46 | |
*** banix has quit IRC | 02:18 | |
*** hongbin has joined #openstack-kuryr | 02:24 | |
*** diogogmt has joined #openstack-kuryr | 02:30 | |
*** yedongcan has joined #openstack-kuryr | 02:30 | |
*** banix has joined #openstack-kuryr | 02:50 | |
*** limao has quit IRC | 03:48 | |
*** oanson has joined #openstack-kuryr | 03:51 | |
*** diga has joined #openstack-kuryr | 03:52 | |
*** tonanhngo has quit IRC | 03:53 | |
*** banix has quit IRC | 04:02 | |
*** tonanhngo has joined #openstack-kuryr | 04:02 | |
*** tonanhngo has quit IRC | 04:04 | |
*** diogogmt has quit IRC | 04:15 | |
*** tonanhngo has joined #openstack-kuryr | 04:24 | |
*** tonanhngo has quit IRC | 04:25 | |
*** hongbin has quit IRC | 04:32 | |
*** tonanhngo has joined #openstack-kuryr | 04:44 | |
*** tonanhngo has quit IRC | 04:46 | |
*** yedongcan has quit IRC | 04:50 | |
*** limao has joined #openstack-kuryr | 05:05 | |
*** tonanhngo has joined #openstack-kuryr | 05:05 | |
*** tonanhngo has quit IRC | 05:06 | |
*** tonanhngo has joined #openstack-kuryr | 05:20 | |
*** tonanhngo has quit IRC | 05:20 | |
*** yedongcan has joined #openstack-kuryr | 05:27 | |
*** pmannidi has quit IRC | 05:38 | |
*** pmannidi has joined #openstack-kuryr | 05:42 | |
openstackgerrit | Liping Mao proposed openstack/kuryr-libnetwork: Measure performance of docker create/delete container with/without kuryr. https://review.openstack.org/394246 | 05:49 |
*** irenab has joined #openstack-kuryr | 05:51 | |
*** limao has quit IRC | 06:00 | |
*** limao has joined #openstack-kuryr | 06:02 | |
openstackgerrit | pawnesh kumar proposed openstack/kuryr: Fixed Warning while executing 'tox -e docs' https://review.openstack.org/394771 | 06:08 |
*** oanson has quit IRC | 06:29 | |
openstackgerrit | Jaivish Kothari(janonymous) proposed openstack/kuryr-libnetwork: Unittest with mock https://review.openstack.org/394788 | 06:52 |
*** david-lyle has quit IRC | 07:03 | |
*** oanson has joined #openstack-kuryr | 07:09 | |
*** yedongcan has quit IRC | 07:11 | |
*** yedongcan has joined #openstack-kuryr | 07:12 | |
openstackgerrit | Jaivish Kothari(janonymous) proposed openstack/kuryr-libnetwork: Unittests with mock https://review.openstack.org/394251 | 07:26 |
yedongcan | Hi, is there a method to run fullstack test without devstack already installed? | 07:56 |
janonymous | yedongcan: i think you have to install keystone and neutron manually | 08:01 |
*** janki has joined #openstack-kuryr | 08:04 | |
yedongcan | janonymous: thanks, I will have a try | 08:14 |
openstackgerrit | Jaivish Kothari(janonymous) proposed openstack/kuryr-libnetwork: Unittests with Mock and add a TestCase https://review.openstack.org/393996 | 08:17 |
*** yedongcan has left #openstack-kuryr | 08:18 | |
openstackgerrit | Jaivish Kothari(janonymous) proposed openstack/kuryr: Links do not point to any document https://review.openstack.org/373014 | 08:23 |
openstackgerrit | bailin.zhang proposed openstack/kuryr: Replaces uuid.uuid4 with uuidutils.generate_uuid() https://review.openstack.org/394819 | 08:23 |
openstackgerrit | bailin.zhang proposed openstack/kuryr-libnetwork: Replaces uuid.uuid4 with uuidutils.generate_uuid() https://review.openstack.org/394821 | 08:43 |
openstackgerrit | bailin.zhang proposed openstack/kuryr: Replaces uuid.uuid4 with uuidutils.generate_uuid() https://review.openstack.org/394819 | 08:53 |
*** lmdaly has joined #openstack-kuryr | 09:07 | |
*** garyloug has joined #openstack-kuryr | 09:16 | |
*** limao has quit IRC | 09:57 | |
*** limao has joined #openstack-kuryr | 09:59 | |
*** neiljerram has joined #openstack-kuryr | 10:00 | |
*** limao has quit IRC | 10:34 | |
openstackgerrit | bailin.zhang proposed openstack/kuryr: Replaces uuid.uuid4 with uuidutils.generate_uuid() https://review.openstack.org/394819 | 11:25 |
openstackgerrit | bailin.zhang proposed openstack/kuryr-libnetwork: Replaces uuid.uuid4 with uuidutils.generate_uuid() https://review.openstack.org/394821 | 11:28 |
*** banix has joined #openstack-kuryr | 12:08 | |
*** garyloug has quit IRC | 12:14 | |
*** lmdaly has quit IRC | 12:27 | |
*** banix has quit IRC | 12:28 | |
*** david-lyle has joined #openstack-kuryr | 12:37 | |
*** lmdaly has joined #openstack-kuryr | 13:15 | |
pc_m | Anyone around who can advise me on how to setup Kuryr under Devstack? I've been trying a few things on the docs pages, but the instructions are a bit confusing. | 13:24 |
pc_m | Wanted to try it out. | 13:25 |
*** david-lyle has quit IRC | 13:29 | |
ivc_ | pc_m, what part of kuryr are you interested in? kuryr-libnetwork or kuryr-kubernetes? | 13:42 |
*** openstackgerrit has quit IRC | 13:48 | |
*** openstackgerrit has joined #openstack-kuryr | 13:48 | |
pc_m | ivc_: For starters libnetworking. Would like to see how the interaction works with Neutron. | 13:56 |
pc_m | ivc_: Was following https://github.com/openstack/kuryr, which points to the kuryr_liblibnetwork page. | 13:57 |
*** janki has quit IRC | 13:57 | |
ivc_ | pc_m, have you tried https://github.com/openstack/kuryr-libnetwork/blob/master/devstack/local.conf.sample? | 13:58 |
pc_m | ivc_: Yeah, so that was the latest incarnation. First, I tried to follow the info on the kuryr page. I did the steps and created config, but cannot copy to /etc/kuryr, as there is no area. | 13:59 |
pc_m | Then I did the OVN setup and added the enable_plugin line and LIBS_FROM_GIT from that conf sample. | 13:59 |
pc_m | I stacked and the kuryr process is running, I have a config file, and it seemed to be up. | 14:00 |
pc_m | I created a subnet pool, and then did a docker network creation. In the kuryr log (I turned on debug). I see it requesting neutron to create network. | 14:01 |
pc_m | However, in q-svc log, I don't see any requests, and there is no neutron network created. | 14:01 |
pc_m | Ref: http://galsagie.github.io/2015/10/10/kuryr-ovn/ | 14:02 |
pc_m | ivc_: Not sure what I'm missing. | 14:02 |
ivc_ | http://galsagie.github.io/2015/10/10/kuryr-ovn/ is probably outdated as https://github.com/openstack/kuryr is now only contains common parts of kuryr-libnetwork and kuryr-kubernetes | 14:04 |
pc_m | ivc_: Yeah I was worried with a date of 10/2015 :) | 14:05 |
ivc_ | can you try ./unstack.sh, backup your local.conf and ./stack.sh with local.conf excactly as it is in https://github.com/openstack/kuryr-libnetwork/blob/master/devstack/local.conf.sample | 14:05 |
pc_m | ivc_: Sure will try. | 14:06 |
pc_m | ivc_: Do I need to have OVN specified, or will OVS do? | 14:06 |
ivc_ | afaik it will default to ovs | 14:06 |
pc_m | ivc_: IOW, If I later want to try containers in VM, will I need to setup for OVN? | 14:07 |
*** irenab has quit IRC | 14:09 | |
ivc_ | pc_m, i'm not sure what is the current state of the container-in-vm support for kuryr-libnetwork | 14:09 |
pc_m | ivc_: Sounds like it is a work in progress from what I gathered from the IRC meeting yesterday. | 14:10 |
pc_m | Will stack and see what happens. Thanks! | 14:10 |
*** garyloug has joined #openstack-kuryr | 14:11 | |
janonymous | or you could try vagrant also if setting up for first time ;) | 14:12 |
pc_m | janonymous: Sure, I'm open to anything :) | 14:14 |
pc_m | janonymous: Any pointers to info on running under vagrant? | 14:14 |
janonymous | under contrib/vagrant run `vagrant up` then `vagrant ssh` | 14:16 |
janonymous | but i think you should try what ivc_ first , vagrant is more for testing... | 14:17 |
janonymous | *suggested | 14:17 |
pc_m | Cool. Didn't even notice there was vagrant stuff in the repo. I guess I need to browse the repo more. | 14:18 |
pc_m | Thanks janonymous and ivc_! | 14:18 |
*** apuimedo has joined #openstack-kuryr | 14:35 | |
*** hongbin has joined #openstack-kuryr | 14:46 | |
*** garyloug has quit IRC | 15:01 | |
*** huikang has joined #openstack-kuryr | 15:07 | |
apuimedo | ivc_: lol. I don't know what the hell I was doing with the version last night. I had already put it in self in the param parser. I don't know why I was passing it around | 15:20 |
apuimedo | I should sleep more | 15:20 |
apuimedo | thanks for the review | 15:20 |
ivc_ | apuimedo, no problems :) | 15:21 |
*** huikang has quit IRC | 15:21 | |
*** huikang has joined #openstack-kuryr | 15:22 | |
ivc_ | apuimedo, wdyt if i'll make a trivial stub CNIDriver in kuryr-kubernetes now that we could later replace with the one from kuryr-lib | 15:22 |
ivc_ | as right now i have no idea how to test it before kuryr-lib one is merged :P | 15:23 |
ivc_ | could also help designing a proper kuryr-lib CNIDriver as it would give a usage example | 15:24 |
*** huikang_ has joined #openstack-kuryr | 15:24 | |
apuimedo | I guess we can do it. Nothing agains scaffolding | 15:24 |
apuimedo | *against | 15:24 |
ivc_ | ok, great | 15:24 |
*** huikang has quit IRC | 15:26 | |
apuimedo | ivc_: you really didn't get any parameter called ~ Version? | 15:26 |
ivc_ | nop | 15:26 |
* apuimedo checking again k8s code | 15:26 | |
ivc_ | but i used {'name':'kuryr', 'type':'kuryr'} in CNI spec | 15:27 |
ivc_ | did not check if adding 'cniVersion' changes anything | 15:27 |
apuimedo | ok, I'll check the Golang cni library and see if it is set | 15:28 |
apuimedo | and figure out if we should just ignore it otherwise | 15:28 |
ivc_ | apuimedo, also we need to add 'lo' driver from 'cni' binaries to our devstack plugin. will post a patch for it later | 15:29 |
*** david-lyle has joined #openstack-kuryr | 15:29 | |
apuimedo | ivc_: what do you want a loopback driver for? | 15:30 |
ivc_ | apuimedo, its not me, its k8s. they actually have it as a requirement in their CNI Plugin documentation | 15:31 |
apuimedo | you mean that they have as a requirement that a lo device exists? | 15:31 |
ivc_ | yup | 15:31 |
ivc_ | otherwise kubelet goes crazy | 15:32 |
ivc_ | with [Error while adding to cni lo network: could not find "." plugin] errors in logs | 15:32 |
apuimedo | I wonder if it is for the health check | 15:32 |
ivc_ | i wonder where is that "." from | 15:32 |
*** tonanhngo has joined #openstack-kuryr | 15:33 | |
ivc_ | http://kubernetes.io/docs/admin/network-plugins/#cni | 15:33 |
ivc_ | look at the last paragraph | 15:33 |
*** david-lyle has quit IRC | 15:34 | |
apuimedo | so it's about adding it to devstack | 15:35 |
ivc_ | aye | 15:35 |
apuimedo | I guess I had it working because the kubelet image already shipped with it | 15:36 |
*** tonanhngo has quit IRC | 15:37 | |
ivc_ | we also need to add --cni-conf-dir and --cni-bin-dir | 15:37 |
*** diogogmt has joined #openstack-kuryr | 15:37 | |
ivc_ | i'll post a patch later, its pretty trivial | 15:38 |
apuimedo | I thought that kubelet has a default value that matches where we were placing the binaries | 15:40 |
apuimedo | but may have been a container specific setting | 15:40 |
ivc_ | yes, it defaults to /etc/cni/net.d and /opt/cni/bin | 15:40 |
ivc_ | but i'd prefer them both in /opt/stack | 15:41 |
apuimedo | ok | 15:41 |
ivc_ | as it is part of our devstack deployment and it never hurts to be explicit | 15:41 |
apuimedo | explicit is better than implicit | 15:42 |
apuimedo | :-) | 15:42 |
ivc_ | also i'm limiting VIFHandler to just OVS support and only default net/subnet/secgroup from config file and later we'll expand it with some sort of NetworkPlugins (instead of having different VIFHandlers). that should help composing plugins for e.g. NetworkPolicies and container-in-vm/ipvlan/metal using the same handler | 15:45 |
apuimedo | sounds good | 15:46 |
ivc_ | apuimedo, just checked our devstack with 'cniVersion' set in /etc/cni/net.d/kuryr.conf - still no CNI_VERSION | 15:49 |
ivc_ | but why do you want it configurable anyway? | 15:50 |
apuimedo | I just saw it in the spec | 15:51 |
apuimedo | so I tried to code it | 15:51 |
apuimedo | because why on earth they make a versioned interface | 15:51 |
apuimedo | and then not pass the darned versions | 15:51 |
apuimedo | I could have saved myself from all the OVO jazz in the output | 15:52 |
ivc_ | i guess its for consuming part | 15:52 |
* apuimedo raging | 15:52 | |
apuimedo | well, but the consumer should set the CNI version that it supports | 15:52 |
apuimedo | in this case, k8s | 15:52 |
ivc_ | i think its the opposite. the CNI driver reports its cniVersion and k8s adapts to it | 15:52 |
apuimedo | look at https://github.com/containernetworking/cni/blob/v0.3/SPEC.md#parameters | 15:53 |
apuimedo | Parameters: | 15:53 |
apuimedo | Version. The version of CNI spec that the caller is using (container management system or the invoking plugin). | 15:53 |
*** diga has quit IRC | 15:54 | |
ivc_ | true | 15:54 |
apuimedo | well, kuryr-lib is supposed to be CNI spec compliant | 15:55 |
ivc_ | well then i guess its k8s not passing CNI_VERSION | 15:55 |
apuimedo | right | 15:55 |
apuimedo | ivc_: so I'll make that it uses 0.3.0 if it does not get one passed | 15:55 |
apuimedo | and screw it | 15:55 |
apuimedo | there. Done! | 15:56 |
apuimedo | fscking hell | 15:56 |
*** diga has joined #openstack-kuryr | 15:58 | |
ivc_ | apuimedo, http://paste.openstack.org/show/588398/ | 15:58 |
apuimedo | not there at all, no | 16:01 |
*** oanson has quit IRC | 16:16 | |
*** tonanhngo has joined #openstack-kuryr | 16:52 | |
*** tonanhngo has quit IRC | 16:53 | |
*** tonanhngo has joined #openstack-kuryr | 16:54 | |
*** garyloug has joined #openstack-kuryr | 16:57 | |
openstackgerrit | Louise Daly proposed openstack/kuryr-libnetwork: [WIP]Move interface creation and deletion https://review.openstack.org/394547 | 17:02 |
*** huikang_ has quit IRC | 17:22 | |
*** huikang has joined #openstack-kuryr | 17:24 | |
*** huikang has quit IRC | 17:25 | |
*** huikang has joined #openstack-kuryr | 17:25 | |
*** lmdaly has quit IRC | 17:40 | |
*** tonanhngo_ has joined #openstack-kuryr | 17:46 | |
*** tonanhngo_ has quit IRC | 17:46 | |
*** tonanhngo_ has joined #openstack-kuryr | 17:47 | |
*** tonanhngo has quit IRC | 17:48 | |
pc_m | ivc_: I used vagrant and was able to get kuryr working, creating a network and container via docker. I tried with devstack, but am getting an error saying LIBS_FROM_GIT not installed for kuryr. | 18:20 |
pc_m | It cloned, ran setup.py for install, but for some reason devstack is failing. :( | 18:21 |
pc_m | I' trying removing the kuryr packages from /usr/local/lib/python2.7/dist-packages/ and will see if it works this time. | 18:22 |
*** garyloug has quit IRC | 18:34 | |
apuimedo | pc_m: limao did the last patch on that | 18:39 |
pc_m | apuimedo: Is it currently broken? Did the patch fix this issue (or do I have something wrong on my system)? Link? | 18:42 |
apuimedo | let me check | 18:43 |
apuimedo | I didn't run devstack for libnetwork in two weeks | 18:43 |
apuimedo | I think it was this one https://review.openstack.org/#/c/382878/ | 18:44 |
pc_m | apuimedo: I was able to run it via vagrant, but wanted to run under devstack on bare-metal. | 18:44 |
apuimedo | pc_m: well, vagrant runs devstack | 18:44 |
apuimedo | so maybe copy the devstack file that vagrant uses | 18:44 |
pc_m | Good ideas. I'll look at patch and see if I have it, and check the local.conf used inside of the vagrant VM. | 18:45 |
*** david-lyle_ has joined #openstack-kuryr | 18:47 | |
apuimedo | cool | 18:49 |
apuimedo | :-) | 18:49 |
pc_m | apuimedo: In the repo pull I have that commit is there, about 9 commits back. | 18:52 |
*** david-lyle_ has quit IRC | 18:53 | |
apuimedo | so then it's about using the same local.conf | 18:55 |
apuimedo | they are calling me to dinner | 18:55 |
apuimedo | ttyl | 18:55 |
pc_m | thanks | 18:55 |
*** huikang has quit IRC | 19:00 | |
*** huikang has joined #openstack-kuryr | 19:01 | |
*** huikang_ has joined #openstack-kuryr | 19:03 | |
*** huikang has quit IRC | 19:05 | |
*** diga has quit IRC | 19:14 | |
apuimedo | pc_m: did that work? | 19:18 |
pc_m | I'm still looking at it (have a meeting :( ). I'm looking at the stack.sh.log of devstack run. Not sure it is running the devstack plugin. | 19:22 |
*** oanson has joined #openstack-kuryr | 19:23 | |
*** garyloug has joined #openstack-kuryr | 19:39 | |
*** huikang_ has quit IRC | 19:53 | |
*** huikang has joined #openstack-kuryr | 20:03 | |
*** huikang_ has joined #openstack-kuryr | 20:05 | |
*** huikang has quit IRC | 20:07 | |
*** huikang_ has quit IRC | 20:28 | |
*** huikang has joined #openstack-kuryr | 20:28 | |
*** huikang has quit IRC | 20:33 | |
*** portdirect has joined #openstack-kuryr | 20:34 | |
*** oanson has quit IRC | 20:42 | |
*** huikang has joined #openstack-kuryr | 20:50 | |
*** apuimedo_ has joined #openstack-kuryr | 20:54 | |
*** apuimedo has left #openstack-kuryr | 20:55 | |
*** apuimedo_ is now known as apuimedo | 20:56 | |
*** garyloug has quit IRC | 20:58 | |
*** portdirect has quit IRC | 21:54 | |
*** huikang has quit IRC | 21:56 | |
*** huikang has joined #openstack-kuryr | 21:57 | |
*** huikang_ has joined #openstack-kuryr | 22:00 | |
*** huikang has quit IRC | 22:02 | |
*** tonanhngo_ has quit IRC | 22:09 | |
*** tonanhngo has joined #openstack-kuryr | 22:14 | |
*** tonanhngo has quit IRC | 22:18 | |
*** tonanhngo has joined #openstack-kuryr | 22:42 | |
*** tonanhngo has quit IRC | 22:42 | |
*** tonanhngo has joined #openstack-kuryr | 22:46 | |
*** david-lyle_ has joined #openstack-kuryr | 22:50 | |
*** huikang_ has quit IRC | 22:50 | |
*** huikang has joined #openstack-kuryr | 22:51 | |
*** david-lyle_ has quit IRC | 22:54 | |
*** huikang has quit IRC | 22:55 | |
*** huikang has joined #openstack-kuryr | 22:59 | |
*** huikang has quit IRC | 23:02 | |
*** portdirect has joined #openstack-kuryr | 23:51 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!