Quantcast
Channel: VMware Communities : Unanswered Discussions - vRealize Automation Tools
Viewing all 6792 articles
Browse latest View live

VRA 8.1 (or 8.0) - User inputs for static ip and gateway for Windows Server

$
0
0

Is it possible to allow my users to input a static ip and gateway for their VM when they request it from a blueprint?  It's a windows server 2019 image and I couldn't find an easy way to nicely pass these types of attributes... any suggestions (details please!) would be awesome.

 

Additional info:

Their VM gets attached to an existing NSX network based on their username and a tag assigned to that network in NSX.  It's a constraint on the network tag.

I also use a customization spec for this template. 

 

Thanks!


vRA 8.1 - Bitbucket integration?

$
0
0

Did anyone manage to succesfully integrate a Bitbucket Server (local) repository with their vRA instance?

I've generated a token for my account and added the URL and Token to the configuration, however I end up with an error:

Unable to validate the provided access credentials: Failed to validate credentials. AdapterReference: http://cgs-service.prelude.svc.cluster.local:8090/content/api/endpoint-adapters?adapterId=com.gitlab.saas. Error: Gitlab server is down Cloud account: null Task: /provisioning/endpoint-tasks/f7a607d1-b187-4355-ba7f-369d6f0c56cd

 

Addind the same server and repository to vRO 8.1 using SSH works fine. Sadly, there is no option for integrating vRA via SSH, only HTTPS. Or maybe it is possible to force a SSH connection using the API? (Content Gateway?)

[VRA/VRO8.1] Upload File Input Issues

$
0
0

Hello!

I was hoping someone can help me out with a VRA/VRO service catalog input question.

 

I have a VRO workflow which takes in an uploaded .csv file which I configure as an input in the workflow and is automatically added to the inputs form field section of the workflow

 

 

I have a test csv with the following content:
heading1,heading2,heading3

"row1-val1","row1-val2","row1-val3"

"row2-val1","row2-val2","row2-val3"

 

My script in the workflow gets the content from the uploaded CSV and displays them

var uploadCSVdata = uploadCSV || new MimeAttachment ();

System.log(uploadCSVdata.name);

System.log(uploadCSVdata.mimeType);

System.log(uploadCSVdata.content);

 

My code works if I use the “DEBUG” feature in the VRO workflow to upload the CSV

Result (correct):

2020-05-28 10:25:14.000 -06:00info __item_stack:/item1

2020-05-28 10:25:14.000 -06:00info test.csv

2020-05-28 10:25:14.000 -06:00info application/octet-stream

2020-05-28 10:25:14.000 -06:00info heading1,heading2,heading3

"row1-val1","row1-val2","row1-val3"

"row2-val1","row2-val2","row2-val3"

 

But I am trying to run this from the Service Broker Catalog and the upload file field is missing

 

Even If I try to customize the form the upload file is not there.

 

 

If I add another simple input like a text field it appears in the Workflow inputs it appears in both the Service Catalog request as well as in the customizable form section.

 

How do I get my workflow upload input to appear in Service Catalog?

 

 

 

Thanks

add ThinProvision custom property to vRA blueprint using restapi

$
0
0

Hello,

I have written the below script to check ThinProvision property is available to blueprint or not. Till this extend I can get the report correctly.

Once I get the list of blueprints which doesn't contains  ThinProvision property then I need to add the property to that blueprint. However I don't find any rest method to add custom property to the blueprints in vRA 7.6 API documentation.

So my question - Is it possible to add  custom property(ThinProvision) to blueprints using restmethods. If yes please give me an example.

$cred=Get-Credential  
$allorgs='',''  
foreach($org in $allorgs){  
$vra_server=''  
$identityRequest = @{  
"username"= $cred.UserName  
"password"=$cred.GetNetworkCredential().password  
"tenant"=$org      }      $json = $identityRequest | ConvertTo-Json      $headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"      $headers.Add("Accept", 'application/json')         $response = Invoke-RestMethod "https://$($vra_Server)/identity/api/tokens" -Headers $headers -Method Post -Body $json -ContentType 'application/json'      $token = $response.ID      $restHeaders = @{"Content-Type"="application/json";"Authorization"="Bearer $token"}      $uri="https://$($vra_Server)/catalog-service/api/consumer/catalogItems"      $CatalogItem=Invoke-RestMethod -Method Get -Uri $uri -Headers $restHeaders      foreach($singlecatalogid in  $CatalogItem.content){      $uri1="https://$($vra_Server)/catalog-service/api/consumer/entitledCatalogItems/$($singlecatalogid.id)/requests/schema"      $CatalogItemschema=Invoke-RestMethod -Method Get -Uri $uri1 -Headers $restHeaders      $VirtualMachinethin=$CatalogItemschema.fields.datatype.schema.fields |Where-Object{$_.id -match 'VirtualMachine.Admin.ThinProvision'}      if(-not $VirtualMachinethin){      $VirtualMachinethin="ThinProvision Property not added"      }      else {          $VirtualMachinethin="ThinProvision Property added"          }     New-Object PSObject -Property (      [ordered]@{          TenantName = $org          BluePrint  = $singlecatalogid.name          ThinProvisionPropertystatus = $VirtualMachinethin                })  
}  
}  

vRA 7.6 Reservation Capacity Alerts to DLs

$
0
0

Just curious if anyone has managed to get vRA Reservation Capacity Alerts sent to a distribution list on vRA 7.6 at all?

VMware Perl SDK and RedHat packages

$
0
0

The Package Dependencies (specifically packages not available from RedHat) are not really addressed in the Release Notes for the SDK you linked below.  Here is the issue that has been reported to me:

 

“My current issues with the VMware perl SDK are dependencies in their example code on the UUID::Random and Crypt::X509 modules which are not available from RedHat.  The first can possibly be worked around by using Data::UUID instead, but the only source I can find for UUID::Random is CPAN.  I cannot find an obvious workaround for Crypt::X509, which is available from EPEL but not from RHEL repos. “

Editing vRA cloudconfig from a vRO workflow

$
0
0

Hello all,

 

I want to custom the hostname of my automated VMs and for this I am using cloudconfig with vRO which communicate with a third-party solution to get an unique hostname to respect the standard from the company.

 

I am using vRA 8.1 and I have currently this blueprint using cloudconfig :

 

resources:

  Cloud_vSphere_Machine_1:

    type: Cloud.vSphere.Machine

    properties:

      image: '${input.image}'

      flavor: '${input.flavor}'

      hostname: ${input.hostname}

      networks:

        - network: '${resource.Cloud_vSphere_Network_1.id}'

      cloudConfig: |

        hostname: ${input.hostname}

 

This is passed to a vRO workflow. The workflow has "inputProperties" as input and "customProperties" as output. The workflow gets a unique hostname from a third solution and change the value of "hostname" from the given variable "inputProperties.customProperties.hostname" and should change also the hostname put in the cloudconfig.
(vmHostname is the new unique name to set)

 

The problem is that when the cloudconfig is passed to the vRO workflow, the variable inputProperties.customProperties.cloudconfig has already set the default value for hostname.

So I can change the entire cloudconfig value since it is a string but I don't find it optimal. Is there a way to change the hostname variable in the cloudconfig with vRO ?

 

 

You can see there that cloudconfig has the default value "newName". It was set at the moment when vRA passes variables to vRO.

To bad that cloudconfig is not a "Properties" type, I could have change the value by just typing "custom.Properties.cloudconfig.hostname = myNewHostname".

vRA 7.6 change max_volume value in a composite blueprint on progagate that

$
0
0

Hello everybody,

 

My problem: i have deploy VMs with composite blueprint with a limit of the max number volume to 1. But now i want increase this value. The propagate option in the blueprint don't work for this option.

I can change for the futurs VM but not for the olds.

 

Is it possible to change the option with other way? (in database or with a vro workflow)

 

Regards


vRA 8.1 Pricing Card Calculation

$
0
0

I’m currently evaluating the new pricing card functionality in vRA 8.1 in our test environment. Our production environment is still on vRA 7.6 and the price calculation is done with vRB. Since vRB is not supported any more with 8.x, we need a new way to do our billing for which we are using the showback and daily reports of vRB.

 

The integration of vRA 8.1 with vROps 8.1 is working from both sides. The pricing cards are showing the currency configured in vROps and I can see the prices on the deployments. The metering metrics in vROps are visible too and the calculation looks quite right.

 

What I’m currently missing is the grade of detail which the vRB showback and daily reports are offering. For example:

 

  • Daily uptime in minutes and monthly uptime in hours (VM powered on/off calculation)
  • Visibility of configuration changes (added/reduced CPU, RAM, storage)
  • Additional charges breakdown (Guest OS, tag based calucation)
  • Calculation for deleted machines (e.g. VMs deleted in the middle of the month still needs to be charged)

 

Is there anything available in vRA or vROPs to get this grade of detail for the calculation? Currently it seems like a black box which is only coming up with values for each day summed up for cpu, memory, storage, additional charges (combined) and total price.

Pass variable from XAAS Blueprint to a Composite Blueprint simialr to property binding

$
0
0

Hello All,

 

Need some advise/suggestion with the below:

 

We have a XAAS blueprint which creates a network port group in vcenter and creates the associated network profile and reservation as well. We want to provision a new machine after the network is provisioned by the XAAS blueprint. The goal is to achieve a single click deployment so we want to pass the network value that got created using the XAAS blueprint to the Composite Blueprint during VM deployment something similar to what we do using property binding in composite blueprints. Is there a way to achieve this? Please advise.

VMRC connectivity in vRealize Automation fail

$
0
0

When i'm trying to connect into a VMRC console it fails and this message is shown

 

Cannot establish a remote console connection, verify that the machine is powered on if the server has self-signed certificate, you might need to accept certificate, then close and retry the connection.

 

I've already applied all the steps in VMware Knowledge Base

 

 

This is a new enviorment (vRA 7.6), so it never worked before. Any ideas?

 

Additional notes:

 

  • Inside the vCenter i can access to remote console
  • In catalina.out no error es shown:

 

[UTC:2020-05-29 17:09:48,330 Local:2020-05-29 14:09:48,330] vcac: [component="cafe:console-proxy" priority="INFO" thread="tomcat-http--8" tenant="vsphere.local"

context="rbpFNEUn" parent="" token="rbpFNEUn"] com.vmware.vcac.console.proxy.controller.TicketController.getTicket:63 - Get Ticket Request vmId: vm-3926, userN

ame

[UTC:2020-05-29 17:09:48,331 Local:2020-05-29 14:09:48,331] vcac: [component="cafe:console-proxy" priority="INFO" thread="tomcat-http--8" tenant="vsphere.local"

context="rbpFNEUn" parent="" token="rbpFNEUn"] com.vmware.vcac.console.proxy.controller.TicketController.getTicket:64 - Get Ticket Request ticket: 52495cad-940

1-5007-a171-f8c6d762a3c0, host: vmName:, thumbprintValue: 47:C2:93:02:D3:23:DB:4A:85:71:38:45:E0:DC:99:6

1:84:44:4F:65

 

 

Thanks!

Unable to rollout vRA trough LCM (LCMVRAVACONFIG590003)

$
0
0

Hi,

 

I'm building a lab environment of vRA but the installation of vRA won't succeed. I keep getting the error below:

 

++ vracli ceip status --raw
++ awk '{print tolower($0)}'
+ ENABLE_TELEMETRY=false
+ kubectl -n prelude create configmap telemetry-config --from-literal=collectorIdSvc=vcac.8_0 --from-literal=endpointEnv=production
Error from server (Forbidden): configmaps "telemetry-config" is forbidden: unable to create new content in namespace prelude because it is being terminated

 

I've already applied the fixes sugessted in:

 

Error Deploy vra 8.0.1 in vRealize Suite Lifecycle Manager Refers to KB76053 and KB76870

 

Is there anything else I can try?

vRA 8.1 cannot deploy linked clone from template

$
0
0

I am having issues getting linked clones to work in vRA 8.1 with a blueprint using the vsphere machine resource. The imageRef property does not validate with an input string of a VM Template with a snapshot. It only seems to validate if I use a VM name with a snapshot for VM that is not marked as a template.

 

For example, if I have a template VM "vm-template" and a non template VM "myvm" with a snapshot "Snapshot1" on each:

 

imageRef: 'vm-template/Snapshot1'

- Test of blueprint fails with "Cannot find matching image mappings for image: vm-template/Snapshot1"

 

imageRef: 'myvm/Snapshot1'

- Test of blueprint succeeds

 

Does this mean that vRA 8.1 does not support linked clones from a template?

 

As a workaround I tried to convert my template back into a VM, but when I sync images from the Cloud Account settings, it only seems to pick up new templates added, but not any new VMs. I can see VMs in the inventory that are not templates, so I think they were picked up on the initial creation of the cloud account, but I can't seem to get any new VMs to show up in vRA 8.1.

 

It would be nice to be able to specify a linked clone from snapshot option on the image mappings, but I don't see an option for this.

 

Is anyone else experiencing these issues?

 

Regards,

Darren

vROPS 8.1

$
0
0

Hello Folks,

 

We have vROPS 8.1.0 ( 15972145 ) version. When I try to open VAMI with port 5480 I'm unable to browse to it. I need to patch this appliance. Any idea please? Or is there any other procedure to patch this?

 

TIA,

VRA 7.5 to 7.6 Upgrade process ( VMware vRealize Automation )

$
0
0

Hello

 

Could you please help me with a VRA 7.5 to 7.6 upgrade process guide step by step.   I go through VRA document portal but that is not enough.

 

I want to upgrade my production environment.

 

Thanks


VRA 8.1 Installation VMware vRealize Automation

$
0
0

Hello Everyone

 

Please share VRA 8.1 Installation step by step guide. I want to install VRA 8.1 in Prod.

 

Thanks

Sync Directory - Import groups with odd names

$
0
0

Hi there,

 

I've created a group in Active Directory called "VRA-Department-Users", but after the directory sync, I'm seeing the Sync log and the new group is imported with some kind of ID instead of the group name ($EM9000-41CJAG4O8QPA). When I've tried to add this new group in a Business Group, I cannot find it by the name, but appears by the ID.

This is the second time it happens to me in different vRA 7.x installations and versions.

Any ideas?

 

Thanks,

D.

vRA Tenant Administrator Lease Override Option

$
0
0

We have a recurring scenario in our development cycle that involves deployments from a short-term blueprint (60-days Max) needing a change to a long term lease deployment(365 days) with manager approval.  (And no one knows if the lease will need a long-term revision.)  Renewing the lease every two months is not a viable option for us, since it's essentially an infinite lease if we give the power to the users to do so.  And having all leases be a max value of 365 days has caused users to be wasteful.  This update also needs to be done without downtime.

Do Tenant Administrators or a Business Group Managers not have the rights to set the lease to whatever they choose for a specific deployment?

I've already seen unsupported solutions to modify the Postgres Database "at your own risk," or doing some sort of deployment shutdown, export, then import, so I'm not really interested in those janky workarounds.

It's very possible I could be missing something in the permissions or GUI options.

Any help would be greatly appreciated.

 

Thanks

vRA 8.1 and Infoblox

$
0
0

Hi

Can I change the default Address Sapce (DNS view ) from defualt to another DNS zone (DNS View i infoblox)?

The problem that I have is vRA can see only the default view.

 

Infoblox.IPAM.Network.dnsView: default

 

Certs for vRA

$
0
0

In vCenter you can go to https://vcenter.domain.com/certs/download.zip or vcenter.domain.com and then click the Download Certificate link.

 

This will provide certificate to import into the browser so you don't get this error:

 

NET::ERR_CERT_AUTHORITY_INVALID

 

uses encryption to protect your information. When Microsoft Edge tried to connect to vcenter.domain.com this time, the website sent back unusual and incorrect credentials.

 

My question is where can I get vRA certs?  If I use https://vrealize.domain.com I only get options for

 

Administrative Console and other things, but no certs.  I don't have Admin rights.

 

So how can I download \ import the vRA certs?  Is there a link similar to vCenter?

Viewing all 6792 articles
Browse latest View live


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