Thursday, 2018-10-11

*** bobh has joined #tacker00:38
*** longkb has joined #tacker00:52
*** bhagyashris has joined #tacker01:14
*** bobh has quit IRC01:15
*** bobh has joined #tacker01:16
*** Dinesh_Bhor has joined #tacker01:21
*** bobh has quit IRC01:34
*** longkb has quit IRC01:50
*** longkb has joined #tacker01:51
*** longkb has quit IRC02:08
*** longkb has joined #tacker02:09
*** bobh has joined #tacker02:22
*** bobh has quit IRC02:30
*** longkb has quit IRC04:23
*** longkb has joined #tacker04:24
*** janki has joined #tacker04:26
*** dkushwaha has joined #tacker05:29
*** bhagyashris has quit IRC06:29
*** janki has quit IRC06:34
*** jchhatba_ has joined #tacker06:35
*** jchhatba_ has quit IRC06:46
*** janki has joined #tacker06:47
*** longkb has quit IRC06:49
*** longkb has joined #tacker06:50
*** longkb has quit IRC06:53
*** longkb has joined #tacker06:54
*** joxyuki has joined #tacker07:42
openstackgerritHiroyuki Jo proposed openstack/tacker master: [WIP] add a new VDU property `reservation`  https://review.openstack.org/60961007:55
*** Dinesh_Bhor has quit IRC08:03
openstackgerritHiroyuki Jo proposed openstack/tacker master: [WIP] add a new VDU property `reservation`  https://review.openstack.org/60961009:10
*** Dinesh_Bhor has joined #tacker09:14
*** Dinesh_Bhor has quit IRC09:28
nnsinghHi all, I am faicing issue while passing input value for new field under policy section. While creating VNF not able to access the input value from param file specified.09:51
nnsinghAny help??09:51
openstackgerritMerged openstack/tacker stable/queens: Imported Translations from Zanata  https://review.openstack.org/60748309:56
openstackgerritMerged openstack/tacker stable/rocky: Imported Translations from Zanata  https://review.openstack.org/60748509:57
openstackgerritMerged openstack/tacker master: Imported Translations from Zanata  https://review.openstack.org/60748409:57
*** shubham_potale has joined #tacker10:05
*** longkb has quit IRC10:06
*** Dinesh_Bhor has joined #tacker10:08
*** nnsingh is now known as n_singh10:14
*** joxyuki has quit IRC10:25
n_singhHi all, Not Getting error while running functional test under tacker.tests.functional.vnfm.test_tosca_vnf_alarm.VnfTestAlarmMonitor.test_vnf_alarm_scale # test case is failing while creating VNFD, ANy Help10:35
*** dkushwaha has quit IRC10:44
phuocn_singh, that test case is not stable10:49
phuoccan you share your VNFD, I hope I can see the problem10:50
n_singhphuoc: ok.10:50
n_singhphuoc: http://paste.openstack.org/show/731888/10:51
n_singhActually i am adding a new policy( reservation policy)10:52
n_singhIn the above temlate i have mentioned the "lease_id" as input parameter10:53
n_singhbut i am not able to get param value for lease_id. So how can i specify this lease_id in tacker_vnf_def.yaml so that it can be accessible as param file (This is another question).10:54
phuochttps://github.com/openstack/tacker/blob/master/samples/tosca-templates/vnfd/tosca-vnfd-param-values.yaml11:00
phuocyou can put your param value to yaml file like this one11:00
phuocand in create vnf command, specify --param-file to it11:02
n_singhphuoc: Yes i am doing the same but for flavor it is getting the input value but lease_id it is not getting11:06
n_singhphuoc: What about https://github.com/openstack/tacker/blob/master/tacker/tosca/lib/tacker_nfv_defs.yaml file11:07
n_singhIs it neccessary to add lease_id or policy here for using it as inout value11:08
phuocYou can add 'tosca.policies.tacker.Reservation' like this https://github.com/openstack/tacker/blob/master/tacker/tosca/lib/tacker_nfv_defs.yaml#L22011:10
n_singhphuoc: I am trying..11:23
*** Dinesh_Bhor has quit IRC11:26
shubham_potaleHi all , Durring vnf-creation if we use --config-file option like (tacker vnf-create --config-file CONFIG_FILE_NAME ) then in tackr side where that config data (the data which is inside the config file ) is actually used11:29
*** janki has quit IRC11:41
*** Dinesh_Bhor has joined #tacker11:44
*** Dinesh_Bhor has quit IRC11:45
*** janki has joined #tacker11:51
phuochi shubham_potale11:54
phuocI didn't follow that feature, but I hope I can give you the right solution :)11:55
phuocyou can look at tacker client side first, https://github.com/openstack/python-tackerclient/blob/master/tackerclient/osc/v1/vnfm/vnf.py#L115-L12411:55
phuocthe 'config' will be added in body like body['attributes']['body'] like above like11:56
phuocnow look at Tacker server side11:58
phuocin 'create_vnf' function, the config will be extracted as https://github.com/openstack/tacker/blob/master/tacker/vnfm/plugin.py#L396-L41511:59
phuocthe 'config' is used in the 'mgmt_call' function https://github.com/openstack/tacker/blob/master/tacker/vnfm/mgmt_drivers/openwrt/openwrt.py#L7912:01
phuocTacker will use ssh command to access the server and run add the config, but only openwrt is supported for now12:02
*** shubham_potale has quit IRC12:19
n_singhphuoc: can you please elaborate about lease_id issue. Not able to get lease_id from param file. Need little help  with adding reservation policy in https://github.com/openstack/tacker/blob/master/tacker/tosca/lib/tacker_nfv_defs.yaml12:46
*** shubham_potale has joined #tacker12:51
phuocn_singh, my mistake12:58
phuochttps://github.com/openstack/tacker/blob/master/tacker/tosca/lib/tacker_defs.yaml#L28912:58
phuocyou need to define a new policy, in that case it is tosca.policies.tacker.Reservation12:58
n_singhphuoc: i have define the new policy i.e. reservation like above12:59
n_singhhttp://paste.openstack.org/show/731893/12:59
*** janki has quit IRC13:00
phuocthat's right13:00
phuocbut because in tosca-parser, we don't have 'tosca.policies.Reservation'13:01
n_singhphuoc: with shared tosca template if i pass lease_id:'3651276121298612981929' like this it is working fine13:01
phuocyou can temporary set it with the value: 'tosca.policies.Root'13:01
n_singhbut if i pass  lease_id: { get_input: lease_id } like this and trying to create vnf with --param-file then it is givin error13:02
phuocyou also update tosca-parser like this one https://github.com/openstack/tosca-parser/blob/master/toscaparser/elements/TOSCA_definition_1_0.yaml#L94113:02
n_singhAll the implementation is completed like changes in tosca-parser and heat-translator as you mentioned above13:03
phuoctry with derived_from: tosca.policies.Root first13:03
phuocn_singh, that's great :)13:04
n_singhphuoc: http://paste.openstack.org/show/731894/ already did that13:04
n_singhThe only issue is lease_id is not replacing with value in param file13:04
*** bobh has joined #tacker13:05
phuochttp://paste.openstack.org/show/73189513:06
phuocn_singh ^13:06
*** longkb has joined #tacker13:09
n_singhphuoc: ok i am trying this13:11
n_singhphuaoc: not working (It is breaking my all heat-translator implementation)13:18
n_singhafter changing this i am getting heat-translator failed issue.13:19
phuochmm, I think you should debug _process_parameterized_input, https://github.com/openstack/tacker/blob/master/tacker/vnfm/infra_drivers/openstack/translate_template.py#L14613:29
*** pkaralis has quit IRC13:57
*** longkb has quit IRC14:12
*** openstackgerrit has quit IRC14:58
*** openstackstatus has quit IRC18:28
*** openstackstatus has joined #tacker18:31
*** ChanServ sets mode: +v openstackstatus18:31
*** bobh has quit IRC21:05
*** bobh has joined #tacker21:07
*** bobh has quit IRC21:11
*** bobh has joined #tacker21:40
*** bobh has quit IRC21:44
*** bobh has joined #tacker21:49
*** bobh has quit IRC22:12
*** openstackstatus has quit IRC22:28
*** openstackstatus has joined #tacker22:30
*** ChanServ sets mode: +v openstackstatus22:30

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