Thursday, 2016-05-05

*** lhcheng has quit IRC00:06
*** uck has quit IRC00:17
*** sripriya has quit IRC00:20
*** sripriya has joined #tacker00:39
*** sripriya_ has joined #tacker00:40
*** bobh has quit IRC00:43
*** sripriya has quit IRC00:43
*** bobh has joined #tacker00:50
*** bobh has quit IRC01:00
*** sripriya_ has quit IRC01:04
*** sripriya has joined #tacker01:06
*** prashantD_ has quit IRC01:13
*** sripriya_ has joined #tacker01:23
*** sripriya__ has joined #tacker01:25
*** sripriya has quit IRC01:27
*** sripriya_ has quit IRC01:28
*** sripriya__ has quit IRC01:30
*** santoshk has quit IRC01:30
*** bobh has joined #tacker02:15
*** bobh has quit IRC02:33
*** bobh has joined #tacker02:37
*** bobh has quit IRC02:38
*** bobh has joined #tacker02:40
openstackgerritcaoyue proposed openstack/tacker: Replace string format arguments with function parameters  https://review.openstack.org/31234002:46
*** bobh has quit IRC02:59
*** lhcheng has joined #tacker03:04
*** gongysh has joined #tacker03:30
*** sripriya has joined #tacker04:14
*** vishnoianil has quit IRC04:52
*** lhcheng has quit IRC05:28
*** manikanta_tadi has joined #tacker05:28
*** sripriya has quit IRC05:36
*** tbh has joined #tacker05:45
*** sbalakri has joined #tacker05:45
*** openstackgerrit has quit IRC06:03
*** openstackgerrit has joined #tacker06:03
*** janki has joined #tacker06:06
*** tbh has quit IRC06:34
*** vishnoianil has joined #tacker07:20
*** janki has quit IRC07:25
*** dmk0202 has joined #tacker07:57
*** dmk0202 has quit IRC08:03
*** tbh has joined #tacker08:04
*** mbound has joined #tacker08:10
*** dmk0202 has joined #tacker08:11
*** vishnoianil has quit IRC08:15
*** tbh_ has joined #tacker08:26
*** tbh has quit IRC08:27
*** gongysh has quit IRC08:27
*** tbh_ has quit IRC08:31
*** tbh has joined #tacker08:35
*** tbh_ has joined #tacker08:39
*** tbh has quit IRC08:40
*** tbh_ has quit IRC08:44
*** tbh has joined #tacker09:10
*** manikanta_tadi has quit IRC09:33
*** vishnoianil has joined #tacker09:39
*** manikanta_tadi has joined #tacker09:46
*** amotoki has quit IRC10:10
*** amotoki has joined #tacker10:11
*** tbh has quit IRC10:36
*** manikanta_tadi has quit IRC10:47
*** manikanta_tadi has joined #tacker10:59
*** tbh has joined #tacker11:03
*** tbh has quit IRC11:37
*** brucet has quit IRC11:41
*** brucet has joined #tacker12:07
*** brucet has quit IRC12:19
*** sbalakri has quit IRC12:32
*** sbalakri has joined #tacker12:33
*** manikanta_tadi has quit IRC12:50
*** sbalakri has quit IRC12:56
*** mbound has quit IRC12:59
*** sbalakri has joined #tacker13:16
*** bobh has joined #tacker13:18
*** srwilkers has joined #tacker13:21
*** mbound has joined #tacker13:28
*** openstackgerrit has quit IRC13:47
*** openstackgerrit has joined #tacker13:48
*** sbalakri has quit IRC14:17
*** mageshgv has joined #tacker14:38
*** srwilkers has quit IRC14:42
*** mbound has quit IRC15:03
*** lhcheng has joined #tacker15:06
*** mbound has joined #tacker15:09
*** srwilkers has joined #tacker15:16
*** sbalakri has joined #tacker15:18
*** dmk0202 has quit IRC15:38
*** sridhar_ram has joined #tacker15:48
*** tbh has joined #tacker15:51
*** uck has joined #tacker15:54
*** sbalakri has quit IRC15:55
*** lhcheng has quit IRC15:56
*** lhcheng has joined #tacker15:56
*** janki91 has joined #tacker16:24
*** srwilkers has quit IRC16:31
*** sridhar_ram1 has joined #tacker16:31
*** sridhar_ram has quit IRC16:33
*** sbalakri has joined #tacker16:34
*** twm2016 has joined #tacker16:36
*** tbh has quit IRC16:37
*** tbh has joined #tacker16:37
*** sbalakri has quit IRC16:40
*** uck has quit IRC16:45
*** uck has joined #tacker16:46
twm2016Hey guys, I'm doing a mox to mock refactor. Any idea on why I would be getting this error? http://paste.openstack.org/show/496158/16:53
twm2016- The error is unrelated to the MyUrlComparer and mox.ContainsKeyValue16:53
twm2016because I've already replaced those and have the same error. It seems to be tacker specific, my idea is that it is not returning the client I want.16:54
*** igordcar1 has quit IRC16:56
*** igordcard has joined #tacker16:57
twm2016would it be better if I upload a patch set and label it as WIP?17:01
*** janki91 has quit IRC17:01
*** mbound has quit IRC17:01
*** janki91 has joined #tacker17:02
*** mbound has joined #tacker17:02
*** srwilkers has joined #tacker17:11
*** prashantD has joined #tacker17:12
*** sripriya has joined #tacker17:13
*** zeih has joined #tacker17:18
*** srwilkers has quit IRC17:24
*** srwilkers has joined #tacker17:26
*** mbound has quit IRC17:27
*** mbound has joined #tacker17:28
*** mbound has quit IRC17:28
*** lhcheng has quit IRC17:31
*** lhcheng has joined #tacker17:31
*** zeih has quit IRC17:37
*** srwilkers has quit IRC17:46
*** vishwanathj has joined #tacker17:48
*** janki91 has quit IRC17:51
sripriyabobh: ping17:54
bobhsripriya: pong17:54
sripriyabobh: for vdu key injection, i see that heat translator already supports that, can we add that parameter directly into tosca template?17:56
sripriyabobh: i'm referring to the parameter key_name17:57
sripriyabobh: any clue if tosca interprets it the same way or does it have its own name for the property?17:57
bobhsripriya: so TOSCA has no concept of a key_name property on Compute, but tosca-parser and heat-translator will support it either as a parameter passed into the template or as a property17:58
bobhsripriya: so if we updated the VDU.Tacker definition with a key_name property, it would work17:59
bobhsripriya: I think the same holds true for user_data - if we define it as a property of VDU.Tacker it should get passed into the Heat Server defintion17:59
*** sbalakri has joined #tacker17:59
*** srwilkers has joined #tacker18:00
sripriyabobh: what do you mean by parameter vs property? what is the difference?18:00
bobha property is defined in the TOSCA data model, where a parameter is passed in at instantiation - generally a parameter will map to a property using get_param, but key_name is a special case in heat-translator where it will add the property to Compute even though the data model does not have a key_name property defined18:03
*** lhcheng has quit IRC18:04
*** lhcheng has joined #tacker18:04
*** vishnoianil has quit IRC18:05
bobhsripriya: the TOSCA data model - obvously the HOT data model has a key_name18:05
sripriyabobh: thanks for clarifying!18:06
bobhsripriya: np18:06
sripriyabobh: so we just go ahead and add this property to VDU.Tacker and not worry if TOSCA data model supports it or not..18:07
bobhsripriya: right - it will pass through - by adding it to VDU.TAcker we are adding it to the TOSCA data model via inheritance18:08
bobhsripriya: or whatever the opposite of inheritance is18:10
*** lhcheng has quit IRC18:11
*** lhcheng has joined #tacker18:11
sridhar_ram1bobh: sripriya: I'm glad we have this option of implementing TOSCA that is practical to deploy using Tacker by overlaying on top on "normative" tosca-nfv node_types...18:18
sridhar_ram1bobh: sripriya: ... the concern I've, we are missing minor version in tacker tosca template to track these "enhancements" .. any thoughts ?18:19
*** sridhar_ram1 is now known as sridhar_ram18:20
*** sbalakri has quit IRC18:24
*** tbh has quit IRC18:24
*** manikanta_tadi has joined #tacker18:27
bobhsripriya: good question18:28
bobhsripriya: I was thinking we might need a point release on the version at some point18:28
sridhar_rambobh: I'm going to assume that's the reply to my question :)18:33
sridhar_rambobh: tosca template has this "tosca_definitions _version:      tosca_simple_profile_for_nfv_1_0"18:33
bobhsridhar_ram: oops18:33
sridhar_rambobh: beyond that .. it supports "metadata:" where a version is typically captured.. mostly for the template itself (say 2.0 of CSR1000V VPN network service descriptor)18:34
sridhar_rambobh: I'm wondering we need a bit more authoritative version identifier that Tacker can "enforce"18:35
manikanta_tadisridhar_ram bobh sripriya : Hi All, Please review the patch https://review.openstack.org/#/c/295207/18:36
sridhar_ramfor e.g. (thinking out aloud here): within metadata introduce "tacker_tosca_version: 0.4.0" and have a version burnt in the tacker server so that we can do some validation and say  software with tacker_tacker_version 0.4.0 will reject a template with tacker_tosca_version: 0.5.018:37
sridhar_rammanikanta_tadi: sure, will add it to my queue18:38
manikanta_tadisridhar_ram : Thanks !18:38
bobhsridhar_ram: that's adding another level of complexity and validation - your call if you think it's necessary18:40
sridhar_rambobh: I know it is an order of complexity.. wondering if there are simpler solutions to enforce.18:40
bobhsridhar_ram: I guess it depends on how often it would change - once per cycle would be ok, more than that might be problematic18:41
sridhar_rambobh: I'm okay to take what is reasonable.. even once per cycle...18:42
sridhar_ramthis is the scenario I'd like to avoid (for the user community)...18:43
sridhar_ram.. they install mitaka tacker and throw a Newton template with ffg / nsd and tacker fails with some cryptic traceback and error mesg...18:43
sridhar_ram.. instead would prefer to error out telling the tosca template version is unsupported18:44
bobhsridhar_ram: it would fail to load the vnfd because tosca-parser would fail - we could clean up that exception handling to make it more clear what the exact problem is, if we don't already18:45
sridhar_rambobh: would be able to differentiate between malformed TOSCA template vs a template with unsupported node-types ?18:47
bobhsridhar_ram: I think so - tosca-parser is pretty good about specifying the problem, at least in most cases - we would have to try it and see18:47
sridhar_rambobh: okay.. in general, I like this idea of solving this by better exception handling... cost is low.. will go ahead and write an RFE after some more homework18:48
bobhsridhar_ram: I think the data model is going to be changing a lot so I'm a little reluctant to add another layer of validation to it, though I can see the benefits18:49
sridhar_rambobh: in fact that frequent change in the data model is what bothers me ... it is support nightmare.18:51
bobhsridhar_ram: welcome to NFV...18:51
sridhar_rambobh: :)18:53
bobhsridhar_ram: if it is mostly additions versus changes (like IP_address to address) we should be OK - it's the updates to existing data structures that hurt18:54
sridhar_rambobh: yep18:55
*** srwilkers has quit IRC19:06
*** srwilkers has joined #tacker19:08
openstackgerritSantosh Kodicherla proposed openstack/tacker: Developers guide for functional tests  https://review.openstack.org/24618319:10
openstackgerritSantosh Kodicherla proposed openstack/tacker: Developers guide for functional tests  https://review.openstack.org/24618319:12
*** vishnoianil has joined #tacker19:15
*** srwilkers has quit IRC19:28
*** zeih has joined #tacker19:30
*** srwilkers has joined #tacker19:34
*** manikanta_tadi has quit IRC19:36
*** srwilkers has quit IRC19:44
*** srwilkers has joined #tacker19:50
*** zeih has quit IRC19:56
*** srwilkers has quit IRC19:59
*** uck has quit IRC20:06
*** srwilkers has joined #tacker20:14
*** srwilkers has quit IRC20:17
*** dmk0202 has joined #tacker20:29
sridhar_ramtrozet: ping20:51
*** srwilkers has joined #tacker20:56
*** srwilkers has quit IRC20:57
*** amotoki has quit IRC20:58
*** mbound has joined #tacker21:01
*** uck has joined #tacker21:06
*** uck has quit IRC21:11
*** mbound has quit IRC21:24
openstackgerritTrevor McCasland proposed openstack/python-tackerclient: WIP: mox to mock refactor  https://review.openstack.org/31316521:35
twm2016^ just uploaded a patch I had a few questions about21:36
twm2016actually just one question21:36
sripriyatwm2016: hello21:43
openstackgerritMerged openstack/tacker: Replace string format arguments with function parameters  https://review.openstack.org/31234021:48
twm2016sripriya: Hi! So test_cli10.MyUrlComparator in vm/test_cli10_vim.py inherits from mox but I was told I only need refactor the tests inside the vm folder. Do you think I should refactor test_cli10.py too or create a separate file to replace the mox functions?21:52
twm2016- I'm worried the other files that use it may suffer from the changes. That's why I suggested the latter option.21:54
sripriyatwm2016: IMO, it is better we do it in the main file test_cli10.py, let us not make it complex by introducing new files for handling mox functons21:58
*** bobh has quit IRC21:58
sripriyatwm2016: i understand that test_cli10 is used by several files, but they should be fine to use the refactored method21:59
twm2016sripriya: Okay, I'll work on that. My idea of refactoring was to paste the source code of the mox classes into the file. The classes are pretty small to begin with.22:01
sripriyatwm2016: what do you mean by 'pasting source code of mox classes'?22:02
sripriyatwm2016: BTW to clarify your question on running tests within vm folder, yes right now tests inside vm dir. are the only ones that are executed, however that should not stop us from refactoring the common code base from which they inherit22:06
sripriyatwm2016: that is also a reminder we need to refactor our unit tests code base to remove unused files/tests, i will go ahead and create a RFE for this22:10
twm2016sripriya: The classes I was talking about were small classes that aren't really mox specific, they implement simple operators like and __ne__ __eq__, but I'll work around them. Thanks for creating a RFE I'll be working on this more.22:12
*** mageshgv has quit IRC22:15
sripriyatwm2016: thank you. appreciate your contribution, i will assign the RFE to you, feel free to ping if you need any help22:17
*** twm2016 has quit IRC22:17
*** sripriya has quit IRC22:52
*** zeih has joined #tacker22:57
*** zeih has quit IRC23:01
*** uck has joined #tacker23:08
*** vishnoianil has quit IRC23:08
*** uck has quit IRC23:13
*** santoshk has joined #tacker23:25
*** sripriya has joined #tacker23:29
*** sridhar_ram has quit IRC23:37
*** lhcheng has quit IRC23:41
*** dmk0202 has quit IRC23:42
*** bobh has joined #tacker23:51
*** santoshk has quit IRC23:52

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