Day 2 add disk workflow fails due to missing disk UUID in Aria Orchestrator
search cancel

Day 2 add disk workflow fails due to missing disk UUID in Aria Orchestrator

book

Article ID: 392766

calendar_today

Updated On: 04-02-2025

Products

VMware Aria Suite

Issue/Introduction

Day 2 Add Disk workflow fails with the following error message when executing the PowerShell script:

Remote PowerShell execution has failed with the following error.! Cannot validate argument on parameter 'Number'. The argument is null. Provide a valid value for the argument, and then try running the command again.

Workflow failure logs:

DEBUG vco [host='vco-app-559df4d7dc-xmjq2' thread='WorkflowExecutorPool-Thread-328034' user='<username>' org='xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' trace='xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx']

{|__SYSTEM|tu-<username>:xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:anctoken=xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:context=db8804a1b323470a849ae42130c57f2a:itemId=xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
SCRIPTING_LOG - [Add Disk Windows(ASYNC) (2/6/25 07:38:05)] content after replacement: <p><span style="color: #1f4e79;"></span></p>
<p><span style="color: #1f4e79;">Add Disk service request has failed with below mentioned error.</span></p>
<p><strong><span style="color: #1f4e79;">Failure Message:</span></strong></p>
<p><span style="color: #ff0000;">Remote PowerShell execution has failed with following error.! Cannot validate argument on parameter 'Number'. The argument is null. Provide a valid value for the argument, and then try running the command again.

2025-02-12T12:58:18.259Z ERROR vco [host='vco-app-559df4d7dc-l7tdh' thread='syncActionExecutor-30' user='<username>' org='xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' trace='xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'] {} com.vmware.o11n.plugin.powershell.model.BaseSession - System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on parameter 'Session'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. ---> System.Management.Automation.ValidationMetadataException: The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
at System.Management.Automation.ValidateNotNullOrEmptyAttribute.Validate(Object arguments, EngineIntrinsics engineIntrinsics)
at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)
— End of inner exception stack trace —

This issue occurs intermittently due to missing disk UUID information from vCenter, which is required for the PowerShell script execution.

Environment

VMware Aria Orchestrator 8.x
VMware Aria Automation 8.x

Cause

The failure occurs because the workflow depends on retrieving the Disk UUID from vCenter. The Aria Orchestrator method responsible for fetching the UUID fails intermittently, leading to the PowerShell script receiving a null value for the parameter. 

Resolution

Update the vCenter plug-in for Aria Orchestrator to version 8.2.0+24578687 to resolve the issue.

Steps to update the vCenter plug-in:

Download the vCenter plug-in attached: o11n-plugin-vsphere-8.2.0+24578687.vmoapp

Log in to  Aria Orchestrator Control Center.

Navigate to Plug-ins > Manage Plug-ins.

Upload and install the new vCenter plug-in version.

Note: This will restart the vco-pods and will cause downtime for a couple of minutes until the pods are redeployed. 

Additional Information

If the problem persists after updating the plug-in, ensure that the vCenter connectivity and permissions are correctly configured.

Attachments

o11n-plugin-vsphere-8.2.0+24578687.vmoapp get_app