Hi
We are encountering errors due to custom inputs.
Brief of the scenario is as below: Suppose we have 3 inputs –
1. ‘vm’ of type VC:VirtualMachine,
2. ‘policies’ of type Array/EDP:Policy [custom input]
3. ‘policyName’ of type Array/string
Initially, when we add ‘vm’ and then ‘policies’, there are no issues. The input, ‘policies’ gets the value from the external action, which doesn’t take any custom input type and we do see the values being returned by the external action. However, when we include, ‘policyName’ in the input, whose external action takes ‘policies’ of custom input type and is supposed to return Array/string type value, is throwing errors and none of the fields are getting values. PFA screenshot for reference
I'd suggest to add some logging statements in the external action that takes policies as input and returns array/string, with the idea to log what parameter it is called with.
I suppose that at some point it might be called with 'null' value for policies as input, and if the scripting action is not handling correctly this null value, it may throw an error, causing the exectution of action to fail.
Thanks Ilian.
Is this '/data/vco/usr/lib/vco/app-server/logs/scripting.log' will capture the log and also any error
Would like to know common log in vRA8(similar to Server.log in vRA7), which capture both scripting and backend including plugin
Thanks
Prakash
In 8.x, there is no vRO server.log file. Instead, the logs that previously went into this file now are dumped on standard output and are captured in container log.
So you can use Kubernetes' kubectl command line tool to fetch the log for vRO server container. Or use the vracli command line tool to fetch the log bundle for all services.
Hi Ilian,
Error is provided below as soon as 'Run' is clicked in VRA
Here is our observation.
In External action null check is made for the input parameter and noticed that in both the below cases, action is invoked when it is opened and also when VM is selected and set.
Input : Array/Policy
Case 1.
Visibility:No
DisplayType:Data Grid
In this case spinner is observed for the other field(policy) which is linked to external action, takes Array of Policies as input
Case 2.
Visibility:No
DisplayType:MultiValue Picker
In this case NO spinner is observed for the other field(policy) which is linked to external action, takes Array of Policies as input
Some data cannot be retrieved. If the problem persists, contact your system administrator.;
[1][policies.value][com.dell.edp.policy/getVmPolicies] 400 OK
[2][policyName.valueList][com.dell.edp.policy/getPolicyProperty] 400 OK
Thanks
Prakash
Small correction in previous reply
In External action null check is made for the input parameter and noticed that in both the below cases, action NOT is invoked when it is opened
Also analysed Container logs and couldn't find any error/exception in logs