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

azure


IIS setting within the vRA

Change the Deployment owner in vRA 7.x using vRO

$
0
0

I am struggling to find a way to change the owner of a deployment (and all it's child items) using vRO.

changeowner.PNG

To put this into context, I am using XaaS blueprints where the associated workflow makes a call to System.getModule("com.vmware.library.vcaccafe.request").requestCatalogItemWithProvisioningRequest to send a custom request to vRA. I am using a 'service helper' account that requests 'hidden' blueprints that only this account is entitled for.

 

I have tried setting the following Custom props on the request:

Cafe.Shim.VirtualMachine.AssignToUser

VirtualMachine.Admin.Owner

 

These fields apply as expected but the deployment and component resources are still owned by this service account and not the user that requested the XaaS blueprint.

 

I have used the RequestedFor field but this requires that the requestor also have an entitlement to the 'hidden' blueprints, which I do not want as users would see duplication in the service catalog.

 

Does anyone know if there is an API within vRO that I can use to achieve this or does it not exist for vRA 7?

 

Thanks,

 

Gavin

vRA New Reservation - Resources are not showing (Storage)

$
0
0

Hi Community,

 

 

I am deploying vRA on a lab environment from LCM2.0, Tenant has been configured,added Vcenter compute resources to my vCenter
Created the reservation policy(storage and compute),but when I am going to create new reservation storage is not showing up only compute I can see in drop-down.

 

 

Please need your valuable input to fix the issue.

 

Added the screenshots in attachment section.

 

 

 

Thanks,
Dipsmita

vRO workflows execution getting stuck

$
0
0

Hi,

 

We restarted the vRO service as the vRO tool was very slow from couple of days.

But after restarting, the workflows are not running and getting stuck at the middle of the execution.

We tried to cancel the workflow execution from vRO tool as well as vRA control center, but execution

is not getting terminated. We are also not able to create any actions as it throws an error saying

"Cannot connect to host". Please help us on these issues.

 

Thanks

Reclamation Proccess to Link with Destroy Approval Police

$
0
0

Dears, if I configured Destroy Deployment Approval policy, can I link the reclamation process when applied with the Destroy Approval Policy

User Access to be Granted to the Request form

$
0
0

I need to add the drop down list to search in the Active Directory Domain User in the request form,

 

I need the user to select the Domain users whom will grant access to request VM

Endpoint Connection Issue in vRA

$
0
0

Installed proxy agent on one server.

Went back to vRA to setup the endpoint.

Names are the same so that's not the issue.

Monitor Logs says...

This exception was caught: Unable to connect to the remote server. Inner Exception: No connection could be made because the target machine actively refused it.

Other vCenters are working. Just this new one won't connect so I can't see any compute resources nor can I do discovery.

https is already in use on the host where vcenter proxy agent has been installed.

running vRA 7.2 and vSphere(vCenter) 6.5


Executing vRA Actions from vRO where the action input parameters contain an array of strings

$
0
0

Hello, I'm trying generate a test workflow that I can run from vRO that starts a sequence of vRA XaaS actions. The workflow works fine for actions with simple input parameters but I cant get it to work for ones having inputs of type array/string.

I'm using the vCACCAFERequestsHelper.setFormValues action to populate the vCACCAFEForm from an input property, if the property contains an array/strings the workflow fails with "Cannot compute a Literal for org.mozilla.javascript.NativeArray@ef8f9d7" . If I run the workflow without the array values a request is generated in vRA so I know the basic code works in part.

 

Ive looked at passing the array as a string and as JSON but neither options fixed the issue.

 

An extract of the testing workflow is as follows:

 

var vmNames = new Array();

                    vmNames.push("Test123");

                    vmNames.push("Test456");

 

var ipSets = new Array();

                    ipSets.push("TestingIPSet");

 

var actionName = "Test Action";

                   

// set update params

var inputProperties = new Properties();

                    inputProperties.put("provider-securityGroupAction","CREATE");

                    inputProperties.put("provider-newSecurityGroupName","TEST");

                    inputProperties.put("provider-ipSets",ipSets);

                    inputProperties.put("provider-vmNames",vmNames);

 

// Get vRA Action

var action = vCACCAFEEntitiesFinder.findCatalogResourceActions(catalogResource , actionName)[0];

 

// Get action form

var form = vCACCAFERequestsHelper.getRequestFormForResourceAction(action);

 

//debug

var fields = vCACCAFERequestsHelper.getFormKeys(form);

for (var field in fields){System.debug("field in form="+fields[field])}

 

// complete the form

var form = vCACCAFERequestsHelper.setFormValues(form, inputProperties)

 

//submit the request and get the request details

var request = vCACCAFERequestsHelper.requestResourceAction(action , form);

 

 

// create trigger

var trigger = vCACCAFERequestsHelper.createTriggerForResourceActionRequest(request, 60000);

var returnProps = new Properties();

                    returnProps.put("request",request);

                    returnProps.put("trigger",trigger);

 

The error returned is

[2018-12-11 17:18:54.406] [E] Error in (Workflow:test / setProperties (item4)#27) Cannot compute a Literal for org.mozilla.javascript.NativeArray@ef8f9d7

[2018-12-11 17:18:54.420] [E] Workflow execution stack:

***

item: 'test/item4', state: 'failed', business state: 'null', exception: 'Cannot compute a Literal for org.mozilla.javascript.NativeArray@ef8f9d7 (Workflow:test / setProperties (item4)#27)'

workflow: 'test' (c17b9536-f43c-410f-950e-9de8d01a9cb9)

|  'attribute': name=errorCode type=string value=

|  'attribute': name=vCACCAFEHost type=vCACCAFE:VCACHost value=dunes://service.dunes.ch/CustomSDKObject?id='aa8cf1cf-7e83-41d7-bbdc-113f9a484951'&dunesName='vCACCAFE:VCACHost'

|  'attribute': name=catalogResource type=vCACCAFE:CatalogResource value=dunes://service.dunes.ch/CustomSDKObject?id='aa8cf1cf-7e83-41d7-bbdc-113f9a484951/f2fc6870-b5d6-43ae-af5c-843b14f0f910'&dunesName='vCACCAFE:CatalogResource'

 

Has anyone got this to work or have a better alternative?

 

Many thanks in advance.

vRealize Automation 7.5 - Custom Forms - "Disk data grid"

$
0
0

I am fighting with the Custom Forms. I cannot achieve the removal of the different columns that does not matter to the user.

 

I want to create an out-of-the box Data Grid for the user to create disks with just these columns:

  • Capacity
  • Drive Letter / Mount Path
  • Label

I don't want them to complete the ID of the disk neither if it "Is Cloned" or "User Created"

 

Is this possible to do this without the use of vRealize Orchestrator?

How vRealize Operations Manager 6.7 calculate Remaining disk Space

$
0
0

Hi,

I am very confused by the way vRealize Operations manager 6.7 calculate Remaining disk space for a cluster or a Datacenter.

this is a picture of what I have in my environment when viewing the "utilization overview" dashboard with a selected Datacenter :

 

my storage capacity is 31 TB, I am using 27.99 TB and it says my remaining storage capacity is 2.4 TB which is far lower than Total capacity - usage.

In this case Total capacity - usage gives me 3.01 TB.

I really need some explanations here because I need to put those information in a report for a manager.

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.

Change Business Group of a Deployment

$
0
0

Has anyone run across a way to change the business group of an entire deployment?  We've had instances where VMs were deployed under the wrong business group and we want to migrate it to the correct business group, but there doesn't appear to be an easy way to change that.  It looks like you can go into Managed Machines and individually re-assign the VMs to a different business group / reservation, but the deployment itself seems to stay on the original even after all the VMs have been moved.  I feel like that should be a pretty common use case, but I can't find any info on doing it. 

vRA 7.5 - Few Deployments are getting any Day--2 Operations - actions.

$
0
0

vRA 7.5 - Few Deployments are getting any Day--2 Operations - actions.

 

Is it must the Blueprint needs to be present in the vRA - for any reference deployments? What happens if User deleted reference Blue prints and can't user see any Day-a2 actions on associated deployments  ??

Blueprint Deletion

$
0
0

why we cannot delete the blueprint without deleting the vm in vcac?


Approval Policy

$
0
0

Dears, I don't know why when I added multi users in the Approval Policy the approver get the request by with no Approve or Reject tab appear and the justification not active,

 

But when I add only one user or Group is working fine,

 

In addition, if the approver is not in the Business Group Manager, he didn't get the approval request and his Inbox got empty

 

any idea!!

DynamicOps.Tools.EncryptionKeyTool.exe Error, Padding is invalid and cannot be removed

$
0
0

I am upgrading a vCAC 6.2.3 environment to vRA 7.3 and getting a failure when migrating the SQL db.  I am able to un-encrypt the dB and upgrade the scheme however when the migration tries to re-encrypt the db it fails.

 

2018-03-14 7:51:40] D:\Program Files (x86)\VMware\vCAC\Server\Database\sqlcmd.exe -S XXXXXXXXXX -d XXXXXXXXXX -b -i C:\Users\sXXXXXXXXXX AppData\Local\Temp\tmp8B66.tmp

[2018-03-14 7:51:42] Executed C:\Users\XXXXXXXXXX AppData\Local\Temp\tmp8B66.tmp.

[2018-03-14 7:51:42] Clear database encryption hash: Succeeded

[2018-03-14 7:51:42] D:\Program Files (x86)\VMware\vCAC\Server\ConfigTool\EncryptionKeyTool\DynamicOps.Tools.EncryptionKeyTool.exe re-encrypt-database -pk ****** -nk ****** -cs "Data Source=XXXXXXXXXX ;Initial Catalog=dXXXXXXXXXX ;Integrated Security=True;Pooling=True;Max Pool Size=200;MultipleActiveResultSets=True;Connect Timeout=200" -v

[2018-03-14 7:51:43] DynamicOps.Tools.EncryptionKeyTool.exe Error: 0 : Cannot re-encrypt value C1F0YRuzUmh1ppIKyAY3SePH3s8zI6eZ9hhgWihcmoI= of item 57d5aae6-2652-4825-abdd-2b1f1e63f9e3 in table [dbo].[Credential]: Padding is invalid and cannot be removed.

 

The only thing on google is for vRA 7.2,  but the hotfix doesn't apply to 7.3.  Since it referenced MS Framework 5, I went ahead and uninstalled it.  Still receiving the error.  Has anyone seen this before?

vRA 7.5 software component incorrect ordering on requested deployment

$
0
0

When dropping software components onto a vSphere VM in my blueprint, the ordering of the software components seems to be related to columns.

 

Initially, I linked them bottom to top, right to left going up column 2 and the top component at the top of column 2 linking to the last component at the bottom of column 1 and then up column 1, like this:

The order was not correct on the request prior to clicking submit.

 

If all software components are aligned in 1 column the order that appears on the request is correct, top to bottom ordering.

If software components are aligned in 2 columns, the order has to be Left to Right, Top to Bottom with dependancy linking opposite, before it appears correctly on the request, like this:

 

Despite ordering the software components in 2 columns as described and it appearing correct on the Request prior to submitting, one the request is submitted, the order is not correct and the deployment of software components occurs out of order and fails:

vRA 7.5 API REST powershell login failure

$
0
0

I am running some powershell functions that were created in PowerShell Core (version 6) to connect to vRA and get the bearer token. If I execute the scripts in powershell 5, I get the user prompt to enter creds:

Upon entering the credentials and clicking OK, i get an error, user and pwd are correct, and the same I use to login to vRA gui:

IF i attempt the same request in powershell version 6, I get logged in successfully and get a token, without the windows login box:

My co-worker can execute the scripts successfully in PS5 and does not get the error I receive. In addition, dot sourcing does not seem to work correctly for me either, so not sure if something in my powershell env is hosed, but I can successfully connect to other API REST endpoints and login without issue and have no other issues with powershell 5.

 

It only manifests with vRA 7.5 API REST and PowerShell 5 on my laptop. I am tenant admin.

Cannot see the vSphere template when creating the Blueprint from the tenant.

$
0
0

I have created a centos6-x86 VM on vCenter Server (the endpoint). Installed both the agents in it (vcac guest agent and AppD agent). Converted into a template. Created all the necessary steps as vCAC administrator (creating endpoint, data collection, reservations, etc). Now as a tenant administrator when I try to create a Blueprint so that I can use the same centos6-x86 template, I don't see that getting listed. Any advice on how to make that visible to the tenant ? I tried the data collection many times but no luck :-(

one.JPG

Viewing all 9859 articles
Browse latest View live




Latest Images