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

Orchestrator getIPAddresses() of vCloud:Gateway object fails

$
0
0

I'm trying to get the IP of the external interface in the vCloud:Gateway.

 

I've looked in the API Explorer and found the method .getIPAddresses() of the vCloud:Gateway object. But when I run the script I just get error NullPointerException..

 

If I run the toXml() method I get the full dump of the vCloud:Gateway object in XML-formatting and with it the IP-addresses, but I would like a cleaner way of getting them.

 

[2019-01-17 09:39:24.951] [E] Error in (Workflow:test / Get External IP (item1)#2) com.vmware.vmo.plugin.vcloud.VCloudPluginException: java.lang.NullPointerException

 

What to do?

 

We run Orchestrator 7.4.0, vCloud plugin 9.5.0 and vCloud Director 9.5.0.


vRO Presentation. Dynamic choose

$
0
0

Good day!

Need a little help.

I have presentation tab where located a few input device information. I have to a choose variant of next step by the select predefined answers in the first step.

Can i do this with data binding parameter?

 

Thanks!

Unable to refresh request form from the server Invalid argument (vRA + vRO 7.3)

$
0
0

I have a property defined with external value (vRO action). When selecting an IaaS catalog item with this property included the following error appears at the top of the browser:

 

Unable to refresh request form from the server Invalid argument

 

If I re-configure the property definition back to static ...

 

apples:apples

oranges:oranges

bananas:bananas

 

... then it works fine. I have seen differing solutions that either return a value of type string/array or Properties. Regardless of what my vRO action returns I get the same error indicated in the title:

 

var myReturnValue = [ 'apples' , 'oranges' , 'bananas' ]
return myReturnValue

 

.... or ....

 

var myReturnValue = { 'apple':'apple' , 'oranges':'oranges , 'bananas':'bananas' }
return myReturnValue

 

.... or ....

 

var myReturnValue = new Properties()
myReturnValue.put ( 'apples' , 'apples' )
myReturnValue.put ( 'oranges' , 'oranges' )
myReturnValue.put ( 'bananas' , 'bananas' )
return myReturnValue

 

The action logs the value of myReturnValue as well as the object type and object class name just to confirm I have the right type. When I compare my code to other code in the environment or code provided by VMware (all of the referenced actions in Configuration Details for the vRealize Orchestrator Action Custom Property Definitions) I don't see any real difference.

 

  1. Any ideas what to try next?
  2. Is there a log file to check on the vRA+vRO appliance that would help?

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.4 Healt Check Tenant

$
0
0

Recently I've run health check for Tenant in vRA and got few critical failed one of it is

 

[Service 'ManagerService' with name 'ManagerService' in host 'vra-mgr-00' is in an unexpected state: Expected 'Active or Passive' Actual 'Started'] [Service 'ManagerService' with name 'ManagerService' in host 'vra-mgr-01' is in an unexpected state: Expected 'Active or Passive' Actual 'Stopped'] [Atleast one Manager Server should be in Active state. vra-mgr-00.icds.domain.local:ManagerService=STARTED, vra-mgr-01.icds.domain.local:ManagerService=STOPPED]

 

How to change this status to active passive or this test is wrongly configured

Capturing properties on state VMPSMasterWorkflow32.MachineActivated for post activation scripting

$
0
0

Once the vm is activated, I need to access the custom property values that the user selected in my custom form and I passed to the vm using vitualMachineAddorUpdateProperties to tie them to the build. Some of these properties are IP etc, but others are concerning 'add to solarwinds' and 'install av' etc.

VMPSMasterWorkflow32.MachineActivated only passed the 'base' properties and not the custom ones. It does have the requestID.

Is there a way on VMPSMasterWorkflow32.MachineActivated for me to use the requestID and lookup what the custom property values are?

Or how?

Custom Forms Value Picker - Reference Type

$
0
0

Hi,

 

I'm trying to use the custom forms value picker with External action, but I encountered an issue.

My goal is to retrieve AD users via external action(vRO) and populate value picker with these objects.

 

In order to use the Value Picker with AD integration I saw this blog post:

https://www.virtualiseme.net.au/index.php/vra-7-4-custom-forms-value-picker/

 

The "Reference Type" used here is the 'AD:User' object of vRO.

I'm trying to do something else, instead of returning 'AD:User' object , I try to parse and loop over all the users (Because the presentation of 'AD:User' object is very messy and has a lot of unnecessary attributes), push their names into array and present it via Value Picker.

 

But here is my issue, apparently vRA value picker "Reference Type" isn't supporting generic objects such as:

String

Array

Properties

 

But other type of objects working, such as:

VC:VirtualMachine

AD:User

VC:Datastore

 

 

Does anyone knows how do I send generic objects such as I mentioned above via External Action ?

'Run SSH Command' vRO Workflow - not passing through environment

$
0
0

Hi,

 

I've developed a vRO workflow which runs a Puppet Task unfortunately when this is running through the vRO 'Run SSH command' workflow the Puppet Task is not executed correctly and requests credentials, these already exist in the format of a token in the puppet users SSH profile.

 

When running the command via SSH manually from a session logged in as the exact same user the command runs without issue.

 

Is their something different about the way the 'Run a SSH command'. workflow functions in vRO. Is it perhaps that the users environment is not read when it makes a connection. Is their a way to do this so that the puppet task command I am trying to run is aware of the token. Unfortunately their is no way to specify the token with the command I am running.

 

Cheers


Error While deploying 3 Tier App Blueprint

$
0
0

HI All

 

While deploying 3 Tier App blue print [CustomizeVM_Task] - Guest Customization is already pending.. but while applying the  costume spec in vcenter  it is not giving no error .

 

 

 

 

Please can any one help

 

Regards

Raja

Is anyone using T-shirt drop downs to set CPU, RAM, etc. via the Plugin?

$
0
0

Is anyone using T-shirt drop downs to set CPU, RAM, etc. in Blueprints/Catalog Items in ServiceNow?

If so, how are you doing it... manually configuring the Catalog Items in ServiceNow OR levering the plugin sync using some technique?

 

I am currently using vRA 7.5, London & vRA/SNOW Plugin V5.

 

Thanks in advance.

Error while configuring External vRO " Service not found. If the problem persists, contact your system administrator". 7.3.1

$
0
0

Hi All,

 

    We have 7.3.1 Environment with external vRO configured, because of provisioning issues thought to restart the appliance and check. it worked in earlier cases. But after restarting , I have tried to check if the vRO connect, then I tested connection from Administration tab > Server Configuration. test connection is successful but, When I click ok it throwing an error.

 

" Service not found. If the problem persists, contact your system administrator".

Restart vRA 7 deployment wizard

$
0
0

Hello,

 

I am going through the installation wizard on vRA 7 but for some reason I had to change the Windows account that runs the DEM agents and the SQL DB connection, when I get to the Validation section of the wizard the connection to the DB fails, in the logs I can see it is still trying to use the old account I ran it the first time it failed.

 

I have gone back to the first section and entered the values again, logged out and restart the appliance, but every time the Wizard uses the wrong account.  Is there any way to force a restart of the deployment without redeploying the appliance?

 

There was a KB at some point but it was removed:

https://kb.vmware.com/kb/2143063

 

 

Any help is appreciated.

 

 

Thanks.

 

 

Juan.

vRealize Atuomation deployment fails when software components are added.

$
0
0

Hi.

 

As the title says my deployment fails when I add some software components to my blueprint.

I would like to mention that the deployment if a blueprint is without any software components deloys complitely fine. So I guess the template and other stuf should be OK.

 

The deployment gets stuck at 99% and then after some time it fails.

 

Here is my software component actions:

 

INSTALL:

 

#Install needed packages:

sudo yum install -y yum-utils device-mapper-persistent-data lvm2

#Configure the docker-ce repo:

sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

#Install docker-ce:

sudo yum install -y docker-ce

#Add your user to the docker group:

sudo usermod -aG docker $(whoami)

 

CONFIGURE:

 

systemctl start docker

systemctl enable docker

 

START:

 

#Run

docker run hello-world

 

I have no properties defined.

 

Screenshot_1.png

 

Thank you.

 

Denis.

vRA appliance API and cli

$
0
0

Hi!

Is there any API or CLI reference guide available to vRA 7.3 VAMI?

All a found is: https://VAMI-FQDN:5480/config REST api commands.

And some cli commands in /usr/lib/vcac/tools/vami/commands

But that's not enought for me

I'd like to retrieve the following information from the appliance:

- internal PSQL database status (conection status, which node hosts master and replica, what is the status and sync state)

- in the cluster tab there is an info about last connected state to the cluster components. I can get the components list and it's states from REST API, but not the data about last connection

- SSO conectivity can be taken from system health test , but i wonder how to query it directly.

Also I'll be really appreciated for any CLI guide (or blogpost) for performing health checks.

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?


vRA 7.4 - Blueprint deploy priority

$
0
0

I am challenging this issue where i have three groups of VMs inside a single blueprint.

 

Is there any way to specify priority or an specific order at the moment of deployment? For example first deploy Group A of VMS then Group B and so on?

 

Thanks in advance.

Service-now catalog item shows up, but no data / fields inside

$
0
0

Hello.

we are running ITSM4.0 with VRA 7.3.1 and Service-now Jakarta.

 

We can import the catalog items into service now and are displayed correctly.  But when you click on the catalog item in service-now, no fields are displayed.  Can't see the CPU, MEM, Storage, or hostname fields.  the form is completely blank.

 

We do see this error message in the Service-now debug log.

 

VRASNImportCatalog.insertVariableValidation:  Exception Caught inside VRASNImportCatalog.insertVariableValidation:  ConversionError:  The undefined value has no Properties.

 

any help or direction would be appreciated.

VRASN 5 (vRA 7.5 + Kingston) vRA Catalog Items Visible without Form Details

$
0
0

I'm running vRA/SNOW Plugin V5 with Kingston.

 

The Plugin is freshly installed, connected to vRA, and Catalog & Category data loads appear successful.

 

I can see the vRA Catalog Items & Categories, but, when I attempt to open an item for ordering I see a spinning wheel for a while then a blank page:

 

In the ServiceNow (SNOW) "System" Logs & "Integration - vRealize Automation" Logs I see "Exception caught inside vra_sn ps catalogForm Widget.else: TypeError: Cannot read property "widget" from undefined":

 

However, I see all the Variables in the actual vRA Catalog Item record:

 

I've triple checked the plugin install guide and everything seems in order EXCEPT my client won't allow "delete" permissions on the specified tables for audit reasons.

 

Any help or leads appreciated.

ERROR MSDTC VREALIZE AUTOMATION 7.5

$
0
0

Hello Guys,

 

I would like deploy a new minimal instance vRealize automation 7.5  I prepare my IaaS server and my SQL Server, But when I click on validate I have an error on the SQL Server

Error1.png

The local MS DTC or the one on the IaaS database server (if the database is external) is not configured correctly for network access. If the servers that host MSDTC have been cloned their CID might not be unique (located in HKEY_CLASSES_ROOT/CID) thus causing this issue. To regenerate its CID values the MSDTC must be reinstalled. Details: La communication avec le gestionnaire de transactions sous-jacent a échoué. Details: Le gestionnaire de transactions MSDTC n’est pas parvenu à extraire (en pull) la transaction du gestionnaire de transactions source en raison de problèmes de communication. Causes possibles : absence d’exception pour le processus MSDTC sur le pare-feu existant, les deux ordinateurs ne se trouvent pas mutuellement à partir de leur nom NetBIOS ou la prise en charge des transactions réseau n’est pas activée pour l’un des deux gestionnaires de transactions. (Exception de HRESULT : 0x8004D02B)

 

> Disabled Firewall IAAS & SQL : OK

>  Remove & Install MSTSC . : OK

> Configure MSTSC with Best practice:  OK

 

I'm not sure  during the step SQL Server Configuration  which good information should I put exactly :

error2.png

 

Do you have an idea?

 

Thank you

 

Mikael

VRA 7.3 Certificate Authentication Issue

$
0
0

I have a VRA 7.3 Appliance configured to use Certificate authentication.  When I try to login I get an error.  I have imported all the correct certs in the Authentication Adapter under the certificateAuthAdapter.  I noticed that when I try to login I don't get prompted for my smart card certificate.  It just instantly goes to a page that says error and that's it.  Any help or suggestions on what to try or where to look would be greatly appreciated.  Thanks

Viewing all 9859 articles
Browse latest View live




Latest Images