You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Issue 1: Exception in VFC catalog during e2e service instantiation.
2018-02-07 18:32:39,533:[catalog.packages.ns_package]:[ns_package.py]-[100] [ERROR]:Traceback (most recent call last):
File "/service/vfc/nfvo/catalog/catalog/packages/ns_package.py", line 96, in parse_nsd
ret = {"model": toscaparser.parse_nsd(csar_path, inputs)}
File "/service/vfc/nfvo/catalog/catalog/pub/utils/toscaparser/__init__.py", line 22, in parse_nsd
tosca_obj = EtsiNsdInfoModel(path, input_parameters)
File "/service/vfc/nfvo/catalog/catalog/pub/utils/toscaparser/nsdmodel.py", line 23, in __init__
tosca = self.buildToscaTemplate(path, params)
File "/service/vfc/nfvo/catalog/catalog/pub/utils/toscaparser/basemodel.py", line 39, in buildToscaTemplate
valid_params = self._validate_input_params(file_name, params)
File "/service/vfc/nfvo/catalog/catalog/pub/utils/toscaparser/basemodel.py", line 52, in _validate_input_params
for key, value in params.items():
AttributeError: 'list' object has no attribute 'items'
Workaround: the bug is fixed in master branch, get a copy of /service/vfc/nfvo/catalog/catalog/pub/utils/toscaparser/basemodel.py and update it in vfc_catalog container.