Quantcast
Channel: VMware Communities : All Content - vRealize Orchestrator
Viewing all 10285 articles
Browse latest View live

Unable to change lease through requestResourceAction - vRO 7.1 - 400 BAD_REQUEST

$
0
0

Hi All,

I tried to change lease period after VM provision through Request a resource action workflow. But always it throws 400 BAD_REQUEST error. When I had tried the same using REST API, I didnt find any issues. I guess there is a problem in formating input parameters ( provider-ExpirationDate ~ dateTimeISO format ). This issue happening to "Change Lease" action only. Can anyone help on this 

[2017-10-11 12:30:59.914] [I] Getting resource action 'Change Lease' request form...
[2017-10-11 12:30:59.992] [I] Accepted inputs:
[2017-10-11 12:30:59.994] [I]  - provider-ExpirationDate
[2017-10-11 12:30:59.996] [I] Filling in resource action request...
[2017-10-11 12:30:59.998] [I] Sending resource action request...
[2017-10-11 12:31:00.255] [E] (com.vmware.library.vcaccafe.request/requestResourceAction) Error in (Dynamic Script Module name : requestResourceAction#14) 400 BAD_REQUEST
[2017-10-11 12:31:00.266] [E] Workflow execution stack:
***
item: 'Request a resource action/item1', state: 'failed', business state: 'null', exception: '400 BAD_REQUEST (Dynamic Script Module name : requestResourceAction#14)'
workflow: 'Request a resource action' (c54d08db-6538-4b26-96a6-897dad113e73) 
|  'attribute': name=properties type=Properties value=#[#provider-ExpirationDate#=#string#2017-10-29T00:15:00.000Z#]#
|  'input': name=resource type=vCACCAFE:CatalogResource value=dunes://service.dunes.ch/CustomSDKObject?id='f57fa4af-e812-497c-9ea2-59e7280ed8e9/93857483-26ae-4016-9e09-0e449981a434'&dunesName='vCACCAFE:CatalogResource'
|  'input': name=operation type=vCACCAFE:ConsumerResourceOperation value=dunes://service.dunes.ch/CustomSDKObject?id='f57fa4af-e812-497c-9ea2-59e7280ed8e9/3ab9882a-478c-4cef-9212-8ad0c644aa07/a579add3-43af-4c95-9db8-186844584928'&dunesName='vCACCAFE:ConsumerResourceOperation'
|  'input': name=inputs type=Array/CompositeType(name:string,value:string):FormInput value=#{#CompositeType(name:string,value:string):FormInput##[#name#=#string#provider-ExpirationDate#+#value#=#string#2017-10-29T00:15:00.000Z#]##}#
|  'output': name=request type=vCACCAFE:ResourceActionRequest value=null
*** End of execution stack.
 

[2017-10-11 12:30:59.914] [I] Getting resource action 'Change Lease' request form...
[2017-10-11 12:30:59.992] [I] Accepted inputs:
[2017-10-11 12:30:59.994] [I]  - provider-ExpirationDate
[2017-10-11 12:30:59.996] [I] Filling in resource action request...
[2017-10-11 12:30:59.998] [I] Sending resource action request...
[2017-10-11 12:31:00.255] [E] (com.vmware.library.vcaccafe.request/requestResourceAction) Error in (Dynamic Script Module name : requestResourceAction#14) 400 BAD_REQUEST
[2017-10-11 12:31:00.266] [E] Workflow execution stack:
***
item: 'Request a resource action/item1', state: 'failed', business state: 'null', exception: '400 BAD_REQUEST (Dynamic Script Module name : requestResourceAction#14)'
workflow: 'Request a resource action' (c54d08db-6538-4b26-96a6-897dad113e73) 
|  'attribute': name=properties type=Properties value=#[#provider-ExpirationDate#=#string#2017-10-29T00:15:00.000Z#]#
|  'input': name=resource type=vCACCAFE:CatalogResource value=dunes://service.dunes.ch/CustomSDKObject?id='f57fa4af-e812-497c-9ea2-59e7280ed8e9/93857483-26ae-4016-9e09-0e449981a434'&dunesName='vCACCAFE:CatalogResource'
|  'input': name=operation type=vCACCAFE:ConsumerResourceOperation value=dunes://service.dunes.ch/CustomSDKObject?id='f57fa4af-e812-497c-9ea2-59e7280ed8e9/3ab9882a-478c-4cef-9212-8ad0c644aa07/a579add3-43af-4c95-9db8-186844584928'&dunesName='vCACCAFE:ConsumerResourceOperation'
|  'input': name=inputs type=Array/CompositeType(name:string,value:string):FormInput value=#{#CompositeType(name:string,value:string):FormInput##[#name#=#string#provider-ExpirationDate#+#value#=#string#2017-10-29T00:15:00.000Z#]##}#
|  'output': name=request type=vCACCAFE:ResourceActionRequest value=null
*** End of execution stack.


vRealize Automation Requests missing in Inventory in vRO and vCACCAFEEntitiesFinder.getCatalogItemRequests errors

$
0
0

HI all

 

I am running a VRA 7.3.0 (build 5604410) with a embedded vRO 7.3.0 (build 5481809) and default vCACCAFE plugin version 7.3.0 (build 5482658).

 

This is a lab environment.
So I have only 2 accounts in the vRA.

Both accounts have been given every possible permission in vRA (Tenant Admin, IaaS Admin, Fabric Group Admin, Business Group Manager and every role box ticked)

My own personal account (which is also given vRO Admin rights) and a service-account

 

If I login into vRO Client I see the "Default" vCACCAFE connection which uses a "Per User" authentication.

But the Requests folder in the Inventory is empty (even though the same user can se multiple requests in the vRA web gui)

 

I have tried to create a vCACCAFE connection against the same vRA server, but using "Shared" authentication instead, using the service account.

Same issue.

 

If I try to find Requests in JavaScript it fails.

 

Code:

var requests = vCACCAFEEntitiesFinder.getCatalogItemRequests(vraHost)

 

Result:

java.lang.NullPointerException (Workflow:Test - vRA Request / Scriptable task (item1)#54823)

 

Code:

var request = vCACCAFEEntitiesFinder.getCatalogItemRequest(vraHost, "9c1ee6e1-0c23-4b5e-abea-2b1b30ca21eb")

 

Result:

[2017-10-12 10:14:05.969] [E] Error in (Workflow:Test - vRA Request / Scriptable task (item1)#54823) 404
[2017-10-12 10:14:05.991] [E] Workflow execution stack:
***
item: 'Test - vRA Request/item1', state: 'failed', business state: 'null', exception: '404  (Workflow:Test - vRA Request / Scriptable task (item1)#54823)'
workflow: 'Test - vRA Request' (e2b61589-c46c-4ccc-99aa-5e644147bf6f)
|  'attribute': name=vraHost type=vCACCAFE:VCACHost value=dunes://service.dunes.ch/CustomSDKObject?id='e036d3ab-d4af-4d3c-b7e7-2f67d664f863'&dunesName='vCACCAFE:VCACHost'
|  'no inputs'
|  'no outputs'
*** End of execution stack.

Trying to re-use a vm name but new vm always has a -0 attached to the name. What would cause this?

$
0
0

I am trying to re-use a vm name.  We have a situation where we want to redeploy a system for a user with a fresh install and the same machine name.  We also want to keep the original system around for  a few days.  The process I've setup renames the current vm by setting the vCAC:VirtualMachine.virtualMachineName to a temp name and also renaming the VC:VirtualMachine to the same temp name.  Everything appears to be renamed correctly when I look in vRA and vCenter but when I deploy the new vm and reuse the name it is getting named with a -0 during the guest customization.  So a vm named "test-vm" would come out "test-vm-0".  I'm assuming somewhere either vCenter or vRA thinks there is still a system named test-vm so it is trying to avoid a collision and adding the -0.  Am I missing a spot I need to update somewhere?  I tried putting in a 5 minute pause between the time I made the name changes then proceeded with the deployment but its still tacking on that -0 inside the guest OS.  The name looks correct in vCenter and vRA but the guest customization has a different name.

Specify a domain controller

$
0
0

I am using the OOB WF to add server objects to my domain in specific OU's. vCenter to is doing the join when it finishes its customization spec.  Occasionally I will end up with two computer objects one in the right OU and one in the Computers OU.  I understand whats causing it.  Any way to specify which domain controller is being used to avoid this issue?

vRO 7.3 Multi Node - cannot query workflows

$
0
0

I'm trying to use the vRA 7.3 embedded vRO instance as the master and a stand-alone vRO 7.3 as a slave.

The binding is done with a user account that has admin rights on the remote instance, the session is shared.

Adding the server works fine, however I cannot query the remote workflows and in consequence, cannot create proxy workflows. Querying the remote vRO plugins works, I can search for VMs, query the NSX plugin etc, just querying the vRO inventory for workflows, actions and other objects is not producing results:

 

Am I doing something wrong here or should I open a SR?

modify payload properties

$
0
0

Hi,

I am trying to deploy EC2 instances to multiple availability zones using vRA.

As part of the deployment I want to deploy EC2 instances in round robin to multiple availability zone.

 

example

instance1 goes  to availability zone 1

instance2 goes to availability zone 2

is there any way to achieve this using vRA or by updating property  /machine/properties/__amazon.subnetId : using vRO?

 

Thanks

Arun

vRealize Orchestrator Actions Adapter for vCops

$
0
0

I wanted to reach out and see if any of you all are utilizing the vRealize Orchestrator Actions Adapter in vCops for vRO and vCops intergration.  vRO 6.0.3 is working out of the box with this solution but I am struggling to get vRO7 to work and get passed the "cant find getvcuuid workflow, full authentication required.

 

Anyone using this solution with vRO7 and if so how did you get it to work?

 

 

Thanks

 

 

Steve

create workflow folders permissions automaticaly

$
0
0

Hello

I give rights to the teams using orchestrator workflows by context in the vcenter so I have plenty of folders with permissions in the workflow part of orchestrator

I was wondering if it was possible to automate the folder creation or the permission settings in the folders

or if not if it is possible to synchronise it between too orchestrator appliance

 

for now

when I importe a workflow folder throw package export and import the folders are created but without permissions

I am not able to synchronize from vro 5.3 to vro 7.3

if I synchronise from vro 7.3 to vro7.3  the folders are created but not permissions


SQL Code - still fault ...

$
0
0

Hi,

I am still working on a sql code, but i only get no good answer from the code./sql view.

The view is still simple, have a look.

 

A     B     C     D

Te     DA     TX     DX

Si     dd     AS     BB

 

The goal is to create from this view a multiple array.

 

Error:

When getString("A") : cannot find column with this name

When getString("Te"): Te not found in this colum.

 

var myJDBCConnection = new JDBCConnection() ;

try {

var connect = myJDBCConnection.getConnection(SQLConnection , SQLUser , SQLPW);

System.log("Connecting to database");

var statement = connect.prepareStatement("SELECT * from x");

    if (statement.execute() == true) {

        var Statementresult = statement.executeQuery();

        var x = Statementresult.getMetaData();

        var columncount = x.getColumnCount();

        for(var i=1; i <= columncount;i++)

        {

            columName = x.getColumnName(i);

            var finished = Statementresult.getString(columName);

            System.log(finished);

        }

        //System.log(x.getColumnName(3))

    }

    else{

        System.log("Nothing found by this View.");

    }

}

catch(err) {

    throw err;

}

Retrieve related objects to ESX, DSCluster, DS. etc

$
0
0

Hello,

 

I'm looking to replicated the functionnality found in vCenter that helps find a related object.

 

Like now I'd like to see all the ESX Clusters linked to a Datastore Cluster. I can't seem to find a relation, and now I'm browsing through the MOB and I'm getting a headache! I can't seem to find a good pattern that would always work to retrieve that info.

 

Anyone else tried that before ?

 

Thanks!

share vCD catalog with all users of an Org

$
0
0

Hi All,

 

I am trying to find a way to share a catalog using vRO.  We have an org that holds the catalogs and i want to automate giving a new Org read only access to one of the shared catalogs.  I have looked thru the built-in workflows and actions and cant find one that allows all users of a Org to be given read only access, as you can in the UI.

 

Does anyone have an example of how to do that?

 

I a using vCD 8.20 and vRO 7.21.

 

Thanks

 

Ian...

Update Multiple vRA Blueprints using vRO Workflow

$
0
0

Am hoping someone can help me with this particular requirement. With multiple Blueprints at my disposal to manage, I often find myself having to update many (or all) with the same changes at the same time. Unfortunately, since there does not appear to be a vRO Workflow available that can handle a global change to vRA Blueprints doing so means I have to open up each Blueprint individually to apply the relevant change. 

 

I was able to locate a vRO Workflow that can update a single Blueprint and tried to introduce an array to capture multiple Blueprints but executing this modified workflow did not produce the desired results...i.e. the update does not get applied to any Blueprint selected in the array. Maybe my code is wrong or perhaps this can't be done.

 

Any help or advise will be appreciated.

 

Thx. Ron

vRO Certficate Request

$
0
0

I have a Powershell script that im invoking from vRO with the external script workflow. This script does a few things but of the things it does is request a cert from a CA using certutil.exe. When I run this from ISE or Powershell on the PowerShell host it works fine....when I call this from vRO it gets hung upon this line

 

"certreq  -submit -attrib CertificateTemplate:$CATemplate -config $OnlineCA $CertificateREQ $CertificateCER"

 

My variable are all correct, but it seems that it has something to do with the security context that is trying to call to the CA when its issued remotely from vRO. In any case  I just CANT get this one section to work?

 

Any idea?

Is there an available Azure plugin for vRealize Orchestrator out there?

$
0
0

Hi,

Anyone know if there is an existing vRO plugin available?  Is everyone simply using Powershell Host to build out Azure vRO workflows?


Thanks.

Create Swagger file

$
0
0

Hi,

 

I found the swagger page of the orchestrator.

I also successfully ran a post workflow execution with json application.

 

Now, I want to create a swagger file in order to use it from another program (not orchestrator or vra).

Is it Possible?

 

Thanks!


Disable Provisioning Workflow for Horizon View

$
0
0

Hello,

 

I currently have a powercli snippet that will disable provisioning on all desktop pools. The only real issue I have with it is that the credential store doesn't save Connect-HVServer credentials. In an attempt to automate the above mentioned task, I've installed the horizon plugin 1.4 but I don't see an option to disable provisioning. Not even for a single pool.

 

Am I missing something? Can someone help me understand the best way to automate this?

Problem with context menu. Doesn't pass VM name to workflow.

$
0
0

After upgrading vRO to 7.3 i have no ability to automaticaly pass VM name to workflow like before upgrade.

I had reregistered vRO and reregistered plugin with no succes . It loks like on a picture.

 

vCenter 6.0. / vRO 7.3

Add Disk OOTB WF

$
0
0

I need to add an additional disk to a request based on criteria.  I have been trying to use the OOTB WF, Add Disk.  I figured this would be fairly straight forward but I am running into some issues.  It requires an object called datastore (VC:datastore) and diskMode (VC:VirtualDiskMode).  I was able to get the datastore from the VM object but I am having a hard time finding the VirtualDiskMode object.  Does anyone know of a good way to set the value to persistent and convert it to the VC:VirtualDiskMode type?

 

Thanks

Need some help getting started with cloning via customization specification

$
0
0

I am interested in extending the pre-created Workflow  "CloneVM from properites".  I do not want to have to specify the properties within orchestrator, but would like to use one of my named "Customization Specifications" that I create and maintain in Virtual Center. Is that possible to do? I have not been able to find the API that can load a "Customization Specification" can pass it to this workflow.

VM Guest OS Report - Truly

$
0
0

Hello,

I am going to ask the community on this one but I have a feeling I know the answer.  Hopefully someone has a creative way.

 

In the API, there is a VirtaulMachineGuestSummary.FullGuestName.  I believe this pulls from the section under VM Options -> General Options -> Guest OS and Version.

 

For a corporate environment, that is fine.  You should set that correctly.  The problem I have is in a multi-tenant service provider environment, that is not the best solution.  Here are the reasons:

  1. In a Service provider model, any Windows based system within the vDC needs to be on a Microsoft SPLA license.  And the Service Provider is responsible for reporting this
  2. Customers have the ability to spin up or tear down VMs as they see fit within their vDC
  3. The can actually go manually set/change the Guest OS and Version

 

I have a workflow that pulls the Guest OS info but how do I audit that to ensure customers did not change the Guest OS filed to Linux to circumvent the Windows license?

 

I was thinking the only real way would be through VMtools but there is no API option to call through the VMtools to capture that information.

 

Any help or ideas?

Viewing all 10285 articles
Browse latest View live


Latest Images