Friday, 2016-08-26

*** gongysh has joined #tacker00:13
*** sripriya has quit IRC00:51
*** prashantD has quit IRC01:00
*** manikanta_tadi has joined #tacker01:07
openstackgerritTim Rozet proposed openstack/python-tackerclient: Add client support for VNFFG in NFVO  https://review.openstack.org/34138901:09
*** xiayu1 has joined #tacker01:13
*** xiayu has quit IRC01:15
*** KanagarajM has joined #tacker01:59
*** s3wong has quit IRC02:00
*** manikanta_tadi has quit IRC02:42
*** xiayu1 has quit IRC02:51
*** xiayu has joined #tacker02:56
*** gongysh has quit IRC03:10
*** vishnoianil has quit IRC03:16
*** gongysh has joined #tacker03:57
gongyshsridhar_ram, hi03:57
sridhar_ramgongysh: hi there03:58
*** gongysh_ has joined #tacker03:59
gongysh_sridhar_ram,  2016-08-26 11:51:22.976 10301 ERROR tacker.api.v1.resource HeatClientException: ERROR: Property error: : resources.VDU1.properties.key_name: : Error validating value 'userKey': The Key (userKey) could not be found.04:01
gongysh_sridhar_ram,  what is the cause which causes it? I am wondering ...04:02
gongysh_sridhar_ram,  topology_template:04:02
gongysh_  node_templates:04:02
gongysh_    VDU1:04:02
gongysh_      type: tosca.nodes.nfv.VDU.Tacker04:02
gongysh_      properties:04:02
gongysh_        image: cirros-0.3.4-x86_64-uec04:02
gongysh_        flavor: m1.tiny04:02
gongysh_        key_name: userKey04:02
gongysh_        availability_zone: nova04:02
gongysh_        mgmt_driver: noop04:02
gongysh_        config: |04:02
gongysh_          param0: key104:02
gongysh_          param1: key204:03
sridhar_ramgongysh: this functionality test in tacker needs Nova keypair with the name 'userKey' need to be created04:03
* sridhar_ram looking up04:03
sridhar_ramgongysh: see add_nova_key() in https://github.com/openstack/tacker/blob/master/tacker/tests/contrib/post_test_hook.sh04:05
sridhar_ram*add_key04:06
*** links has joined #tacker04:07
*** sripriya has joined #tacker04:09
*** haiwei has quit IRC04:12
gongyshsridhar_ram,  the nova userKey should be added to vim0 tenant or the tacker cli tenant?04:14
sridhar_ramgongysh: vim0 tenant04:14
gongyshsridhar_ram,    echo "Adding nova key"04:15
gongysh    source $DEVSTACK_DIR/openrc admin admin04:15
gongysh    userId=$(openstack user list | awk '/\ nfv_user\ / {print $2}')04:15
gongysh    nova keypair-add userKey --user $userId > keypair.priv04:15
gongyshsridhar_ram, got it.04:15
sridhar_ramgongysh: cool !04:16
*** janki has joined #tacker04:20
*** achatterjee has joined #tacker04:23
*** sripriya has quit IRC04:27
dkushwahasridhar_ram, hi05:27
dkushwahasridhar_ram, Kindly have a look into https://bugs.launchpad.net/python-tackerclient/+bug/1617157 and confirm the same05:32
openstackLaunchpad bug 1617157 in python-tackerclient "Unit test under tackerclient/tests/unit are geting executed" [Undecided,New] - Assigned to dharmendra (dharmendra-kushwaha)05:32
sridhar_ramdkushwaha: i think it was intentionally left that way early in the project (to avoid failures due to old legacy neutron tests). I think it is worth moving the path to what tests/unit and see where we stand now and fix any remaining issues.05:44
sridhar_ramdkushwaha: good find, thanks for bringing this up05:45
*** neel has joined #tacker05:52
*** sripriya has joined #tacker05:52
*** haiwei has joined #tacker06:12
*** sripriya has quit IRC06:12
*** sripriya has joined #tacker06:12
openstackgerritgongysh proposed openstack/tacker: Device refactor Part3: Rename device in codes  https://review.openstack.org/35220506:20
*** sripriya has quit IRC06:28
*** vishwanathj has joined #tacker06:43
*** amotoki has joined #tacker06:56
*** saju_m has joined #tacker06:59
openstackgerritvenkatamahesh proposed openstack/tacker: Fix the Attribute Error in nova.py  https://review.openstack.org/36092807:14
*** neel has quit IRC07:17
*** neel has joined #tacker07:22
openstackgerritSripriya Seetharam proposed openstack/python-tackerclient: cli: modify vnfd, param & config attr. to dict obj  https://review.openstack.org/36080607:57
*** openstackgerrit has quit IRC08:18
*** openstackgerrit has joined #tacker08:19
*** neel has quit IRC08:20
openstackgerritgongysh proposed openstack/tacker: Device refactor Part3: Rename device in codes  https://review.openstack.org/35220508:27
*** vishwanathj has quit IRC08:36
*** vishwanathj has joined #tacker08:37
*** gongysh has quit IRC08:44
*** manikanta_tadi has joined #tacker08:51
*** amotoki has quit IRC08:54
*** vishwanathj has quit IRC08:56
*** vishwanathj has joined #tacker08:57
* janki is away: will be back09:07
* janki is back (gone 00:00:13)09:08
*** lulei has quit IRC09:13
openstackgerritdharmendra kushwaha proposed openstack/python-tackerclient: Removing test cases for already removed methods  https://review.openstack.org/36102709:21
*** neel has joined #tacker09:35
*** mpsairam has quit IRC09:55
openstackgerritsajuptpm proposed openstack/python-tackerclient: [wip] Validate file size before uploading  https://review.openstack.org/34095010:06
*** vishwanathj has quit IRC10:06
*** vishwanathj has joined #tacker10:07
*** tbh has joined #tacker10:16
*** bharatht_ has joined #tacker10:16
openstackgerritsajuptpm proposed openstack/python-tackerclient: [wip] Validate file size before uploading  https://review.openstack.org/34095010:26
*** gongysh has joined #tacker10:27
*** KanagarajM has quit IRC10:30
*** janki has quit IRC10:43
*** janki has joined #tacker10:44
*** saju_m has quit IRC10:51
*** vishwanathj has quit IRC10:53
*** vishwanathj has joined #tacker10:54
*** neel has quit IRC11:04
openstackgerritvenkatamahesh proposed openstack/tacker: Clean up the imports according to hacking standards  https://review.openstack.org/35960811:19
openstackgerritvenkatamahesh proposed openstack/tacker: Delete unused pom.xml file from doc directory  https://review.openstack.org/36110311:29
*** vikasc has joined #tacker11:31
*** vikasc has left #tacker11:31
jankitbh: sridhar_ram ping11:35
*** amotoki has joined #tacker11:44
*** vishwanathj has quit IRC11:48
*** vishwanathj has joined #tacker11:49
*** manikanta_tadi has quit IRC12:18
*** trozet has quit IRC12:32
*** trozet has joined #tacker12:44
*** amotoki has quit IRC12:50
*** janki has quit IRC12:50
openstackgerritgongysh proposed openstack/tacker: Add a shell script for developers to prepare functional test env  https://review.openstack.org/36115312:51
openstackgerritvenkatamahesh proposed openstack/tacker: Clean up the imports according to hacking standards  https://review.openstack.org/35960812:54
openstackgerritvenkatamahesh proposed openstack/tacker: Clean up the imports according to hacking standards  https://review.openstack.org/35960812:56
*** amotoki has joined #tacker12:56
*** amotoki has quit IRC13:02
*** vikasc has joined #tacker13:03
*** vikasc has left #tacker13:03
*** gongysh has quit IRC13:04
openstackgerritTim Rozet proposed openstack/python-tackerclient: Add client support for VNFFG in NFVO  https://review.openstack.org/34138913:23
*** amotoki has joined #tacker13:31
*** amotoki has quit IRC13:38
*** links has quit IRC13:45
*** amotoki has joined #tacker13:53
openstackgerritvenkatamahesh proposed openstack/tacker: Clean up the imports according to hacking standards  https://review.openstack.org/35960814:01
*** brucet has joined #tacker14:02
*** brucet has quit IRC14:02
*** janki has joined #tacker14:09
*** dkushwaha__ has joined #tacker14:51
sridhar_ramjanki: ping15:11
jankisridhar_ram, wanted to discuss the comments on vnf_details patch https://review.openstack.org/#/c/340838/15:13
sridhar_ramjanki: sure15:13
jankisridhar_ram, have commented on Gerrit. Should I continue here still?15:14
*** tbh is now known as tbh_afk15:14
sridhar_ramjanki: no, i'm looking at the comments in gerrit, will respond there15:14
jankisridhar_ram, cool, thanks :)15:15
sridhar_ramjanki: beyond this, i know you wanted to discuss vnf-inline-template as well ?15:15
jankisridhar_ram, yes. regarding the specs.15:15
jankiDo we still have time for the client patch?15:15
sridhar_ramjanki: yeah, looks that work needs a tacker-specs..15:15
jankior should I wait for spec approval?15:16
jankisridhar_ram, ^^15:16
sridhar_ramjanki: the effort and implication seems to be non-trivial.. i think we shd get started writing the tacker-specs15:16
sridhar_ramjanki: this will be your first i believe, correct ? :)15:17
jankisridhar_ram, yes. first15:17
sridhar_ramjanki: cool, don't worry about this not landing in newton ...15:17
sridhar_ramjanki: one general approach i'd suggest for this work..15:18
jankisridhar_ram, please..15:18
sridhar_ramjanki: ... to continue to make use of the VNFD / VNFDAttributes db tables.. but someone "mark" those VNFDs as "private" or internal so that it doesn't show up in the VNFD Catalog...15:19
sridhar_ramjanki: any other approach will be too much surgery of the code base, with very less benefit15:20
sridhar_ramjanki: having this in-line template in VNFD table will also help trozet's vnffgd lookups as well15:20
jankisridhar_ram, I think the code changes need to be done only till _create_device_pre(). I have a code with if-else to accomodate non db-existing templates. We can have a look at both approaches.15:21
jankisridhar_ram, also the template needs to be mentioned somewhere for any future reference15:22
jankisridhar_ram, I was thinking to have it stored in "attributes" but your suggestion seems more reasonable15:23
*** dkushwaha has quit IRC15:23
*** dkushwaha__ is now known as dkushwaha15:24
sridhar_ramjanki: sure, we can discuss multiple options... are you comfortable writing a tacker-specs for this ?15:24
jankisridhar_ram, yes I am comfortable. I may need guidance/help here and there15:24
sridhar_ramjanki: sure, anytime.. this will be a good exposure for you15:25
jankisridhar_ram, not just in tacker, it is my first time writing any spec :)15:25
sridhar_ramjanki: super :)15:25
jankisridhar_ram, agreed.15:25
jankisridhar_ram, thanks for giving me such opportunity :)15:27
sridhar_ramjanki: sure, there are tons to do .. so this is just a warm up ;-)15:28
jankisridhar_ram, 1 more thing. This bug https://bugs.launchpad.net/tacker/+bug/159191415:32
openstackLaunchpad bug 1591914 in tacker "validate vnfd before persisting it in db" [Undecided,Confirmed] - Assigned to Janki Chhatbar (jankihchhatbar)15:32
jankisridhar_ram, IMO the logic would be to check for "tosca template" otherwsie raise an exception. So this could be moved to next cycle where are removing the support of legacy templates as well using the same logic.15:33
sridhar_ramjanki: this bug seems to be a duplicate of https://bugs.launchpad.net/tacker/+bug/148395315:42
openstackLaunchpad bug 1483953 in tacker "RFE: Introduce tacker-validate template validation for VNFD" [Low,In progress] - Assigned to Neeldhwaj Pathak (neel)15:42
sridhar_ramjanki: neel already has a patchset for that15:42
jankisridhar_ram, ohh, ohk15:44
sridhar_ramjanki: they are related .. one is asking to fail for "invalid" templates and another asking for "is-valid" like API / CLI15:45
jankisridhar_ram, this one adds a command to pre-validate a template before using, correct?15:47
*** tbh_afk is now known as tbh15:48
jankisridhar_ram, this https://review.openstack.org/#/c/333852/7/tacker/vm/plugin.py L620 should also be called in create_vnfd() to test for the templates that are not pre-validated.15:49
jankisridhar_ram, also currently tacker allows vnfd creation with HOT template as well. this issue too needs to be addressesd15:50
*** dkushwaha has quit IRC15:56
*** dkushwaha has joined #tacker16:08
openstackgerritdharmendra kushwaha proposed openstack/python-tackerclient: Removing test cases for already removed methods  https://review.openstack.org/36102716:08
*** links has joined #tacker16:44
*** sripriya has joined #tacker16:50
*** Murali_ has joined #tacker17:10
sridhar_ramjanki: tacker allowing HOT templates in VNFD is actually a good bug to have ;-)17:11
jankisridhar_ram, ohh, I believe the bug that i mentioned is becasue HOT is allowed :P17:12
sridhar_ramjanki: we will make use of this bug to make an official feature out of it :)17:13
jankisridhar_ram, cool...this should be documented too somewhere17:13
*** manikanta_tadi has joined #tacker17:14
sridhar_ramjanki: yes, once we some func & unit tests we can make it an official capability17:14
jankisridhar_ram, I would take to own this up17:15
sridhar_ramjanki: sure, can you write a blueprint in https://blueprints.launchpad.net/tacker/ to keep this in our queue ?17:16
jankisridhar_ram, sure. will submit 1 in 2 3 days17:17
sridhar_ramjanki: this is not a priority, we have many other loose ends to tie for newton release on the server side..17:19
sridhar_ramjanki: your help will be much appreciated there17:20
*** santoshk has joined #tacker17:20
jankisridhar_ram, sure..will look into those as well...17:21
sridhar_ramsripriya: https://review.openstack.org/341389 ready for merge ?17:21
sripriyasridhar_ram: merged it now17:22
sridhar_ramsripriya: jenkins failure in ur patchset.. on pagination ? that beats me .. http://logs.openstack.org/06/360806/2/check/gate-python-tackerclient-python27-ubuntu-xenial/67e3a27/testr_results.html.gz17:26
sridhar_ramsripriya: any clues ?17:26
sripriyasridhar_ram: yup same here, the issue is not seen when i test locally17:27
sripriyasridhar_ram: zooming on it17:27
sridhar_ramsripriya: okay..17:27
sridhar_ramtbh: ping17:28
tbhsridhar_ram, pong17:28
sridhar_ramtbh: we are close to client release deadline ... any chance your are available over the weekend to merge any last minute patchsets ?17:30
tbhsridhar_ram, yup sure17:30
sridhar_ramtbh: thanks a lot .. !17:31
sridhar_ramtbh:  we will switch focus to server side patchsets after this release.. including your VNFC17:32
sridhar_ramI mean "after this tackerclient release"17:32
tbhsridhar_ram, sure, that would be helpful17:32
*** janki has quit IRC17:34
*** vishwanathj has quit IRC17:38
*** vishwanathj has joined #tacker17:39
openstackgerritSantosh Kodicherla proposed openstack/tacker: Functional test for static ip support and anti_spoof_protection fields in tosca template  https://review.openstack.org/32410118:02
sridhar_ramtbh: sripriya: please review new ocata specs dir .. https://review.openstack.org/#/c/358156/ ?18:05
tbhsridhar_ram, sure18:17
*** manikanta_tadi has quit IRC18:17
dkushwahasripriya, hi18:30
*** s3wong has joined #tacker18:34
sripriyasridhar_ram: ack18:36
sripriyadkushwaha: hello18:36
dkushwahasripriya, while executing the test tackerclient.tests.unit.test_cli10_event.CLITestV10EventJSON , i am getting error : http://paste.openstack.org/show/564047/18:36
dkushwahasripriya, any clue on this18:36
dkushwahasripriya, actually while i am fixing to https://bugs.launchpad.net/python-tackerclient/+bug/1617157 ,  there are several issues occurring18:38
openstackLaunchpad bug 1617157 in python-tackerclient "Unit test under tackerclient/tests/unit are not getting executed" [Medium,In progress] - Assigned to dharmendra (dharmendra-kushwaha)18:38
*** amotoki has quit IRC18:40
sripriyadkushwaha: the event test cases are not executed at all on gate18:40
dkushwahasripriya, so should we this as it is?18:41
dkushwahashould we keep18:41
sripriyadkushwaha: i think we should add this under vm dir. for now, since we need the unit tests18:44
sripriyadkushwaha: and for the errors, they are genuine, i would request the author to fix these test errors18:45
sripriyavishwanathj: ^^18:45
sripriyasridhar_ram: ping18:45
dkushwahasripriya, ok, but regarding fixing to https://bugs.launchpad.net/python-tackerclient/+bug/1617157 , I am changing OS_TEST_PATH: ./tackerclient/tests/unit/vm  to /tackerclient/tests/unit/18:48
openstackLaunchpad bug 1617157 in python-tackerclient "Unit test under tackerclient/tests/unit are not getting executed" [Medium,In progress] - Assigned to dharmendra (dharmendra-kushwaha)18:48
sripriyasridhar_ram: regarding the py27 error on the client patch, quick analysis explains the error possibility, which is the pagination support by default is false for vnf_resource and the whole response is sent off in the 1st query, the 2nd query for pagination request in never executed at all , hence test case fails with a None response for the 2nd part of query18:48
dkushwahasripriya, so in that case all test will be executed and gate will fail.18:48
sripriyadksuhwaha: i think this requires fixing all tests cases in other modules and files relating to neutron18:48
dkushwahasripriya, right18:49
sripriyadksuwaha: i know you are already taking up the test refactoring18:50
sripriyadkushwaha: you can fix path as part of the refactoring18:50
sripriyasridhar_ram: one thing i’m not sure why it only failed once (and on the patch unrelated to my changes), why wasn’t it seen earlier is something i dont know yet18:51
dkushwahasripriya, ok fine. Thanks18:51
sripriyadkushwaha: thank you18:52
sripriyatrozet: ping18:52
trozetsripriya: hi18:52
openstackgerritSantosh Kodicherla proposed openstack/tacker: Functional test for static ip support and anti_spoof_protection fields in tosca template  https://review.openstack.org/32410118:52
sripriyatrozet: http://logs.openstack.org/06/360806/2/check/gate-python-tackerclient-python27-ubuntu-xenial/67e3a27/console.html#_2016-08-26_08_00_54_23790718:52
sripriyatrozet: to confirm, you dont intent to provide list_vnf_resources pagination right, wondering why the pagination test case was added since pagination_support is false18:53
trozetsripriya: i just added it because the other list commands included pagination (although some of the other unit tests for vnf were not right, their method declared "tests_pagination" but really htey just called the regular list test method18:55
sripriyatrozet: yesi saw that, but as it appears the test case failed because the response was null for the fake_query18:55
trozetsripriya: one sec18:56
sripriyatrozet: but i’m not sure why it only failed on gate, but is not reproducible locally or any of yours or others client patches18:56
*** vishwanathj has quit IRC18:56
trozetsripriya: it specifically passed in my setup, because i ran just that test case to make sure it worked18:57
*** vishwanathj has joined #tacker18:57
trozetsripriya: let  me pull it up one sec18:57
sridhar_ramdkushwaha: sripriya: here is the suggestion to bring in the tests in tests/unit level .. (a) remove neutron specific tests and (b) mark possible tacker tests but broken at this time and mark them disabled no_test_xyz() and (c) fix the actual test contents in phases and enable by removing the "no_" prefix18:58
*** vishnoianil has joined #tacker18:59
sripriyatrozet: i ran that test on my local setup too and dont see the error reproduced, but one observation is, the response {api_resource: [{'id': 'myid3', },18:59
sripriya                                 {'id': 'myid4', }]} was returned with the 1st part of response itself with reses1 = {api_resource: [{'id': 'myid1', },18:59
sripriya                                 {'id': 'myid2', }],18:59
sripriyasridhar_ram: what about the events tests cases?19:00
trozetsripriya: i only see the regular _test_list_resources_with_pagination, used in a single test casxe19:00
trozetcase19:00
trozetsripriya: looks liike in the test_cli10_event.py file19:01
trozetsripriya: does that one pass?19:01
sridhar_ramtrozet: sripriya: when u are done w/ this pagination topic, can you please look at the comment in the server patch on "error_reason" for resource-list .. https://review.openstack.org/#/c/340838/25/tacker/vm/plugin.py@638 ?19:02
*** tbh has quit IRC19:04
sripriyatrozet: that one is not tested at all and has errors19:04
trozetsripriya: ok i took the same exact method to make my pagination sub_resources one19:04
trozetsripriya: so im guessing there is a flaw in the logic of the method19:05
trozetsripriya: so what do we do? fix the flaw and modify the vnf pagination cases to use the real pagination test?19:05
sripriyatrozet: hmm, or it could be that pagination support is expected to be enabled in both vnf_resources and events which is not the case19:05
sripriyasridhar_ram: vishwanathj: if we plan to include events test cases we need to ASAP to move it to vm dir and fix all the events_path not found errors19:06
sripriyasridhar_ram: reg: error_reason will do19:06
sridhar_ramsripriya: sorry, r u referring to events unit tests in tackerclient ?19:07
sripriyasridhar_ram: yes19:07
sripriyasridhar_ram: none of the test cases pass19:08
sridhar_ramsripriya: vishwanathj: ouch, https://github.com/openstack/python-tackerclient/blob/master/tackerclient/tests/unit/test_cli10_event.py ...19:10
sridhar_ramvishwanathj: can u quickly scrub ?19:10
sridhar_ramvishwanathj: can u manually run this and make any fixes to required to pass ?19:11
sripriyatrozet: for now, i will remove the pagination test case for list_vnf_resources since we do not have that enabled for list_vnf_resources19:11
sridhar_ramvishwanathj: sripriya: we will figure out a way to alter testr.conf separately19:12
sripriyasridhar_ram: ack19:12
sridhar_ramsripriya: trozet: +1 to removing pagination test for now19:13
sridhar_ramsripriya: is this an intermittent issue ? Wonderful how it passed the initial patchset gate test19:14
trozetsridhar_ram: ok maybe just leave the test_sub_resources method, and just remove the test from vnf test file19:14
sripriyasridhar_ram: that is a mystery which i’m still uncovering, of how it passed through19:14
sridhar_ramtrozet: sounds good...who is doing the change ?19:14
sripriyatrozet: yes, doing the same,19:14
sridhar_ramsripriya: sounds good19:15
sripriyasridhar_ram: should this be a separate patch or can it go with the patch for yaml dict?19:15
sridhar_ramsripriya: separate pls19:15
trozetsripriya: do you want me to print the output19:15
trozetsripriya: locally19:15
sripriyatrozet: did you want to take it up?19:15
trozetsripriya: to compare19:15
sripriyatrozet: sure please19:15
sripriyadkushwaha: thanks for bringing up the events issue19:16
sridhar_ramFolks - i'm considering to disable "VnfTestPingMonitor.test_create_delete_vnf_monitoring_tosca_template" testcase temporarily until we cross the newton release deadlines and re-enable after. This testcase is causing too many false negatives. Just wastes too much developer and CI resource times (with rechecks). Thoughts?19:20
trozetsripriya: i get <tackerclient.tests.unit.test_cli10.MyResp object at 0x7f319b6aa910>, '{"resources": [{"id": "myid3"}, {"id": "myid4"}]}'19:21
sridhar_rams3wong: ping, need your help. are you around this afternoon as we need to land few last minute client fixes toward newton tackerclient release19:21
vishwanathjsripriya, sridhar_ram hi....back from lunch now....allow me to catch up19:22
sridhar_ramvishwanathj: sure, thanks19:22
*** sridhar_ram is now known as sridhar_ram_afk19:22
trozetsripriya: i'm wondering if it is a pip library that is not the same19:25
sripriyatrozet: which library?19:25
trozetsripriya: not sure, i just check requests, but that is fine19:26
*** saju_m has joined #tacker19:26
trozetsripriya: you notice in the log the fake_query is backwards?19:26
trozet- request.__call__('localurl/v1.0/vnfs/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/resources.json?limit=2&marker=myid2'19:26
trozet+ request.__call__('localurl/v1.0/vnfs/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/resources.json?marker=myid2&limit=2'19:26
trozetfake_query = "marker=myid2&limit=2"19:27
trozetsripriya: happening during serialize?19:28
sripriyatrozet: may be, not sure19:28
trozetsripriya: oslo.serialization==2.13.0  # git sha 1f86a6619:29
trozetsripriya: looks same as what i have19:30
sripriyatrozet: is that causing problem?19:30
vishwanathjdkushwaha hi19:31
trozetsripriya, sridhar_ram_afk: i see hte problem19:32
trozetsripriya: its the cliff version19:32
trozetException: (<tackerclient.tests.unit.test_cli10.MyResp object at 0x7f7fad950810>, '{"resources_links": [{"href": "localurl/v1.0/vnfs/aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa/resources.json?marker=myid2&limit=2", "rel": "next"}], "resources": [{"id": "myid1"}, {"id": "myid2"}]}')19:32
vishwanathjdkushwaha do you mind sharing the tacker --version output on your styems19:32
dkushwahavishwanathj, hello19:32
trozetsripriya: with cliff-2.0.0 it passes19:32
vishwanathjdkushwaha this is with regards to errors in http://paste.openstack.org/show/564047/19:33
dkushwahavishwanathj, it is 0.5.119:33
sripriyatrozet: gate is running cliff 2.2.0, how did it pass then in earlier patches19:33
*** links has quit IRC19:33
*** vishwanathj has quit IRC19:34
trozetsripriya: oh wait nvm19:34
*** vishwanathj has joined #tacker19:35
vishwanathjdkushwaha you need 0.6 .... i am assuming you are testing on a devstack system right,? would be good if you run devstack that will pull in the latest tacker-client patch19:36
vishwanathjdkushwaha I suspect that your devstack install is older19:36
trozetsripriya: hold on ive reproduced hte problem...narrowing it down19:36
*** vishwanathj has quit IRC19:37
*** vishwanathj has joined #tacker19:38
dkushwahavishwanathj, instead of running devstack, will it be ok, if i manually clone the client and install it?19:38
vishwanathjto rule out other issues, I would recommend to install the latest devstack19:39
vishwanathjlot of patchsets have merged19:39
dkushwahavishwanathj, ok, i will do it19:40
*** vishnoianil has quit IRC19:41
vishwanathjdkushwaha thanks...that way we do not have to waste time on other issues that may crop up19:41
trozetsripriya: yeah its cliff19:41
*** xiayu1 has joined #tacker19:43
trozetsripriya: actually its random19:44
trozetLOL19:44
trozetsripriya:https://paste.fedoraproject.org/414672/19:45
trozetsripriya: ah i think its the serialize randomly swithcing the URL19:46
sripriyatrozet: that is what i think as well, give me a moment19:46
*** xiayu has quit IRC19:47
trozetsripriya: got to run, later19:48
*** xiayu has joined #tacker19:48
sripriyatrozet: will you be pushing a patch for this?19:48
trozetsripriya: can you? I will be offline for  a while19:48
sripriyatrozet: done19:48
trozetsripriya: cool. thanks.19:48
*** sridhar_ram_afk is now known as sridhar_ram19:49
sridhar_ramvishwanathj: it is better if you can try this ur testbed... to get to the bottom of this quickly19:49
sridhar_ramvishwanathj: in fact, i see a issue with wrong resource used in the list .. https://github.com/openstack/python-tackerclient/blob/master/tackerclient/tests/unit/test_cli10_event.py#L6719:50
*** xiayu1 has quit IRC19:50
sridhar_ramvishwanathj: looks this slipped through the review :(19:50
vishwanathjsridhar_ram sure....but its very clear in dkushwaha setup, he does not have the client library that has the event related code19:51
vishwanathjsigh19:51
vishwanathjcut and paste error19:51
sridhar_ramvishwanathj: this is a unit test, which we can directly run on the git repo ?19:51
openstackgerritSripriya Seetharam proposed openstack/python-tackerclient: Remove list_vnf_resource_pagination unit test  https://review.openstack.org/36144419:58
vishwanathjsridhar_ram the command executed by dkushwaha (refer L1 at http://paste.openstack.org/show/564047/) passes on my latest devstacj19:59
vishwanathjs/devstacj/devstack20:00
vishwanathjsridhar_ram I will open a bug for your finding at https://github.com/openstack/python-tackerclient/blob/master/tackerclient/tests/unit/test_cli10_event.py#L67 and push a patchset soon....let me know if I should do that now20:01
dkushwahavishwanathj, can you please  modify the path in testr.conf with /tackerclient/tests/unit and re execute the test again?20:03
sripriyavishwanathj: the test cases are failing on my system as well20:05
*** sridhar_ram has quit IRC20:05
sripriyavishwanathj: AttributeError: 'Client' object has no attribute 'vnfd_events_path'20:05
vishwanathjsripriya what's the output of the command tacker --version on your devstack system?20:05
sripriyavishwanathj: i’m running tackerclient master20:06
openstackgerritSridhar Ramaswamy proposed openstack/python-tackerclient: Deprecate infra_driver and mgmt_driver  https://review.openstack.org/36034520:06
sripriyavishwanathj: not pip pkg20:06
sripriyavishwanathj: the above error is trying to search for vnfd_events patch variable which is not defined in client file20:07
vishwanathjsripriya do you mind still sharing the output of the tacker --version command? Thanks20:07
dkushwahasripriya, vishwanathj I also did the same, not pip pkg20:07
sripriyavishwanathj: refer https://github.com/openstack/python-tackerclient/blob/master/tackerclient/v1_0/client.py#L347-L34820:09
dkushwahavishwanathj, once after setting up my system, i used to manually install master branch .20:09
sripriyavishwanathj: http://paste.openstack.org/show/564058/20:09
sripriyavishwanathj: these test cases are not executed on gate since they are not under vm dir.20:11
vishwanathjdkushwaha where is the location of testr.conf?20:12
vishwanathjsripriya dkushwaha I have the latest devstack that installs 0.6.0 tackerclient and I execute dkushwaha command and it passes .. refer http://paste.openstack.org/show/564059/20:14
sripriyavishwanathj: this is did not run any tests at all as per the output in your paste link20:15
vishwanathjHHmm20:16
vishwanathjwow20:16
sripriyavishwanathj: usually you see something like this in outputL Ran 40 (+14) tests in 1.210s (+0.476s20:16
vishwanathjYou are right, I used to see that for the server tests20:17
sripriyavishwanathj:  you can try to run locally in IDE, the tests have logical errrors which is why its failing20:17
sripriyasridhar_ram: s3wong: please review https://review.openstack.org/#/c/361444/20:19
dkushwahavishwanathj, ".tester.conf" in parent dir of client20:20
vishwanathjdkushwaha got it20:22
openstackgerritSridhar Ramaswamy proposed openstack/python-tackerclient: Deprecate infra_driver and mgmt_driver  https://review.openstack.org/36034520:26
*** ksantoshk has joined #tacker20:36
*** ksk has joined #tacker20:37
*** santoshk has quit IRC20:38
*** ksantoshk has quit IRC20:41
*** sridhar_ram has joined #tacker20:48
*** saju_m has quit IRC21:05
*** sridhar_ram is now known as sridhar_ram_afk21:06
*** vishnoianil has joined #tacker21:13
*** vishwanathj has quit IRC21:22
*** vishwanathj has joined #tacker21:23
*** xiayu1 has joined #tacker21:28
openstackgerritMerged openstack/python-tackerclient: Remove list_vnf_resource_pagination unit test  https://review.openstack.org/36144421:30
*** xiayu2 has joined #tacker21:31
*** xiayu has quit IRC21:32
*** xiayu1 has quit IRC21:33
*** vishwanathj has quit IRC21:48
*** vishwanathj has joined #tacker21:49
openstackgerritSantosh Kodicherla proposed openstack/tacker: Functional test for static ip support and anti_spoof_protection fields in tosca template  https://review.openstack.org/32410121:57
*** vishwanathj has quit IRC22:14
*** vishwanathj has joined #tacker22:15
*** vishwanathj has quit IRC22:22
*** vishwanathj has joined #tacker22:23
openstackgerritMerged openstack/python-tackerclient: Deprecate infra_driver and mgmt_driver  https://review.openstack.org/36034522:34
*** vishwanathj has quit IRC22:35
*** vishwanathj has joined #tacker22:36
*** ksk has quit IRC22:37
*** sripriya has quit IRC22:52
*** sripriya has joined #tacker23:02
*** sridhar_ram_afk has quit IRC23:03
openstackgerritSripriya Seetharam proposed openstack/python-tackerclient: Modify MyURLComparator to handle deep match on URL  https://review.openstack.org/36152123:19
*** sridhar_ram_afk has joined #tacker23:22
openstackgerritMurali Birru proposed openstack/tacker: Added nova instance id to heat template outputs sections  https://review.openstack.org/36152323:28
openstackgerritMerged openstack/python-tackerclient: cli: modify vnfd, param & config attr. to dict obj  https://review.openstack.org/36080623:33
*** amit213 has quit IRC23:37
*** amit213 has joined #tacker23:40
*** vishwanathj has quit IRC23:40
*** vishwanathj has joined #tacker23:41
*** sridhar_ram_afk has quit IRC23:46
*** sripriya has quit IRC23:46

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