Friday, 2016-12-09

*** pmannidi has quit IRC00:29
*** pmannidi has joined #openstack-kuryr00:38
*** limao has joined #openstack-kuryr00:42
*** limao has quit IRC00:42
*** limao has joined #openstack-kuryr00:43
*** jgriffith is now known as jgriffith_AutoAw00:49
*** mattmceuen has quit IRC01:00
*** tonanhngo_ has quit IRC01:19
*** yedongcan has joined #openstack-kuryr01:28
*** saneax is now known as saneax-_-|AFK01:30
*** tonanhngo has joined #openstack-kuryr01:33
*** tonanhngo has quit IRC01:37
openstackgerritJaivish Kothari(janonymous) proposed openstack/kuryr-libnetwork: [WIP]Unittest with mock  https://review.openstack.org/40520302:24
*** yuanying has quit IRC02:50
*** yamamot__ has joined #openstack-kuryr02:51
*** yuanying has joined #openstack-kuryr03:50
*** yuanying has quit IRC03:50
*** yuanying has joined #openstack-kuryr03:51
*** yuanying has quit IRC04:23
*** yuanying has joined #openstack-kuryr04:24
*** yuanying has quit IRC04:24
*** yuanying has joined #openstack-kuryr04:25
*** yuanying has quit IRC04:25
*** yedongcan has quit IRC04:43
*** yedongcan has joined #openstack-kuryr05:06
*** yuanying has joined #openstack-kuryr05:26
*** yuanying has quit IRC05:35
*** yuanying has joined #openstack-kuryr05:36
*** tonanhngo has joined #openstack-kuryr05:42
*** saneax-_-|AFK is now known as saneax05:46
*** yuanying has quit IRC05:49
*** yedongcan has quit IRC06:09
*** yedongcan has joined #openstack-kuryr06:20
*** yuanying has joined #openstack-kuryr06:28
*** oanson has joined #openstack-kuryr06:45
*** yuanying_ has joined #openstack-kuryr06:55
*** yuanying has quit IRC06:58
*** yuanying_ has quit IRC07:14
*** yamamot__ has quit IRC07:14
*** yedongcan1 has joined #openstack-kuryr07:25
*** yedongcan has quit IRC07:27
*** janki has joined #openstack-kuryr07:27
*** ram______ has quit IRC07:29
*** oanson has quit IRC07:33
apuimedoyedongcan1: done07:47
apuimedothanks!07:47
*** tonanhngo has quit IRC07:49
apuimedoyedongcan1: I put a comment on https://bugs.launchpad.net/kuryr-libnetwork/+bug/164832607:51
openstackLaunchpad bug 1648326 in kuryr-libnetwork "Plugin lifecycle order should be correct" [Undecided,New] - Assigned to janonymous (janonymous)07:51
yedongcan1apuidemo: thanks, :P07:53
apuimedomchiappero: as soon as we have the vlan/macvlan drivers on kuryr-libnetwork07:54
*** tonanhngo has joined #openstack-kuryr08:00
*** yamamot__ has joined #openstack-kuryr08:02
*** tonanhngo has quit IRC08:05
janonymousapuimedo: thanks :P08:13
janonymousapuimedo: should it needs to be changed?08:14
openstackgerritMerged openstack/kuryr-libnetwork: Fix default subnetpool assignments from config file  https://review.openstack.org/39764008:14
*** pcaruana has joined #openstack-kuryr08:16
openstackgerritZhigang Li proposed openstack/kuryr-libnetwork: Replace six.iteritems() with .items()  https://review.openstack.org/40105608:19
*** yamamot__ has quit IRC08:41
apuimedojanonymous: I'm not sure08:45
*** janki has quit IRC08:47
janonymousapuimedo: okays..08:47
apuimedojanonymous: what was the question? :P08:49
janonymousapuimedo: haha08:50
janonymous>>https://bugs.launchpad.net/kuryr-libnetwork/+bug/164832608:51
openstackLaunchpad bug 1648326 in kuryr-libnetwork "Plugin lifecycle order should be correct" [Undecided,New] - Assigned to janonymous (janonymous)08:51
*** janki has joined #openstack-kuryr08:53
openstackgerritMerged openstack/kuryr-libnetwork: Replace six.iteritems() with .items()  https://review.openstack.org/40105608:54
apuimedojanonymous: ah right!09:00
apuimedoI think that it is okay as it is. But I'm not against it being fixed09:00
janonymousapuimedo: i will fix the bug as invalid :P09:00
apuimedojanonymous: I just confirmed it and set the importance09:00
apuimedoto low09:01
apuimedoso that we keep awareness of it09:01
janonymousapuimedo: that makes sense.09:01
janonymousapuimedo: thanks09:01
apuimedothanks to you for checking!09:01
openstackgerritDongcan Ye proposed openstack/kuryr-libnetwork: Fix bug in ipam_release_address  https://review.openstack.org/40187409:02
openstackgerritMerged openstack/fuxi: Move from "tenant" to "project"  https://review.openstack.org/40618909:02
openstackgerritMerged openstack/kuryr-libnetwork: Fix bug in ipam_release_address  https://review.openstack.org/40187409:30
openstackgerritJaivish Kothari(janonymous) proposed openstack/kuryr-libnetwork: [WIP]Unittest with mock  https://review.openstack.org/40520309:32
*** garyloug has joined #openstack-kuryr09:59
openstackgerritMerged openstack/kuryr-libnetwork: OS_HOST_IP is not working, replacing with HOST_IP  https://review.openstack.org/40735210:05
mchiapperohi all10:14
mchiapperois there any observer pattern/subscription model for neutron?10:15
apuimedomchiappero: for which data?10:23
apuimedoivc_: http://paste.openstack.org/show/591912/10:23
apuimedothis is with the services devstack patch10:23
mchiapperowhatever, ports, networks10:23
mchiapperosay someone else from the outside manipulates our ports?10:24
apuimedowell, there is a subscription you can do in rabbitmq10:24
apuimedolike ceilometer does10:24
apuimedo(or the neutron agents)10:24
mchiapperoa bit low level10:24
apuimedowhich is the use case?10:24
mchiapperowhatever, say someone breaks the port of your vm?10:25
mchiapperoprobably it's actually impossible10:25
mchiapperobut in general, port goes down10:25
mchiapperoif you are not the only player in the system you might need to know if someone else did something that might affect you10:26
apuimedoI guess you'd use some notification system10:37
apuimedoI think vitrage had some alerts10:37
* apuimedo has to go for a few hours10:37
*** apuimedo is now known as apuimedo|away10:37
*** yedongcan1 has left #openstack-kuryr10:39
*** garyloug has quit IRC10:45
*** janki has quit IRC10:47
mchiapperois kuryr-libnetwork multi threading?10:50
mchiapperois there a change of concurrent calls for containers?10:50
mchiapperosorry, *a chance10:52
openstackgerritMarco Chiappero proposed openstack/kuryr-libnetwork: [WIP] Driver based model for kuryr-libnetwork  https://review.openstack.org/40036510:53
*** janki has joined #openstack-kuryr10:58
openstackgerritMarco Chiappero proposed openstack/kuryr-libnetwork: [WIP] Driver based model for kuryr-libnetwork  https://review.openstack.org/40036511:12
mchiapperook, rebased once again11:15
mchiapperoplease review11:15
mchiapperoI might add a hook for ipam_request_pool but I might not, or do it in a follow up patch11:16
*** yedongcan1 has joined #openstack-kuryr11:17
openstackgerritMarco Chiappero proposed openstack/kuryr-libnetwork: [WIP] Driver based model for kuryr-libnetwork  https://review.openstack.org/40036511:30
*** limao has quit IRC11:34
*** david-lyle_ has joined #openstack-kuryr11:35
*** david-lyle has quit IRC11:37
mchiapperojanonymous: is 405203 done?11:46
mchiapperoit's probably the only change I would like to be merged before our patch11:47
mchiappero:D11:47
*** tonanhngo has joined #openstack-kuryr12:02
*** tonanhngo has quit IRC12:03
*** oanson has joined #openstack-kuryr12:13
*** yedongcan1 has left #openstack-kuryr12:37
*** garyloug has joined #openstack-kuryr12:42
*** pcaruana has quit IRC13:05
*** pcaruana has joined #openstack-kuryr13:08
*** fkautz has quit IRC13:28
*** fkautz has joined #openstack-kuryr13:29
*** mchiappero has quit IRC13:52
*** janki has quit IRC13:59
*** mchiappero has joined #openstack-kuryr14:06
*** yamamoto has joined #openstack-kuryr14:25
openstackgerritMarco Chiappero proposed openstack/kuryr-libnetwork: [WIP] Driver based model for kuryr-libnetwork  https://review.openstack.org/40036514:33
*** yamamoto has quit IRC14:39
*** pcaruana has quit IRC14:42
*** yamamoto has joined #openstack-kuryr14:44
*** saneax is now known as saneax-_-|AFK14:52
*** pcaruana has joined #openstack-kuryr14:56
*** tonanhngo has joined #openstack-kuryr15:02
*** tonanhngo has quit IRC15:02
*** yamamoto has quit IRC15:10
*** yamamoto has joined #openstack-kuryr15:14
*** yamamoto has quit IRC15:16
*** yamamoto has joined #openstack-kuryr15:18
*** vikasc has joined #openstack-kuryr15:18
*** yamamoto has quit IRC15:21
*** yamamoto has joined #openstack-kuryr15:43
*** yamamoto has quit IRC15:47
*** yamamoto has joined #openstack-kuryr15:48
*** hongbin has joined #openstack-kuryr15:59
*** tonanhngo has joined #openstack-kuryr16:09
openstackgerritMarco Chiappero proposed openstack/kuryr-libnetwork: [WIP] Driver based model for kuryr-libnetwork  https://review.openstack.org/40036516:21
apuimedo|awaymchiappero: it is not multithreading unless you run it under uwsgi (In contrib I have some sample uwsgi for the docker container)16:27
*** mattmceuen has joined #openstack-kuryr16:30
*** yamamoto has quit IRC16:33
*** yamamoto has joined #openstack-kuryr16:37
*** yamamoto has quit IRC16:41
*** yamamoto has joined #openstack-kuryr16:43
*** yamamoto has quit IRC16:43
apuimedo|awaymchiappero: still fails the unit tests16:44
*** yamamoto has joined #openstack-kuryr16:46
mchiapperoI know, working on it16:48
mchiapperothere are a few things I'm not sure about, I'll ask later16:48
mchiapperobut what I don't understand is whether the code is ok with you or not16:49
*** yamamoto has quit IRC16:51
apuimedo|awaymchiappero: I'm reviewing it now16:52
apuimedo|awaymchiappero: 'or_throw' Java is leaking!16:55
apuimedo|awayxD16:55
mchiapperoit's rather c++, not java17:01
mchiapperonever saw anything like that in java17:01
mchiapperoit would be possible to cache the port_id there, but then we would need locks17:02
mchiapperolet's do that later, if useful17:02
*** pcaruana has quit IRC17:03
apuimedo|awayI'm gonna post other comments asap17:04
mchiapperoI'm still not 100% sure on certain expectations from neutron, some values are optional, but still there and not removable, the API is clear with what is mandatory and what is not, but still...17:04
apuimedo|awayI'm on driver.py17:04
mchiapperocool, thanks :)17:04
mchiapperootherwise UT can't be fully unblocked17:04
mchiapperoand I need some help there, I have a few questions17:05
apuimedo|awaywhich?17:06
mchiapperoUhm, I need to check exactly but do we need to test each driver? (I guess so)17:11
apuimedo|awayyup17:11
mchiapperoWhen mocking elsewhere, which one should be faked?17:11
mchiapperoany behaviour is fine?17:12
apuimedo|awayin a few cases you can maybe use a sentinel17:12
mchiapperothat is?17:12
mchiapperoso, say successes, are to be tested agains all the drivers or one is fine?17:13
apuimedo|awayfor each driver you only test its specific part17:13
*** garyloug has quit IRC17:14
apuimedo|awayand for the generic part, you test that the right driver method is being selected17:14
mchiapperoyes, but for testing controllers17:14
*** yamamoto has joined #openstack-kuryr17:15
mchiapperoand faking any  driver there is fine?17:15
apuimedo|awayhttps://github.com/openstack/kuryr-kubernetes/blob/97e8cad63d0523952cc325057bf19f29b758c88b/kuryr_kubernetes/tests/unit/controller/drivers/test_generic_vif.py17:15
apuimedo|awayexactly17:15
mchiapperoI'll have a look :)17:15
apuimedo|awayfaking driver should be used17:15
mchiapperothanks17:15
apuimedo|awaythanks to you ;-)17:15
*** yamamoto has quit IRC17:18
apuimedo|awaymchiappero: review posted17:28
mchiapperothank you, I'll have a look asap17:29
apuimedo|away;-)17:31
apuimedo|awayyou're welcome17:31
*** apuimedo|away is now known as apuimedo17:31
mchiapperohave you been gentle enough? :P17:31
*** yamamoto has joined #openstack-kuryr17:34
apuimedohopefully17:36
*** yamamoto has quit IRC17:36
*** yamamoto has joined #openstack-kuryr17:39
mchiapperoapuimedo: https://review.openstack.org/#/c/400365/7/kuryr_libnetwork/port_driver/drivers/nested.py@17717:44
mchiapperoI agree with your comment BTW17:44
mchiapperoregarding _get_port_from_host_iface_or_throw the two methods can be merged but have a slighly differen purposes17:46
mchiappero*different17:46
*** yamamoto has quit IRC17:52
*** yamamoto has joined #openstack-kuryr17:56
*** yamamoto has quit IRC17:58
*** vikasc has quit IRC18:00
*** yamamoto has joined #openstack-kuryr18:00
*** jgriffith_AutoAw is now known as jgriffith18:14
*** yamamoto has quit IRC18:22
*** david-lyle_ is now known as david-lyle19:13
apuimedomchiappero: can you expand on the different purposes?19:17
*** jgriffith is now known as jgriffith_AutoAw19:24
*** jgriffith_AutoAw is now known as jgriffith19:40
*** openstack has joined #openstack-kuryr19:44
mchiapperothe first one is for retrieving the matching port, the second is more for lookup purposes (at the moment retrieving all the time), and have different contract, I don't personally understand what you mean by "idiomatic", also the first one can throw, but has a different contract19:46
mchiapperohttp://paste.openstack.org/show/prSMkVmlJlVMYv0O4oZs/19:46
mchiapperoanyway I'll place everything in a single method19:47
*** mattmceuen is now known as mattmceuen_away19:51
*** mattmceuen_away is now known as mattmceuen20:16
*** mattmceuen is now known as mattmceuen_away20:53
*** mattmceuen_away is now known as mattmceuen21:15
openstackgerritMarco Chiappero proposed openstack/kuryr-libnetwork: [WIP] Driver based model for kuryr-libnetwork  https://review.openstack.org/40036521:39
*** mattmceuen is now known as mattmceuen_away22:16
*** jgriffith is now known as jgriffith_AutoAw23:52

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