Getting below error while creating VNF using scaling tosca template(tacker/sample/tosca-templates/vnfd/tosca-vnfd-alarm-scale.yaml) by replacing capabilities with flavor as input parameter.
ERROR: ValueError: : resources.SP1_group<nested_stack>.resources.tg4km2x35r7l<SP1_res.yaml>.resources.VDU1: : The Parameter (flavor) was not provided.
Description
===========
Getting below error while creating VNF using scaling tosca template( tacker/ sample/ tosca-templates /vnfd/tosca- vnfd-alarm- scale.yaml) by replacing capabilities with flavor as input parameter. SP1_group< nested_ stack>. resources. tg4km2x35r7l< SP1_res. yaml>.resources .VDU1: : The Parameter (flavor) was not provided.
ERROR: ValueError: : resources.
Steps to reproduce
==================
1) create vim vim/vim_ config. yaml VIM-openstack
tacker vim-register --is-default --description default-vim --config-file samples/
2) create vnfd using attached tosca-template (tosca- vnfd-alarm- scale-with- input-param. yaml). alarm-scale- with-input- param.yaml VNFD1
tacker vnfd-create --vnfd-file tosca-vnfd-
3) Create a parameter file e.g. tosca-vnfd- alarm-scale- param-file. yaml and add below deatils:
{
flavor: 'm1.tiny',
}
4) Create VNF using above parameter file(tosca- vnfd-alarm- scale-param- file.yaml) with below command: alarm-scale- param-file. yaml --vnfd-name VNFD1 VNF1
tacker vnf-create --param-file tosca-vnfd-
Expected result
===============
VNF should create successfully
Actual result
=============
ERROR: ValueError: : resources. SP1_group< nested_ stack>. resources. tg4km2x35r7l< SP1_res. yaml>.resources .VDU1: : The Parameter (flavor) was not provided.