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

Cannot remove vCenter endpoint that is no longer in use (vRA 7.3.0)

$
0
0

Hi all, I'm having some issues removing a vCenter(VMC on AWS) endpoint that it is no longer in use. When I try it via the GUI I receive the following error:

You cannot delete endpoint vcenter.sddc-xx-xxx-xx-xx.vmc.vmware.com because it is referenced by at least one host or network profile.

I have thus far:

  • Deleted any blueprints that were using templates on this endpoint
  • Uninstalled the proxy agent for this endpoint
  • Removed the vCenter instance from vRO
  • Deleted the reservations using Compute Resources for this endpoint
  • Removed all of the compute resources for this endpoint from the fabric group
  • Deleted the fabric group

 

Additionally, my environment does not have any network profiles.

 

Searching the error I found the following KB article: VMware Knowledge Base

 

I ran the commands mentioned using CloudClient 4.4.0 but received the following error when I went to remove the endpoint:

Error: Failure trying to remove endpoint with id xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx. System exception.

 

I'm still receiving the same error via the GUI. Has anyone ran across the before or have any ideas on how to remove this darn endpoint? Is this a bug?

 

Figured I would check here before opening the SR.


Upgarde fail through vRSLCM1.2 from Vra 7.3 to Vra 7.4

$
0
0

Hello

 

Upgrade fail through vRSLCM1.2 from Vra 7.3.1  to Vra 7.4

 

com.vmware.vrealize.lcm.common.exception.EngineException: Failure:

    Checking for available updates, this process can take a few minutes...

    ....................................................................................................................................................................................................................................................................................................

    Failure: Error downloading manifest. Please contact your vendor. Could not resolve: vapp-updates.vmware.com (Timeout while contacting DNS servers) URL: https://vapp-updates.vmware.com/vai-catalog/valm/vmw/dcce55fe-2402-11e2-af10-000c29b4e3e7/7.3.1.71.latest/manifest/manifest-latest.xml

 

 

 

 

        at com.vmware.vrealize.lcm.core.vra70.task.upgrade.VraUpgradeTask.execute(VraUpgradeTask.java:129)

        at com.vmware.vrealize.lcm.platform.automata.service.Task.retry(Task.java:79)

        at com.vmware.vrealize.lcm.platform.automata.core.ExecutionTask.run(ExecutionTask.java:39)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at java.lang.Thread.run(Thread.java:748)

 

we do not have internet connection on VRA server.

send mail with link VRA

$
0
0

Hi,

 

I have a xaas blueprint which has an approval policy which runs an event broker.

Is it possible to send a custom mail to the approver with a link to the detailed request which he need to approve? (instead of the default mail of the VRA)

 

I'm familiar with the workflow  named "send notification...".

My question is just for the link.

What should I write in order to get the link for the request?

and how I write it in the content parameter in the send notification workflow?

 

Thanks!

Provisioning of VM fails from the blueprint if VM is not pointed to the current snapshot(Linked Clone). Any solution for the same?

$
0
0

Provisioning of VM fails from the blueprint if VM is not pointed to the current snapshot(Linked Clone) with the storage placement error.

 

Please help.

Catalog Service PUT requests fail with "optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException"

$
0
0

I'm trying to update an entitlement PUT /api/entitlements/{id} .

It goes through on the FIRST attempt and FAILS all SUCCESSIVE ATTEMPTS.

 

It's the same with other PUT API's of catalog-service

 

{

    "errors": [

        {

            "code": 50505,

            "source": null,

            "message": "System exception.",

            "systemMessage": "Object of class [com.vmware.vcac.catalog.domain.Entitlement] with identifier [6d751a75-2fcd-4b94-ab72-fc8615e40f8e]: optimistic locking failed; nested exception is org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.vmware.vcac.catalog.domain.Entitlement#6d751a75-2fcd-4b94-ab72-fc8615e40f8e]",

            "moreInfoUrl": null

        }

    ]

}

VRealize Architecture

$
0
0

Please share the internal software architecture and implementation scheme of the management software of vRealize and gives the software cost situation: the resource used(e.g. memory used,CPU used ) under the minimum management scale and the commercial middle ware used.

How to get a live-resolved default value for an item in vRA ?

$
0
0

Hi,

 

I'm currently working with vRealize Automation 7.4.0 and vRealize Orchestrator 7.4.0 and I didn't find any way to get a live resolved default value for an item in vRA.

Let me showcase the issue.

 

As a mandatory step, I created a very simple vRO workflow for this purpose :

very symple workflow.PNG

 

First, I designed a fresh new Xaas with two items :

xaasOverview.PNG

The first one is a radio button group typed as decimal that has three hardcoded values.

More in depth :

defaultValueSelectorDetails.PNG

No exotic tuning :

defaultValueSelectorConstraints.PNG

The hardcoded values :

defaultValueSelectorValues.PNG

The second one is a decimal field which value is set to be as default the value selected in the first object :

intergerVariableDetails.PNG

Again, nothing exotic on the constraints side :

intergerVariableConstraints.PNG

 

Now comes the test : at the form opening, the first object takes its default value of "1" and the second object uses is as expected :

formAtOpening.PNG

But when you select something else, you expect the default value of the second object to be updated and to reflect the change :

formAfterSelectingSomethingElse.PNG

And here comes the issue : there is not the expected update, as if the default value of the second object was not notified that the value changed in the first object.

 

I tries multiple combinations of that, relying on conditions inside vRA, call to vRO actions or other crazy attemps but I do not find a way to get this working.

Please also take in account that I do not want to use the "value" area of the second object to "link" to the first one, as in wild I need to let the form user able to change the default value.

 

Has some an idea to get this working ?

 

Thanks a lot for your help and ideas !

How to hide a tab in a Xaas form ?

$
0
0

Hi,

 

I'm currently working with vRealize Automation 7.4.0 and vRealize Orchestrator 7.4.0 and I didn't find any way to hide a tab in a vRA Xaas.

Nevertheless, I know that it is possible as the "CodeStream" tool provided by VMware itself is able to.

 

There are two tabs in this Xaas at the time of it's opening :

two tabs at xaas opening.PNG

 

As soon as you select options on the second tab, more tabs appear :

new tabs appearing as the checkboxes are enabled.PNG

Editing the Xaas did not show anything that could explain this capability : the tab *seems* the same than those I use.

 

Can some give me a clue about how it is doable ?

I suspect that there is a more capable Xaas editor than the one I'm currenlty using in vRA ;-)

 

Thanks a lot for your help and ideas !


vRO Script to allow promiscuous mode

$
0
0

Has anyone had luck with vRA/vRO 7.4 and the plugin to nested ESX hosts have the vDS switch set correctly for promiscuous mode?

 

Build Your Very Own VMware Hands-On-Labs! (with vRA and NSX) – Virtual Insanity

 

vRO just shows a unhelpfull error of "TypeError: Cannot call method "indexOf" of null (Workflow:vRA Provisioning - Prepare NSX On-Demand NAT Networks for nested ESXi traffic / Get dvPortGroups (item3)#18)"     everything else in the blueprint works.. the VM's get deployed, the NSX Edge gets created and the VM's can talk to each other fine except for the Hypervisior due to the promiscious mode issue.

 

I think it may because of the vRA/vRO subscription topic not being correct but I am not sure which topic is correct

 

The steps say to create some conditions which I do however the vRO workflow never fires right and im not sure where errors are logged

 

 

In vRA, browse to the Administration tab -> Events -> Subscriptions. Create and new subscription with the following conditions:

  • “Any of the following”
    • Data > Component id = NSX Edge
    • Data > Component type id = Infrastructure.Network.Gateway.NSX.Edge
  • “All of the following”@
    • Data > Lifecycle state > Lifecycle state name = VMPSMasterWorkflow32.WaitingToBuild
    • Data > Lifecycle state > State phase = POST

Are you using vCloud Director?

$
0
0
Have you adopted vCloud Director in your environment?  Do you use it alongside vSphere? Or are you a vSphere-only shop?  We want to know!

Guest Script Manager Version Control

$
0
0

cdecanini_, or anyone for that matter, I am trying to find a way to automatically increase the version of the script resource when an edit is performed. Do you know of a way?

My team currently uses Guest script manager for all of our script management in VRO and while we each have our own personal repos, it would be nice to be able to revert a script version.

Vrealize automation 6.2

$
0
0

Guys,

 

I have a issue with vRa 6.2. Everything works but then we have to shutdown the servers to save resources. but now i have enough resources again and i have started all the servers again that hosts vRa 6.2 but now i see in my view " Compute Resources" that my inventory/State/Performance are in status " In Queue" for already a day. any suggestions?

 

Statusqueue.jpg

VRA 72 multi-site deployment

$
0
0

Hello,

 

I am looking for possibilities for deploying vRA 72 to geographical distributed environment with have all management server in local location however all provisioning are dispersed to different geo-location governed by vSphere agents and DEM-W

 

i came across this KB (Installing the VMware vRealize Automation on a distributed multi-site instance (2134842) | VMware KB ) which is valid for vRA 7.1 but vra 72 was not mentioned.

 

I want to know if at all multi-site deployment is possible?

 

Thanks,

 

MG

Install Agent at Run Time while deploying the VM

$
0
0

I want to install agent of one vendor at run time Automatically while creating VM in vRealize Automation 7.2

Can anyone perform this or anyone has any idea that how i can install at run time while creating VM through vRealize Automation.

 

Thanks.

vREalize Automation Payload to Orchestrator

$
0
0
I have a blueprint that we use to deploy a win2012 box.  Nothing out of the ordinary.  I have added an XAAS element created form an Orchestrator workflow.  IT is simple.  It has two dropdown boxes.  It is placed after the vSphere Machine element.  That is all I have done.  The Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.MachineProvisioned custom property is added.  You select the vSphere element and provide the info.   You seelct the XAAS element and select your values from the two drop down list (each list allows user to select an array of items).  I have an Event Broker Subscription that runs after POST of the VM being activated (after deployment).   My Orchestrator workflow has a scriptable task that outputs the Payload to the System.log.  That works fine, with the exception that the values/fields from the XAAS is not listed with the other PAYLOAD data.  What else do I need to do?  

Drop Down in VM Action for Memory in vRA

$
0
0

Hi Guys,

 

I want to make a drop down in action  while changing the existing VM memory size instead of entering the value manually .

If you see the attachment  .

how can i do that ?

Should vRA Reprovision and Destroy actions also trigger software component actions?

$
0
0

I have a blueprint with that includes a software component. The initial provisioning and software component actions (install and configure) fire as expected when first deployed.

 

When selecting reprovision, the vm deploys without issue but the software component actions (install and configure) never fire.

 

Similarly, when selecting Destroy, the uninstall action also fails to fire but the VM is powered off and deleted.

 

Is this the expected behavior or need I configure something else to trigger the software component actions?

 

TIA!

vRealize Automation Model Manager

vRA Workflow with XAAS to Payload

$
0
0
I have a vRA blueprint with a vSphere VM and an XAAS component.  It simply has two dropdown boxes (selections that are made in each box is an array).  I have a event broker subscription that runs (for this blueprint) for POST activation of the VM.   The vRO workflow for this subscription has a PAYLOAD input param.  I need to get the two selection box values in PAYLOAD as well.  How is this done?  I have the properties and values for the VM, but those dropdown bloxes are not listed anywhere.  Any help is appreciated.

Reconfigure VM via vRO failing with error Unknown field: provider-Cafe.Shim.VirtualMachine.Reconfigure.ExecutionSelector?

$
0
0

I am using vRA request resource with below sample properties.

 

vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.Requestor" , "service@domain.local");
vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.Storages" , "[]");
vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.Networks" , "[]");
vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.ExecutionSelector" , 1);
vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.CpuCount" , newCpuCount.toString());
vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.PropertyBag" , '[{"PropertyName": "VirtualMachine.Core.Count","PropertyValue": "2"}');

vmProperties.put("provider-Cafe.Shim.VirtualMachine.Reconfigure.MemorySize" , newMemorySizeMb.toString());

 

I am getting below error:

2018-06-08 13:54:42.375] [I] Accepted inputs:

[2018-06-08 13:54:42.387] [I]  - provider-MachineName

[2018-06-08 13:54:42.395] [I]  - provider-machineId

[2018-06-08 13:54:42.402] [I]  - provider-operationId

[2018-06-08 13:54:42.410] [I] Filling in resource action request...

[2018-06-08 13:54:42.427] [E] (com.vmware.library.vcaccafe.request/requestResourceAction) Error in (Dynamic Script Module name : requestResourceAction#11) Unknown field: provider-Cafe.Shim.VirtualMachine.Reconfigure.ExecutionSelector

 

Can anyone suggest what can be the issue?

Viewing all 9859 articles
Browse latest View live


Latest Images