Description of problem:
when using unsupported 2 levels attribute (both are not supported) the returned error is not user friendly, for example using --usages-usage in add network:
[RHEVM shell (connected)]# add network --cluster-identifier 'f55fee84-dd0f-4bc2-b6c8-c0a87f1a8b02' --usages-usage 'vm' --data_center-id '02258528-324e-4292-8919-b8c15a40b902' --id '63042a67-2b7c-4e7e-b967-65b55b8e4580' --name 'testrest1' --mtu 0 --stp false
error: type "%s" does not exist.
Version-Release number of selected component (if applicable):
SF13
How reproducible:
100%
Steps to Reproduce:
1.see above
2.
3.
Actual results:
Expected results:
Additional info:
This looks like a new bug in the engine/api code
I am looking at the stacktrace, looks like VdcReturnValueBase.getActionReturnValue is null. Resulting in NPE on API
VdcReturnValueBase.setActionReturnValue is not being called for AttachNetworkToVdsGroupCommand in the engine code.