Quantcast
Viewing all 6792 articles
Browse latest View live

Request source

Hi Communities,

 

Do you know if there's a way from inside a workflow to know the 'source' of a request.

I want to know if a request have been done using pure api (with postman for eg) or using the vRa portal.

 

Thanks a lot for your help

 

Regards,

 

Richard


Cloud Client Rights

I have full rights in our vRA installation, I can see all the machines through the vRA portal with no issue.  When I login to cloud client and list machines I only see mine.  Have I missed something to be able to list and unmanage machines via the CC?

 

 

Thanks

Triggering Event Broker based on custom property

Hello!

 

Thanks for reading this thread and for all the help you've given so far.

 

I've built a workflow that submits a ticket to our ticketing system with details of the VM, and allows for a user to request additional post provisioning tasks. The plan is to automate most of these tasks going forward, however as we roll out this service to our "pilot" users, this will be the method for now.

 

I can trigger the workflow by specifying the blueprint name. Like this:

 

Image may be NSFW.
Clik here to view.

 

The issue

 

What I'd like to do is just add a custom property to the blueprint then trigger the workflow if that property is present. When I've tried that (using the method below) it doesn't seem to trigger. Am I configuring it incorrectly?

 

Data > Machine > Properties > Name  Equals  CustomPropertyName

Image may be NSFW.
Clik here to view.

 

 

Property group added to the machine:

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Deploy new tenant from catalog

Have been looking for a way in VRA similar to VCD to instantiate a new tenant. Is there documentation or something about being able to programmatically spin up a tenant through a UI/wizard?

 

We are looking to have Tier 1 staff be able to login, fill out the questionnaire, and click "go". The process would then create a tenant, NSX Edge, Logical Switch, DLR, VPN, etc.

CustomForms Component Profiles

Hi all,

 

background: vRA 7.5 HF5

 

Custom Forms with Image (component Profile - Image)...look not very attractive to he honest (see below)

Image may be NSFW.
Clik here to view.

As this reacts to a property I thought of using my trick from vRA Custom Forms Enter Memory in GB rather then MB to create a much nicer selection, HOWEVER I cant find the Component Profiles via vRO.

The most I got was the permissable Values for a given blueprint: blueprint.components.get("deploy_macos_vm").getComponentProfiles().getPermissibleValueNames().

 

Anyone any idea what the ScriptingClass is called?

 

ATM Im waorking around the issue by manually editing the Image field ValueOptions in custom forms....

OVA Blueprint Deployment 'Content-Length' Header value is invalid

When deploying SOME OVA's from blueprints, the deployment fails with the message below.  But others will deploy perfectly fine..  have tried a number of different OVA's including VCSA, NSX Manager, ESXi, another vendor OVA, and while the final two work fine, the first two do not and spit out the following error.

 

The server committed a protocol violation. Section=ResponseHeader Detail='Content-Length' header value is invalid.

 

any ideas, any ideas how to troubleshoot?  there is very little in the deployment logs and no errors in vCenter.

upgrade from vra7.3.1 to 7.6 did not go as planned

Hello People, I upgraded from vra7.3.1 standalone to 7.6. None of my blueprints work anymore. I checked catalina.out and this is the error

 

[UTC:2019-05-04 06:40:37,691 Local:2019-05-04 06:40:37,691] vcac: [component="cafe:advanced-designer" priority="ERROR" thread="taskScheduler-1" tenant="" context="" parent="" token=""] com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleRestError:113 - [Rest Error]: {Status code: 400}, {Error code: 85021} , {Error Source: null}, {Error Msg: Unable to establish a connection to vCenter Orchestrator server.}, {System Msg: 85021-Unable to establish a connection to vCenter Orchestrator server.}

[UTC:2019-05-04 06:40:37,692 Local:2019-05-04 06:40:37,692] vcac: [component="cafe:event-broker" priority="ERROR" thread="taskScheduler-1" tenant="" context="" parent="" token=""] org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler.handleError:95 - Unexpected error occurred in scheduled task.

com.vmware.vcac.platform.rest.client.error.RestException: Unable to establish a connection to vCenter Orchestrator server.

        at com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.mapRestException(ResponseErrorHandler.java:121) ~[platform-rest-client-7.6.0-SNAPSHOT.jar:?]

        at com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleRestError(ResponseErrorHandler.java:100) ~[platform-rest-client-7.6.0-SNAPSHOT.jar:?]

        at com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleError(ResponseErrorHandler.java:59) ~[platform-rest-client-7.6.0-SNAPSHOT.jar:?]

        at com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleError(ResponseErrorHandler.java:61) ~[platform-rest-client-7.6.0-SNAPSHOT.jar:?]

[UTC:2019-05-04 06:44:37,350 Local:2019-05-04 06:44:37,350] vcac: [component="cafe:advanced-designer" priority="ERROR" thread="persistentTokenRenewalExecutor-1" tenant="" context="" parent="" token=""] com.vmware.vcac.authentication.security.scope.PersistentScopeAwareTokenManager.handleRenewalError:195 - An error occurred renewing the token: PersistedScopeToken[id=afa1f8f8-db8d-4f63-ab10-5009bc4e5df7,serviceId=1b3b27b3-1046-418e-81c6-f6acd06cfbbd,scopeId=96f1cbe3-c3aa-4071-adb7-8167e8c75e77,tenantId=dev.lab,numberFailedRenewalAttempts=2]

  "error": "invalid_token",

  "error_description": "Invalid suite token"

        at com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleError(ResponseErrorHandler.java:61) ~[platform-rest-client-7.6.0-SNAPSHOT.jar:?]

[UTC:2019-05-04 06:44:37,377 Local:2019-05-04 06:44:37,377] vcac: [component="cafe:advanced-designer" priority="ERROR" thread="persistentTokenRenewalExecutor-1" tenant="" context="" parent="" token=""] com.vmware.vcac.authentication.security.scope.PersistentScopeAwareTokenManager.handleRenewalError:195 - An error occurred renewing the token: PersistedScopeToken[id=57e64bcb-80ff-40e4-b993-c05cfa6f9c50,serviceId=1b3b27b3-1046-418e-81c6-f6acd06cfbbd,scopeId=e6e8a4a3-7665-49a8-87d4-88a234af1c36,tenantId=dev.lab,numberFailedRenewalAttempts=2]

 

 

The error in vra portal is The following component requests failed: vSphere__vCenter__Machine_1. Request failed: Machine harj130: PowerOn : One or more errors occurred..

Any help is appreciated. thanks

 

Event Subscription condition how to set not equal to "empty"?

I have some fields on my composite blueprint provisioning a virtual machine, and I want to set a subscription to a workflow if the fields are NOT "__NULL__", or "empty" when it comes through in the payload. The fields are strings, and some say "#__NULL__#" and some are just empty, nothing between the "##" if the field is not filled out.

Image may be NSFW.
Clik here to view.

My condition for those fields is does not equal __NULL__ and does not equal with the value set to constant but empty.

 

Does this match nothing between the ## in the payload???


vcenter appliance vmware tools not running linux

vSphere Initial Setup - In Progress

Successfully installed VRA 7.5 and proceeded to login as configurationadmin.

 

Launched the vSphere Initial Setup.

 

It has now been running for 2 hours. The status is still "In Progress". But it doesn't seem anything is happening. When I look at the events, the submission and pre-approval are successful within seconds. The workflow execution just seems to be running indefinitely.

 

Anyone else seen this or have any ideas?

Multiple Tenants - Single login site

Working in the lab to further my understanding and ran across the url issue. When I click the "vRealize Automation Console" link on the landing page it defaults to the default tenant. To get to any secondary tenants I have to manually type in the URL. So my question is - is there not a default login interface which routes to the appropriate tenant?

Property Layouts, what happened to them and when?

We recently upgraded to vRA 7.5 and I've noticed that I can't seem to access Property Layouts any longer to set the order of properties on the request forms for my blueprints.

 

Additionally I see that there is a field called "Display Order" when creating a new property in the property dictionary.

 

So I'm assuming they got whacked. However my Google Fu is failing me and I can't locate any documentation or release notes confirming this. Furthermore there is still a reference to the "VirtualMachine.Request.Layout" property in the vRA 7.5 custom properties reference documentation (https://docs.vmware.com/en/vRealize-Automation/7.5/vrealize-automation-75-custom-properties.pdf) that states:

 

Specifies the property layout to be used in the virtual machine request page. The value must match the name of the layout to be used.

 

So what's the scoop, are they there and I'm just failing to locate them? Were they removed and the documentation is out of date and the removal was just never mentioned? Anybody have information on this? Thanks in advance!

Email Alerts for any change of a VM

Is there anyway to setup an alert whenever any change to a VM in vRA is made? Ive got the email alerts to work if a vm is deployed or destroyed using the subscriptions but not for any other changes. Still new to Orchestrater so any help will be great.

Custom Request Form

Hi all,

 

I am somewhat new to vRA and have a requirement (not sure if it is even possible) to be able to select things like - template, network, software components to install on the request form.

I have seen some vRA custom properties which allow you to add values into software components and vRO work flows that allow you to choose templates, but have not been able to find a way to select which software components to install upon a request.

 

I have found this; How can I allow software components to be chosen on the request page in vRA 7?  Which is mroe vRA 6, I am hoping there is a clean way to do everything we require.

 

Thanks!

Possible ways to reclaim the memory resources in Reservation

Author : pgilday

URL : http:////docs.vmware.com/en/vRealize-Automation/7.0/com.vmware.vrealize.automation.doc/GUID-C6346E41-1641-441A-8E7B-153B758796DA.html

Topic Name : Understanding Selection Logic for Reservations

Publication Name : vRealize Automation 7.0 and 7.0.1 Information

Product/Version : vRealize Automation/7.0

Question :

For virtual reservation’s in vRA 7.3, If memory resources  is fully allocated, then can we only shutdown the existing machine to reclaim the memory resources for to provision a new machine?


Endpoint Configuration Service API

I'm trying to register a new endpoint type from vRO with the following code:

 

var restClient = vRAhost.createRestClient("com.vmware.csp.core.endpoint.configuration.api");
restClient.put("/categories/" + categoryId, JSON.stringify(category));

 

The type of vRAhost is vCACCAFE:VCACHost. When vRAhost tenant is the default vsphere.local with a user having tenant and IaaS admin permissions in the same tenant, the above code runs fine registering the new category.

 

When I try to run this against a vRAhost registered with another tenant, I get 403 permission denied whatever user I try.

 

The Endpoint Configuration Service API Specification writes:

User Roles and Permissions

 

Different user roles have different permissions for working with endpoints.

Endpoint Type Operations and Endpoint Type Categories

The following user roles have permission for the following:

GET - IaaS Administrators, vRA Administrators, Solution Users.

PUT/POST/DELETE - vRA Administrators, Solution Users.

 

So the user should belong to vRA Administrators group, but I'm not sure what exact group is referred here? Tenant/IaaS/... admin? Or is this allowed for the vsphere.local tenant admin only?

Invoke VRO Workflow using Scriptable Task

Hi all,

 

I want to invoke a workflow using scriptable Task .

which script should i use to invoke the Workflow?

 

Thanks

Unregistering VM's in bulk

One of the vRA installs has about a thousand "missing" vm's.  My original thought was to do a bulk import and mark them as unmanaged but due to the number of VM's I just can't. I've been googling cloud client and how to automate this but i'm not sure if I should proceed with powershell or something else to write all this in.  Any suggestions and/or experiences would be great.

VRO No logs found

Hi all ,

I am Using VRO 7.3.1 and there i can't see any output for any workflow . the logs are always empty .

'no logs found' .

I tried to make a simple workflow which print the word 'Hello' . and nothing appears in the logs too.

so how can i make my results appear in the logs?

thanks

vRA REST API to activate custom form?

Can anyone point me in the direction of a REST API that can activate and/or deactivate a Custom Form?   

 

My current process for exporting and importing a blueprint using the APIs results in the blueprints Custom Form being in a deactivated state after the import.  I have to manually activating the Custom Form after each time it is imported.

Viewing all 6792 articles
Browse latest View live


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