Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

ASD Resource Actions - Form not loading in vRA unable to find resource error

$
0
0

vRA 6.2.2

vRO 6.0.2 external appliance with vRA plugin for 6.2.2 installed and configured including component registry authentication for vRA.

Distributed install with signed SSL certificates on all vRA and vRO components.

vRA and vRO using a single PSC instance for single sign on.

 

In a test environment we are working with the Advanced Service Designer to create new service blueprints and resource actions. I have set up the vRO appliance as an endpoint within vRA and then specified it explicitly for my tenant under Administration>Server Configuration. The test connection works fine and I can browse the vRO inventory under Advanced Services when creating service blueprints or resource actions without issue, and have successfully created a service blueprint to deploy a VM which works fine, VM is provisioned and appears in vRA. I'm having a strange problem with the resource actions though, I can create and publish resource actions in vRA under Advanced Services but when I try to use them the form isn't loading and I get a generic error message.

 

For example, following the VMware documentation I used the Quick Migration of Virtual Machine preconfigured workflow and published it as a resource action in ASD, and associated it with a Service and Entitlement so it could be used. When I select a VM under Items in vRA I see the icon for the resource action and can select it, but then the request form doesn't load (for this workflow it should prompt you to select the destination host to migrate the VM to) and in red text the message "Unable to find resource. Script action com.vmware.vcac.asd.mappings/mapToVCVM cannot return result" appears and the spinning wheel icon remains on screen until vRA times out and logs the user out.

 

I've tried other vRO workflows (custom made) and tried selecting the action on both a VM provisioned using my custom ASD service blueprint as well as a vanilla windows vRA blueprint but they all result with the same error. Also tried a complete shutdown and power up of vRA and vRO without success. There are no errors in catalina.out on the vRA appliances when the error appears on screen, but around the first time it appeared there was a warning in the log "GET request for https://vRO_FQDN:8281/vco/api/catalog/Workflow+documentation/metadata/ico resulted in 404 (Module 'Workflow+documentation' not found); invoking error handler" and then a couple more similiar messages about "Error making request to vCO. Reason: 404 Plugin 'Workflow+documentation' not found".  The catalina.out file on the vRO appliance appears to have a java.lang.NullPointerException message around the correct time for the error appearing on screen but not 100% sure whether it is related or if I am even looking in the correct log file.

 

In vRO I can see the mapToVCVM workflow in the inventory as described in the VMware docs under Orchestrator>vCAC>ASD>Resource Mappings>vCenter and the account I am logged into vRA as is a tenant admin (with user role in associated service, entitlement and business groups) and a vRO admin.

 

On another test rig I have been able to publish the Quick Migration of Virtual Machine without issue using the same configuration and use the action to migrate a VM in vCenter from vRA, although this was v6.2.1 of vRA and v6.0.1 of vRO.

 

Has anyone has seen something similiar or have any ideas on what might be wrong to help with troubleshooting this.


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>