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

Synchronize templates for use with vRA on remote sites.

$
0
0

We have several vCenters managing a combined 70+ remote sites and the request is to be able to provision VMs in any location using vRA.

 

How do I ensure that we have a consistent template across all sites that we can address with vRA. Bandwidth is limited, so a local copy at the sites is needed.


How to use 2 Compute resources in one Reservation?

$
0
0

Hi,

 

Now I have two vCenters. (A vCenter, B vCenter)

Two vCenters are registered in the vRA with Endpoint.

What I want is to have a one "Reservation" view of the datastores on site A and on site B.

I tried to group sites A and B into Fabric Group, but it didn't work.

 

 

Is it possible to use two "Compute resources" in one "Reservation"?

 

 

Thanks !

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?

vra changing vro action

$
0
0

I noticed something very strange when auditing changes to workflows.

 

An action was changed by the user account "cafe-xxxxxx@vsphere.local".  I was wondering if anyone here knew why vRA would be rewriting a vRO Action (at least I assume that is what is happening).  The action happens to be com.vmware.vra.ad.getObjectByDN.  Below is a capture from the Events tab of the action.

 

Any insight much appreciated.

Carl L.

vRA 7.5 resubmit using API

$
0
0
Has anyone tried using vRA 7.5 new feature resubmission API 
/api/consumer/requests/{id}/forms/resubmission":

I am trying to use it to resubmit a failed request using REST api, when I submit the request request is failing with invalid data input 

Has VMware released any documentation on using this API

Reservation Page is not loading under Infrastructure tab.

$
0
0

Hi Guys,

I have an issue with vRA 7.5 ,distributed deployment wherein i am not able to see the Reservations under Reservation page.

However i can create new reservation via cloning from existing reservations successfully but still not able to see the newly created reservations

Giving an error i.e. Server responded with non-standard error

Also facing an error while data collection in network and security inventory ,stuck in IN PROGESS state since last 6 hours.

 

Note : All services are showing registered in vRA vami page.

 

Troubleshooting so far we have done.

Reboot the entire vRA Stack but still the issue remain same.

Content Library with vRA 7

$
0
0

Is it possible to use templates of Content Library in vRA 7 for blueprints?

Can we change the description and name of the VM after deployment in vRA

$
0
0

Hi,

 

Can someone please confirm if we can change the description and name of the VM after it is already deployed.


Ubuntu 18.04 LTS Deployment Issues

$
0
0

Hi, all

 

I currently have CentOS 7.6, Windows Server 2016, and Ubuntu 16.04 LTS catalogs.

These catalogs work very well.

However, there is a problem with the Ubuntu 18.04 LTS catalog.

This is distributed with both IPs in the network profile and IPs in the template.

우분투 vRA.PNG우분투 vCenter.PNG우분투 콘솔.PNG

 

 

I referred to

How to make guest customization work on Ubuntu18.04 Server and Desktop (56409)

VMware Knowledge Base

and

Guest OS Customization will fail for Ubuntu 18.04 Server LiveCD (54986)

https://kb.vmware.com/s/article/54986

 

But, KB didn't help.

And I also configure "customization spec" in blueprint.

 

Please advice to me.

 

Thanks !

Set System Local Language for Machines Deployed via vRA

$
0
0

Hi,

 

I would like to know if its possible in vRA to set the system local language for windows machines getting deployed via vRA. We have users from different parts of the world and we need to make sure that when user deploy machine then they should get option to select system local language according to the region they belong to. For example - User requesting machine from Spain could get option to set local language as Spanish or User from Japan could select Japanese etc.

 

Is it possible to configure this via vRA ?

Is it possible to create Network Profiles in VRA 7 using VRO workflows?

$
0
0

Hello,

 

Is it possible to create Network Profiles in vRA 7 using VRO Workflow?

 

If not, is there any other mechanism like REST API?

 

Thanks,
Pankaj

Managed machines per resource

$
0
0

Hi

 

I'm trying to write a script that would automate moving hundreds of VMs from one reservation to another.  I used PowerShell and CloudClient to do the actual move but now I'm trying to figure out how to get a list of VMs that belong to the old reservation. I know it could be done easily within the UI but I don't see a way of exporting that list from there.  The export button used to exist in previous versions of vRA but for some reason I can't find it in 7.4. So does anyone know if there is a way to get a CSV export by either using vRO or CloudClient.

 

Thank you,

vRA 7.3 - Change VirtualMachine.Disk0.StorageReservationPolicy with vRO

$
0
0

Hello!

 

I like to change the VirtualMachine.Disk0.StorageReservationPolicy Property with a vRO Workflow based on CustomProperties. The Workflow was not a big deal but on which Lifecycle State must it run? I tried PRE VMPSMasterWorkflow32.Requested but this State is to late.

Pass endpoint as an input to a vRO action or workflow to access properties

$
0
0

Hello,

 

Thank you for taking the time to read this post!

 

I'm currently writing some code to make an API call to an IPAM solution. We've got this working as part of our IPAM integration using the IPAM plugin. The problem is these values are passed via the IPAM plugin using a composite type input which we can't replicate with an input type. We would like to make a few API calls from a blueprint to get things like current address space consumption and present that to a user.

 

We have an endpoint registered in vRO that holds specific properties for example, username, password, api url, auth key, and other properties. We would like to add this endpoint to an action or workflow to allow access to these properties via Endpoint.Username, Endpoint.Password, etc.

 

Has anyone accomplished this? Or have an idea how we might be able to do this with out existing Endpoint in vRO?

 

Thank you!

Bulk Import Fails -- Error processing [RegisterVM]. The machine cannot be found.

$
0
0

Hello all,

 

I am currently migrating a series of machines into a newly created vRealize Automation 7.6 environment, and am seeing the following error on the vSphere agent logs when attempting to bulk import a particular device:

 

Error processing [RegisterVM], error details:

System.NullReferenceException: The machine 'vm01' cannot be found.

   at DynamicOps.Vrm.Agent.vSphere.VSphereRegisterMachineRequest.RegisterVirtualMachine()

   at DynamicOps.Vrm.Agent.vSphere.VSphereHypervisorServiceProvider.RegisterMachine(VSphereVirtualMachine machine)

   at DynamicOps.Vrm.Agent.BaseHypervisorAgent`3.RegisterMachine(WorkItem workItem, PropertyBagHelper propertyBagHelper)

   at DynamicOps.Vrm.Agent.BaseHypervisorAgent`3.ProcessWorkitem(WorkItem workItem, String task, PropertyBagHelper propertyBag)

   at DynamicOps.Vrm.Agent.vSphere.VSphereAgentService.ProcessWorkitem(WorkItem workItem, String task, PropertyBagHelper propertyBag)

   at DynamicOps.Vrm.Agent.BaseAgent.ProcessWorkitem(WorkItem workItem)

 

The odd part about this is that in my bulk import list, this particular machine has a partner node that is on the same vLAN, host, storage, etc., just with a different IP address. The partner imported with no problem, along with the handful of other machines that I imported with the same blueprint.The blueprint itself is generic and one component in length. Event broker is turned off and I'm able to see this particular machine when generating an export of unmanaged machines for this particular endpoint. After the bulk import processes, the job returns as 'completed.' Its in the monitoring logs that I see the error above and the Audit logs that I see it die during the Register Virtual Machine phase.

 

Has anyone run into this before? I've checked that there is no allocation conflicts from the [vra].[dbo].[StaticIPvAddress] table. I can ping/nslookup the target just fine from the agent machine, and I can logon and see the box with the service account we are leveraging with the agent.


New MachineType + custom lifecycle stages

$
0
0

How can I create a new MachineType with some custom lifecycle stages? Is it possible?

I saw that the Azure Machine type has two custom stages: Allocation Workflow and Deallocation Workflow like in the picture attached.

vRA 7 - Increase the size of a Text Area element of a blueprint

$
0
0

When adding a Text Area element to a xaas blueprint using the blueprint designer there are three options for the size of the Text Area box, Small, Medium, and Large. I am in need a a larger sized text area box than any of the options give me. Is there a way to increase the size of the box?

 

I am trying to create a blueprint where the user can edit/create a role in chef using a vRO workflow. The json text in the role can be long and editing in the small box is challenging, in particular for the long lines that break in funny places and makes it hard to follow. Ideally the size of the box would be dynamically sized based on the content, however having that would just be a bonus.

 

Any help in creating a larger text area box is appreciated.

 

Thanks,

Josh

vRA resource action inputs

$
0
0

Hi, I have created a custom resource action to increase CPU and Memory on a virtual machine. It has input parameters as 'newCpuCount' and 'newMemorySizeInMB'. I am trying to make this call from a REST application using below data but request is failing

 

"data": {

        "provider-__ASD_PRESENTATION_INSTANCE": null,

         "newCpuCount": 2,

         "newMemorySizeInMB":8192

}

 

One or more payload literals match workflow input parameter(s) by name, but mismatch it/them by type. com.vmware.vcac.platform.content.literals.StringLiteral cannot be cast to com.vmware.vcac.platform.content.literals.NumericLiteral

 

But if I make the same by appending 'provider-' to each field, it works fine. Can someone tell me if this is required or I am doing it wrong?

 

"data": {

        "provider-__ASD_PRESENTATION_INSTANCE": null,

        "provider-newCpuCount": 2,

        "provider-newMemorySizeInMB": 8192.

    }

 

Thanks,

Rajeev

How to set reservation policy with Event Broker

$
0
0

I have a need to dynamically assign the reservation policy after a request has been submitted based on the type of catalog item requested and business group membership of the user. I have created vRO workflows that select the appropriate reservation policy, but I cannot get it to apply the the deployment using the "ReservationPolicyId" property or the hidden "__reservationPolicyID" property. I have attempted these properties through an output of the vRO workflow as a properties object and also using "System.getModule("com.vmware.library.vcac").addUpdatePropertyFromVirtualMachineEntity". Other properties such as setting the VM Folder, setting custom attributes or setting CPU/Mem sizes work properly. It seems to me as though this property is referenced prior to my setting it and therefore is ignored. I am using the EBS topic "Machine provisioning" with the conditions in the image below.

 

I look forward to your assistance! Thank you.

 

conditions.PNG

details.PNG

VRA 7.5 - Unable to reconfigure virtual machine

$
0
0

Hi Team,

 

We are running vra 7.5 environment deployed with minimal installation method.

 

We are getting the error message while re configuring the virtual machine:

"String was not recognized as valid boolean"

 

Is it a bug?

 

Also attaching the screenshot of the error message.

Viewing all 9859 articles
Browse latest View live


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