Test fails due to some VNFDs have an invalid policy type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Fix Released
|
Medium
|
LiangLu |
Bug Description
Added the process to check the type of policies in tosca-parser. [1]
When using tosca-parser with this change, some VNFDs fail to validate policies.
[1] https:/
Here are the Zuul logs:
---
\tInvalidTypeError: Type "tosca.
\t\tFile /usr/lib/
\t\t\treturn _run_code(code, main_globals, None,
...
\t\tFile /home/zuul/
\t\t\ttosca = ToscaTemplate(
\t\tFile /home/zuul/
\t\t\tself.
\t\tFile /home/zuul/
\t\t\treturn TopologyTemplat
\t\tFile /home/zuul/
\t\t\tself.policies = self._policies()
\t\tFile /home/zuul/
\t\t\tpolicyObj
\t\tFile /home/zuul/
\t\t\tprop.
...
---
Need to modify the VNFD definition so that validation passes successfully.
The following modification may be required:
- lack of VNFD type definitions
- lack of required parameters
- and so on..
Changed in tacker: | |
status: | Fix Committed → Fix Released |
I believe this bug is fixed in [1]. It seems "Closes-Bug:" doesn't work.
[1] https:/ /review. opendev. org/c/openstack /tacker/ +/769083