Wednesday, 2017-03-01

*** limao has joined #openstack-kuryr00:32
*** salv-orlando has quit IRC00:33
openstackgerritHongbin Lu proposed openstack/kuryr master: Fixed a KeyError on _configure_container_iface  https://review.openstack.org/43925100:42
openstackgerritHongbin Lu proposed openstack/kuryr master: Fixed a KeyError on _configure_container_iface  https://review.openstack.org/43925100:45
*** hongbin has quit IRC00:46
*** tianquan has joined #openstack-kuryr00:47
*** saneax is now known as saneax-_-|AFK01:14
*** tianquan has quit IRC01:21
*** yedongcan has joined #openstack-kuryr02:08
*** tianquan has joined #openstack-kuryr02:16
*** yuanying has quit IRC02:47
*** dougbtv_ has joined #openstack-kuryr03:02
*** hongbin has joined #openstack-kuryr03:06
*** dougbtv has quit IRC03:16
*** dougbtv_ has quit IRC03:17
*** salv-orlando has joined #openstack-kuryr03:34
*** salv-orlando has quit IRC03:39
*** yuanying has joined #openstack-kuryr03:49
openstackgerritOpenStack Proposal Bot proposed openstack/fuxi master: Updated from global requirements  https://review.openstack.org/43108504:06
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr master: Updated from global requirements  https://review.openstack.org/43860404:08
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr-libnetwork master: Updated from global requirements  https://review.openstack.org/43196604:08
openstackgerritOpenStack Proposal Bot proposed openstack/kuryr-kubernetes master: Updated from global requirements  https://review.openstack.org/43932104:08
*** tianquan has quit IRC04:20
*** limao has quit IRC04:31
*** pmannidi has quit IRC04:33
*** hongbin has quit IRC04:41
*** pmannidi has joined #openstack-kuryr04:49
*** saneax-_-|AFK is now known as saneax04:55
*** limao has joined #openstack-kuryr04:56
*** janki has joined #openstack-kuryr05:13
*** saneax is now known as saneax-_-|AFK05:16
*** tianquan has joined #openstack-kuryr05:21
*** saneax-_-|AFK is now known as saneax05:21
*** tianquan has quit IRC05:25
*** salv-orlando has joined #openstack-kuryr05:35
*** pmannidi_ has joined #openstack-kuryr05:38
*** pmannidi has quit IRC05:40
*** salv-orlando has quit IRC05:40
*** tianquan has joined #openstack-kuryr05:49
*** tianquan has quit IRC06:17
*** tianquan has joined #openstack-kuryr06:18
*** irenab_ has quit IRC06:19
*** irenab_ has joined #openstack-kuryr06:23
*** salv-orlando has joined #openstack-kuryr06:26
*** ltomasbo|away is now known as ltomasbo06:42
*** salv-orl_ has joined #openstack-kuryr06:52
*** salv-orlando has quit IRC06:55
*** yamamoto has quit IRC07:07
*** tianquan has quit IRC07:14
*** tianquan has joined #openstack-kuryr07:15
*** salv-orl_ has quit IRC07:25
*** yamamoto has joined #openstack-kuryr07:40
*** yuanying has quit IRC08:01
*** yuanying has joined #openstack-kuryr08:05
*** salv-orlando has joined #openstack-kuryr08:24
*** devvesa has joined #openstack-kuryr08:44
*** yuanying has quit IRC08:51
*** yuanying has joined #openstack-kuryr08:55
openstackgerritDongcan Ye proposed openstack/kuryr master: Add unit test for veth binding driver  https://review.openstack.org/43886909:06
openstackgerritDongcan Ye proposed openstack/kuryr master: Pass located tests directory in oslo debug  https://review.openstack.org/43947809:14
*** yuanying has quit IRC09:16
*** saneax is now known as saneax-_-|AFK09:22
*** yamamoto has quit IRC09:24
*** garyloug has joined #openstack-kuryr09:24
*** garyloug has quit IRC09:32
*** garyloug has joined #openstack-kuryr09:41
*** saneax-_-|AFK is now known as saneax09:53
*** yuanying has joined #openstack-kuryr10:00
*** garyloug has quit IRC10:18
*** yamamoto has joined #openstack-kuryr10:21
*** pcaruana has joined #openstack-kuryr10:24
*** yamamoto has quit IRC10:25
*** limao has quit IRC10:28
*** garyloug has joined #openstack-kuryr10:29
*** yedongcan has left #openstack-kuryr10:33
*** tianquan has quit IRC10:40
*** tianquan has joined #openstack-kuryr11:18
*** yamamoto has joined #openstack-kuryr11:26
*** yamamoto has quit IRC11:32
*** yamamoto has joined #openstack-kuryr11:38
*** yamamoto has quit IRC11:42
*** yamamoto has joined #openstack-kuryr11:47
*** yamamoto has quit IRC11:48
*** limao has joined #openstack-kuryr12:15
*** limao_ has joined #openstack-kuryr12:20
*** limao has quit IRC12:21
*** dougbtv has joined #openstack-kuryr12:26
*** limao_ has quit IRC12:28
*** limao has joined #openstack-kuryr12:29
apuimedoivc_: vikasc: joining the vtg session?12:32
*** garyloug has quit IRC12:32
*** gsagie has joined #openstack-kuryr12:37
*** limao has quit IRC12:40
*** limao has joined #openstack-kuryr12:41
*** gsagie has quit IRC12:42
*** garyloug has joined #openstack-kuryr12:47
*** yamamoto has joined #openstack-kuryr12:49
*** limao has quit IRC12:51
*** limao has joined #openstack-kuryr12:52
*** salv-orl_ has joined #openstack-kuryr12:53
*** yamamoto has quit IRC12:53
*** salv-orlando has quit IRC12:56
*** limao has quit IRC13:02
*** saneax is now known as saneax-_-|AFK13:02
*** limao has joined #openstack-kuryr13:03
*** salv-orl_ has quit IRC13:08
*** limao has quit IRC13:14
*** limao has joined #openstack-kuryr13:14
*** limao has quit IRC13:25
*** limao has joined #openstack-kuryr13:26
*** hongbin has joined #openstack-kuryr13:36
*** limao has quit IRC13:36
janonymousapuimedo: so meeting would be after 15mins?13:37
*** limao has joined #openstack-kuryr13:38
*** tianquan has quit IRC13:40
hongbinirenab: ping13:40
*** limao has quit IRC13:47
*** limao has joined #openstack-kuryr13:49
*** limao has quit IRC13:54
*** limao has joined #openstack-kuryr13:55
*** tianquan has joined #openstack-kuryr13:56
*** yamamoto has joined #openstack-kuryr13:58
*** yamamoto has quit IRC14:04
*** limao has quit IRC14:05
*** tianquan has quit IRC14:06
*** limao has joined #openstack-kuryr14:06
*** tianquan has joined #openstack-kuryr14:14
*** limao has quit IRC14:17
*** limao has joined #openstack-kuryr14:17
*** tianquan has quit IRC14:19
*** hongbin has quit IRC14:21
irenab_apuimedo ivc_ ltomasbo , for the resource pool, I think we should probably make it driver based as other parts in the system. So different pool management strategies may be supported14:23
ltomasboirenab_, sure14:24
ivc_irenab_ sure14:24
ltomasboI already did it that way14:24
ltomasboit is just a generic_pool or nested_vlan_pool driver14:25
ltomasboimplementing the two extra functions for the pool (update and cleanup)14:25
ltomasboplus the modified version of the request/release vifs14:25
irenab_ltomasbo: stevedor based?14:26
irenab_ltomasbo: I need to go through the patches …14:26
ltomasboyes, it is using the same mechanisms we have for the vif drivers14:27
ltomasboit is actually a new type of extended vif driver14:27
ltomasbo(though we can change that later if we want more isolation between resource pool and vif)14:27
ivc_ltomasbo +1 for isolation14:27
irenab_I agree with ivc_ to separate pool management and vif management14:28
ltomasboivc_, I'll think about that14:28
ltomasboI'll try to modify them, but it would be nice to have you guys taking a look at the current patches14:29
*** limao_ has joined #openstack-kuryr14:29
ltomasboso that I can get more feedback at once14:29
ivc_ltomasbo sure, i already had a brief look at those but will do a proper review soon14:30
ltomasboivc_, thanks!14:30
*** limao has quit IRC14:30
ltomasboI will work on the implementation modifications we agreed on the previous session14:31
irenab_ltomasbo: same here14:31
ltomasboI´m already testing ResourcENotReady and removing the max limit (by setting it to -114:32
irenab_cool14:32
ltomasbo(I still prefer to have this option and disable it by default, just in case there is such a case/limitation somewhere14:32
ltomasboand I will try to add a new patch (one for baremetal one for nested) to handle the existing ports in case of service reboot14:33
*** limao_ has quit IRC14:35
*** limao has joined #openstack-kuryr14:35
*** limao_ has joined #openstack-kuryr14:40
*** limao has quit IRC14:44
*** limao has joined #openstack-kuryr14:46
*** limao_ has quit IRC14:46
*** salv-orlando has joined #openstack-kuryr14:48
*** irenab_ has quit IRC14:50
*** irenab__ has joined #openstack-kuryr15:09
*** irenab__ has quit IRC15:10
*** irenab_ has joined #openstack-kuryr15:11
*** limao has quit IRC15:28
*** tianquan has joined #openstack-kuryr15:30
*** janki has quit IRC15:30
*** tianquan has quit IRC15:34
*** hongbin has joined #openstack-kuryr15:41
*** tonanhngo has joined #openstack-kuryr15:43
*** yamamoto has joined #openstack-kuryr16:00
*** yamamoto has quit IRC16:06
*** tonanhngo has quit IRC16:22
*** tianquan has joined #openstack-kuryr16:36
*** salv-orlando has quit IRC16:44
*** tianquan has quit IRC16:47
*** tonanhngo has joined #openstack-kuryr16:58
openstackgerritHongbin Lu proposed openstack/kuryr-libnetwork master: Support creating from existing subnetpool  https://review.openstack.org/42659516:58
*** salv-orlando has joined #openstack-kuryr17:00
*** tonanhngo has quit IRC17:03
*** yamamoto has joined #openstack-kuryr17:03
*** ltomasbo is now known as ltomasbo|away17:05
*** yamamoto has quit IRC17:08
*** gsagie has joined #openstack-kuryr17:10
hongbinirenab: there?17:18
hongbinapuimedo: hi toni, if you have a chance, i need your help to triage this bug (https://bugs.launchpad.net/kuryr/+bug/1668803)17:21
openstackLaunchpad bug 1668803 in kuryr "Error on configuring container interface" [Undecided,In progress] - Assigned to hongbin (hongbin034)17:21
apuimedohongbin: how may I help you?17:29
hongbinapuimedo: first, i want to confirm if it is a bug, second, i need your advice on what is the best way to fix it17:29
* apuimedo checking17:31
hongbinthx17:32
apuimedohongbin: did kuryr create another subnet or it tried to reuse the one created in the second command?17:33
hongbinapuimedo: it reuse the created subnet17:33
*** tonanhngo has joined #openstack-kuryr17:35
apuimedodoes it work if you do not specify the IP?17:35
hongbinif i remembered correctly, it will work without the ip17:35
hongbini can give it another try to confirm it17:36
hongbinconfirmed, it worked without the --ip17:37
apuimedohongbin: I don't recall us every supporting the --ip17:37
apuimedoit may or may not have worked17:38
apuimedobut I sure did not test it17:38
apuimedoso, yeah... It is definitely a bug17:38
hongbinok17:38
apuimedoI marked it as Importance "High"17:38
hongbinzun has a use case to use the --ip option17:38
hongbinanother question i have is where to fix it17:39
apuimedoit's part of libnetwork, not working with it is a bug for us17:39
hongbinok17:39
*** tonanhngo has quit IRC17:39
hongbini have a patch to fix it in kuryr: https://review.openstack.org/#/c/439251/17:39
apuimedo(I was not aware of zun using kuryr-libnetwork :P )17:39
hongbinapuimedo: not yet, but soon: https://github.com/openstack/zun/blob/master/specs/kuryr-integration.rst17:40
apuimedo:-)17:40
hongbinapuimedo: i have submitted a patch to fix the bug at kuryr, but irenab seems to suggest to fix it in caller (kuryr-libnetwork)17:41
hongbinapuimedo: need your advice for that as well :)17:41
apuimedoyes, I think that's probably a better place17:42
hongbinok17:42
hongbini will try to figure out how to do that17:43
apuimedohongbin: did you check if it created an extra port?17:43
hongbinno, it used the existing port17:43
hongbinapuimedo: here is the problem, the existing port will have two fixed_ips: | fixed_ips             | {"subnet_id": "d49abac7-b8ab-4c92-99e6-ed78d4c4565b", "ip_address": "10.2.0.6"} | |                       | {"subnet_id": "cdfa6132-4f13-4f3f-93f6-14aaf2176705", "ip_address": "fe81::4"}  |17:43
hongbinapuimedo: however, only one subnet id was passed (the "d49abac7-b8ab-4c92-99e6-ed78d4c4565b")17:44
apuimedo:O17:45
hongbintherefore, kuryr will throw a keyerror when it tried to lookup the other subnet17:45
apuimedoI didn't know that when you do port create for a network without specifying the subnet it would get you automatically one from ipv4 and one for ipv617:45
hongbinyes, that is exactly the problem17:46
apuimedoI see17:46
apuimedoso if you would not have created the port, it works?17:46
hongbinit works, because kuryr will create the port with the right fixed_ips17:47
apuimedoand if you do docker run passing both --ip and --ip6?17:47
hongbinlet me try that17:47
hongbinone second17:47
apuimedothanks17:48
hongbin$ docker run --net=foo -itd --name=container3 --ip $IP --ip6 "fe81::4" busybox a1fc040a37ab3613f69dd1a4b0e73a031d910c47cacbb10ad810dfae0f761c6d docker: Error response from daemon: User specified IP address is supported only when connecting to networks with user configured subnets.17:49
hongbinsorry, let me break the lines17:49
hongbin$ docker run --net=foo -itd --name=container3 --ip $IP --ip6 "fe81::4" busybox17:49
hongbina1fc040a37ab3613f69dd1a4b0e73a031d910c47cacbb10ad810dfae0f761c6d17:49
hongbindocker: Error response from daemon: User specified IP address is supported only when connecting to networks with user configured subnets.17:49
hongbinapuimedo: ^^17:52
*** salv-orlando has quit IRC17:54
apuimedodid you do the docker network create for the ipv6 net?17:54
apuimedohongbin: ^^17:54
hongbinapuimedo: no17:55
hongbini can try that (haven't played with ipv6 in before)17:55
*** salv-orlando has joined #openstack-kuryr17:57
hongbinapuimedo: so i need to create two docker networks, one with ipv4, the other with ipv6, then when i create the container, i need to set teh --net twice to join both netwokrs17:57
hongbinis the above steps correct?17:57
*** tonanhngo has joined #openstack-kuryr17:59
hongbinsomehow, i failed to create docker network with ipv6 .....18:00
hongbin$ docker network create -d kuryr --ipam-driver=kuryr --subnet fe81::/64  --gateway fe81::3  -o neutron.net.name=test foo218:01
hongbinError response from daemon: IpamDriver.RequestPool: No subnetpools with {'name': 'kuryr'} is found.18:01
*** tonanhngo has quit IRC18:03
apuimedoright18:03
apuimedocheck if there is subnetpool for only ipv4?18:04
*** yamamoto has joined #openstack-kuryr18:04
hongbinthere is no subnetpool for neither ipv4 and ipv618:06
hongbinthat is because i created directly from subnet18:06
hongbin$ neutron net-create test18:06
hongbin$ neutron subnet-create test 10.2.0.0/2418:07
hongbin$ neutron subnet-create --ip-version 6 test fe81::/6418:07
apuimedommm18:07
hongbin$ docker network create -d kuryr --ipam-driver=kuryr --subnet 10.2.0.0/24 --gateway 10.2.0.1 -o neutron.net.name=test foo18:07
apuimedodid the "docker network create -d kuryr --ipam-driver=kuryr --subnet fe81::/64  --gateway fe81::3  -o neutron.net.name=test foo2" set any tag?18:07
*** devvesa has quit IRC18:08
hongbini don't know exactly how the tag extension is going to work, but i haven't touch any config after installing the devstack18:09
*** yamamoto has quit IRC18:10
apuimedohongbin: when you did the docker run18:10
apuimedoyou only specified --net=foo18:10
apuimedohowever, the ipv6 address is in foo218:11
hongbinyes18:11
hongbinhowever, i haven't successfully created foo2 with ipv618:11
apuimedowell, the problem is how to map that a neutron network has both ipv4 and ipv618:13
apuimedoto docker networks, which I can't see how you can define it for both ipv6 and ipv418:13
*** garyloug has quit IRC18:13
apuimedoit seems to me like you'd need to create two ports/endpoints under the libnetwork model18:13
hongbinactually, i just needs to get the ipv4 worked if i run the container (regardless of the port has v4/v6 or both)18:15
apuimedommm18:15
apuimedohongbin: then you could just specify the subnet when doing the neutron port-create18:15
hongbini see18:16
apuimedohongbin: could you do me a favor and see if doing \18:16
apuimedodocker network create --driver=kuryr --ipam=kuryr --subnet <IPv4/mask> --gateway <IPv4> --ipv6 --subnet <IPv6/mask> --gateway <IPv6> --opt neutron.net.name=test dualnet18:16
apuimedoand then 'docker run --net=dualnet -itd --name=container4 --ip $IP --ip6 "fe81::4" busybox18:17
*** tonanhngo has joined #openstack-kuryr18:17
hongbinapuimedo: the first command failed: http://paste.openstack.org/show/600988/18:19
apuimedo:-)18:21
hongbinanother bug?18:21
apuimedohongbin: ok. So that's the bigger bug that Irena thought may be there18:21
*** tonanhngo has quit IRC18:21
hongbini see18:22
apuimedoif we want to be able to support dualstack nets, we must be able to deal with such network ipam requests18:22
hongbinapuimedo: need to go and get the lunch now, will get back to this later18:22
apuimedothanks18:22
apuimedohongbin: I'd appreciate if you could fill the bug18:22
apuimedoI'll mark it critical18:22
hongbinwill do18:22
apuimedothanks a lot hongbin18:24
apuimedoevery time we unearth a bug I get happy :-)18:24
*** tianquan has joined #openstack-kuryr18:46
*** tonanhngo has joined #openstack-kuryr18:48
*** tianquan has quit IRC18:51
*** salv-orl_ has joined #openstack-kuryr18:52
*** tonanhngo has quit IRC18:53
*** salv-orlando has quit IRC18:55
*** yamamoto has joined #openstack-kuryr19:06
*** tonanhngo has joined #openstack-kuryr19:06
*** tonanhngo has quit IRC19:10
*** yamamoto has quit IRC19:12
*** salv-orl_ has quit IRC19:23
*** pcaruana has quit IRC19:58
*** openstackgerrit has quit IRC20:03
*** yamamoto has joined #openstack-kuryr20:08
*** yamamoto has quit IRC20:13
*** gsagie has quit IRC20:25
*** openstackgerrit has joined #openstack-kuryr20:30
openstackgerritHongbin Lu proposed openstack/kuryr-libnetwork master: [WIP] Allow requesting pool with ipv6 cidr  https://review.openstack.org/43983320:30
openstackgerritHongbin Lu proposed openstack/kuryr-libnetwork master: Allow requesting pool with ipv6 cidr  https://review.openstack.org/43983320:54
*** yamamoto has joined #openstack-kuryr21:10
openstackgerritHongbin Lu proposed openstack/kuryr-libnetwork master: Allow requesting pool with ipv6 cidr  https://review.openstack.org/43983321:10
*** yamamoto has quit IRC21:12
*** yamamoto has joined #openstack-kuryr21:12
*** salv-orlando has joined #openstack-kuryr21:14
*** yamamoto has quit IRC21:19
hongbinapuimedo: there is a new error after fixing the pool cidr schema: http://paste.openstack.org/show/601007/21:20
*** pcaruana has joined #openstack-kuryr21:30
*** pcaruana has quit IRC21:33
apuimedohongbin: just fixing the schema validation makes it work?21:36
hongbinapuimedo: the network create is working21:37
hongbindocker run --ip & --ip6 is not working, possibly because the port was binding twice21:38
apuimedohongbin: so you can repurpose the bug you filled earlier for the docker run part21:45
apuimedohttps://bugs.launchpad.net/kuryr/+bug/166880321:46
openstackLaunchpad bug 1668803 in kuryr "Error on configuring container interface" [High,In progress] - Assigned to hongbin (hongbin034)21:46
apuimedohongbin: if you agree, I'll move it to the kuryr-libnetwork component21:46
hongbinapuimedo: for sure21:46
hongbini will edit the bug21:46
apuimedovery well21:46
apuimedohongbin: put the instructions with the double stack21:47
hongbinapuimedo: ack21:47
*** tianquan has joined #openstack-kuryr21:49
*** tianquan has quit IRC21:54
*** tonanhngo has joined #openstack-kuryr21:58
*** tonanhngo has quit IRC22:02
openstackgerritHongbin Lu proposed openstack/kuryr-libnetwork master: Fixed the module of DuplicatedResourceException  https://review.openstack.org/43987122:04
*** yamamoto has joined #openstack-kuryr22:05
*** salv-orlando has quit IRC22:50
*** salv-orlando has joined #openstack-kuryr22:51
*** tianquan has joined #openstack-kuryr22:53
*** salv-orlando has quit IRC23:35

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