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

vRA 6.2.4 create a IaaS user? Trying to deploy with a service account but can't reassign the asset.

$
0
0

I am using vRA 6.2.4 and we are trying to use a service account to execute the deployment so that the items in question do not appear in the catalog when the user logs in.  We are using another front end to manage the requests.  This works fine for users which have previously been the owner of an IaaS asset.  It seems like an IaaS user must not be created until that point.  I need a way of creating this so that I can reassign the system once it has been deployed.  Is there a way of creating the user via the api?  I'm using the reconfigure action on the catalog resource to accomplish this but it requires a userID which like I said does not exist.  I've got a bit of chicken and the egg going on right now.  If there is a better way to accomplish what I am trying to do I am open to modifying the procedure.  If I have to I can switch to deploying it on behalf of the user which I know works but I can't hide the items in the catalog (at least I don't think I can).

 

 

Here are some releveant snippets.  item is the catalogResource

 

var operations = item.getOperations();

 

for each (var op in operations) {

  System.log(op.name + "::" + op.id);

  if (op.name.toUpperCase() === "RECONFIGURE") {

  var reconfigOp = op;

  break;

  }

}

 

var inputs = new Properties();

 

inputs.put("provider-operationId", "Infrastructure.Machine.Action.Reconfigure");

inputs.put("provider-Cafe.Shim.VirtualMachine.Owner", newOwnerId);

 

actionResult = System.getModule("com.vmware.library.vcaccafe.request").requestResourceAction(reconfigOp,inputs)



In the above code newOwnerId is set by the code in this action:


var modelName = 'ManagementModelEntities.svc';

var entitySetName = 'Users';

var headers = null;

var userID = "";

 

//Create properties for prefix entity

var properties = {UserName:userName};

//Read a list of entities

var entities = vCACEntityManager.readModelEntitiesByCustomFilter(host.id, modelName, entitySetName, properties, headers);

if (entities.length > 0)

  userID = entities[0].getProperties().get("UserID")

else

  System.debug("Could not find user with username : " + userName);

 

System.debug("userID : " + userID);

return userID;


Assign Port Group to VM. I am getting error.

$
0
0

Hello,

 

I am using vro 7.

 

As you know there is workflow named "Connect virtual machine NIC number to distributed virtual port group" in vRO. When you run this workflow, you must choose which port group will be assigned to specified vm.

 

But ,I dont want to use input value for "dvPortgroup". I want to send "dvPortgroup" value via script object. i am getting this error.

 

Unable to convert object, 'test (dvSwitch)' plugin unexcepted exception : Bad type syntax 'string'

 

issue3.PNG

 

 

issue1.PNG

 

issue2.PNG

issue4.PNG

 

How can i fix this issue ?

REST Plugin use of Proxy and generated header

$
0
0

Hi

 

Using vRO7 and when I configure REST to use a proxy with basic authentication it seems to fail? (My proxy indicates that no credentials are actually being received and I know the proxy supports this as curl works from vRO appliance shell).

Looking at vRO log files and tcpdump it seems to generate a header of type "Authorization: Basic" but guess I was expecting the header for Proxy authentication to be "Proxy Authorization: Basic" or am I misunderstanding? Just to clarify only proxy authentication is setup - the host authentication is NONE. In fact if I setup basic authentication for both Host and Proxy I seem to get 2 x "Authorization: Basic" headers. If I edit the script and insert set a  header for "Proxy-Authorization" the proxy will authenticate but this is not a solution to all my issues and current thinking is to invoke curl from vRO as this seems to work with all my required use cases :-) Of course just be nice if it worked straight from vRO.

 

Be nice to clarify whether I have misunderstood behaviour or possible bug?

 

Thanks

Synchronize workflows vRO 6.0.2 to 7.1 not working

$
0
0

Hi,

Have something changed how you sync workflows to vRO 7.1?

Cant get workflow sync to work from vRO 6.0.2 to vRO 7.1

Between two vRO with same version 6.0.2 i just rightclick the workflow then

vRO remote synchonization
Hostname: fqdn:8281
Login name: administrator@vsphere.local
Password: xxx

When trying against my vRO 7.1 i get

"org.springframework.remoting.RemoteConnectFailureException: Could not connect to HTTP invoker remote"

Also tried 443

"Did not receive successful HTTP response: status code = 401, status message = [Full authentication is required to access this resource]"

Ive searched everywhere i can think of if something have changed but cant find anything.

Also have exchanged certs between the two vRO with Certificate Manager.

/Best regards Mattias

After upgrade to 7.1 logging has stopped working

$
0
0

I have done the upgrade to 7.1 on a few nodes and after the upgrade has completed none of the System.log or Server.log calls are not writing anything to the screen.  Anyone got any idea what could be missing to get the logging back?

 

Thanks

 

Steve

Read the properties from iaas blueprint on xaas blueprint

$
0
0

Hi,

i'm new on the VRO.

I'm trying to figure out how can i call a IAAS blueprint from XAAS blueprint.

I have some IAAS blueprint with properties i need (Like CPU, Memory, custom properties). The only thing that i found to list this properties is JSON code. I just want to use with VRO java script.

I want to display them and put more properties from the user input to run the blueprint.

Please help,

Thanks.

JavaScript Question: Setting VMWare enumerated value

$
0
0

Hi,

 

I'm new to JavaScript so I apologize for such a n00b question, but I'm having difficulty setting the time zone in a workflow that clones a VM.  Can any post a code line setting a time zone value?

 

Also, if you're building a Windows host with volume licensing, what options do you generally set for licensing when building the spec?  Leave it null?

 

Sorry for the basic questions, this stupid little thing is all I couldn't figure out by myself up to this point.

Convert VC:VM to vCloud:VM

$
0
0

Hi,

 

To get the vCloud object from the vCenter one my idea was to use the VC:virtualmachine.name output and then get the vCloud ID within the () and use this with queryservices to find the vCloud object.

Problem is that VC:virtualmachine.name strips away the () so only the plain VM name is returned.

 

Anyone know if it is possible to change the behavior of this, or another way to get the VC object full name?

 

Thanks!


vCenter marked as unusable since upgrade to 7.1

$
0
0

Hey all,

 

 

upgraded vRA with embedded vRO to 7.1 (from 7.0.1) and since then my vCenter is marked as unusable.

 

vcenter_unusable.png

 

it is no problem to remove and re-add (no errors), but always shows as unusable

 

the server.log shows that it can be added successfully (workflow finishes). but then there seems to be a problem with authentiucation (OAuth vs SAML casting fails)?

[WorkflowHandler] Starting workflow 'Add a vCenter Server instance' (8a91841857098af8015709e201f40057)...

Logging into 'VMware vCenter Server 6.0.0 build-3634793

Validated login with administrator@vsphere.local on VMware vCenter Server 6.0.0

...

Created session to https://vCenterNameReplaced:443/sdk

...

End of workflow 'Add a vCenter Server instance'

 

and then

2016-09-08 13:00:30.712+0000 [http-nio-127.0.0.1-8280-exec-4] INFO  {} [VimSession] Initializing vmomi for vc - https://vCenterNameReplaced:443/sdk

2016-09-08 13:00:30.821+0000 [http-nio-127.0.0.1-8280-exec-4] INFO  {} [PluginCacheManager] Created cache 'administrator_vsphere.local_https___vCenterNameReplaced_443_sdk_Main_5421f122 useIS_ false'; eternal: true, maxElementsInMemory: 50000

2016-09-08 13:00:30.822+0000 [http-nio-127.0.0.1-8280-exec-4] WARN  {} [VimSession] unexpected error

java.lang.ClassCastException: com.vmware.vcac.authentication.http.spring.oauth2.OAuthToken cannot be cast to com.vmware.vim.sso.client.SamlToken

 

 

Any ideas?

 

 

full part in log:

===

2016-09-08 12:59:50.147+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [WorkflowHandler] Starting workflow 'Add a vCenter Server instance' (8a91841857098af8015709e201f40057)...

2016-09-08 12:59:51.029+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [VlsiHelper] Logging into 'VMware vCenter Server 6.0.0 build-3634793' at https://vCenterNameReplaced:443/sdk with username administrator@vsphere.local

2016-09-08 12:59:51.101+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [HostConfigurationUtil] Validated login with administrator@vsphere.local on VMware vCenter Server 6.0.0 build-3634793 at https://vCenterNameReplaced:443/sdk

2016-09-08 12:59:51.115+0000 [WorkflowExecutorPool-Thread-3] WARN  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [HttpConfigurationCompilerBase$ConnectionMonitorThreadBase] Shutting down the connection monitor.

2016-09-08 12:59:51.135+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [SCRIPTING_LOG] __item_stack:/item1

2016-09-08 12:59:51.142+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [VimPluginConfiguration] Loaded configuration version 70127b17e44bb6d7038a317e44084ca5

2016-09-08 12:59:51.146+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [VimPluginConfiguration] Adding configuration for https://vCenterNameReplaced:443/sdk

2016-09-08 12:59:51.177+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [ResourceElementManagementServiceImpl] ResourceElement 'https://vCenterNameReplaced:443/sdk' created.

2016-09-08 12:59:51.263+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [ResourceElementManagementServiceImpl] ResourceElement 'https://vCenterNameReplaced:443/sdk' updated (with content).

2016-09-08 12:59:51.294+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [VimPluginConfiguration] Saved configuration version 70127b17e44bb6d7038a317e44084ca5

2016-09-08 12:59:51.313+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [VimSession] Socket read timeout = 60000

2016-09-08 12:59:51.314+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [VimSession] Created session to https://vCenterNameReplaced:443/sdk

2016-09-08 12:59:51.372+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [SCRIPTING_LOG] __item_stack:/item0

2016-09-08 12:59:51.450+0000 [WorkflowExecutorPool-Thread-3] INFO  {administrator@vsphere.local:Add a vCenter Server instance:f246b7b5-fe89-4da5-a640-36ffc6874069:token=8a91841857098af8015709e201f40057} [WorkflowHandler] End of workflow 'Add a vCenter Server instance' (8a91841857098af8015709e201f40057), state: completed

2016-09-08 13:00:30.712+0000 [http-nio-127.0.0.1-8280-exec-4] INFO  {} [VimSession] Initializing vmomi for vc - https://vCenterNameReplaced:443/sdk

2016-09-08 13:00:30.821+0000 [http-nio-127.0.0.1-8280-exec-4] INFO  {} [PluginCacheManager] Created cache 'administrator_vsphere.local_https___vCenterNameReplaced_443_sdk_Main_5421f122 useIS_ false'; eternal: true, maxElementsInMemory: 50000

2016-09-08 13:00:30.822+0000 [http-nio-127.0.0.1-8280-exec-4] WARN  {} [VimSession] unexpected error

java.lang.ClassCastException: com.vmware.vcac.authentication.http.spring.oauth2.OAuthToken cannot be cast to com.vmware.vim.sso.client.SamlToken

        at com.vmware.vmo.plugin.vi4.VimSession._login(VimSession.java:360)

        at com.vmware.vmo.plugin.vi4.VimSession.login(VimSession.java:328)

        at com.vmware.vmo.plugin.vi4.VimSession.loginIfNeeded(VimSession.java:314)

        at com.vmware.vmo.plugin.vi4.VimSession.initializeSession(VimSession.java:308)

        at com.vmware.vmo.plugin.vi4.VimHost.getVimSession(VimHost.java:687)

        at com.vmware.vmo.plugin.vi4.VimHost.checkUsable(VimHost.java:620)

        at com.vmware.vmo.plugin.vi4.VimPluginFactory.findRelation(VimPluginFactory.java:280)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at ch.dunes.vso.sdk.DirectInvoker.invoke(DirectInvoker.java:57)

        at ch.dunes.vso.sdk.SDKPluginFactoryInvoker.fetchRelation(SDKPluginFactoryInvoker.java:47)

        at ch.dunes.vso.sdk.SDKFinder.fetchRelation(SDKFinder.java:378)

        at ch.dunes.vso.sdk.SDKFinder._findRelation(SDKFinder.java:353)

        at ch.dunes.vso.sdk.SDKFinder.findRelation(SDKFinder.java:267)

        at ch.dunes.vso.sdk.ModulesFactory.findRelation(ModulesFactory.java:639)

        at com.vmware.o11n.sdk.EnhancedScriptingSDK.findRelation(EnhancedScriptingSDK.java:147)

        at com.vmware.o11n.service.sdk.SdkModuleServiceImpl.findRelation(SdkModuleServiceImpl.java:79)

        at com.vmware.o11n.service.factory.VcoFactoryFacade.findRelation(VcoFactoryFacade.java:1734)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at com.vmware.o11n.service.security.AccessRightsInterceptor.invoke(AccessRightsInterceptor.java:98)

        at com.vmware.o11n.service.security.AccessRightsInterceptor.invoke(AccessRightsInterceptor.java:89)

        at com.vmware.o11n.service.webremoting.VcoDelegatingWebFacade.invokeOperation(VcoDelegatingWebFacade.java:105)

        at com.vmware.o11n.integration.initialization.VcoFactoryServiceFacadeProxy.invokeOperation(VcoFactoryServiceFacadeProxy.java:86)

        at sun.reflect.GeneratedMethodAccessor397.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

        at com.sun.proxy.$Proxy20.invokeOperation(Unknown Source)

        at sun.reflect.GeneratedMethodAccessor396.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:212)

        at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:39)

        at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78)

        at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:114)

        at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:79)

        at org.springframework.web.context.support.HttpRequestHandlerServlet.service(HttpRequestHandlerServlet.java:67)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)

        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)

        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)

        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)

        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:112)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)

        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)

        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)

        at com.vmware.o11n.web.auth.http.TokenAuthenticationFilter.doFilter(TokenAuthenticationFilter.java:66)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)

        at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)

        at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)

        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)

        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:106)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)

        at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:157)

        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)

        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)

        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)

        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

        at com.vmware.o11n.service.spring.bootstrap.SecureSerializationFilter.doFilter(SecureSerializationFilter.java:30)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

        at net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:95)

        at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

        at com.vmware.o11n.service.spring.bootstrap.WebRemotingActiveNodeFilter.doFilter(WebRemotingActiveNodeFilter.java:38)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

        at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676)

        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:745)

Registered vCenter Marked "(unusable) " in inventory

$
0
0

Good morning all,

 

I registered a vCenter Server in vCO 5.5 1281930 and it shows up in inventory with "(unusable) fqdn_of_vcenter". Since I registered this as a vCAC advanced services endpoint, I should only make changes from vCAC, but I cannot change or delete the endpoint as vCO throws the following error:

 

Error

Unable to create a vCO endpoint of type VC. Reason: Inconsistency between registered hosts and loaded hosts

 

Do you have any ideas on how to resolve this?

 

Thanks,

invoking powershell script in remote server - running state

$
0
0

Hi all,

 

I'm facing an issue while calling a powershell script on remote server. The script runs without any issue on the target server and returns output. But while calling from vro,  the workflow is only in running state. It never ends. Below is the script which generates pdf from excel file in the specified path. Kindly help me fixing it.

 

vro version - 6.0.1

server - win 2008 R2

 

$path = “"

$xlFixedFormat = “Microsoft.Office.Interop.Excel.xlFixedFormatType” -as [type]

$excelFiles = Get-ChildItem -Path $path -include *.xls, *.xlsx -recurse

$objExcel = New-Object -ComObject excel.application

$objExcel.visible = $false

$filepath = Join-Path -Path $path -ChildPath ($excelFiles.BaseName + “.pdf”)

$workbook = $objExcel.workbooks.open($excelFiles)

$workbook.Saved = $true

echo “saving $filepath”

$workbook.ExportAsFixedFormat($xlFixedFormat::xlTypePDF, $filepath)

$objExcel.Workbooks.close()

$objExcel.Quit()

Remove-variable objExcel


Also help me troubleshooting the following error from vro, I tried running close session with instance and killed the powershell process running on the server. But issue still continues. How to troubleshoot from vro?

The WS-Management service cannot process the request. This user is allowed a maximum number of 5 concurrent shells, which has been exceeded. Close existing shells or raise the quota for this user.

 

 


Thanks,

Manu

unable to login SSH via root

$
0
0

Hallo zusammen,

habe heute mein SSH config in ESXI geändert :

PermitRootLogin no

habe ich mich toerethisch gesperrt. weißt jn, wie ich wieder diese Einstellung zurücksetzen kann ?

VMware Orchestrator 7.0.1: SQL 1.1 Plug-in unable to connect to MS SQL database requiring Forced Encryption

$
0
0

Hello,

 

I'm having issues connecting to a remote Microsoft SQL 2014 server after we've changed our SQL servers to required Force Encryption. I was able to connect to it fine prior to this change.

 

I've tried updating  the connection URL and added ssl=request as below, and have even tried values such as require, authenticate, etc.  according to http://jtds.sourceforge.net/faq.html  :

 

Original Connection URL: jdbc:jtds:sqlserver://sqlserver.ad.mydomain.com:1433/Database;useNTLMv2=true;domain=mydomain


New Connection URL: jdbc:jtds:sqlserver://sqlserver.ad.mydomain.com:1433/Database;useNTLMv2=true;domain=mydomain;ssl=request

 

I've also imported the SAN certificate we use on the SQL servers into the Orchestrator configuration and restarted services and rebooted the entire system. Is there a potential problem with using a SAN certificate ( the certificate has our DC as the name, but we add multiple SAN names to it to validate other hosts internally, including our SQL servers and the SQL virtual name)

 

Originally I had tried using the Update database workflow but it kept giving me  the java.sql.SQLException: I/O Error: Connection reset error. I restarted the orchestrator service and my existing database under Inventory -> SQL Plug-in disappeared. Now when I try to run the SQL workflow to Add a database, I keep getting the same java.sql.SQLException: I/O Error: Connection reset error message.

 

Any thoughts from the community? This should be pretty straightforward but it's giving me all kinds of heck.

 

Thanks,

 

Kevin

How to create vCACCAFEElementState instance

$
0
0

Hi,

 

I'm trying to change Blueprint from vRO workflow, I am able to change some part of the blueprint, such as description, size of input box size, etc.

When I am trying to hide a input, which set the VisibilityConstraint to true. Since JavaScript it pass by value. I have to create new vCACCAFEElementState with updated facets, then assign it to field.

 

field.initialStaticState = new vCACCAFEElementState(facets, initialStaticState.getDependencies());

 

Then I got the following error.

[2016-09-08 21:33:15.487] [E] Unable to create object : vCACCAFEElementState : Class ch.dunes.vso.sdk.DynamicWrapper can not access a member of class com.vmware.vcac.platform.content.facets.ElementState with modifiers "protected"

 

Anyone had experience with this?

 

Thanks

Change VM Owner Workflow

$
0
0

Hello,

 

I am using VCO 7.0 and vra 7.0.1. I found some articles about workflow but these are not applicable for VCO 7.

 

I will create XaaS blueprint about this. User can change any virtual machine owner. Is there any updated worflow supported by vco 7 or article about this ?

 

Thanks.


Technical preview version of REST plug-in

$
0
0

!Technical preview version of REST plug-in compatible with vRO 5.5.x

This is a patch release of the plug-in.

 

Version 1.0.5-2442317

  • Fixed an issue causing "Connection pool Shut down error" when having more than one host configured and one of them has been deleted.

 

Version 1.0.6-2501990

  • Fixed an issue, which may prevent the REST config migration when upgrading from rest plug-in version 1.0.3 to newer versions.
  • Improved the plugin behavior when it deals with broken configuration (missing or invalid fields). This allows the REST host together with the host operations to become visible in the inventory view even thought their configuration is invalid.


Version 1.0.7-2563729

  • Added optional host verification.

          New option added in REST host configuration for disabling the host verification.



Note : Latest version version of the plugin compatible with vRO 6.x and 7.x availalbe here : Technical Preview version of VMware vRealize Orchestrator HTTP-REST Plug-In


Please note, that the attached plug-in is QE verified, but is still not a final version.


Virtual Machine Disks consolidation is needed

$
0
0

Hi All,

 

     After removing the snapshots through orchestrator,  login into the VI-client, the VM summary shows that "configuration Issues" "Virtual Machine disks consolidation is needed".

 

Could you guide me how to do consolidation through orchestrator.

 

 

"

var logtext;
if(activeSnapshot.config){
var vmName = activeSnapshot.config.name;
var snapshotID = activeSnapshot.id;

var task = activeSnapshot.removeSnapshot_Task(removeChildren);
//var task = activeSnapshot.removeSnapshot_Task(consolidate);
var actionResult = System.getModule("com.vmware.library.vc.basic").vim3WaitTaskEnd(task) ;

logtext = "The snapshot with the id " + snapshotID + " from the Virtual machine '"+vmName+"'has been removed.";
}else{
logtext = "The snapshot with the id " + activeSnapshot.id + " has already been removed.";
}

content = content + "<br>" + logtext;
System.log(logtext);"

 

Note:- The above code belongs to Remove snapshot code.

Parsing the json output from a workflow

$
0
0

We are working on some ServiceNow integration with vRO7 and I am having a heck of a time parsing the json I'm getting back from vRO. Were I am running into problems is dot-walking the output-parameters. On the vRO side we have defined some outputs for simple things like ip address and FQDN that I'm trying to pull back into ServiceNow. When I parse the JSON on the SN side I feel like i should be able to access those key:value pairs at jsonObj.output-parameters.vmIpAddress and so on but am having a heck of a time finding the values. Am I going about this completely wrong?

Specify root object for chooser not working in vRO 7.0.1

$
0
0

We've just noticed that specifying a root object for selecting a value in a form no longer seems to be working.  I don't know if this might be related to another bug we discussed in this thread Bug? "Call Action" from Presentation remains empty (v7.0.0) .  To reproduce simply setup a workflow with an input of type VC:VirtualMachine and also create an attribute for a VC:VmFolder and set it to some vm folder.  Assign this as the root object.  You always get the full inventory tree showing.  Can anyone else reproduce this?

Save base64 encoded File Attachment from a SOAP service, as the original file

$
0
0

Hi all

 

I am doing som work with Thycotic's Secret Server product, for a customer.

Among other things, they are using Secret Server, to store certificate's in p12 format, as attachments to "Secrets" inside Secret Server.

 

Secret Server have a SOAP API (and a not full feature REST API).

The SOAP API can deliver the attachments, as base64 encode strings.

 

I have a base64 javascript encoder/decoder action, which seems to work.

I have so far tested it with a simple TXT attachment in the Secret Server, and are able to convert those back to clear text.

 

Now the question:

 

What is the best way to decode a base64 encode file attachment, delivered as a string, back to it's originally file format, and save that to a vRO local file?

 

(the certificate is to be transferred from vRO into vRA deployed VMs and be installed there)

 

Hope somebody can give me some pointers, so I don't have to figure this out completely by my self :-)

Viewing all 10285 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>