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

Unable to resolve Warning on vRA 7: Attached endpoint 'vCenter' not found

$
0
0

Hi,

 

I am trying to run a catalog request on vRA 7 to provision a Generic VM via a Blueprint. However, the request fails with the following error (see attached: Infra Error lglou199).

Exception thrown for IaaS endpoint: https://lglou199.lss.emc.com/WAPI/ - [Error code: 42300 ] - [Error Msg: Infrastructure service provider error: A server error was encountered. Error requesting machine. No reservation is available to allocate within the group Configuration Administrators. ]

 

 

The logs on Infrastructure->Log also show a warning stating that the attached endpoint cannot be found (see attached: Infra Error Log- No vCenter Endpoint).

 

* I have added the vCenter (lglag040) on which lglou199 resides as an endpoint, that is visble in the Endpoints tab (see attached: lglag040- Endpoint added). 

* I am also able to ping the server lglou199 successfully. 

 

I am not sure why this error arises. Please let me know if there is a way to resolve this problem.

 

Regards,

Samarth


possible to create ondemand LB in vRA that is inline and not using NAT?

$
0
0

Hey all,

 

I can deploy LB in one-arm mode (same net as target server),

also I can deploy LB with 2-arms when I utilise On-Demand NAT (LB VIP is in VIP network and webservers are NATted). NATted webservers also use LB as gateway.

 

What I am trying to do is 2-arm without NATting. Is this possible (through vRA)?

 

 

 

inline LB:

Self service it with v realizeautomation and nsx.png

 

 

 

this does not work: vRA complains that vmnetwork needs to be in VIP net

LBnetworks.png

any ideas?

 

 

Kalli

IP Address showing as Allocated for destroyed machine

$
0
0

I have run into a situation where a machine has been destroyed and is no longer in my managed items, but the there is still an IP address allocated to it in the network profile.  I have tried to reclaim it, but the button is grayed out.  Does anyone have any idea how to manually reclaim this address?

Thanks,

Ann

Building a private hands-on-lab

$
0
0

Hi there, not sure if this is the right forum, but I exploring for solutions that can build something similar to VMWare's Hands-on-Lab.

 

This is actually for classroom environment, so there will be a tutor and students. The idea is that the tutor will be able to spin off labs environment for the students and the students will be able to logon to the environment. The lab environment can consist or more than 2 VMs for each student and the environment should be isolated between other students. I am thinking as multi-tenancy concept.

 

I am wondering if vRealize Automation is the right platform for such use case.

Static IP release cycle

$
0
0

Hello,

In vRA, there is a process that runs every 30 minutes and releases IP addresses which are in the destroyed (StaticIPv4AddressState = 2) state.

We would like to increase this cycle, however I could not find anything in vRO that suggests there is a vRO workflow that performs this task.

 

Does anyone know how can we change the schedule?

 

Also, is it possible to perform this cycle  manually on demand? For example as XaaS blueprint.

 

Thanks!

Leonid

vRA/vRO 7 - Get the custom properties values

$
0
0

I am trying to update the VM hostname and created a few property definition and added them into the property group.

 

Within the property group, I have created:

 

  • Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.BuildingMachine
  • Extensibility.Lifecycle.Properties.VMPSMasterWorkflow32.Request

 

Both have the values __*,*

 

The property group is added to the blueprint and I have also created the new Event Subscriptions with the following setup:

 

  • Select "Machine Provisioning" topic
  • Added the following conditions
      • Data > Lifecycle state name EQUALS VMPSMasterWorkflow32.BuildingMachine
      • Data > Lifecycle state phase EQUALS PRE
      • Data > Machine > Machine Type EQUALS Virtual Machine

 

 

In the vRO workflow scripting, I am passing the "Payload" as Properties into the workflow

 

I am able to retrieve the machine ID

var machine = payload.get("machine");

machineId = machine.get("Id"); // Value is returned

 

var machineProperties = machine.get('properties'); // Getting NULL when retrieving the properties

 

The machineProperties is returning NULL and I am not able to proceed further to retrieve the property definition that I have specified.

 

Am I missing anything? Please help! Thanks.

How do I edit IP assignemnts in Network Profiles in vRA

$
0
0

A VM have been provisioned using a VLAN defined in a Network Profile. An IP has then been allocated to the VM from the network profile. All good but VM has then been manually edited to have a new IP and VLAN assigned replacing the original vRA defined IP and VLAN. Does anyone know how I can remove the old IP from the vRA network profile ?

 

Going forward we are developing a vRO workflow to allow the users to run a job to alter the VM custom properties to then alter the VM IP in the profile.

 

Thanks

Prestonville

vRealize 7 Gather 'Who Approved' via EBS

$
0
0

So I am attempting to gather who approved a request via EBS for review. The code works when I run it in vRO but fails when called via EBS in vRA. I am leaning towards this being a bug and I was curious if anyone else has attempted this, sees an issue with my code, or could even run a similar test in their own environment. When run by EBS, VCACCAFEEntitiesFinder doesn't return anything at all for enumeration.

 

baeHost = Server.findAllForType("vCACCAFE:VCACHost")[0];
var baeCrs = baeHost.createCatalogClient().getCatalogConsumerRequestService();
var baeReq = baeCrs.getRequest(baeReqId);
var baeApv = vCACCAFEEntitiesFinder.getWorkItems(baeHost);
var baeApprover = "";
for each (var i in baeApv) {
 System.log(i); //Never fires once when run by EBS
 var baeApvProp = i.workItemRequest.getItemData();
 if (baeApvProp.containsKey("requestInstanceId")) {  if (baeApvProp.get("requestInstanceId").value == baeReq.id) {   baeApprover = baeApprover + "(" + i.completedBy +  " - " + i.completedDate + ")";  }
 }
}
System.log("Request: " + baeReq.name + " Id: " + baeReq.id + " Approver: " + baeApprover);
if (baeApprover.length > 0) { return baeApprover } else { return "Auto-Approved" }
//var baeApv = baeHost.createWorkItemClient().getWorkItemWorkItemService().getAllWorkItems().getContent(); <-- also
//             attempted this method but it only returns manual actions and not approvals.

 

To make matters more confusing, this works fine when called as part of an XaaS form (that runs in seconds) but does not work as part of MachineProvisioned for a blueprint that takes 15 minutes. If I manually run the exact same instance after the blueprint finishes, it works 100% of the time.

 

Thanks for any help. (This is in 7.1)


vCAC and ASD with multiple vCenter Endpoint

$
0
0

Hi community,

 

i've got an issue with an Advanced Resource Action to a VM where i call a vCO Script.

Connected to the vCAC and also to the vCO i have three different vCenter Server in different locations (Sydney, London, Boston).

The vCO Script is available to all VM Items in all Locations.

 

As an example i have a VM in Boston and call the Resource Action Script where i handover the VC:Virtualmachine as an Input Parameter to the vCO Script.

Unfortunately this is the VMID in vCO, as an example vm-1152; but this is also an ID in a vCenter Server in London.

 

Any Ideas how to solve this as i'm not able to forward the VM Name from vCAC to vCO.

vmid.jpg

Select Software components to install as part of a blueprint

$
0
0

What's the easiest way to provide an option for a user to select which software components should be installed as part of a blueprint?

 

I'm using vRa 7.2 and was wondering how most people handle this.

 

Thanks in advance

 

Andy Sanderson

vRO - How to execute BAT files in provisioned VM from the workflow

$
0
0

I have some bat files that I need to execute in the VM after it is provisioned.

 

These bat files are located in a shared folder.

 

Option 1: Copy the files into the VM and execute them

Option 2: Execute the files directly from the shared folder

 

Any samples that I can refer to?

 

Thanks!

Adding a user to a newly provisioned VM

$
0
0

Hi all,

 

I'm trying to figure out how to add or create a user based on the requestor of the VM..

 

I'm using a clone workflow in my blue print so I'm guessing that VirtualMachine.Admin.AddOwnerToAdmins is out of the question. Currently I have a script that runs after the vm is provisioned, part of this is to scan GuestAgent.log for VirtualMachine.Admin.Owner then create a local user and add it to the Administrators group.

 

I'm guessing that this isn't the best or right way to do things so any pointers would be appreciated

 

Thanks!

XaaS vm resource action marked as 'Built-in', icon non-editable in vRealize Automation 7.2

$
0
0

While trying out vRealize Automation 7.2, I created an XaaS Resource Action against the 'IaaS VC VirtualMachine' (VC:VirtualMachine) resource type for an Orchestrator workflow. After publishing it, I found that I couldn't edit the icon for the action (in Administration > Catalog Management > Actions). And, it's marked as 'Built-in' in the scope column (which I think is the real problem) in that table. Additionally, if I go to a different tenant in vRA, I can see it in the other tenant's list of Actions, which seems wrong.

 

This same behavior occurs if I use the various workflows and actions in the vRA vRO plugin to programmatically create, publish, and edit the action in vRA from vRO.

 

This is different behavior than in 7.1, where the action gets marked as scope = 'Shared' and I can edit the icon and it doesn't show across tenant boundaries.

 

I couldn't find anyway to change the 'Built-in' state of the action in the vRA portal or api. It feels like a bug in 7.2.

 

Any help is appreciated. Thanks,

Greg

"Link" custom property control type - open in a new window instead of on top of request window

$
0
0

vRA 6.2.3

 

We are trying to use a LINK custom property to provide our end-user to a link to a wiki article explaining requirements for how to fill out the next text field. Issue is that clicking the link brings it up in the same window...the request window. How can we change this to target the link to a new window (target="_blank" like with the Help, and other links in the stock vRA portal site)?

EFI Boot Firmware

$
0
0

Is anyone out there currently deploying VMs through vRA and setting them to use EFI Boot Firmware? There doesn't seem to be a native property to set this. We deploy all our VMs using the SCCM and Kickstart blueprints so setting up a template and cloning is not an option. I was considering trying to find an event state at the right point to have vRO make the change but figured if someone out there is already doing it I would just use their method if adequate.


VCAC 6.1 - Deployment Timeout -wait for completion of '10_installsoftware.bat'

$
0
0

I'm getting a Timeout Customizing Guest OS problem when requesting machines in VCAC 6.1

 

When I look in the GuestAgent.log I see .... wait for completion of '10_installsoftware.bat', screenshot below.  It's not getting past that step and then time's out.

 

This is happening on all my blueprints and they were all working okay last week.

 

Any ideas as to what might be causing it ?

 

Error.PNG

Impossible to change lease of VM with vRO

$
0
0

Hi,

 

I'm trying to create a  new resource action in replacement of 'change lease'.

My goal is to add some control of maximum lease duration and maximum number of renewals.

The problem is not to implement control but to change the lease.

 

All workflows found about this subject don't work on vRA 7 (7.0.1 at this moment with embedded vRO)...

The most recent Constrained Change Lease - Freebee, written by SeanKohler generate this exception on the request :

 

Internal error processing completion of blueprint [CHANGE_LEASE] request [5616bb15-0200-4fd9-9e1c-7062334d5b9b]. Status so far: [SUCCEEDED]

It seems to be a date format problem but all my test failed with different formats...

Since I still have not got an answer on my reply on this thread, I hope having more chance by creating my own there.

 

Thanks for your help.

 

Tim.

Cloud Solution

$
0
0

Hello,

 

One of our customer is using vmbased public cloud solution. They are manually handling most of the processes,  provisioning and decommissioning. They want to revamp the existing cloud in such a way that there should be full scale automation for the cloud components, load balancer, firewall, IPS/IDS. Please guide if we can achieve it with the help of vRealize Suite and VMWare NSX. Kindly send some links or if there is any pdf for more detail.

 

Thanks in advance..

vRA 7.1 to 7.2 Upgrade Failure

$
0
0

My upgrade is failing and giving the following error. Have any of you seen this yet?

 

This is a clustered implementation.

 

Traceback (most recent call last):

  File "/etc/bootstrap/postupdate.d/995-upgrade-replicas", line 148, in &lt;module&gt;

    prepare_master_repo()

  File "/etc/bootstrap/postupdate.d/995-upgrade-replicas", line 119, in prepare_master_repo

    if not repository:

UnboundLocalError: local variable 'repository' referenced before assignment

Steps to show Lease End date from vRA in your CMDB resources

$
0
0

As a system admin

1. Go to CI Class Manager and select the class you want the field to be created in.  For example, in the applications class, Virtual Machine Instances class, or a parent class so that it is inherited into both classes.

2. Create the field as a Date type and Save.  Take note of the column_name of the field to use in the resource mapping.

3. Go to an existing resource of that class and configure the resource form layout so that you see the field on those resources.

4. Go to Resource Mappings and click on the the resource mapping of the resource.  Add "lease.end":"column_name" to the Payload CI_Details and click Update

5. Go to Properties and click on the ResourcesAndCMDBImportLastRuntime system property.  Clear the Value field and Update.  This will update existing resources when the scheduled import is run.  If you don't, only new resources will get updated.

6. Go to Scheduled Imports and Execute the importResourcesAndCMDB scheduled import.  Wait for it to be processed in Scheduled Import Queues.

7. Add the field to your resource summary screens.  Your resource will have the date from vRA populated with time as 00;00;00.

Viewing all 9859 articles
Browse latest View live




Latest Images