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

requesting user in vro custom input

$
0
0

I am trying to create a vRA XaaS service that puts the user account that requested the service on a drop-down menu.  This is of course part of a much larger plan.  This is just testing how to get the user account data on that menu.

 

So, I created an action

---------------------------------------  Code ------------------------------------------------

var ans = ["fooy"];

var tenant;

var name;

try {

    var host = vCACCAFEEntitiesFinder.getHost("123-abc-def");
    tenant = host.tenant;

    name =  System.getContext().getParameter("__asd_requestedBy");

} catch (e) {

    ans = ["Exception", e];

}

 

ans = [ "testing", "tenant:" + tenant, "Req by:" + requestedBy, "Name:" + name, "done"];

return ans;

 

-----------------------------------------------------

 

Then I created a vRO Workflow for vRA to call

 

 

 

 

 

-----------------------------------------------------------------

 

Then create and run the XaaS blueprint.

But when I run it, All I get is

What am I missing here.  How do I get the account of the user requesting this blueprint on this menu?

 

The entire system is vRA 6.2.2 and vRO 6.,0.3

 

Thanks all,

Carl L.

    var host = vCACCAFEEntitiesFinder.getHost("d1a45031-e74f-4db6-ba8a-20a7c2a3f221");
    tenant = host.tenant;


OVA File Failing to Deploy in vCenter 6.5 and vSphere 6.0.

$
0
0

I am trying to deploy an .OVA file and I keep getting a failure in both vCenter 6.5 and vSphere 6.0. The error in vCenter reads: "task cancelled by user". When I try to deploy it via vSphere the error reads: postNFCData failed.

VRA7 and Bare Metal provisioning using PXE on HP server (Linux or Windows)

$
0
0

Hello,

 

There used to be physical endpoint for HP, Dell ILO to add as a endpint for physical server provisioning , it is not in VRA 7 , I need to do Bare Metal provisioning using PXE on HP server , what is the method suitable here ?

 

Thanks

VCAC 6.0 Physical Server Deployment DellBlade

$
0
0

Hello sirs,

 

Just to ask if someone has any experience on troubleshooting/deploying physical server provisioning will Dell iDrac from vCAC 6.0, since I have made all the steps needed to this happens, It simply doesn't work, I checked all twice:

 

  • Create endpoint with iDrac credentials
  • Reservations for physical server
  • Build profile with  Image.ISO.Location,Image.ISO.Name, Image.ISO.Name,Image.ISO.UserName and Image.ISO.Password set.
  • The blue print is also using the WF for physical server provisioning and adding the Build profile from the step before.


I just get installingOS on the processing the request, but nothing happens on the server side,the vCAC just turn on the server but stops there.


In addition I'm sharing the ISO image for Windows 2012 from WebDav, and this image is prepare with sysprep in order to be automatic enough to be installed unattended.



Any help will be really appreciated!!!!


+vRay

win2012R2 Blueprint don't get configured correctly without a Customization Specification

$
0
0

I'm doing some tests with vRA 7.3 to create windows 2012R2 machine starting from a template machine using Clone workflow but I'm getting some problem.

 

My blueprint is really simple.

- 1 network interface configured on the correct vlan/ip range and with correct DNS server/domain.

- only the disk from the template

 

I've created a network profile with the correct dns ip/domain and attached it to the reservation

I've created an AD endpoint on Administrator vRO Configuration/Endpoint

I've created an AD policy and attached it to the Business Group

I've created a machine name prefix

 

I've created a blueprint that use:

- 1 Existing network (configured above)

- 1 vSphere (vcenter) Machine with:

  - the name prefix I've defined

  - the template i've created (with vRA software installed with the prepare_vra_template-ps1 script)

 

I've tried to add some extra custom properties (not sure If i need more):

VirtualMachine.Admin.UseGuestAgent=true

VirtualMachine.Customize.WaitComplete=true

ext.policy.activedirectory.id=activedirectorypolicyi'vedefinedabove (think this should not be needed but I was not sure).

 

When I let vRA provision this blueprint it will :

- create the ad servername into the AD correct OU

- Provision the window server

 

It seems that after the initial provision the server is not configured for the networking part from vRA but for example if I add a disk to the blueprint it get added and formatted correctly-

The provision end correctly but at the end of the provision the hostname and ip address are the same as the template I've done the clone.

 

If I add a customization specification something seems to work.

The hostname get changed and the ip address get assigned correctly (from the vRA pool I've defined).

The domain don't work in any case and get configured exactly as it is on the specification wizard (workgroup or domain configuration)

 

Is it possible to configure the server without any customization specification?

I'm not understanding what was wrong with the configuration or if it's just me doing thing in a wrong way.

request mail user

$
0
0

Hi,

 

How can I get the mail of a user who requests from the VRA catalog?

I want to send him a successful mail when a workflow in finished.

I don't want to use the built-in mail of the vra because it doesn't have enough information and cannot be customized easily.

 

I saw the __asd_requestedFor attribute, but it is the login name of the user.

The login name and the mail address is not the same in our organization.

 

When using the build-in mail notification in the VRA, it knows to send it to the correct mail user...

 

Thanks!

Change Owner of deployment with

$
0
0

Cross posting here as I am not getting very far in the vRO community Change Owner with Request a catalog resource action fails with 400 Bad Request .  Just curious if anyone can verify for me that trying to change owner of a deployment using the Library/vRealize Automation/Requests/Request a resource action workflow is functioning for them in 7.3 .  I have two environments and I can't get it to work in either.  Works fine from the gui.  Using the embedded vRO.  Tested in both a clustered and simple install.  Both fail identically.

Problem adding a second card to a blueprint for linux

$
0
0

I have a redhat template with 1 network card configured with the correct network.

Working on vRA7.3

 

When I provision the machine from this blue print all goes well.

My problem is that if I add a second network to the blueprint and a second network card configuration the position of the 2 network card is inverted and the vcenter will get the wrong address as primary.

 

Example:

Template

- Network adapter 1 configured on Public port group

 

Blueprint network configuration is:

id0 is the public nework while id1 is the private network

Going on the vm properties after provisioning i get the network card exchanged:

On the template there was only a network adapter 1 with the public portgroup

Vcenter will get the ip address of the private network as IP (so the provision will not finish correctly if I have other step like puppet installation because it get the wrong ip to connect to)

 

Anyone got the same problem and know how to solve?


Ubuntu template with guest agent and multiple disks

$
0
0

Hi

 

I've recently started using Guest Agent in our deployments and overall it is working very well and as intended.

 

Now we lik to use it to manage disks that we add on-demand (added to request at request time) or as a part of a ready blueprint.

 

It is on Ubuntu 16.04 and guest agent for vRA 7.3.

 

Disk 0 is part of the template we clone

Disks 1+ are all configured with Mount points and Lables

 

Now to the issue:

 

We only get Disk1 created, formated and mounted. Once the script (built in to guest agent) get to Disk2 it thinks it is already mounted. But we can clearly see that the disk and mountpoint is not ready.

 

Anyone had similar issues and know how to debug the 30_Disk***.sh script that the guest agent executes?

 

//Marcus

vRealize Operation Manager problems

$
0
0

I try to install a vRealize Operation Manager demo but I have problems when I try to establish the PWS.

I check all OS configuration... keyboard and virtual keyboard or a screen keyboard but I see the same problem.

 

somebody know how I can fix it?

I need to prove this solution. I'm Interested to get a complete reports for all vm machines. detail reports.. performance... problems... hardware...  etc

 

Issue with provison AWS VM through vRA Postman API

$
0
0

We have a XAAS BP with workflow "Launch Instance" for AWS. When we provision a AWS machine through API getting below error

 

{

    "errors": [

        {

            "code": 10101,

            "source": null,

            "message": "Invalid argument.",

            "systemMessage": "Expected EntityReferenceDatum, not java.lang.String for Field: client",

            "moreInfoUrl": null

        }

    ]

}

 

 

We have tried multiple client values like "AWS [us-east-1] [ id=64d744d2-71d8-4b3a-83e6-144f46130d12/us-east-1 ]" but none helped. How can we define the client value?

vRA7.3 - Calls to vRealize Orchestrator cache

$
0
0

I've noticed that vRealize Automation 7.3 has a sort of cache for the calls to vRealize Orchestrator.

 

I have a contextual action that presenta a form with data. This data has an external default value and calls for an Orchestrator Action to get them. But when this values change, vRealize Automation shows the old values for almost a minute. If you select the action a minute later, the correct values are shown.

 

If I call the action myself in Orchestrator, I always get the updated values.

 

Is there any way to avoid this vRA cache?

 

Thanks a lot,

D.

Problem with DNS Settings from Network Profile and Linux RHEL7 network configuration

$
0
0

I've a problem when configuring DNS search suffixes in the Network Profile DNS configuration on vRA 7.3.

 

On linux search keywork is "blank" separated while the vRA say to "comma" separe the values in the field.

In vRA i have search order like: domain1.com,domain2.com

 

My problem is that i get the value "comma separed also on the linux /etc/resolv.conf file and it will not work correctly and fail to solve hostname.

The /etc/resolv.conf is something like:

nameserver x.x.x.x

nameserver y.y.y.y

search domain1.com,domain2.com

 

with correct resolv search order:

ping nohost

ping: unknown host nohost

[root@itromlx20 ~]# ping goodhost

PING goodhost.domain1.com (x.x.x.x) 56(84) bytes of data.

64 bytes from goodhost.domain1.com (x.x.x.x): icmp_seq=1 ttl=127 time=0.225 ms

 

With the wrong resolv search order i get:

[ping nohost

ping: unknown host nohost

ping goodhost

ping: unknown host goodhost

 

This is from the resolv.conf man page:

search Search list for host-name lookup. The search list is normally determined from the local domain name; by default, it contains only the local domain name.  This may be changed by listing the desired domain search  path  following the  search  keyword with spaces or tabs separating the names.  Resolver queries having fewer than ndots dots (default is 1) in them will be attempted using each component of the search path in turn until a match is found.  For environments with multiple subdomains please read options ndots:n below to avoid man-in-the-middle attacks and unnecessary traffic  for  the  root-dns-servers. Note  that  this process may be slow and will generate a lot of network traffic if the servers for the listed domains are not local, and that queries will time out if no server is available for one of the domains.

 

is this a known bug/misbehaviour or I'm doing something wrong?

Upgrade to vRA 7.3 from 6.2.5 breaks all Dynamic Types based blueprints

$
0
0

I'm managing a large implementation of vRealize Automation with several tenants, many custom resources, ads blueprints and actions.

 

In my lab, I've upgraded from vRA 6.2.5 to vRA 7.3 and all XaaS Custom Resources, related XaaS Blueprints and related XaaS Actions are broken. I've noticed that in vRealize Orchestrator, the Dynamic Type plugin is different that the previous one and the configurations where not migrated.

 

I've reconfigured my custom Dynamic Types but this doesn't fix Automation. I need to recreate all Custom Resources, XaaS Blueprints and Actions. This could take me months.

 

Is there any way to solve this without doing manual job? Can be upgraded in a way that Dynamic Types keeps working?

 

Thanks a lot,

D.

Business group custom property unavailable in request template API

$
0
0

We have a custom property defined in Business group level and it is unavailable in request template API(attached the JSON file)

 


Passing values from vRO back to calling vRA request (vRA 7.3 + vRO 7.3)

$
0
0

There are lots of resources about passing values from vRA to vRO by leveraging custom properties and/or payload. My question is how to pass values from vRO back to vRA.

 

I am working on a requirement to create service accounts at request time (converged blueprint). I have the basics of the workflow figured out -- it calls a PowerShell script which will create the user account name based on parameters passed, generate a password, create a new user account with new password in the domain and store the user account name and password in a database. My workflow will capture output to stdout and stderr to a JavaScript variable. The script will output the name of the new user account. What I haven't been able to figure out is how to pass the user account name back to vRA for later scripts to use.

converged blueprint customization at request time [vRA+vRO 7.3]

$
0
0

I am working on a project that has the requirement to deploy a N-tier solution. For each tier the user is prompted on if the tier is to be included or excluded, and if it is included whether or not network load balancing is included. Meaning that the per-tier options are: (1) none, (2) one sided, (3) two sided with NLB. Right now the solution has one blueprint per tier and an Orchestrator workflow will make a request to vRA to request the appropriate catalog item. The problem with this approach is that there are 'N' number of vRA requests which are not associated with each other. In the case of a four tier configuration with three options per tier (none, Side A, NLB + Side B) there would be a total of 3*3*3*3 = 81 combinations.

 

Rather than building one blueprint per tier I'm trying to figure out if it is possible to build one uber blueprint will all of the options included and then based on the user's input remove the components that are not required, either by removing entire tiers from the request or by removing NLB+SideB components for a specified tier from the request. At this point the NLB solution is unknown and I would prefer to treat it as a generic black box for now.

 

Or, would it be easier to build a skeleton blueprint and add the components, either entire tiers or NLB+SideB for specified tiers, to the request?

How to kill/delete request suffering from "Failed to retrieve form from provider" [vRA+vRO 7.3]

$
0
0

I have a XaaS request which has resulted in a continuously spinning "Failed to retrieve form from provider" which hasn't timed-out after 12+ hours.Other than restarting the vRA appliance is there any other way to kill this request?

 

BTW, I am not worried about why this happened. The Event Logs clearly show a coding error on my part.

 

Thanks.

AWS Default Blueprint - VRA 7.3 how can I place limitations - is there a configuration file?

$
0
0

Hi there

 

My team is using the AWS Default blueprint to provisioning EC2 machines in AWS. VRA v7.3. We want to find out a method of how to limit certain aspects. I'll give you examples:

 

1. Storage tab - The customer wants us to limit the max size of each storage volume to 100 GB. However, the input field of Storage allows me to type unlimited values. Is there a way to put in limitation using a configuration file or javascript code?

2. Subnet selection - We have only one subnet created in the VPC. However, in the subnet drop-down we see the one subnet and the default subnet. We don't want to display the default subnet. Is there a way to to limit the drop-down values displayed?

 

These are just examples of what we want to achieve. Any help will be appreciated.

 

Thank you.

Nikhil Gonsalves

Infrastructure > Recent Events is empty [vRA 7.3]

$
0
0

After rebooting a standalone vRA 7.3 appliance using the VAMI interface I no longer see entries in "Recent Events". Otherwise everything seems normal and everything under "vRA Settings" in the VAMI interface looks OK and the only service that shows not registered is "release-management: com.vmware.csp.component.devops.release.management".

 

How do I fix this?

Viewing all 9859 articles
Browse latest View live


Latest Images