Tuesday, 2016-11-08

*** hongbin has quit IRC00:02
*** banix has joined #openstack-kuryr00:49
*** limao has joined #openstack-kuryr00:57
openstackgerritAntoni Segura Puimedon proposed openstack/kuryr: [WIP] CNI driver implementation  https://review.openstack.org/38212901:34
*** apuimedo has quit IRC01:37
*** banix has quit IRC01:42
*** diogogmt has quit IRC01:44
*** banix has joined #openstack-kuryr01:46
*** banix has quit IRC02:18
*** hongbin has joined #openstack-kuryr02:24
*** diogogmt has joined #openstack-kuryr02:30
*** yedongcan has joined #openstack-kuryr02:30
*** banix has joined #openstack-kuryr02:50
*** limao has quit IRC03:48
*** oanson has joined #openstack-kuryr03:51
*** diga has joined #openstack-kuryr03:52
*** tonanhngo has quit IRC03:53
*** banix has quit IRC04:02
*** tonanhngo has joined #openstack-kuryr04:02
*** tonanhngo has quit IRC04:04
*** diogogmt has quit IRC04:15
*** tonanhngo has joined #openstack-kuryr04:24
*** tonanhngo has quit IRC04:25
*** hongbin has quit IRC04:32
*** tonanhngo has joined #openstack-kuryr04:44
*** tonanhngo has quit IRC04:46
*** yedongcan has quit IRC04:50
*** limao has joined #openstack-kuryr05:05
*** tonanhngo has joined #openstack-kuryr05:05
*** tonanhngo has quit IRC05:06
*** tonanhngo has joined #openstack-kuryr05:20
*** tonanhngo has quit IRC05:20
*** yedongcan has joined #openstack-kuryr05:27
*** pmannidi has quit IRC05:38
*** pmannidi has joined #openstack-kuryr05:42
openstackgerritLiping Mao proposed openstack/kuryr-libnetwork: Measure performance of docker create/delete container with/without kuryr.  https://review.openstack.org/39424605:49
*** irenab has joined #openstack-kuryr05:51
*** limao has quit IRC06:00
*** limao has joined #openstack-kuryr06:02
openstackgerritpawnesh kumar proposed openstack/kuryr: Fixed Warning while executing 'tox -e docs'  https://review.openstack.org/39477106:08
*** oanson has quit IRC06:29
openstackgerritJaivish Kothari(janonymous) proposed openstack/kuryr-libnetwork: Unittest with mock  https://review.openstack.org/39478806:52
*** david-lyle has quit IRC07:03
*** oanson has joined #openstack-kuryr07:09
*** yedongcan has quit IRC07:11
*** yedongcan has joined #openstack-kuryr07:12
openstackgerritJaivish Kothari(janonymous) proposed openstack/kuryr-libnetwork: Unittests with mock  https://review.openstack.org/39425107:26
yedongcanHi, is there a method to run fullstack test without devstack already installed?07:56
janonymousyedongcan: i think you have to install keystone and neutron manually08:01
*** janki has joined #openstack-kuryr08:04
yedongcanjanonymous: thanks, I will have a try08:14
openstackgerritJaivish Kothari(janonymous) proposed openstack/kuryr-libnetwork: Unittests with Mock and add a TestCase  https://review.openstack.org/39399608:17
*** yedongcan has left #openstack-kuryr08:18
openstackgerritJaivish Kothari(janonymous) proposed openstack/kuryr: Links do not point to any document  https://review.openstack.org/37301408:23
openstackgerritbailin.zhang proposed openstack/kuryr: Replaces uuid.uuid4 with uuidutils.generate_uuid()  https://review.openstack.org/39481908:23
openstackgerritbailin.zhang proposed openstack/kuryr-libnetwork: Replaces uuid.uuid4 with uuidutils.generate_uuid()  https://review.openstack.org/39482108:43
openstackgerritbailin.zhang proposed openstack/kuryr: Replaces uuid.uuid4 with uuidutils.generate_uuid()  https://review.openstack.org/39481908:53
*** lmdaly has joined #openstack-kuryr09:07
*** garyloug has joined #openstack-kuryr09:16
*** limao has quit IRC09:57
*** limao has joined #openstack-kuryr09:59
*** neiljerram has joined #openstack-kuryr10:00
*** limao has quit IRC10:34
openstackgerritbailin.zhang proposed openstack/kuryr: Replaces uuid.uuid4 with uuidutils.generate_uuid()  https://review.openstack.org/39481911:25
openstackgerritbailin.zhang proposed openstack/kuryr-libnetwork: Replaces uuid.uuid4 with uuidutils.generate_uuid()  https://review.openstack.org/39482111:28
*** banix has joined #openstack-kuryr12:08
*** garyloug has quit IRC12:14
*** lmdaly has quit IRC12:27
*** banix has quit IRC12:28
*** david-lyle has joined #openstack-kuryr12:37
*** lmdaly has joined #openstack-kuryr13:15
pc_mAnyone 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_mWanted to try it out.13:25
*** david-lyle has quit IRC13:29
ivc_pc_m, what part of kuryr are you interested in? kuryr-libnetwork or kuryr-kubernetes?13:42
*** openstackgerrit has quit IRC13:48
*** openstackgerrit has joined #openstack-kuryr13:48
pc_mivc_: For starters libnetworking. Would like to see how the interaction works with Neutron.13:56
pc_mivc_: Was following https://github.com/openstack/kuryr, which points to the kuryr_liblibnetwork page.13:57
*** janki has quit IRC13:57
ivc_pc_m, have you tried https://github.com/openstack/kuryr-libnetwork/blob/master/devstack/local.conf.sample?13:58
pc_mivc_: 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_mThen I did the OVN setup and added the enable_plugin line and LIBS_FROM_GIT from that conf sample.13:59
pc_mI stacked and the kuryr process is running, I have a config file, and it seemed to be up.14:00
pc_mI 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_mHowever, in q-svc log, I don't see any requests, and there is no neutron network created.14:01
pc_mRef: http://galsagie.github.io/2015/10/10/kuryr-ovn/14:02
pc_mivc_: 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-kubernetes14:04
pc_mivc_: 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.sample14:05
pc_mivc_: Sure will try.14:06
pc_mivc_: Do I need to have OVN specified, or will OVS do?14:06
ivc_afaik it will default to ovs14:06
pc_mivc_: IOW, If I later want to try containers in VM, will I need to setup for OVN?14:07
*** irenab has quit IRC14:09
ivc_pc_m, i'm not sure what is the current state of the container-in-vm support for kuryr-libnetwork14:09
pc_mivc_: Sounds like it is a work in progress from what I gathered from the IRC meeting yesterday.14:10
pc_mWill stack and see what happens. Thanks!14:10
*** garyloug has joined #openstack-kuryr14:11
janonymousor you could try vagrant also if setting up for first time ;)14:12
pc_mjanonymous: Sure, I'm open to anything :)14:14
pc_mjanonymous: Any pointers to info on running under vagrant?14:14
janonymousunder contrib/vagrant run `vagrant up` then `vagrant ssh`14:16
janonymousbut i think you should try what ivc_ first , vagrant is more for testing...14:17
janonymous*suggested14:17
pc_mCool. Didn't even notice there was vagrant stuff in the repo. I guess I need to browse the repo more.14:18
pc_mThanks janonymous and ivc_!14:18
*** apuimedo has joined #openstack-kuryr14:35
*** hongbin has joined #openstack-kuryr14:46
*** garyloug has quit IRC15:01
*** huikang has joined #openstack-kuryr15:07
apuimedoivc_: 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 around15:20
apuimedoI should sleep more15:20
apuimedothanks for the review15:20
ivc_apuimedo, no problems :)15:21
*** huikang has quit IRC15:21
*** huikang has joined #openstack-kuryr15: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-lib15:22
ivc_as right now i have no idea how to test it before kuryr-lib one is merged :P15:23
ivc_could also help designing a proper kuryr-lib CNIDriver as it would give a usage example15:24
*** huikang_ has joined #openstack-kuryr15:24
apuimedoI guess we can do it. Nothing agains scaffolding15:24
apuimedo*against15:24
ivc_ok, great15:24
*** huikang has quit IRC15:26
apuimedoivc_: you really didn't get any parameter called ~ Version?15:26
ivc_nop15:26
* apuimedo checking again k8s code15:26
ivc_but i used {'name':'kuryr', 'type':'kuryr'} in CNI spec15:27
ivc_did not check if adding 'cniVersion' changes anything15:27
apuimedook, I'll check the Golang cni library and see if it is set15:28
apuimedoand figure out if we should just ignore it otherwise15:28
ivc_apuimedo, also we need to add 'lo' driver from 'cni' binaries to our devstack plugin. will post a patch for it later15:29
*** david-lyle has joined #openstack-kuryr15:29
apuimedoivc_: 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 documentation15:31
apuimedoyou mean that they have as a requirement that a lo device exists?15:31
ivc_yup15:31
ivc_otherwise kubelet goes crazy15:32
ivc_with [Error while adding to cni lo network: could not find "." plugin] errors in logs15:32
apuimedoI wonder if it is for the health check15:32
ivc_i wonder where is that "." from15:32
*** tonanhngo has joined #openstack-kuryr15:33
ivc_http://kubernetes.io/docs/admin/network-plugins/#cni15:33
ivc_look at the last paragraph15:33
*** david-lyle has quit IRC15:34
apuimedoso it's about adding it to devstack15:35
ivc_aye15:35
apuimedoI guess I had it working because the kubelet image already shipped with it15:36
*** tonanhngo has quit IRC15:37
ivc_we also need to add --cni-conf-dir and --cni-bin-dir15:37
*** diogogmt has joined #openstack-kuryr15:37
ivc_i'll post a patch later, its pretty trivial15:38
apuimedoI thought that kubelet has a default value that matches where we were placing the binaries15:40
apuimedobut may have been a container specific setting15:40
ivc_yes, it defaults to /etc/cni/net.d and /opt/cni/bin15:40
ivc_but i'd prefer them both in /opt/stack15:41
apuimedook15:41
ivc_as it is part of our devstack deployment and it never hurts to be explicit15:41
apuimedoexplicit is better than implicit15: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 handler15:45
apuimedosounds good15:46
ivc_apuimedo, just checked our devstack with 'cniVersion' set in /etc/cni/net.d/kuryr.conf - still no CNI_VERSION15:49
ivc_but why do you want it configurable anyway?15:50
apuimedoI just saw it in the spec15:51
apuimedoso I tried to code it15:51
apuimedobecause why on earth they make a versioned interface15:51
apuimedoand then not pass the darned versions15:51
apuimedoI could have saved myself from all the OVO jazz in the output15:52
ivc_i guess its for consuming part15:52
* apuimedo raging15:52
apuimedowell, but the consumer should set the CNI version that it supports15:52
apuimedoin this case, k8s15:52
ivc_i think its the opposite. the CNI driver reports its cniVersion and k8s adapts to it15:52
apuimedolook at https://github.com/containernetworking/cni/blob/v0.3/SPEC.md#parameters15:53
apuimedoParameters: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 IRC15:54
ivc_true15:54
apuimedowell, kuryr-lib is supposed to be CNI spec compliant15:55
ivc_well then i guess its k8s not passing CNI_VERSION15:55
apuimedoright15:55
apuimedoivc_: so I'll make that it uses 0.3.0 if it does not get one passed15:55
apuimedoand screw it15:55
apuimedothere. Done!15:56
apuimedofscking hell15:56
*** diga has joined #openstack-kuryr15:58
ivc_apuimedo, http://paste.openstack.org/show/588398/15:58
apuimedonot there at all, no16:01
*** oanson has quit IRC16:16
*** tonanhngo has joined #openstack-kuryr16:52
*** tonanhngo has quit IRC16:53
*** tonanhngo has joined #openstack-kuryr16:54
*** garyloug has joined #openstack-kuryr16:57
openstackgerritLouise Daly proposed openstack/kuryr-libnetwork: [WIP]Move interface creation and deletion  https://review.openstack.org/39454717:02
*** huikang_ has quit IRC17:22
*** huikang has joined #openstack-kuryr17:24
*** huikang has quit IRC17:25
*** huikang has joined #openstack-kuryr17:25
*** lmdaly has quit IRC17:40
*** tonanhngo_ has joined #openstack-kuryr17:46
*** tonanhngo_ has quit IRC17:46
*** tonanhngo_ has joined #openstack-kuryr17:47
*** tonanhngo has quit IRC17:48
pc_mivc_: 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_mIt cloned, ran setup.py for install, but for some reason devstack is failing. :(18:21
pc_mI' 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 IRC18:34
apuimedopc_m: limao did the last patch on that18:39
pc_mapuimedo: Is it currently broken? Did the patch fix this issue (or do I have something wrong on my system)? Link?18:42
apuimedolet me check18:43
apuimedoI didn't run devstack for libnetwork in two weeks18:43
apuimedoI think it was this one https://review.openstack.org/#/c/382878/18:44
pc_mapuimedo: I was able to run it via vagrant, but wanted to run under devstack on bare-metal.18:44
apuimedopc_m: well, vagrant runs devstack18:44
apuimedoso maybe copy the devstack file that vagrant uses18:44
pc_mGood 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-kuryr18:47
apuimedocool18:49
apuimedo:-)18:49
pc_mapuimedo: In the repo pull I have that commit is there, about 9 commits back.18:52
*** david-lyle_ has quit IRC18:53
apuimedoso then it's about using the same local.conf18:55
apuimedothey are calling me to dinner18:55
apuimedottyl18:55
pc_mthanks18:55
*** huikang has quit IRC19:00
*** huikang has joined #openstack-kuryr19:01
*** huikang_ has joined #openstack-kuryr19:03
*** huikang has quit IRC19:05
*** diga has quit IRC19:14
apuimedopc_m: did that work?19:18
pc_mI'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-kuryr19:23
*** garyloug has joined #openstack-kuryr19:39
*** huikang_ has quit IRC19:53
*** huikang has joined #openstack-kuryr20:03
*** huikang_ has joined #openstack-kuryr20:05
*** huikang has quit IRC20:07
*** huikang_ has quit IRC20:28
*** huikang has joined #openstack-kuryr20:28
*** huikang has quit IRC20:33
*** portdirect has joined #openstack-kuryr20:34
*** oanson has quit IRC20:42
*** huikang has joined #openstack-kuryr20:50
*** apuimedo_ has joined #openstack-kuryr20:54
*** apuimedo has left #openstack-kuryr20:55
*** apuimedo_ is now known as apuimedo20:56
*** garyloug has quit IRC20:58
*** portdirect has quit IRC21:54
*** huikang has quit IRC21:56
*** huikang has joined #openstack-kuryr21:57
*** huikang_ has joined #openstack-kuryr22:00
*** huikang has quit IRC22:02
*** tonanhngo_ has quit IRC22:09
*** tonanhngo has joined #openstack-kuryr22:14
*** tonanhngo has quit IRC22:18
*** tonanhngo has joined #openstack-kuryr22:42
*** tonanhngo has quit IRC22:42
*** tonanhngo has joined #openstack-kuryr22:46
*** david-lyle_ has joined #openstack-kuryr22:50
*** huikang_ has quit IRC22:50
*** huikang has joined #openstack-kuryr22:51
*** david-lyle_ has quit IRC22:54
*** huikang has quit IRC22:55
*** huikang has joined #openstack-kuryr22:59
*** huikang has quit IRC23:02
*** portdirect has joined #openstack-kuryr23:51

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