*** bobh has joined #tacker | 00:38 | |
*** longkb has joined #tacker | 00:52 | |
*** bhagyashris has joined #tacker | 01:14 | |
*** bobh has quit IRC | 01:15 | |
*** bobh has joined #tacker | 01:16 | |
*** Dinesh_Bhor has joined #tacker | 01:21 | |
*** bobh has quit IRC | 01:34 | |
*** longkb has quit IRC | 01:50 | |
*** longkb has joined #tacker | 01:51 | |
*** longkb has quit IRC | 02:08 | |
*** longkb has joined #tacker | 02:09 | |
*** bobh has joined #tacker | 02:22 | |
*** bobh has quit IRC | 02:30 | |
*** longkb has quit IRC | 04:23 | |
*** longkb has joined #tacker | 04:24 | |
*** janki has joined #tacker | 04:26 | |
*** dkushwaha has joined #tacker | 05:29 | |
*** bhagyashris has quit IRC | 06:29 | |
*** janki has quit IRC | 06:34 | |
*** jchhatba_ has joined #tacker | 06:35 | |
*** jchhatba_ has quit IRC | 06:46 | |
*** janki has joined #tacker | 06:47 | |
*** longkb has quit IRC | 06:49 | |
*** longkb has joined #tacker | 06:50 | |
*** longkb has quit IRC | 06:53 | |
*** longkb has joined #tacker | 06:54 | |
*** joxyuki has joined #tacker | 07:42 | |
openstackgerrit | Hiroyuki Jo proposed openstack/tacker master: [WIP] add a new VDU property `reservation` https://review.openstack.org/609610 | 07:55 |
---|---|---|
*** Dinesh_Bhor has quit IRC | 08:03 | |
openstackgerrit | Hiroyuki Jo proposed openstack/tacker master: [WIP] add a new VDU property `reservation` https://review.openstack.org/609610 | 09:10 |
*** Dinesh_Bhor has joined #tacker | 09:14 | |
*** Dinesh_Bhor has quit IRC | 09:28 | |
nnsingh | Hi 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 |
nnsingh | Any help?? | 09:51 |
openstackgerrit | Merged openstack/tacker stable/queens: Imported Translations from Zanata https://review.openstack.org/607483 | 09:56 |
openstackgerrit | Merged openstack/tacker stable/rocky: Imported Translations from Zanata https://review.openstack.org/607485 | 09:57 |
openstackgerrit | Merged openstack/tacker master: Imported Translations from Zanata https://review.openstack.org/607484 | 09:57 |
*** shubham_potale has joined #tacker | 10:05 | |
*** longkb has quit IRC | 10:06 | |
*** Dinesh_Bhor has joined #tacker | 10:08 | |
*** nnsingh is now known as n_singh | 10:14 | |
*** joxyuki has quit IRC | 10:25 | |
n_singh | Hi 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 Help | 10:35 |
*** dkushwaha has quit IRC | 10:44 | |
phuoc | n_singh, that test case is not stable | 10:49 |
phuoc | can you share your VNFD, I hope I can see the problem | 10:50 |
n_singh | phuoc: ok. | 10:50 |
n_singh | phuoc: http://paste.openstack.org/show/731888/ | 10:51 |
n_singh | Actually i am adding a new policy( reservation policy) | 10:52 |
n_singh | In the above temlate i have mentioned the "lease_id" as input parameter | 10:53 |
n_singh | but 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 |
phuoc | https://github.com/openstack/tacker/blob/master/samples/tosca-templates/vnfd/tosca-vnfd-param-values.yaml | 11:00 |
phuoc | you can put your param value to yaml file like this one | 11:00 |
phuoc | and in create vnf command, specify --param-file to it | 11:02 |
n_singh | phuoc: Yes i am doing the same but for flavor it is getting the input value but lease_id it is not getting | 11:06 |
n_singh | phuoc: What about https://github.com/openstack/tacker/blob/master/tacker/tosca/lib/tacker_nfv_defs.yaml file | 11:07 |
n_singh | Is it neccessary to add lease_id or policy here for using it as inout value | 11:08 |
phuoc | You can add 'tosca.policies.tacker.Reservation' like this https://github.com/openstack/tacker/blob/master/tacker/tosca/lib/tacker_nfv_defs.yaml#L220 | 11:10 |
n_singh | phuoc: I am trying.. | 11:23 |
*** Dinesh_Bhor has quit IRC | 11:26 | |
shubham_potale | Hi 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 used | 11:29 |
*** janki has quit IRC | 11:41 | |
*** Dinesh_Bhor has joined #tacker | 11:44 | |
*** Dinesh_Bhor has quit IRC | 11:45 | |
*** janki has joined #tacker | 11:51 | |
phuoc | hi shubham_potale | 11:54 |
phuoc | I didn't follow that feature, but I hope I can give you the right solution :) | 11:55 |
phuoc | you can look at tacker client side first, https://github.com/openstack/python-tackerclient/blob/master/tackerclient/osc/v1/vnfm/vnf.py#L115-L124 | 11:55 |
phuoc | the 'config' will be added in body like body['attributes']['body'] like above like | 11:56 |
phuoc | now look at Tacker server side | 11:58 |
phuoc | in 'create_vnf' function, the config will be extracted as https://github.com/openstack/tacker/blob/master/tacker/vnfm/plugin.py#L396-L415 | 11:59 |
phuoc | the 'config' is used in the 'mgmt_call' function https://github.com/openstack/tacker/blob/master/tacker/vnfm/mgmt_drivers/openwrt/openwrt.py#L79 | 12:01 |
phuoc | Tacker will use ssh command to access the server and run add the config, but only openwrt is supported for now | 12:02 |
*** shubham_potale has quit IRC | 12:19 | |
n_singh | phuoc: 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.yaml | 12:46 |
*** shubham_potale has joined #tacker | 12:51 | |
phuoc | n_singh, my mistake | 12:58 |
phuoc | https://github.com/openstack/tacker/blob/master/tacker/tosca/lib/tacker_defs.yaml#L289 | 12:58 |
phuoc | you need to define a new policy, in that case it is tosca.policies.tacker.Reservation | 12:58 |
n_singh | phuoc: i have define the new policy i.e. reservation like above | 12:59 |
n_singh | http://paste.openstack.org/show/731893/ | 12:59 |
*** janki has quit IRC | 13:00 | |
phuoc | that's right | 13:00 |
phuoc | but because in tosca-parser, we don't have 'tosca.policies.Reservation' | 13:01 |
n_singh | phuoc: with shared tosca template if i pass lease_id:'3651276121298612981929' like this it is working fine | 13:01 |
phuoc | you can temporary set it with the value: 'tosca.policies.Root' | 13:01 |
n_singh | but if i pass lease_id: { get_input: lease_id } like this and trying to create vnf with --param-file then it is givin error | 13:02 |
phuoc | you also update tosca-parser like this one https://github.com/openstack/tosca-parser/blob/master/toscaparser/elements/TOSCA_definition_1_0.yaml#L941 | 13:02 |
n_singh | All the implementation is completed like changes in tosca-parser and heat-translator as you mentioned above | 13:03 |
phuoc | try with derived_from: tosca.policies.Root first | 13:03 |
phuoc | n_singh, that's great :) | 13:04 |
n_singh | phuoc: http://paste.openstack.org/show/731894/ already did that | 13:04 |
n_singh | The only issue is lease_id is not replacing with value in param file | 13:04 |
*** bobh has joined #tacker | 13:05 | |
phuoc | http://paste.openstack.org/show/731895 | 13:06 |
phuoc | n_singh ^ | 13:06 |
*** longkb has joined #tacker | 13:09 | |
n_singh | phuoc: ok i am trying this | 13:11 |
n_singh | phuaoc: not working (It is breaking my all heat-translator implementation) | 13:18 |
n_singh | after changing this i am getting heat-translator failed issue. | 13:19 |
phuoc | hmm, I think you should debug _process_parameterized_input, https://github.com/openstack/tacker/blob/master/tacker/vnfm/infra_drivers/openstack/translate_template.py#L146 | 13:29 |
*** pkaralis has quit IRC | 13:57 | |
*** longkb has quit IRC | 14:12 | |
*** openstackgerrit has quit IRC | 14:58 | |
*** openstackstatus has quit IRC | 18:28 | |
*** openstackstatus has joined #tacker | 18:31 | |
*** ChanServ sets mode: +v openstackstatus | 18:31 | |
*** bobh has quit IRC | 21:05 | |
*** bobh has joined #tacker | 21:07 | |
*** bobh has quit IRC | 21:11 | |
*** bobh has joined #tacker | 21:40 | |
*** bobh has quit IRC | 21:44 | |
*** bobh has joined #tacker | 21:49 | |
*** bobh has quit IRC | 22:12 | |
*** openstackstatus has quit IRC | 22:28 | |
*** openstackstatus has joined #tacker | 22:30 | |
*** ChanServ sets mode: +v openstackstatus | 22:30 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!