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

RegisterVirtualMachineRequest workflow failing.

$
0
0

We recently migrated vRA from 7.0.1 to 7.4. 

 

To import unmanaged machines into vRA we were leveraging  vRO and used following method on the vCACVirtualMachine. This method used to work perfectly in vRO 7.0.1

register(<|>?String_user , ?String_identityUser , ?String_templateId , ?String_hostReservationId , ?String_hostStorageReservationId , ?Properties_headers)

 

but after upgrade same workflow we are getting following error in vRA. Complaining about below custom property.

 

Workflow 'RegisterVirtualMachineRequest' failed with the following exception:

Value cannot be null.

Parameter name: RegisterExistingMachine: Machine xxxxxx: Value for property VirtualMachine.Imported.ConvergedBlueprint is null or empty.

 

Please share if you have any idea on this problem. How we can supply VirtualMachine.Imported.ConvergedBlueprint property?


vRA SNOW Plugin timeline for compatibility with ServiceNow Kingston

$
0
0

Is there any roadmap/timeline for support of existing and comming ServiceNow releases?

Проблема с метриками

$
0
0

Добрый день коллеги!

Прошу помощи в vRealize Operation Managere, в общем суть проблемы, создал самописную метрику, при создании новой панели, добавляю график, выбираю свою метрику, после чего обсалютно ничего не происходит

vRO UnitTest with vRealize Suite Lifecycle Manager

$
0
0

Hi all,

 

Any idea how to use UnitTest feature in new vRealize Lifecycle Manager ?

 

I've create a simple vRO package, and unitest workflow but I get this error:

 

Unit Test Failure 1 : TypeError: Cannot read property "0" from undefined (Dynamic Script Module name : listUnitTestWorkflowsByFolder#131)

 

More stranger thing is that i cannont find this object listUnitTestWorkflowsByFolder in my vRO, neither new logs apear in "scripting.log"

 

Any idea ?

 

Thanks for you help

Jose Ibañez

Do we need to restart vRA appliance , if the IAAS Database and IAAS windows servers restarted ??

$
0
0

Hello All,

 

   We have simple setup of vRA 7.2 , 1 vRA Appliance, 1 Orchestrator, 1 Windows server IAAS, 1 Windows SQL Server for IAAAS data base.

 

   During the regular windows patching Cycle, these servers will be rebooted, do we need to restart the vRA and vRo appliances as well after restarting the IAAS and DB server ? Will impact the server builds ??

You cannot use a reserved property

$
0
0

Hi!

 

vRA 7.4 distributed environment.

 

Blueprint for a Windows 2016 machine, we are using the CloneWorkflow, clone from a vCenter template and are using a Customization spec.

 

There are 3 disks in the template, when deploying, only the C drive is active so I want to use VirtualMachine.DiskN.Letter, VirtualMachine.DiskN.Label and VirtualMachine.DiskN.Active as custom properties to set these drives active after the deployment.

 

But it's not working, it says "You cannot use a reserved property" when adding these properties to a disk in the blueprint.

 

What am I missing? Where should I use these properties if I cannot add them to the disk? Should I enter them in the Property Dictionary?

 

I tried it on a Create BasicVMWorkflow because I thought is was an issue since we are using a template but I have the same problem.

 

I normally use a Powershell script to set this but I figured, why not using those properties but I cannot get it to work...

 

Thanks!

vRA 7.4 - Custom Forms Data Grid

$
0
0

Hello!

 

I am playing around with the Data Grid in the New Custom forms Designer - more precisely with the "disks" Grid. What I found so far:

 

  • Adding the Grid to the Forms I got this Error:

 

Schema fields [[is_clone, initial_location, volumeId, id, label, custom_properties, userCreated, storage_reservation_policy, capacity]] should match the default value fields [[is_clone, initial_location, volumeId, id, label, userCreated, storage_reservation_policy, capacity]].

 

Cause: there is no "custom_properties" Field in the Grid Layout

 

Solution: Look at the "Default" Value and remove the "custom_properties," from the Header and the "," bevor the capacity - in my case before the "80":

 

is_clone,initial_location,volumeId,id,label,custom_properties,userCreated,storage_reservation_policy,capacity

true,,0,1525072814859,Hard disk 1,,false,,80

 

is_clone,initial_location,volumeId,id,label,custom_properties,userCreated,storage_reservation_policy,capacity

true,,0,1525072814859,Hard disk 1,,false,80

 

  • Using the "disks" Grid "breaks" any approval Policies based on Storage Size

 

Cause: If you add more disks to the Grid the Value of "Storage (GB)" will not be incremented

 

Solution: Well... its more a workaround since I have not found a way to pass the Values of a Data Grid to an vRO Action. I created a vRO Action which fills the "disks" Grid based on Values in the Custom Form (the size of the template base disks are Hardcoded):

 

  • If you use an external vRO Action for the Grid Values the Return type of the Action must be "Array/Properties". In my Case the Action was not found if I use this return Type.

 

Cause: Bug?

 

Workaround: I changed the Return Type to "Array/String" and the Action was found in vRA. After I changed the Values Binding in the Custom Form, Saved the Blueprint and corrected the Return Type of the Action to Array/Properties.

What is the difference between VRM Guest agent and Boot strap agent ?? Do we need Darwin account in the template for successfull deployemtn ??

$
0
0

Hello All,

 

    There is local user account called Darwin in the reference server( Golden Image), from where we will create template.

 

    As part security compliance , we were asked to remove the local account. When I searched, got to know it used by Boot strap agent when preparing for the template user will be created.

 

    There is confusion in vRM guest agent and Bootstrap agent what is the difference between both the agents and how exactly these agents are used during the server provisioning ??

 

     If I remove the Darwin agent, will the server provisioning fail ??

 

 

Thank you in Advance !!


Problem getting duplicate reserveation on vra 7.4 with getReservationsForUserAndComponent

$
0
0

I have a small problem after the upgrade from 7.3.1 to 7.4.

I use the action getReservationsForUserAndComponent passing some parameters to get the list of reservation I have available to let the user choose between them (filtering on some variable like operating system or Site Name).

 

This is a typical call in my action that get the list of reservation:

var location = "Napoli"
var tenant = "vsphere.local"
var blueprint = "LinuxServers"
var component = "rhel_base"
var user = "myuserQmydomain"
var host = vCACCAFEHostManager.getDefaultHostForTenant(tenant , true);
System.log("Host: "+host.name);
var reservations = System.getModule("com.vmware.vra.reservations").getReservationsForUserAndComponent(user, tenant, host, blueprint, component);


...


The complete list of reservation is composed by

Those are the reservation Name and ID I get invoking that code:

Name: Roma Windows (vsphere.local) ID:e2f62516-105b-4a9c-81ac-1f7462664c7d

Name: Napoli Windows (vsphere.local) ID:0e533627-f3d7-452c-946e-797a9b4f77f2

Name: Napoli Oracle (vsphere.local) ID:03c4764e-98a0-4c43-9ee7-97f371f376cb

Name: Napoli Linux (vsphere.local) ID:a9ff7bc6-89e9-4ab1-b887-9cfe5a30b7de

Name: Roma Windows (vsphere.local) ID:e2f62516-105b-4a9c-81ac-1f7462664c7d

Name: Napoli Windows (vsphere.local) ID:0e533627-f3d7-452c-946e-797a9b4f77f2

Name: Napoli Oracle (vsphere.local) ID:03c4764e-98a0-4c43-9ee7-97f371f376cb

Name: Napoli Linux (vsphere.local) ID:a9ff7bc6-89e9-4ab1-b887-9cfe5a30b7de

 

I get 2 time the data back from the call, 8 items (the same 4 duplicated).

 

I saw that getReservationsForUserAndComponent now get also a subtenantid that accept the id of the business group. Using the business group id for the correct business group i still get duplicate items so it seems that this is not the problem.

 

Anyone know what is happening and if I'm doing anything wrong? The issue started after 7.3.1 to 7.4 upgrade.

vRealize Business - vCenter Data Collection

$
0
0

Hi,

 

I have a "stand alone" implementation of vRealize Business connected to a vCenter with only 100 VMs as a POC for a client. Five days after the installation, the vCenter Data Collection starts to fail (warn) and also the Cost Callculation (fail).

 

I'm using the lastest version "7.4.0.19475".

 

I couldn't find info in the Internet nor the documentation. The message says "Data collector is not posting data to transformers".

Any ideas?

vrb-status.png

Thanks

vRA 7.4 not showing infrastrcuture tab

$
0
0

Hello!

So i was installing a vrealize automation 7.4 and everything went fine during the installation. All validations came back ok. But when i logged in with my user ( that i gave Tenant and IAAS administration permissions) i couldn't see the infrastructure tab! Actually, no tab at all, just the Administration and Containers Tab. Am i missing something?? I went to the vRA Appliance and all services were registered ok, so i don't know whats could be the problem.

 

I tried with local users, AD users, all permissions, nothing worked

 

Can someone give me a light please?

Request failed while fetching item metadata: There are no reservations available to perform the requested operation.

$
0
0

Hello Guys

I have VRA 7.4 installed and a vCenter con multiples cluster. I configure Cluster and Network Selection (https://virtualhusker.com/2017/10/26/cluster-and-network-selection-in-vra/)

My problem is when a request is running show me the following error

Request failed while fetching item metadata: There are no reservations available to perform the requested operation. Details: [No reservations available with Endpoint Interface [vSphere] and Reservation Policy [Site A].].

 

In my reservation not exist Reservation Policy called Site A, I delete the custom property VRM.Datacenter.Location to perform this setup but the problem persist.

Someone will have some idea why this error

Regards

Sebastian

Request failed while fetching item metadata: There are no reservations available to perform the requested operation.

$
0
0

Hello Guys

I have VRA 7.4 installed and a vCenter con multiples cluster. I configure Cluster and Network Selection (https://virtualhusker.com/2017/10/26/cluster-and-network-selection-in-vra/)

My problem is when a request is running show me the following error

Request failed while fetching item metadata: There are no reservations available to perform the requested operation. Details: [No reservations available with Endpoint Interface [vSphere] and Reservation Policy [Site A].].

 

In my reservation not exist Reservation Policy called Site A, I delete the custom property VRM.Datacenter.Location to perform this setup but the problem persist.

Someone will have some idea why this error

Regards

Sebastian

vRA Action - Create Snapshot - Size calculation

$
0
0

hi all

 

Can any of you confirm this behaviour or have any further information?

 

A user has tried to take a snapshot of a VM in the vRA portal which failed with the following message:

CreateSnapshotError: Reservation with name XYZ does not have enough resources to create a new snapshot for machine with name ABC and ID 123.

 

This makes sense for me, because the VM is 2200GB and in the reservation the corresponding datastore has only 1300GB free space.

vRA will probably take the maximum snapshot size and check it with the free space on reservation. Can anyone confirm that?

And is there a way to disable this check?

 

What I don't really understand is that the snapshot was taken in vCenter, although the request is failed in vRA.

 

Thanks.

Andi

MSI Not Installing

$
0
0

VRA keeps failing when i try to install files via MSI from the Software Deployment Section in VRA.


Bulk import not collecting all unmanaged machines

$
0
0

I have installed vRA 72, I have my blueprints done, configured vCO, created custom properties.  It is now time to import my existing VMs from vCenter 6.0 U3.

 

When I run the Generate CSV to find all my unmanaged machines it does not collect all the machines.  I have about 20 machines that the csv generation does not find.  I am OK with creating a csv from scratch but I do not know where to find the virtual machine ID or the Deployment Name.  Do I even need these?

 

I have an open case with support but they are dragging their feet.  I was hoping there was someone out there that can help me or point me and support in the correct direction.

 

thanks,

AD initial sync fails with error "Failed to complete dryrun."

$
0
0

Hello,

 

I am setting up a Lab and I am at the step of connecting AD to vRA, but I got stuck on the following error "Failed to complete dryrun."

 

 

Looking at the connector.log file, it seems the connector is able to connect to the AD and retrieves some accounts but when it tries to store it in vRA, a java stack error is thrown with error message :

2018-07-28 12:35:28,532 ERROR (tomcat-http--26) [3002@VSPHERE.LOCAL;configurationadmin@VSPHERE.LOCAL;127.0.0.1] com.vmware.horizon.dirsync.SyncController - Sync aborted.

com.vmware.horizon.client.rest.Exception.ApiException: User is not authorized.

 

Any idea which authorization I need to add for this to work ?

On AD side I am using the default high privileged administrator account to do the sync, and on vRA side I am using the default configurationadmin account.

 

Thanks for your help.

 

Full connector.log section about the sync operation is joined.

 

Regards,

vRA SSO

$
0
0

Hi Folks,

 

I wanted to check if there are any steps to enable SSO on vRA where when the URL is hit it should not ask for credentials. I have seen some information in vRA documentation but wanted to check if there is any step by step information available?

 

Thanks,

Databinding for Checkbox

$
0
0

Hi

    I am working on an SqlServer blueprint.   There is are checkbox in my form, and some dependency. as shown below.  

 

     Right now, i am thinking to use Databinding in vRO, but it doesn't work to me.  Any idea what i am doing incorrectly or any advice would be highly appreciated.

 

     Thanks.

 

     vRA.jpg

 

     vRO.jpg

 

 

br

jigang

Deploy a proxy agent and worker in a different domain

$
0
0

Hello expert ,

 

I have two domains one is my "A" and the other one my "B". In my "A" domain i have install the vra with two appliances two IAAS components servers. In my A environment every works perfect. Now I want to deploy a proxy agent and a worker in my "B" environment and connect it to my vra 7.3, is this possible without a trust of the domains? Does someone have a best practice guide for this or is it unsupported?

 

We i am trying to install getting below error message .

 

 

 

Viewing all 9859 articles
Browse latest View live




Latest Images

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