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

CloudClient 4.4.0 Bulk Change Reservations

$
0
0

We recently split out our vCenter clusters and need to migrate all the Windows VMs from the shared cluster reservation to a new reservation. As we have ~200 VMs to move, I'd prefer to do this in some sort of batch job. I'd prefer PowerShell, but from what I understand CloudClient should be able to do the job.

 

For the sake of completeness, we're running the following:

  • vRA 7.2
  • CloudClient 4.4.0
  • vSphere 6.5

 

The old reservation is "Windows - 01", we need to move the Windows VMs to "Windows - 02" (super descriptive names, I know).

 

I was able to successfully log in interactively to vRA and the IaaS service, then change the reservation for a single vm (and back again):


CloudClient>vra machines change reservation --ids restest01 --reservationName "Windows - 02"

Successfully sent request to register machine restest01

CloudClient>vra machines change reservation --ids restest01 --reservationName "Windows - 01"

Successfully sent request to register machine restest01

 

I'd like to source the list of machines somehow (manually grab, use PowerShell, cloud client.. something), then provide that list of machines that need to move to cloud client. The first step will be try the change above from command line, but I'm getting auth errors:

 

C:\temp\cloudclient\4.4.0\VMware_vRealize_CloudClient-4.4.0-5511232> .\bin\cloudclient.bat vra machines change reservation --ids restest --reservationName "Windows - 02"

Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true

JRE Version: 1.8.0_121

Dec 07, 2017 3:45:45 PM org.springframework.shell.core.SimpleParser parse

WARNING: com.vmware.cloudclient.exception.CloudClientException: Failed to convert 'restest01' to type CloudMachineView[] for option 'ids'

Dec 07, 2017 3:45:45 PM org.springframework.shell.core.SimpleParser parse

WARNING: Authentication Error : Login required.

 

I've tried generating a CloudClient.properties file, and an encoded credential, but it doesn't seem to want to work.

 

Thoughts?


vRA 8.2 - Multi-Tenancy redirection issue

$
0
0

Hello folks,

 

I am facing and issue where the redirection to the correct URL when accessing one of the vRA tenants is not working properly regarding the domain selection.

 

When I choose the System Domain domain it redirects me properly to the "tenant.localdomain IDM URL" but when I switch the source to the AD domain it redirects me to the installation URL "idm.localdomain" which is not even the Master Tenant.

 

This issue is preventing me for configuring Virtual Private Zones as the option does not appear in the Infrastructure tab even having all the roles configured.

 

Any ideas?

vRA 8 import VM feature

VRA 8.2 - Value Picker with External Source

$
0
0

Has anyone had any luck with populating a Value Picker form item with an externa vRO action?  The docs say that the action has to return a Properties array, but my action that returns a Properties array does not show up as an option as an external source for a value picker (no actions seem to show up actually) 

 

We have some fairly large dropdowns and I think the value picker could be a better experience for our users, but I'm not having any luck so far.  I'm also not entirely sure if it is meant to be used with just a list of custom options or if we always have to choose sort of reference type?  The wording is a bit confusing in the docs, but the example seems to indicate the former.

vRA 7.3 - Health Service Rest API return empty values

$
0
0

Hi!

Trying to retreive health report data using REST API.

I'm able to get x-xenon-authtoken, but when I query tasks or configurations by using:

https://$vRA:8090/core/health-query-tasks

https://$vRA:8090/health/config/configurations

I recevie something like this:

{

    "documentLinks": [],

    "documentVersion": 0,

    "documentUpdateTimeMicros": 0,

    "documentExpirationTimeMicros": 0,

    "documentOwner": "d66913be-e43f-41ef-b0e5-400c9c459b9b"

}

{

    "documentLinks": [],

    "documentCount": 0,

    "queryTimeMicros": 1,

    "documentVersion": 0,

    "documentUpdateTimeMicros": 0,

    "documentExpirationTimeMicros": 0,

    "documentOwner": "d66913be-e43f-41ef-b0e5-400c9c459b9b"

}

I do have 2 healthcheck configured in the tenant I'm connecting to. User permissions are ok (i'm tenant and fabric admin).

Any ideas why do I receive empty objects?

vRA8 disk and nic count

$
0
0

I am trying to create a vRA8 blueprint in which I can select either (1 or 2) NIC's and have the option to add additional drives to a blueprint.  Requests will be consumed through the API, not through Service Broker.

 

I was hoping the "count" property for the disks or network cards could help, but I get errors during deployment if I try to use them.

 

Is there another way to add a NIC or drive through an ABX action prior to allocation? Any recommendations are greatly appreciated.

vRA 8.2 - Custom role and cloud templates

$
0
0

Hello,

 

I discovered the new feature "custom role" and it's great ! That's exactly what I need but I have an issue and I would like to know if I use it correctly.

 

I created a custom role names "Deployer" which allows :

- View deployments

- Deploy Cloud Templates

I want this role to be able to deploy cloud templates (blueprints) and see the status of deployments.

 

When I login with a user with this role, I only see deployments and cloud templates, that's great.

My issue is : In the "design" table, where the cloud templates are located, I can also "create" a cloud template ! And I don't want to role to be able to do this. Only admin will be able to create new cloud templates.

Is it a "bug" or I'm not using it correctly ?

 

Thank you in advance.

 

Best regards.

vRA 7.6 Patch 15 / Custom Form / Conditional Field / No longer working

$
0
0

Hello, 

I just patched our vRA 7.6 to 7.6 Patch 15, not our custom forms are no longer working. It looks like the simple function - visible on condition (e.g. integer > x) is no longer working. 

Has anyone had similar issue?

Gonna roll back the snapshots now..

Regards Kjeld 


How to Generate a report of Disabled Alarms on VM Objects

$
0
0

I want to create a scheduled report to identify any VMs, hosts, datastores etc that have disabled alarms

 

Vcenter 7.0

Version: 8.1.0 (15972145)

 

Edition: Advanced

vRA 8.1 - iaas rest api returning "Invalid mime type" error

$
0
0

I've been trying to extract a response from the vRA 8.1 iaas API, with no luck so far. every API call to, for example https://$url/iaas/api/about returns, the error:

{"timestamp":1603193804909,"path":"/iaas/api/about","status":500,"error":"Internal Server Error","message":"Invalid mime type \"org.mozilla.javascript.Undefined@ac577ae\": does not contain '/'","requestId":"3bca07fd","@type":"org.springframework.http.InvalidMediaTypeException","cause":{"message":"Invalid mime type \"org.mozilla.javascript.Undefined@ac577ae\": does not contain '/'","@type":"org.springframework.util.InvalidMimeTypeException"}}

 

Normally I do not use an Accept or Content-Type header to force a specific content type and am relying on application/json. This works fine with other API requests like:

https://$url/blueprint/api/about or

https://$url/deployment/api/deployments

 

Including the Accept and/or Content-Type header with the value "application/json" returns the same error as above.

 

Does the iaas API request a specific schema or is this a bug?

Migration Assessment of vRealize Automation 7.x to vRealize Automation 8.2 : include: 500 Internal Server Error

$
0
0

Hello Team ,

 

Have any of you tried to migrate their environment from vRA 7.5 to 8.2 ?

 

We have a 500 error :

 

 

 

Do you know where we can find logs ?

 

Thx for your help.

vRA 7.5 - Upgrade to 7.6 Model Manager Database is missing

$
0
0

Hello folks,


This time I am facing an issue while upgrade from vRA 7.5 to vRA 7.6. After the VA pre-checks, the pre-install IaaS checks fails because of "Model Manager Database missing" and I searched a lot on the internet for this but I could not find anything. Basically the SQL database where the Model Manager is trying to connect is working perfectly but I am suspecting that I have some files missing:

 

Screenshot_3.png

 

If this is normal, anyone faced this issue before upgrading?

 

Regards!

VRA 8 existing network blueprint and datastore selection

$
0
0

Hi,

 

I am unable to find the options that were available in vRA 7.x like configuring the fabric groups, selecting multple datastores and configuring blueprint with existing networks dv-ports if we dont have any other IPAM solution.

Kindly guide me on above.

 

Thanks,

[vRA 8.2] - vRealize Suite Lifecycle Manager : An unexpected error occurred.

$
0
0

Hello,

 

on vRLCM 8.2 when we try to access at "LifeCycle Operations"

 

 

 

we get this error :

 

 

Do you have an idea please ?

 

All others services work : locker, Contant management, etc.....

vRA 8.1 / LCM 8.1 - error when source mapping vRA 8.2 update binaries

$
0
0

I want to upgrade vRA 8.1 to 8.2 using LCM.

I've downloaded the ISO-Image containing the binaries, in version Prelude_VA-8.2.0.12959-17018654-updaterepo.iso.

The file was uploaded to a folder on the LCM appliance containing other patces and is discovered successfully.

However when trying to map the binaries, I get following error:

 

LCMSOURCEMAPPING10018

Error Code: LCMSOURCEMAPPING10018

Selected files checksums does not match with any product versions supported by vRealize Lifecycle Manager.

One or more selected files checksums does not match with any product versions supported by vRealize Lifecycle Manager.

 

LCM is already updated to the latest 8.2 build.

 

Any idea what the reason for this error is? Re-uploading the file did not help.


vRA 7.5 - Create Azure Security Rule

$
0
0

Dear all,

 

Is there any way to create Azure Security Rule through vRA, to an existing Network Security Group?

 

The NSG has been created through vRA, through a new catalog item, and now I am looking if I can add a Day-2 XaaS action to allow create a new security rule.

I tried to create a new custom resource, where I can see that there is an option Azure:SecurityRule, but I cannot link it with an XaaS BP or custom action.

 

 

Any ideas?

 

Thx

Tasos

[vRA 8.2] - Custom Branding 400 Bad Request

$
0
0

Hello,

 

when we try to customize branding we get this error :

 

 

Do you have an idea please ?

Creating Blueprint vRA 8.2

$
0
0

Hi,

 

I am unable to find the Blueprint option under cloud assembly. The ID I am using have full priviledges on vRA.

How to add an external IPAM range to a Network Profile in vRA8

$
0
0

This is clearly documented for vRA7 as per https://docs.vmware.com/en/vRealize-Automation/7.1/com.vmware.vra.programming.doc/GUID-B5EB1871-458A-4281-9BCA-D5DB54897CB2.html

But looking at the different API's available for vRA8 I cannot find anything there.
Looked in the IaaS API in the Network Profile section https://code.vmware.com/apis/655#/Network%20Profile/updateNetworkProfile

Also enable network tracing in Chrome to see how it's done via the UI but still cannot figure out what happens.
I can see a PUT against "https://vra01.*****.net/provisioning/uerp/resources/subnet-ranges/f3d1169e-42c3-4258-a620-7e5059ca72e5

But doesn't really help me. Any pointers?
 

ManagedObjectNotFoundFault vm-1990

$
0
0

Trying to deploy Ubuntu Server 20.04 with cloud-init support.

Create template using this manual https://vmwarelab.org/2020/02/14/vsphere-customization-with-cloud-init-while-using-vrealize-automation-8-or-cloud/

Cloud-init working fine, but when i try to use "name" in blueprint i got error:

vCenter responded with "ManagedObjectNotFoundFault vm-1990."

 

formatVersion: 1

inputs: {}

resources:

  Cloud_vSphere_Machine_1:

    type: Cloud.vSphere.Machine

    properties:

      image: 'ubuntusrv20.04'

      name: testesttet

      cpuCount: 1

      totalMemoryMB: 1024

 
formatVersion: 1
inputs: {}
resources:
  Cloud_vSphere_Machine_1:
    type: Cloud.vSphere.Machine
    properties:
      image: 'ubuntusrv20.04'
      name: testesttet
      cpuCount: 1
      totalMemoryMB: 1024
Viewing all 9859 articles
Browse latest View live




Latest Images