am running devstack stable/rocky
based on the alarm_scale VNFD example in https://github.com/openstack/tacker/tree/master/samples/tosca-templates/vnfd/tosca-vnfd-alarm-scale.yaml:
read early 2018 bugs about this SP1_res.yaml bug but still cannot launch the VNF from this VNFD
openstack vnf create --vnfd-name vnfd_alarm_auto_scaling --vim-name devstackVIM --description "cirros,alarm auto scaling" vnf_alarm_auto_scaling
Request Failed: internal server error while processing your request.
looking at Tacker logfile
2018-09-21 14:40:11.011 ERROR tacker.api.v1.resource [req-2d3af1c8-383c-4007-9884-9a654a53cf3d nfv nfv_user] create failed: No details.: KeyError: 'SP1_res.yaml'
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource Traceback (most recent call last):
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/api/v1/resource.py", line 77, in resource
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource result = method(request=request, **args)
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/api/v1/base.py", line 393, in create
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource obj = obj_creator(request.context, **kwargs)
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/vnfm/plugin.py", line 405, in create_vnf
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource vnf_dict = self._create_vnf(context, vnf_info, vim_auth, infra_driver)
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/vnfm/plugin.py", line 354, in _create_vnf
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource self.delete_vnf(context, vnf_id)
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource self.force_reraise()
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource six.reraise(self.type_, self.value, self.tb)
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/vnfm/plugin.py", line 348, in _create_vnf
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource context=context, vnf=vnf_dict, auth_attr=vim_auth)
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/common/driver_manager.py", line 70, in invoke
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource return getattr(driver, method_name)(**kwargs)
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/common/log.py", line 35, in wrapper
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource return method(*args, **kwargs)
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/vnfm/infra_drivers/openstack/openstack.py", line 104, in create
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource tth.generate_hot()
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/common/log.py", line 35, in wrapper
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource return method(*args, **kwargs)
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/vnfm/infra_drivers/openstack/translate_template.py", line 76, in generate_hot
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource self._generate_hot_from_tosca(vnfd_dict, dev_attrs)
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/common/log.py", line 35, in wrapper
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource return method(*args, **kwargs)
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource File "/opt/stack/tacker/tacker/vnfm/infra_drivers/openstack/translate_template.py", line 314, in _generate_hot_from_tosca
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource nested_tpl[nested_resource_name]
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource KeyError: 'SP1_res.yaml'
2018-09-21 14:42:47.394 TRACE tacker.api.v1.resource
ls -l /tmp
total 24
...
-rw-r--r-- 1 root root 635 Sep 21 15:01 SP1_res.yaml
looking through bug history I thought this (permissions?) problem had been fixed? Is it still not in Rocky?