Friday, 2017-03-17

*** uck has quit IRC00:19
*** amotoki has joined #tacker00:37
*** amotoki has quit IRC00:41
openstackgerritMerged openstack/tacker master: Updated from global requirements  https://review.openstack.org/44576000:59
*** amotoki has joined #tacker01:45
*** amotoki has quit IRC01:50
*** s3wong has quit IRC01:51
*** vishnoianil has quit IRC02:00
*** bobh has joined #tacker03:09
*** bobh has quit IRC03:32
*** amotoki has joined #tacker03:46
*** amotoki has quit IRC03:51
*** bobh has joined #tacker03:56
*** bobh has quit IRC04:01
*** gongysh has joined #tacker04:27
openstackgerritMerged openstack/tacker master: fix function tacker_check_and_download_cirros() error  https://review.openstack.org/44108004:32
openstackgerritMerged openstack/tacker master: Replace yaml.load with yaml.safe_load; Replace yaml.dump with yaml.safe_dump;  https://review.openstack.org/44578404:35
openstackgerritqtlu proposed openstack/tacker master: Use HostAddressOpt for opts that accept IP and hostnames  https://review.openstack.org/44684304:45
*** KanagarajM has joined #tacker04:47
*** xianghui has joined #tacker04:58
*** janki has joined #tacker05:14
*** tung_doan_fk has joined #tacker05:19
*** tbh has joined #tacker05:46
*** trinaths has joined #tacker05:51
*** tbh has quit IRC05:58
tung_doan_fkgongysh: pls help review this serious bug: https://review.openstack.org/#/c/443672/906:02
tung_doan_fkthanks06:02
gongyshtung_doan_fk, sure, wait for you recheck result.06:03
openstackgerritgongysh proposed openstack/tacker-specs master: introduce a scalable task scheduling framework  https://review.openstack.org/43930006:10
gongyshtung_doan_fk, hi06:11
*** vishnoianil has joined #tacker06:12
tung_doan_fkgongysh: hi there06:14
gongyshdo you want to do vim worker under task scheduling framework?06:14
gongyshif so, I will add your name in task scheduling BP06:15
*** tbh has joined #tacker06:15
tung_doan_fkgongysh: initially i have a patch for monitoring worker: https://blueprints.launchpad.net/tacker/+spec/vnf-policy-monitoring-worker06:16
tung_doan_fkgongysh: could i have chance to do it?06:16
tung_doan_fkgongysh: if so, pls add me to your bp06:16
tung_doan_fkgongysh: this patch https://review.openstack.org/#/c/443929/ may support for the future work06:17
*** Vijayendra has joined #tacker06:30
openstackgerritgongysh proposed openstack/tacker master: Provide a tool to generate a VNFC image  https://review.openstack.org/44584806:32
gongyshtung_doan_fk, yes. I will assign vnf-policy-monitoring-worker to you.06:33
tung_doan_fkgongysh: thanks. :)06:34
gongyshtung_doan_fk, for https://review.openstack.org/#/c/443929/4/tacker/vnfm/monitoring_policy.py, I thought you agreed to separate the policy class into their own python file.06:35
tung_doan_fkgongysh: yes.. i will use an abstract class and have separated classes for monitoring policies. Is it ok for you?06:37
gongyshfine06:44
tung_doan_fkgongysh: thanks.. will upload new changes tomorrow06:45
openstackgerritgongysh proposed openstack/tacker master: Fix monitoring issue for multiple VDUs  https://review.openstack.org/44367206:55
openstackgerritgongysh proposed openstack/tacker-specs master: introduce a scalable task scheduling framework  https://review.openstack.org/43930006:58
*** tung_doan_fk has quit IRC07:06
*** gongysh has quit IRC07:07
*** gongysh has joined #tacker07:10
*** giuseppe1992 has joined #tacker07:17
trinathsgongysh: Hi07:20
trinathsgongysh: I'm try the mox patch, but was not good in modifying it, here a try http://paste.openstack.org/show/603078/ I was unable find the error.  any clues ?07:21
gongyshtrinaths,        resp = self.client.request(ENDPOINT_URL + '/resource', 'GET',07:33
gongysh                          headers={}07:33
trinathsgongysh: yes.07:34
trinathsgongysh: any error there ?07:34
trinathsgongysh: as you see, the expected call and actual call are the same.07:34
gongyshtrinaths, you cannot do this way.07:41
gongyshthis test nothings07:41
gongyshtest -> tests.07:41
gongyshtrinaths, test client.do_request just like before in this function.07:43
*** amotoki has joined #tacker07:48
*** amotoki has quit IRC07:52
trinathsgongysh: oh! ok07:55
trinathsgongysh: then for client.request, its the mock test way07:57
trinathsgongysh: rather than using stuboutwithmock, i have used @mock.patch.object07:58
trinathsgongysh: and moved mox, to mock based.07:58
gongyshthat is fine07:58
trinathsgongysh: as you can see in the test-run, below the code, expected and actual call are the same. but it returns an error.07:59
trinathsgongysh: was unable to plot the cause for the same.07:59
gongyshtrinaths,  test codes should work like this:  tested_code() that will be call b.c()08:01
trinathsgongysh: so where I'm wrong08:01
trinathsgongysh: at http://paste.openstack.org/show/603078/08:01
gongyshin test case:  mock b.c which will be called by tested_code, and then call tested_code in your test case, and then assert b.c() is called liked exepcted way.08:02
trinathsgongysh: agreed.08:03
gongyshtrinaths, then you can look at your code.08:03
gongyshyou are call b.c that is mocked.08:03
gongyshcall -> calling08:03
gongyshso it tests nothing at all.08:04
trinathsgongysh: like this, http://paste.openstack.org/show/603083/08:05
gongyshthe client.do_request should be the tested code like before, the client.request is the mocked08:05
gongyshyou should compare your case with previous one.08:06
trinathsgongysh:  then mock is not required here.08:07
gongysh@mock.patch('tackerclient.client.HTTPClient.request')08:08
gongysh    def test_get_noauth(self, mock_request):08:08
gongysh        client.do_request(xxxx  )08:08
gongysh        mock_request.assert_called_once_with(08:08
gongysh                ENDPOINT_URL + '/resource', 'GET',08:08
gongysh                headers=test.MatchType(dict))08:08
trinathsgongysh: ah! do_request must be tested before,08:08
gongyshthe client's do_request is the target tested code, the request() is the mocked one. and then assert the request() is called like expected way.08:09
trinathsgongysh: understood my error. thank you sir.08:10
openstackgerritgongysh proposed openstack/tacker master: Arrange unit test codes according to tested code directory  https://review.openstack.org/44689008:37
*** diga has joined #tacker09:12
*** yifei has quit IRC09:21
*** trinaths has left #tacker09:27
*** giuseppe1992 has quit IRC09:33
*** amotoki has joined #tacker09:48
openstackgerritgongysh proposed openstack/tacker master: Fix file exists bug when creating network in devstack.  https://review.openstack.org/44531109:52
*** amotoki has quit IRC09:53
*** saju_m has joined #tacker09:53
*** trinaths has joined #tacker10:02
*** trinaths has left #tacker10:30
*** KanagarajM has quit IRC10:35
*** janki has quit IRC10:44
openstackgerritgongysh proposed openstack/tacker master: Arrange unit test codes according to tested code directory  https://review.openstack.org/44689010:55
*** gongysh has quit IRC10:56
*** xianghui has quit IRC11:06
*** giuseppe1992 has joined #tacker11:08
giuseppe1992Hi11:09
tung_doangiuseppe1992: Hi there11:30
*** amotoki has joined #tacker11:49
*** amotoki has quit IRC11:53
*** tbh has quit IRC12:14
*** mohankumar has quit IRC12:15
*** trinaths has joined #tacker13:03
*** amotoki has joined #tacker13:29
*** amotoki has quit IRC13:33
*** KanagarajM has joined #tacker13:38
*** diga has quit IRC13:38
*** KanagarajM has quit IRC13:38
*** KanagarajM has joined #tacker13:45
*** gongysh has joined #tacker14:06
*** bobh has joined #tacker14:07
*** bobh has quit IRC14:07
*** bobh has joined #tacker14:07
*** KanagarajM has quit IRC14:08
*** KanagarajM has joined #tacker14:08
gongyshsridhar_ram, KanagarajM , dkushwaha ,  what are your comments about https://review.openstack.org/43930014:11
gongyshI think  tung_doan diga have agreed.14:12
*** saju_m has quit IRC14:22
*** KanagarajM has quit IRC14:25
*** KanagarajM has joined #tacker14:26
*** KanagarajM has quit IRC14:27
*** KanagarajM has joined #tacker14:27
*** gongysh has quit IRC14:39
*** Vijayendra has quit IRC14:42
*** KanagarajM has quit IRC15:07
*** KanagarajM has joined #tacker15:13
*** KanagarajM has quit IRC15:24
*** uck has joined #tacker15:46
giuseppe1992Hi, I'm trying to install tacker. I'm following this https://docs.openstack.org/developer/tacker/install/manual_installation.html. When I try to register the default VIM with :"tacker vim-register --is-default --config-file config.yaml        --description 'Openstack Liberty' Site1". the output is: "No handlers could be found for logger "tackerclient.shell".How can I fix it?16:03
*** vishwanathj has joined #tacker16:03
*** giuseppe1992 has quit IRC16:12
*** vishwanathj has quit IRC16:17
*** Vijayendra has joined #tacker16:21
*** uck has quit IRC17:00
*** bobh has quit IRC17:23
*** saju_m has joined #tacker17:32
*** uck has joined #tacker17:33
*** tbh has joined #tacker17:47
*** mohankumar has joined #tacker17:47
*** Vijayendra has quit IRC17:53
*** arturt__ has joined #tacker17:59
*** s3wong has joined #tacker18:02
*** arturt__ has quit IRC18:03
*** mohankumar has quit IRC18:14
*** uck_ has joined #tacker18:16
*** uck has quit IRC18:16
openstackgerritbharaththiruveedula proposed openstack/tacker master: Access the controller's mistral endpoint instead of VIM  https://review.openstack.org/43821118:17
*** bobh has joined #tacker18:23
*** bobh has quit IRC18:28
*** bobh has joined #tacker18:38
*** vishnoianil has quit IRC18:50
*** arturt__ has joined #tacker18:55
*** uck_ has quit IRC19:07
*** uck has joined #tacker19:07
*** arturt__ has quit IRC19:24
*** uck has quit IRC19:31
*** uck has joined #tacker19:34
*** tbh has quit IRC19:35
*** arturt__ has joined #tacker19:37
*** arturt__ has quit IRC19:44
openstackgerritTrinath Somanchi proposed openstack/python-tackerclient master: Refactor mox references to use the mock library in pythontackerclient  https://review.openstack.org/42981319:45
*** trinaths has left #tacker19:48
*** arturt__ has joined #tacker19:49
*** vishnoianil has joined #tacker19:50
*** arturt__ has quit IRC20:09
*** arturt__ has joined #tacker21:05
*** s3wong has quit IRC21:07
*** uck has quit IRC21:32
*** uck has joined #tacker21:33
*** arturt__ has quit IRC21:37
*** arturt__ has joined #tacker21:37
*** arturt__ has quit IRC21:38
*** bobh has quit IRC22:09
*** gongysh has joined #tacker22:40
gongyshdkushwaha, hi22:41
*** bobh has joined #tacker23:18
*** bobh has quit IRC23:56

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