In Tacker, I have created a VNFD with with autoscaling, template as in [1].
After that while deploying VNF with that VNFD, it failed with error:
vagrant@control:/opt/stack/tacker/samples/tosca-templates/vnfd$ tacker vnf-create --vnfd-id 221dc02a-1a87-4b8e-b782-c8fd8f3c3976 test heat-translator failed: - [Errno 13] Permission denied: 'SP1_res.yaml'
[1]: https://github.com/openstack/tacker/blob/master/samples/tosca-templates/vnfd/tosca-vnfd-alarm-scale.yaml
As per my observation, root cause is [2] opening file in root dir (i.e. '/'), due to which it giving permission denied. [2]: https://github.com/openstack/heat-translator/blob/master/translator/hot/tosca_translator.py#L69
In Tacker, I have created a VNFD with with autoscaling, template as in [1].
After that while deploying VNF with that VNFD, it failed with error:
vagrant@ control: /opt/stack/ tacker/ samples/ tosca-templates /vnfd$ tacker vnf-create --vnfd-id 221dc02a- 1a87-4b8e- b782-c8fd8f3c39 76 test
heat-translator failed: - [Errno 13] Permission denied: 'SP1_res.yaml'
[1]: https:/ /github. com/openstack/ tacker/ blob/master/ samples/ tosca-templates /vnfd/tosca- vnfd-alarm- scale.yaml
As per my observation, root cause is [2] opening file in root dir (i.e. '/'), due to which it giving permission denied. /github. com/openstack/ heat-translator /blob/master/ translator/ hot/tosca_ translator. py#L69
[2]: https:/