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

Problem with vRealize Suite Lifecycle Manager proxy settings

$
0
0

First of all, I did not find a separate forum for vRealize Suite Lifecycle Manager, so I opted to post in what I thought was the best alternative; vRSLCM is some kind of automation tool.

 

I'm having problem getting my (newly installed) vRSLCM 1.1.0.7-7359844 to register with MyVMware. The server needs to use a proxy to get online and it has of course been configured ("proxy.mydomain.local:80") but it won't register (I've obfuscated the real proxy address/IP). Anyone experienced this, and fixed it? It's a bit of a long shot, since it's a relatively new product...

 

The MyVMware token fetch seems to throw an error with username problems. I see this in /var/log/vlcm/vrlcm-xserver.log:

 

2018-02-26 15:04:06.568 INFO  [http://10.10.10.95:35995/core/document-index/queries/1519657254959000] c.v.v.l.d.m.h.MyVmwareDownloadRestClient -  -- Get myvmware access token - Started

2018-02-26 15:04:06.568 INFO  [http://10.10.10.95:35995/core/document-index/queries/1519657254959000] c.v.v.l.d.m.h.MyVmwareDownloadRestClient -  -- Get myvmware access token. Current try number : '1'

2018-02-26 15:04:06.570 INFO  [http://10.10.10.95:35995/core/document-index/queries/1519657254959000] c.v.v.l.u.p.ProxySetupHelper -  -- Loading Default Proxy File : /etc/environment

2018-02-26 15:04:06.570 INFO  [http://10.10.10.95:35995/core/document-index/queries/1519657254959000] c.v.v.l.u.p.ProxySetupHelper -  -- Setting system proxy: host: proxy.mydomain.local, port: 80

2018-02-26 15:04:06.577 INFO  [http://10.10.10.95:35995/core/document-index/queries/1519657254959000] c.v.v.l.u.p.ProxySetupHelper -  -- Loading Default Proxy File : /etc/environment

2018-02-26 15:04:06.577 INFO  [http://10.10.10.95:35995/core/document-index/queries/1519657254959000] c.v.v.l.u.p.ProxySetupHelper -  -- Setting system proxy: host: proxy.mydomain.local, port: 80

2018-02-26 15:04:06.581 INFO  [http://10.10.10.95:35995/core/document-index/queries/1519657254959000] c.v.v.l.u.RestHelperWithProxy -  -- Connecting with Proxy host :  proxy.mydomain.local and port 80

2018-02-26 15:04:06.583 ERROR [http://10.10.10.95:35995/core/document-index/queries/1519657254959000] c.v.v.l.d.m.h.MyVmwareDownloadRestClient -  -- Error occurred while fetching access token from https://my.vmware.com.

java.lang.IllegalArgumentException: Username may not be null

        at org.apache.http.util.Args.notNull(Args.java:54) ~[httpcore-4.4.4.jar!/:4.4.4]

        at org.apache.http.auth.UsernamePasswordCredentials.<init>(UsernamePasswordCredentials.java:80) ~[httpclient-4.5.2.jar!/:4.5.2]

        at com.vmware.vrealize.lcm.util.RestHelperWithProxy.readRemoteDataWithProxy(RestHelperWithProxy.java:128) ~[lcm-util-1.1.0.jar!/:?]

        at com.vmware.vrealize.lcm.util.RestHelperWithProxy.readRemoteDataWithProxy(RestHelperWithProxy.java:65) ~[lcm-util-1.1.0.jar!/:?]

        at com.vmware.vrealize.lcm.util.RestHelper.readRemoteData(RestHelper.java:95) ~[lcm-util-1.1.0.jar!/:?]

        at com.vmware.vrealize.lcm.util.RestHelper.readRemoteData(RestHelper.java:87) ~[lcm-util-1.1.0.jar!/:?]

        at com.vmware.vrealize.lcm.drivers.myvmware.helper.MyVmwareDownloadRestClient.getAccessToken(MyVmwareDownloadRestClient.java:96) ~[lcm-myvmwareplugin-driver-1.1.0.jar!/:?]

        ...

 

After 4 tries, it gives up with:

 

2018-02-26 15:04:36.607 ERROR [http://10.10.10.95:35995/core/document-index/queries/1519657254959000] c.v.v.l.d.m.h.MyVmwareDownloadRestClient -  -- Error occurred while fetching access token from https://my.vmware.com. Status code : ''. Status message :

 

The proxy doesn't need a username, and of course I have added my username and password for MyVMware.

 

Both /etc/environment and /etc/sysconfig/proxy contains the proxy address and port. Testing manually, connecting to https://my.vmware.com with curl, works fine (giving a redirect address):

 

# curl -v -x proxy.mydomain.local:80 https://my.vmware.com

* Rebuilt URL to: https://my.vmware.com/

*   Trying PR.OX.Y.IP...

* TCP_NODELAY set

* Connected to proxy.mydomain.local (PR.OX.Y.IP) port 80 (#0)

* Establish HTTP proxy tunnel to my.vmware.com:443

> CONNECT my.vmware.com:443 HTTP/1.1

> Host: my.vmware.com:443

> User-Agent: curl/7.54.0

> Proxy-Connection: Keep-Alive

>

< HTTP/1.1 200 Connection established

< Date: Mon, 26 Feb 2018 15:21:13 GMT

< Proxy-Connection: Keep-Alive

< Via: 1.1 wsproxy.mydomain.local

<

* Proxy replied OK to CONNECT request

* ALPN, offering http/1.1

* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH

* successfully set certificate verify locations:

*   CAfile: /etc/pki/tls/certs/ca-bundle.crt

  CApath: none

* TLSv1.2 (OUT), TLS header, Certificate Status (22):

* TLSv1.2 (OUT), TLS handshake, Client hello (1):

* TLSv1.2 (IN), TLS handshake, Server hello (2):

* NPN, negotiated HTTP1.1

* TLSv1.2 (IN), TLS handshake, Certificate (11):

* TLSv1.2 (IN), TLS handshake, Server key exchange (12):

* TLSv1.2 (IN), TLS handshake, Server finished (14):

* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):

* TLSv1.2 (OUT), TLS change cipher, Client hello (1):

* TLSv1.2 (OUT), TLS handshake, Unknown (67):

* TLSv1.2 (OUT), TLS handshake, Finished (20):

* TLSv1.2 (IN), TLS change cipher, Client hello (1):

* TLSv1.2 (IN), TLS handshake, Finished (20):

* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256

* ALPN, server did not agree to a protocol

* Server certificate:

*  subject: C=US; ST=California; L=Palo Alto; O=VMware, Inc; CN=my.vmware.com

*  start date: Aug  3 18:44:48 2016 GMT

*  expire date: Aug  3 19:14:47 2019 GMT

*  subjectAltName: host "my.vmware.com" matched cert's "my.vmware.com"

*  issuer: C=US; O=Entrust, Inc.; OU=See www.entrust.net/legal-terms; OU=(c) 2012 Entrust, Inc. - for authorized use only; CN=Entrust Certification Authority - L1K

*  SSL certificate verify ok.

> GET / HTTP/1.1

> Host: my.vmware.com

> User-Agent: curl/7.54.0

> Accept: */*

>

< HTTP/1.1 302 Found

< Date: Mon, 26 Feb 2018 15:21:16 GMT

< Server: Apache

< Location: http://my.vmware.com/group/vmware/home

< Content-Length: 222

< Content-Type: text/html; charset=iso-8859-1

< Set-Cookie: myvmware-www=!fDp+QDYmfSp61nOv8zFWbHIofySrMeWtbEn9Ssj2/t2bQpNjq2YDuvpxZc+sppwGO3sAym/NLcfw3w==; path=/

< Set-Cookie: nlbi_894469=IHwBfRXQ2Ca57LOrJ5dTDgAAAADzgdVlOxSVQefTu6ztz4Ur; path=/

< Set-Cookie: incap_ses_721_894469=uGiZSj4YUwoiLsHs+oEBCuwllFoAAAAAq9lvU423fOD9VAl54PAUmA==; path=/

< X-Iinfo: 11-14324803-14324812 NNNN CT(0 0 0) RT(1519658476182 164) q(0 0 0 0) r(2 2) U5

< X-CDN: Incapsula

<

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>302 Found</title>

</head><body>

<h1>Found</h1>

<p>The document has moved <a href="http://my.vmware.com/group/vmware/home">here</a>.</p>

</body></html>

* Connection #0 to host proxy.mydomain.local left intact

 

I've also tried manually setting HTTPS_PROXY and FTP_PROXY to the same proxy address/port in /etc/sysconfig/proxy, but to no help.


VCD Endpoint not authenticating

$
0
0

Banging my head against a wall on this one.

 

Have tried setting up a VCD endpoint to a third party but when trying to do a data collection I consistently get a failure and see a 401 error in the DEM error log when trying to make a POST to  https://vcloud.NAME.com/api/sessions -  I have however checked the path and credentials repeatedly.

 

When I use RESTClient on the same server as the DEM and am able to connect using BasicAuthentication and get a 200 response and the expected information.

 

Endpoint is set up in the format...

 

https://vcloud.NAME.com

USERNAME@ORGNAME

PASSWORD

 

I'm not sure if there's a way of doing any more in depth monitoring of what calls the DEM service is making and what type of Auth it's attempting but my errors aren't giving me a lot to go on when I know the credentials are all valid.  VRA is version 7.3.0.

 

Any help gratefully received!

Validation button on catalog page

$
0
0

Hi

 

I have Window blueprint , In that blueprint i want add a section for AD Group name check and in front of it a validation button

So user will enter multiple groups name divided by semicolon then will click on validation button to verify the group name

i have vRO flow to verify that , i am struggling for add validate button in catalog page

 

any one can help

"Removable Devices" of VMRC' is gray

$
0
0

Hello,

 

 

I created "Mount CD-ROM" action into vRA7.3.

I found one issue.

When I access VM by VMRC  in vRA7.3 "Removable Devices" of VMRC' is gray.

But we directly access same VM by VMRC in vCenter.

The function is OK.

 

How to resolve it ?

VMware vRealize Automation 7.4 is now available

$
0
0

VMware vRealize Automation 7.4 is now available

 


Whats New?

 

vRealize Automation 7.4 is greatly optimized for service architects, thanks to the new Custom Request Forms Designer which provides a consistent experience in designing infrastructure and application catalog items. It facilitates creation of generic blueprints with a simplified yet rich presentation layer applicable to different lines on business. The out-of-the-box Custom Request form removes the need for wrapping infrastructure and PaaS blueprints into XaaS blueprints, which reduces blueprint sprawl and lowers the cost of ownership.

 

Custom Request Forms Designer

When leveraging Custom Forms, designer blueprint architects are able to apply the following logic to the blueprint request form:

  • Drag-and-drop controls and custom properties on the canvas
  • Leverage blueprint schema – blueprint properties, custom properties, and profiles
  • Use generated forms
  • Save, clear, and revert customized forms
  • Dynamically show or hide fields based on custom conditional logic
  • Auto-fill and dynamically populate input values based on external and internal logic
  • Use internal dependencies and external call outs with vRealize Orchestrator
  • Apply constraints to input values
  • Apply custom validation using regular expressions
  • Apply custom help text and error messages
  • Choose vRealize Orchestrator inventory objects
  • Support for complex types like disk volumes and vRealize Orchestrator composite types
  • Use advanced formatting and apply custom CSS to the blueprint request form
  • Automatic form validation of blueprint definition during design time
  • Export and import of customized form through GUI and CLI

 

Deploy from OVF

  • New provisioning option to deploy vSphere blueprints from an OVF or OVA
  • Specify URL to the OVF location with authentication and proxy options available
  • Support for advanced configuration options in the form of custom properties specific to the OVF
  • Support for parameterization with the image component profile

 

Improved Handling of Stuck Requests

  • Cancel requests that are stuck in an in-progress state by means of API or CloudClient and clean up provisioned resources associated with the canceled request
  • New filter on Requests tab to hide failed and canceled requests

 

Message Board Portlet Security Enhancements

  • Introducing a whitelist for URLs that can be displayed on the message board
  • Support for Microsoft NT LAN Manager (NTLM) is deprecated in vRealize Automation 7.4.

 

Many more improvements and enhancements

  • also included are *all* fixes rolled-up into vRealize Automation 7.3.1

vRO 7.4 is not logging workflow runs and complaining of Lucene60

$
0
0

Just updated my home lab vra/vro from 7.3.1 to 7.4.0 .  Installation seemed to go flawlessly, except vro.

 

When I try to run a workflow, the workflow completes, but nothing is in the log.  When I look at the system log, I see:

2018-04-12 20:28:29.332-0500 [http-nio-127.0.0.1-8280-exec-6] WARN  {} [StubbornRetrier] Retry 3/6 failed because of: Could not load codec "Lucene60".  Did you forget to add lucene-backward-codecs.jar?

 

2018-04-12 20:28:29.336-0500 [http-nio-127.0.0.1-8280-exec-9] WARN  {} [FileLoggingServiceImpl] Unable to retrieve previous logs:

java.lang.RuntimeException: Cannot succeed after 6 retries.

at ch.dunes.util.StubbornRetrier.retryAtAllCosts(StubbornRetrier.java:49)

at com.vmware.o11n.service.logging.FileLoggingServiceImpl.getLogs(FileLoggingServiceImpl.java:122)

at com.vmware.o11n.service.logging.FileLoggingServiceImpl.getLogsBefore(FileLoggingServiceImpl.java:106)

at com.vmware.o11n.service.factory.VcoFactoryFacade.getLogsBefore(VcoFactoryFacade.java:3138)

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

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.GeneratedMethodAccessor241.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:333)

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

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

at sun.reflect.GeneratedMethodAccessor240.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:80)

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

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

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

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

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

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

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

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:114)

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

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

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

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

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:67)

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

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

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:105)

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:347)

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

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

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

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

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

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

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:193)

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

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

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

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

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

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

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

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

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

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

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

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

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

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)

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

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

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

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

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

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

Caused by: java.lang.IllegalArgumentException: Could not load codec "Lucene60".  Did you forget to add lucene-backward-codecs.jar?

at org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:436)

at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:356)

at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:288)

at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:57)

at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:54)

at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:692)

at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:77)

at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:63)

at com.vmware.o11n.service.logging.FileLoggingServiceImpl.doSearchLogs(FileLoggingServiceImpl.java:312)

at com.vmware.o11n.service.logging.FileLoggingServiceImpl.findLogs(FileLoggingServiceImpl.java:195)

at com.vmware.o11n.service.logging.FileLoggingServiceImpl.access$000(FileLoggingServiceImpl.java:54)

at com.vmware.o11n.service.logging.FileLoggingServiceImpl$2.call(FileLoggingServiceImpl.java:127)

at com.vmware.o11n.service.logging.FileLoggingServiceImpl$2.call(FileLoggingServiceImpl.java:123)

at ch.dunes.util.StubbornRetrier.retryAtAllCosts(StubbornRetrier.java:27)

... 90 more

Caused by: java.lang.IllegalArgumentException: An SPI class of type org.apache.lucene.codecs.Codec with name "Lucene60" does not exist.  You need to add the corresponding JAR file supporting this SPI to your classpath.  The current classpath supports the following names: [Lucene62]

at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:116)

at org.apache.lucene.codecs.Codec.forName(Codec.java:116)

at org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:424)

... 103 more

 

2018-04-12 20:28:29.338-0500 [http-nio-127.0.0.1-8280-exec-8] WARN  {} [StubbornRetrier] Retry 5/6 failed because of: Could not load codec "Lucene60".  Did you forget to add lucene-backward-codecs.jar?

 

Any thoughts?

Gather all workflow Inputs in vRO

$
0
0

Is there a way in vRO to get an array of the current workflows input parameters names and values? We like to validate that inputs to workflows are actually set prior to running and currently this means a bunch of 'if' blocks checking each input. I would like to grab all of the inputs and just loop through them to see if the are set. 

I have been looking at the System.Workflow scripting class and it returns an array of the names of the inputs but not the values the inputs are set to. 

Any ideas?

VRA deleting virtual machine from Vcenter after creation

$
0
0

 

 

461/5000

 

Hello friends,

I'm new to VRA, but I'm having trouble creating a virtual machine using the blueprint.

The virtual machine is created in Vcenter, with IP, hostname, AD etc ... apparently all right.

I can access the virtual machine without problems, and the status in the VRA is running for about 1 hour, after which the VRA mentions fault status and destroys the Vcenter virtual machine.

If anyone can give me a hand I will.

Thank you family


vRealize Suggeted Fix

$
0
0

Hi

 

Am new to horizon and currently using horizon 7.4 with instant clones win 10 desktop pool. On vRealize  it is recommending the following fix  on a couple of VM's

 

Increase the datastore I/O capacity for the connected datastore to reduce CPU I/O wait for I/O events

 

However we still have more than 2 terabyte of free disk space.. Appreciate advise on how to fix the above error

How to get List of VM's managed by vRA 7.2

$
0
0

Hello All,

 

   We have vRA 7.2 environment, during the issues couple of VM's has been restored from the snap shot based backup in the vcenter. later the VM's which are restored are not able to manage through the portal , cannot to do any action; since the actual VM's in the VC has the different UUID. We have exported the unmanaged vm list from Bulk export and imported.

 

  Now we have two vm with same name ( Not exactly .. like _old and the actual) , after importing we are able to manage the actual Vm running in the vc. as we have duplicate entries creating confusion.

 

   Is there any option to export list which come  Items > Machines tab ?? If we have the list we can force unregister the VM from cloud client. as the count is huge we cannot make a note manually.

 

 

Thank You !!

vra-command list-nodes still shows localhost.localdom for VA (vRealize Automation Appliance)

$
0
0

Hi,

 

I am trying to install vRA 7.3 using Silent Installation as described in Silent Installation of vRA 7.2 – A How To Guide - VMware Cloud Management .

After filling up ha.properties file, when I execute below command

 

# pwd

/usr/lib/vcac/tools/install

vra:/usr/lib/vcac/tools/install # bash vra-ha-config.sh

[2018-04-16 10:09:04] [root]  [INFO] EULA is accepted.

[2018-04-16 10:09:04] [root]

[2018-04-16 10:09:04] [root]  **************************************************

[2018-04-16 10:09:04] [root]  [INFO] Start initial data verification

[2018-04-16 10:09:04] [root]  **************************************************

[2018-04-16 10:09:04] [root]

[2018-04-16 10:09:04] [root]  [INFO] Check if vRA Component host or LOAD BALANCER addresses are reachable

[2018-04-16 10:09:04] [root]  [ERROR]  vRA access point not accessible -   <-------------!!!

[2018-04-16 10:09:04] [root]  [INFO] Check if remote host is provided.

[2018-04-16 10:09:04] [root]  [INFO] nslookup Remote Host: VRAIAAS.mylab.local

[2018-04-16 10:09:04] [root]  [INFO] nslookup Remote Host: nslookup exit code: 0

[2018-04-16 10:09:04] [root]  [INFO] Remote host resolved successfully.

[2018-04-16 10:09:04] [root]  [INFO] Check if remote host is provided.

[2018-04-16 10:09:04] [root]  [INFO] nslookup Remote Host: VRAIAAS.mylab.local

[2018-04-16 10:09:04] [root]  [INFO] nslookup Remote Host: nslookup exit code: 0

[2018-04-16 10:09:04] [root]  [INFO] Remote host resolved successfully.

[2018-04-16 10:09:04] [root]  Disabled

[2018-04-16 10:09:04] [root]  ntp                       0:off  1:off  2:off  3:on   4:off  5:on   6:off

[2018-04-16 10:09:05] [root]  Shutting down network time protocol daemon (NTPD)..done

[2018-04-16 10:09:05] [root]  Starting network time protocol daemon (NTPD)..done

[2018-04-16 10:09:05] [root]  Waiting for the ntp settings

[2018-04-16 10:10:05] [root]  [INFO] Verify connection to: vRA VA host: vra.mylab.local

[2018-04-16 10:10:05] [root]  [INFO] Check if remote host is provided.

[2018-04-16 10:10:05] [root]  [INFO] Checking up local host - not needed

[2018-04-16 10:10:35] [root]  [ERROR] localhost.localdom has trouble connecting to vra.mylab.local  <--------------------!!!!

[2018-04-16 10:10:35] [root]  [INFO] Verifying IaaS node is registered to the primary VA: VRAIAAS.mylab.local

[2018-04-16 10:10:35] [root]  [INFO] IaaS iaas_node_id is successfully populated.

vra:/usr/lib/vcac/tools/install # [2018-04-16 10:10:35] [root]

[2018-04-16 10:10:35] [root]  [INFO] Input validation failed! 2 validation errors found!

 

It looks like, in spite of chaning hostname using /opt/vmware/share/vami/vami_config_net, Nodename reported in "vra-command list-nodes" remain same as localhost.localdom.

 

vra:/usr/lib/vcac/tools/install # vra-command list-nodes

Node:

  NodeHost: localhost.localdom   <----------------------- How to change this to reflect vra.mylab.local ???

  NodeId: cafe.node.309634814.8894

  NodeType: VA

Node:

  NodeHost: VRAIAAS.mylab.local

  NodeId: 3D635930-0F3C-4AF0-9313-BD85EBA9FE17

  NodeType: IAAS

vra:/usr/lib/vcac/tools/install # cat /etc/hosts

# Not showing default IPv6 entries

# VAMI_EDIT_BEGIN

# Generated by Studio VAMI service. Do not modify manually.

127.0.0.1    localhost localhost.localdom

15.129.91.34  vra.mylab.local vra localhost.localdom

# VAMI_EDIT_END

 

Question:

How to change/update NodeHost entry for VA to the new name "vra.mylab.local" ?

 

Thanks in advance

Velu

vROPs functionality

$
0
0

Hi All ,

 

Please suggest your thoughts on following .

 

consider a situation wherein virtual machine cpu usage is high and we need to fix this .

one way of troubleshooting is to go to vrops and follow the recomendations to increase the vcpus.

on what basis these recommendations are based ??i belive vrops analyse the past few months data(analytics) and check the peak demand of cpu over a time and recommend to

change the vcpus .however there are tools which go beyond the recommendations and fix the issue also without human intervention .

high cpu usage is one of the issue there can be many such issues which need automated fixing .is vrops capable of addressing ,recommending and at the same time fixing the issue for us.

Custom Reports - Trying to create a custom report with VM Server information, Host Information and Data store information. Any trips or pointers to get this?

$
0
0

Custom Reports - Trying to create a custom report to contain: VM Server information (CPU, Mem, Storage ((Allocated, Used and from what Datastore) and OS type)), Host Information and Data store information (Total, Allocated and Used (in the case of full or thin provision).  I can get the VM server information other than the Datastore name.  Host information I get some of the information for the Datastore but none for the Host (other than Name).  I can't get the Data store information to show the Datastore name and it's values.  Any trips or pointers to get this?

Upgrade vRealize Automation 7.3.0 to 7.4 failed

$
0
0

Hi all

 

I tried to upgrade vRA from 7.3.0 to 7.4 but got the following error:

 

 

Last Install:Failed to install updates(Error while running post-install scripts) on Tuesday, 2018 April 17 23:09:58 UTC+2

VA-check: finished

Pre-install: finished

Post-install: failed

Update failed (code 0-2). Check logs in /opt/vmware/var/log/vami or retry update later.

 

 

In the /opt/vmware/var/log/vami/updatecli.log I found this:

 

NOTICE:  Found extension citext and it exists in pg_catalog

Can not read the Orchestrator pid from /var/lib/vco/app-server/logs/tomcat.pid

+ res=2

+ echo 'Script /etc/bootstrap/postupdate.d/20-vcac failed, error status 2'

+ exit 2

+ rm -f /tmp/postupdate-err-log

+ exit 2

+ trapfunc

+ excode=2

+ test 2 -gt 0

+ vami_update_msg set post-install 'Post-install: failed'

+ test -x /usr/sbin/vami-update-msg

+ /usr/sbin/vami-update-msg set post-install 'Post-install: failed'

+ sleep 1

+ test 2 -gt 0 -o 0 -gt 0

+ vami_update_msg set update-status 'Update failed (code 0-2). Check logs in /opt/vmware/var/log/vami or retry update later.'

+ test -x /usr/sbin/vami-update-msg

+ /usr/sbin/vami-update-msg set update-status 'Update failed (code 0-2). Check logs in /opt/vmware/var/log/vami or retry update later.'

+ exit

17/04/2018 19:09:55 [ERROR] Failed with exit code 512

17/04/2018 19:09:55 [INFO] Update status: Running VMware tools reconfiguration

17/04/2018 19:09:55 [INFO] Running /opt/vmware/share/vami/vami_reconfigure_tools

vmware-toolbox-cmd is /usr/bin/vmware-toolbox-cmd

Configuring VAMI VMware tools service wrapper.

17/04/2018 19:09:55 [INFO] Update status: Done VMware tools reconfiguration

17/04/2018 19:09:55 [INFO] Update status: Error while running post-install scripts

17/04/2018 19:09:55 [ERROR] Failure: updatecli exiting abnormally

17/04/2018 19:09:55 [INFO] Install Finished

 

Any idea what's wrong?

 

Thanks,

Andi

Filter applicable networks for a reservation policy during requesting new VM

$
0
0

Hello,

currently I am trying to deploy a VM from one blueprint on vRA 7.3 where I am able to select applicable networks during request.

Made up easy, my setup looks like this:

- I have two independent vCenters that are not linked
- I have a Windows template in both vCenters that are exactly the same and also have the same name
- I have several networks within each vCenter with different names
- In vRA I configured network profiles for each network
- In vRA I configured a reservation policy for each vCenter
- In vRA I configured a reservation for each vCenter and applied the network profile to each available network and applied each vCenter its own reservation policy
- In vRA I configured just one Blueprint and left the reservation policy empty
- In vRA I created the custom property VirtualMachine.Network0.Name linked to the script action com.vmware.vra.networks/getApplicableNetworks as external value and attached it to my blueprint
- In vRA I created a custom
property __ReservationPolicyID linked to the script action com.vmware.vra.reservations/getApplicableReservationPolicies and attached it to my blueprint

 

So far so good,

now during a new request I am able to select by dropdown a reservation policy to place the new VM either in vCenter A or B. But on the network selection dropdown I am getting displayed all networks from all reservations within the user's current business group. So I checked the code of the script action com.vmware.vra.networks/getApplicableNetworks and it does exactly that :)

What I want to do is modify this script action, so it does only return the networks from the reservation policy currently selected in the request. As I have a reservation policy for each vCenter and each reservation is bound to one of those policies, I would end up with only the networks from one vCenter getting displayed.

The problem is, that I do not know how to modify the code to achieve this :/ I couldnt figure out what the objects/variables look like in the code or which methods are availabe and what they actually do :( I am also looking for some kind of API or Documentation.

 

//For example: what is returned in to the variable and what does it look like? How can I filter the reservations to only get the one matching the selected one in the request?
var reservations = System.getModule("com.vmware.vra.reservations").getReservationsForUserAndComponent(user, tenant, host, blueprint, component);


How to get an integer as default value for a Xaas item ?

$
0
0

Hi team,

 

I'm currently working with vRealize Automation 7.3.1 and vRealize Orchestrator 7.3.1 for some time and I didn't find how to get an integer as default value form a form item.

Let's review my current path.

 

In vRO, there is currently no "integer" :

no integer.PNG

Instead, there is the type "number" that is working as "integer" should : until there, no question.

 

When you want to introduce some dynamic in vRA, you may use actions.

Here the goal is to get a default value for the lease time regarding the environment where a vm deployment occurs : only 1 day on the DEV environment while 0 (unlimited) once in production.

 

I created a very simple action to do this that is enough to our demonstration : it returns "1" typed as "number".

 

action sending number.PNG

 

But when I try to bind it as the external value in the default value of my lease vRA item typed as integer, it fails, claiming that my action sends an "number" (that is true) while vRA expects an "integer" (that is correct regarding the type visible).

 

vra expecting integer.PNG

 

Let's note by side that vRA perfectly knows how to send its "integer" from a Xaas in the "number" input of a vRO workflow to conversion is definitely possible.

 

I'm open to suggestions, thanks for your help !

vRealize Automation Plug-In For ITSM for vRA 7.4

$
0
0

1) Do we have vRealize Automation Plug-In For ITSM available for vRA 7.4 ?

 

2) What version of Service now instance is compatible for 7.4 plugin ?

"Design" tab isn't there for tenant admin

$
0
0

hello,

 

I am starting my learning journey on vRA 7.3, the tenant administrator is unable to find the "Design" tab.

 

[vRA 7.3.1] - Upgrade 7.4 failed

$
0
0

Hi team,

 

we have an error when we try to update a small deployment of vRA 7.3.1 :

 

Capture-62.jpg

 

We have try :

 

1 - https://docs.vmware.com/en/vRealize-Automation/7.2/com.vmware.vrealize.automation.doc/GUID-71F4F6F1-DBAE-4E0B-83A5-B4B25921B6A7.html

 

2 - https://docs.vmware.com/en/vRealize-Automation/7.3/com.vmware.vra.install.upgrade.doc/GUID-5FA254C4-80D5-4422-BA30-CA4CB86F6B49.html

 

3 - https://docs.vmware.com/en/vRealize-Automation/7.3/com.vmware.vra.install.upgrade.doc/GUID-402A9AED-ABE8-4C5C-889F-56C0E7F5F03A.html

 

4 - https://kb.vmware.com/s/article/2147446

 

We see this in cluster TAB :

 

cluster.png

 

4 services are UNAVAILABLE or BLANK :

 

services.png

 

We can't find any specifics taks to upgrade from 7.3.1 to 7.4.

 

All ideas and help will be appreciated :-)

 

Take ownership of a deployed blueprint (item in deployments)

$
0
0

Hello,

 

coming from a vCloud Director background I'm looking for the procedure to take ownership of an item, or deployed blueprint, belonging to a user that is no longer with the company.  As a tenant admin I can see the deployment listed in the Items tab but the "Actions" menu is empty.  I've read articles referencing "reassigning" the item but I'm not finding where to complete the task.  I appreciate anyone's input pointing me in the right direction.

Viewing all 9859 articles
Browse latest View live




Latest Images