Thursday, 2016-12-01

*** shashank_hegde has quit IRC00:20
*** shashank_hegde has joined #openstack-kuryr00:22
*** limao has joined #openstack-kuryr00:29
*** yedongcan has joined #openstack-kuryr00:58
*** tonanhngo has quit IRC01:17
*** yedongcan has quit IRC01:20
*** yedongcan has joined #openstack-kuryr01:20
*** tonanhngo has joined #openstack-kuryr01:28
*** devlaps has quit IRC01:32
*** tonanhngo has quit IRC01:32
*** shashank_hegde has quit IRC01:40
*** hongbin has joined #openstack-kuryr01:42
*** shashank_hegde has joined #openstack-kuryr01:42
openstackgerritDongcan Ye proposed openstack/kuryr-libnetwork: DO NOT MERGE: TEST  https://review.openstack.org/40504301:50
*** shashank_hegde has quit IRC01:57
*** pmannidi has quit IRC01:58
*** pmannidi has joined #openstack-kuryr02:00
*** wanghua has joined #openstack-kuryr02:22
*** dougbtv has joined #openstack-kuryr02:42
*** yuanying has quit IRC02:51
*** yuanying has joined #openstack-kuryr02:51
openstackgerritMerged openstack/kuryr-libnetwork: Unittests with mock  https://review.openstack.org/39432402:51
*** saneax-_-|AFK is now known as saneax02:56
*** vikasc has quit IRC03:07
*** vikasc has joined #openstack-kuryr03:21
*** shashank_hegde has joined #openstack-kuryr03:28
*** vikasc has quit IRC03:45
*** yuanying has quit IRC03:46
*** vikasc has joined #openstack-kuryr03:58
*** yedongcan has quit IRC04:01
*** yedongcan has joined #openstack-kuryr04:01
*** yamamot__ has joined #openstack-kuryr04:16
*** hongbin has quit IRC04:21
*** yedongcan has quit IRC04:21
*** jgriffith is now known as jgriffith_away04:28
*** shashank_hegde has quit IRC04:31
*** saneax is now known as saneax-_-|AFK04:36
*** shashank_hegde has joined #openstack-kuryr04:36
*** tonanhngo has joined #openstack-kuryr04:37
*** yuanying has joined #openstack-kuryr04:48
*** yuanying_ has joined #openstack-kuryr04:55
*** yuanying has quit IRC04:57
*** yuanying has joined #openstack-kuryr05:02
*** yuanying_ has quit IRC05:04
*** shashank_hegde has quit IRC05:07
*** yuanying_ has joined #openstack-kuryr05:10
*** yuanying has quit IRC05:11
*** yedongcan has joined #openstack-kuryr05:33
*** yamamot__ has quit IRC05:37
*** yamamot__ has joined #openstack-kuryr05:37
*** pmannidi_ has joined #openstack-kuryr05:48
*** pmannidi has quit IRC05:48
*** pmannidi_ is now known as pmannidi05:48
*** janki has joined #openstack-kuryr05:56
*** shashank_hegde has joined #openstack-kuryr06:17
*** yuanying_ has quit IRC06:18
*** shashank_hegde has quit IRC06:45
*** saneax-_-|AFK is now known as saneax06:45
*** shashank_hegde has joined #openstack-kuryr06:54
*** oanson has joined #openstack-kuryr07:24
*** tonanhngo has quit IRC07:25
*** tonanhngo has joined #openstack-kuryr07:26
*** vikasc has quit IRC07:27
*** vikasc has joined #openstack-kuryr07:31
*** yuanying has joined #openstack-kuryr08:27
*** shashank_hegde has quit IRC08:32
*** lezbar has joined #openstack-kuryr08:49
*** lezbar has quit IRC08:51
*** gsagie has joined #openstack-kuryr08:52
apuimedo|awayivc_: can you confirm that when you install kuryr-kubernetes from master it pulls 0.2.0 ?09:01
*** gsagie has quit IRC09:03
openstackgerritJaivish Kothari(janonymous) proposed openstack/kuryr-libnetwork: WIP: Unittest with mock  https://review.openstack.org/40520309:09
ivc_apuimedo|away, i've not tried installing it after the requirements got merged. but i've manually patched upper-constraints.txt in requirements and it does pull 0.2.009:16
*** lezbar has joined #openstack-kuryr09:17
apuimedo|awayok09:21
*** apuimedo|away is now known as apuimedo09:21
apuimedoivc_: I'm now trying to fix the certificate generation09:21
janonymousalraddarla_: Hi, please continue with patch if you would like to work on mox, patch 405203 . i have uploaded semi completed one09:22
ivc_apuimedo now this is stupid... i've set kuryr-lib>=0.2.0 in requirements.txt but it does complain about conflict with requirements/requirements.txt having 0.1.009:22
apuimedoivc_: you can't :-)09:22
apuimedoI had to abandon my patch09:22
apuimedobecause of it09:22
ivc_apuimedo i'll set to 0.1.0, but that does not make sense - i'm using api from 0.2.0!09:22
apuimedoyou can't have different values on any project than in global requirements09:23
*** devvesa has joined #openstack-kuryr09:23
janonymousalraddarla_: let me know in case any assistance is required09:23
apuimedoI know09:23
apuimedotheir checker is a bit silly IMHO09:23
openstackgerritIlya Chukhnakov proposed openstack/kuryr-kubernetes: Experimental CNI & VIFBridge binding  https://review.openstack.org/40403809:23
apuimedothey should allow projects to enforce contrants that are subsets of global reuqirements09:23
ivc_yeah. otherwise it only leads to bugs09:24
apuimedoindeed09:25
apuimedowhen I fix the setup files I'll check with the requirements team09:25
apuimedothis is bothering09:25
*** yedongcan has left #openstack-kuryr09:36
*** wanghua has quit IRC09:38
*** yuanying_ has joined #openstack-kuryr09:38
*** garyloug has joined #openstack-kuryr09:40
*** yuanying has quit IRC09:41
*** huats has quit IRC09:45
*** lmdaly has joined #openstack-kuryr09:50
*** huats has joined #openstack-kuryr09:50
*** openstack has joined #openstack-kuryr10:03
*** ram___ has joined #openstack-kuryr10:12
ram___Hi. I am new to kuryr. How can i deploy Kuryr for just testing /gaining knowledge on that.10:14
ram___Is there any nice document (or) Anyone please provide me instruction on how to start with Kuryr.10:15
openstackgerritIlya Chukhnakov proposed openstack/kuryr-kubernetes: Experimental CNI & VIFBridge binding  https://review.openstack.org/40403810:17
*** tonanhngo has quit IRC10:26
*** _oanson has joined #openstack-kuryr10:31
*** tonanhngo has joined #openstack-kuryr10:32
*** tonanhngo has quit IRC10:34
*** oanson has quit IRC10:39
*** limao has quit IRC10:42
*** tonanhngo has joined #openstack-kuryr10:45
*** dougbtv has quit IRC10:46
*** tonanhngo has quit IRC10:47
*** janki has quit IRC10:57
*** tonanhngo has joined #openstack-kuryr10:58
*** tonanhngo has quit IRC11:00
*** janki has joined #openstack-kuryr11:01
*** tonanhngo has joined #openstack-kuryr11:06
openstackgerritMarco Chiappero proposed openstack/kuryr-libnetwork: Move interface creation and deletion  https://review.openstack.org/39454711:07
*** tonanhngo has quit IRC11:07
mchiapperoI hope I don't need to rebase again :P12:02
mchiapperoI'm sorry to ask again about mentioning the exception in the inline documentation, but I don't understand how they should be specified when you don't have them imported in that module12:03
*** tonanhngo has joined #openstack-kuryr12:04
*** lmdaly has quit IRC12:05
*** tonanhngo has quit IRC12:05
ivc_mchiappero, about your patch https://review.openstack.org/39454712:09
ivc_mchiappero, why do we use front-end 'app.post' api for unit tests?12:10
ivc_mchiappero, would not it be easier/cleaner if we tested our internal api's directly?12:10
mchiapperoivc_: that's the way code was already12:15
mchiapperoI just moved it from other files and updated to support the changes in controllers12:16
mchiapperowhat would you suggest?12:16
mchiapperomaybe we can think of another patch?12:17
ivc_mchiappero, i understand its outside the scope of your patch, but was just curious about why it is done the way it is done12:17
mchiapperoivc_: well I don't know :)12:18
*** tonanhngo has joined #openstack-kuryr12:18
*** tonanhngo has quit IRC12:18
ivc_mchiappero ok :)12:19
mchiapperomaybe git blame can help? :P12:20
mchiapperoivc_: "this is the tested method, right? maybe add a # comment to outline it"12:33
mchiapperoI'm not sure what you mean...12:33
*** garyloug has quit IRC12:35
*** tonanhngo has joined #openstack-kuryr12:37
*** tonanhngo has quit IRC12:38
*** dougbtv has joined #openstack-kuryr12:44
*** tonanhngo has joined #openstack-kuryr12:57
*** tonanhngo has quit IRC12:59
*** lmdaly has joined #openstack-kuryr13:07
*** tonanhngo has joined #openstack-kuryr13:11
*** tonanhngo has quit IRC13:12
*** lmdaly has quit IRC13:14
*** _oanson is now known as oanson13:20
apuimedoram___: you could use devstack :-)13:23
*** tonanhngo has joined #openstack-kuryr13:24
*** tonanhngo has quit IRC13:27
*** gsagie has joined #openstack-kuryr13:42
*** lmdaly has joined #openstack-kuryr13:43
apuimedoivc_: I found the issue already with the 1.4.6 file setup13:45
apuimedoI'll be pushing a patch in a moment13:45
*** garyloug has joined #openstack-kuryr13:46
*** limao has joined #openstack-kuryr13:47
*** lmdaly has quit IRC13:48
*** limao_ has joined #openstack-kuryr13:51
ram___apuimedo: Hi. In devstack local.conf file we need to just enable the kuryr service? Could you please provide that configuration file. (or) Is there any neat document for that?13:52
*** limao has quit IRC13:52
apuimedoin kuryr-libnetwork devstack directory there is a sample local.conf13:52
apuimedoalso in contrib/vagrant there are samples13:53
apuimedofor usage with vagrant13:53
*** garyloug has quit IRC13:57
mchiappero[commercial]: review https://review.openstack.org/39454713:58
mchiappero:P13:59
ram___apuimedo: OK. I will try that . thank you.13:59
ram___Can we deploy kuryr through kolla?13:59
ram___apuimedo: Can we deploy kuryr through kolla?13:59
ram___apuimedo: if we can do Please tell me how we can do in a detailed manner.14:01
*** oanson has quit IRC14:06
*** gsagie has quit IRC14:11
apuimedoram___: you can14:12
apuimedobut there was some issue with the kolla deployment that I didn't get around to debug yet14:13
apuimedo:(14:13
apuimedomchiappero: :-D14:13
ram___apuimedo: OK. Thanks14:15
ivc_mchiappero, regarding the '# comment to outline it' - there's a huge blob of ~100 lines code in that test and its quite hard to tell the 'preparation' part from the call to the function being tested.14:22
ivc_mchiappero, apuimedo, also it is nearly impossible to tell whats going on in that test and what calls are being tested without running it through debugger since these tests are calling front-end api and do not seem to be 'unit' tests but more of a 'mocked black-box' tests.14:28
*** janki has quit IRC14:29
openstackgerritLiping Mao proposed openstack/kuryr-libnetwork: container connect both bridge and kuryr network in Rally  https://review.openstack.org/39604814:29
apuimedoivc_: vikasc: https://review.openstack.org/40542614:46
apuimedothis is the fix14:47
*** saneax is now known as saneax-_-|AFK14:57
openstackgerritMerged openstack/kuryr-libnetwork: Unittest with mock  https://review.openstack.org/39478814:59
*** lmdaly has joined #openstack-kuryr15:01
*** devlaps has joined #openstack-kuryr15:02
mchiapperoivc_: I don't disagree but it was already that way :P15:02
mchiapperothat applies to the vast majority of UT there, can we split the refactoring from restructuring?15:05
openstackgerritMerged openstack/kuryr-libnetwork: Unittests with mock  https://review.openstack.org/39425115:05
*** tonanhngo has joined #openstack-kuryr15:07
*** tonanhngo has quit IRC15:08
openstackgerritMerged openstack/kuryr-libnetwork: Unittests with Mock and add a TestCase  https://review.openstack.org/39399615:10
*** lmdaly has quit IRC15:11
apuimedoalraddarla_: thanks for the mock changes15:12
alraddarla_apuimedo, glad I could help :)15:12
apuimedoalraddarla_: will you remove the remaining usages of mox?15:13
alraddarla_janonymous pointed me to a partially complete patch that is doing so in test_kuryr.py ...are there other files that still use mox as well?15:13
apuimedoI see kuryr_libnetwork/tests/unit/base.py15:16
apuimedokuryr_libnetwork/tests/unit/test_kuryr.py15:16
*** oanson has joined #openstack-kuryr15:21
alraddarla_Oh yes, I remember seeing base.py somewhere. I can do that15:21
*** tonanhngo has joined #openstack-kuryr15:21
*** tonanhngo has quit IRC15:22
alraddarla_https://review.openstack.org/#/c/394324/ & https://review.openstack.org/#/c/394001/  both have base.py ...I need to look into it more but is this file not complete then?15:24
apuimedoivc_: you decided against using OVO for the output then https://review.openstack.org/#/c/404038/5/kuryr_kubernetes/cni/api.py ?15:26
apuimedoalraddarla_: seems not15:26
apuimedodo 'git grep mox'15:26
apuimedoafter all got merged15:26
alraddarla_apuimedo, got it. I will work on that too!15:27
apuimedothanks!15:27
ivc_apuimedo yeah, the idea behind OVO was that we gonna support different versions, but then it came to me that it is the CNIRunner who defines the version. plus OVO still needs to be converted to CNI-valid json15:28
ivc_apuimedo so i must admit the whole idea about using OVO for CNI wasn't all that great, sry i made you waste time on that15:29
ivc_apuimedo, maybe we'll have to use OVO eventually if K8s will set CNI_VERSION and read output from CNI plugin. right now it does not seem to be the case15:32
*** jgriffith_away is now known as jgriffith15:32
ivc_apuimedo, haven't confirmed it in k8s code yet, but it does seem the only case k8s reads CNI output is for errors (for ip info it just checks 'eth0')15:34
*** tonanhngo has joined #openstack-kuryr15:40
apuimedoivc_: what do you mean with "just checks 'eth0'" ? It enters the namespace and checks?15:42
*** tonanhngo has quit IRC15:43
*** garyloug has joined #openstack-kuryr15:53
*** hongbin has joined #openstack-kuryr16:00
ivc_apuimedo, yeah. i guess thats why it requires 'nsenter'16:02
apuimedo:-)16:02
*** lmdaly has joined #openstack-kuryr16:08
mchiapperoquestion: is there a policy on ifs vs. returns?16:09
*** yamamoto has joined #openstack-kuryr16:09
ivc_mchiappero what do you mean?16:09
mchiapperoI mean for "if not contidion: return" rathern than "if condition: do_something"16:09
mchiapperoany preference?16:10
mchiapperowell, actually I think only one really makes sense in my case16:11
ivc_(IMHO) "if something: return" is ok at the start of function but not in the middle16:11
mchiapperothat's the case :)16:11
mchiapperoI realized of the move just after asking16:12
*** yamamot__ has quit IRC16:12
ivc_cool :)16:13
*** lmdaly has quit IRC16:22
*** devvesa has quit IRC16:31
*** limao_ has quit IRC16:35
*** yamamoto has quit IRC16:52
*** yamamoto has joined #openstack-kuryr16:52
*** yamamoto has quit IRC17:00
*** shashank_hegde has joined #openstack-kuryr17:14
*** diogogmt has joined #openstack-kuryr17:34
*** shashank_hegde has quit IRC17:39
*** tonanhngo has joined #openstack-kuryr17:47
*** garyloug has quit IRC17:47
*** tonanhngo has quit IRC17:48
*** tonanhngo has joined #openstack-kuryr17:49
*** saneax-_-|AFK is now known as saneax18:23
*** lmdaly has joined #openstack-kuryr18:26
*** vikasc has quit IRC18:27
openstackgerritLuis Tomas Bolivar proposed openstack/kuryr-libnetwork: Nested-Containers: trunk subports management  https://review.openstack.org/40246218:29
*** vikasc has joined #openstack-kuryr18:31
*** tonanhngo has quit IRC18:37
*** shashank_hegde has joined #openstack-kuryr18:42
*** lmdaly has quit IRC18:43
openstackgerritMarco Chiappero proposed openstack/kuryr-libnetwork: Move interface creation and deletion  https://review.openstack.org/39454719:19
*** david-lyle_ has joined #openstack-kuryr19:28
openstackgerritMarco Chiappero proposed openstack/kuryr-libnetwork: Move interface creation and deletion  https://review.openstack.org/39454719:28
*** david-lyle has quit IRC19:31
mchiapperocould you please approve this time?19:32
*** openstackgerrit has quit IRC19:32
mchiapperotest_leave_unbinding in test_leave.py was misplaced19:33
*** openstackgerrit has joined #openstack-kuryr19:33
mchiapperoand has been approved19:33
mchiapperohad to fix it19:33
*** openstackgerrit has quit IRC19:36
*** saneax is now known as saneax-_-|AFK19:40
*** lmdaly has joined #openstack-kuryr19:43
*** david-lyle_ is now known as david-lyle20:01
*** lmdaly has quit IRC20:26
*** openstack has joined #openstack-kuryr20:43
*** openstackgerrit has joined #openstack-kuryr20:47
openstackgerritMarco Chiappero proposed openstack/kuryr-libnetwork: Move interface creation and deletion  https://review.openstack.org/39454720:47
*** diogogmt has quit IRC21:45
*** oanson has quit IRC21:49
*** openstackgerrit has quit IRC22:03
dougbtvhey ram___ -- i wrote a blog article for kind of a "try kuryr / kuryr hello world" from a variety of documentation sources, in this case I use devstack and then install kuryr on it (and just have two containers ping one another) http://dougbtv.com/nfvpe/2016/12/01/kuryr/22:24
dougbtvalso for anyone else who would be interested, but, I wanted to operate kuryr, and really looking forward to seeing/trying/contributing to it openshift-on-openstack22:26
*** ivc_ has quit IRC22:37
apuimedodougbtv: ;-)22:51
apuimedohopefully we'll get to small demos of openshift on openstack with kuryr soon22:51
*** ivc_ has joined #openstack-kuryr22:54

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