-
Bug
-
Resolution: Done
-
Medium
-
Dublin Release, Casablanca Maintenance Release
Then the SO VnfConfigUpdate is called no configuration parameters are passed in the request to APPC. This results in a failure to call the Ansible server with the error
org.onap.ccsdk.sli.core.sli.SvcLogicException: Error constructing request for execution of playbook due to missing mandatory parameters. Reason = Ansible: Mandatory AnsibleAdapter key PlaybookName not found in parameters provided by calling agent !
at org.onap.appc.flow.controller.node.FlowControlNode.processFlow(FlowControlNode.java:135) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
I think the problem is that if there are no parameters in the payload in the configuration-parameters the I think the merge of the template doesn't get called. If you look at the DG GenerateTemplateConfig.
The problem is that if the merge isn't called then the later DGs fail.
I have set up the template with a name coded in so no merge is needed .
{
"PlaybookName": "afr@0.0.cfg",
"EnvParameters":
,
"NodeList":["vMME"],
"Timeout": 3600
}