Community

Subscribe
Highlighted

NetApp VASA / vSphere 5.5 doesn't seem to work?

Hi all, has anyone had any issues with this?

vSphere 5.5 running on Server 2012 (non R2) with VSC 4.2.1 working OK on the same server.

VASA installed on a separate 2008 R2 machine

It is at the point where you add the VMware vCenter details (not the initial communication part). User has full administrator rights everywhere as well just in case! (VMware / NetApp even domain!)

I have had this twice now, once in a production environment and I have recreated it in a POC environment. the other parts of the configuration seem to work and connect fine.

I have not tried VC5.5 on 2008 R2 but thought I'd ask here first in case I've missed some smallprint somewhere...

Also did I read right that mode or is the future cluster mode?

Thanks guys

ydk Former NetApp Employee

Re: NetApp VASA / vSphere 5.5 doesn't seem to work?

Are you using VASA Provider 1.0?

Re: NetApp VASA / vSphere 5.5 doesn't seem to work?

Both recent installs, so the 1.0.1 version

Is there a newer version than this?

Re: NetApp VASA / vSphere 5.5 doesn't seem to work?

I've the same problem with vSphere 5.5 and the VASA adapter installed on a 2008R2 Server. It's not working.

When I try to register provider i get an error box saying "Authentication with the VASA Server failed." and no storage provider is created into vCenter.

Re: NetApp VASA / vSphere 5.5 doesn't seem to work?

Realizing that after my 5.5 upgrade, my VASA integration isn't working as before too. VASA 1.0 is on a separate 2008R2 VM. Worked with vSphere/center 5.1 but no longer. VSC is 4.2.1. To help out OP, my vCenter is on 2008R2 so I doubt server 2012 is your issue. The domain user I am trying to register with the vCenter is an admin now while I test this out... I had lower rights in a separate role but I'll elevate for now while I test.

Re: NetApp VASA / vSphere 5.5 doesn't seem to work?

Lighting Edit:

I uninstalled VASA 1.0 --- (Upgrade from 1.0 to 1.0.1 is not supported) - Says so from the download page of VASA 1.0.1

Rebooted VASA VM

Downloaded 1.0.1

Installed 1.0.1 on VASA VM

Launched the VASA configuration

Entered in my initial communication credentials with vCenter and clicked save

Entered my vcenter server name and other stuff, registered, worked!

Looked at my vCenter client (C# version) -> Storage Providers (to confirm if NVP was there)

Went back to the VASA configuration to register storage systems.

Mine seemed too easy to fix but it is working... with vSphere 5.5, vCenter 5.5 on 2008R2, VSC 4.2.1 installed on my vCenter server, VASA 1.0.1 on a 2008R2 VM, The Domain account used is in the administrator "role" for now and set all the way up to the Datacenter level , I'll change that back to the RBAC settings I had earlier and post back what I find.

Re: NetApp VASA / vSphere 5.5 doesn't seem to work?

It still don't work.

I've uninstalled, rebooted, installed 1.0.1. Tried to configure the connection and I still get "Authentication with the VASA Server failed"

I'm using an user that is Administrator on the 2 servers and has full admin privilege on vsphere.

Into the nvp.log file i get those error messages:

[2014-01-15 11:24:12,713] [1171668053@qtp-1690235745-4] [ INFO] org.apache.cxf.interceptor.LoggingInInterceptor(156) Inbound Message

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

ID: 3

Address: /services/vasaService

Encoding:

Content-Type:

Headers: {connection=[keep-alive], Host=[ITNAPIS24.Q8INT.com:8443], User-Agent=[Java/1.7.0_17], Accept=[text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2]}

Payload:

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

[2014-01-15 11:24:12,713] [1171668053@qtp-1690235745-4] [ INFO] com.netapp.nvp.context.VasaSessionLoader(40) Incoming request from remote host 10.14.5.10 with address 10.14.5.10

[2014-01-15 11:24:12,713] [1171668053@qtp-1690235745-4] [ INFO] com.netapp.nvp.util.ErrorMapper(264) Illictly throwing checked exception of com.vmware.vim.vasa._1_0.InvalidSession: No session key specified - VASA spec requires cookie of VASASESSIONID to be sent.

[2014-01-15 11:24:12,713] [1171668053@qtp-1690235745-4] [ WARN] org.apache.cxf.common.logging.LogUtils(345) Interceptor has thrown exception, unwinding now

org.apache.cxf.interceptor.Fault: No such operation: Service (HTTP GET PATH_INFO: /vasaService)

    at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:77)

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)

    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:104)

    at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)

    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:350)

    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:145)

    at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:163)

    at org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFServlet.java:145)

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

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

    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)

    at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)

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

    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)

    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)

    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

    at org.mortbay.jetty.Server.handle(Server.java:326)

    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)

    at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)

    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)

    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

    at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)

    at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:680)

    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

NetApp VASA / vSphere 5.5 doesn't seem to work?

Checking more on the log I also see this:

[2014-01-15 11:24:12,729] [1171668053@qtp-1690235745-4] [ INFO] org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor$Soap12FaultOutInterceptorInternal(58) class org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor$Soap12FaultOutInterceptorInternalapplication/soap+xml

[2014-01-15 11:24:12,729] [1171668053@qtp-1690235745-4] [ INFO] org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback(160) Outbound Message

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

ID: 3

Encoding: UTF-8

Content-Type: application/soap+xml

Headers: {}

Payload: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang="en">No such operation: Service (HTTP GET PATH_INFO: /vasaService)</soap:Text></soap:Reason></soap:Fault></soap:Body></soap:Envelope>

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

[2014-01-15 11:24:12,760] [507839560@qtp-1690235745-5] [ INFO] org.apache.cxf.interceptor.LoggingInInterceptor(156) Inbound Message

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

ID: 4

Address: /services/vasaService

Encoding: UTF-8

Content-Type: application/soap+xml; charset=UTF-8; action="urn:registerVASACertificate"

Headers: {content-type=[application/soap+xml; charset=UTF-8; action="urn:registerVASACertificate"], transfer-encoding=[chunked], Host=[ITNAPIS24.Q8INT.com:8443], User-Agent=[Axis2]}

Payload: <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><ns2:registerVASACertificate xmlns:ns2="http://com.vmware.vim.vasa/1.0/xsd"><ns2:userName>zzzzzzzzz</ns2:userName><ns2Smiley Tongueassword>********</ns2Smiley Tongueassword><ns2:newCertificate>................................................................................................................................................................................

</ns2:newCertificate></ns2:registerVASACertificate></soapenv:Body></soapenv:Envelope>

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

[2014-01-15 11:24:12,760] [507839560@qtp-1690235745-5] [ INFO] com.netapp.nvp.context.VasaSessionLoader(40) Incoming request from remote host 10.14.5.10 with address 10.14.5.10

[2014-01-15 11:24:12,760] [507839560@qtp-1690235745-5] [ INFO] com.netapp.nvp.ServiceImpl(81) registerVASACertificate called with certificate ..................................................

[2014-01-15 11:24:12,760] [507839560@qtp-1690235745-5] [DEBUG] com.netapp.common.logging.Log4jAdapter(64) UTIL-00100: Application property credential.symmetric.algorithm is not defined

[2014-01-15 11:24:12,760] [507839560@qtp-1690235745-5] [DEBUG] com.netapp.common.logging.Log4jAdapter(64) UTIL-00100: Application property credential.case.insensitive is not defined

[2014-01-15 11:24:12,760] [507839560@qtp-1690235745-5] [DEBUG] com.netapp.common.logging.Log4jAdapter(64) CPM-00200: Loaded 0 validators

[2014-01-15 11:24:12,760] [507839560@qtp-1690235745-5] [DEBUG] com.netapp.nvp.security.SimpleAuthenticator(62) Restore VASA Provider Credentials

[2014-01-15 11:24:12,760] [507839560@qtp-1690235745-5] [DEBUG] com.netapp.common.logging.Log4jAdapter(64) CPM-00304: Read 3 objects from persistent storage

[2014-01-15 11:24:12,760] [507839560@qtp-1690235745-5] [ INFO] com.netapp.nvp.security.VasaSecurityManager(98) Username and Password verified successfully

014-01-15 11:24:12,838] [507839560@qtp-1690235745-5] [ INFO] org.apache.cxf.common.logging.LogUtils(345) Application has thrown exception, unwinding now: com.vmware.vim.vasa._1_0.InvalidCertificate: Caused by: NotAfter: Sun Sep 15 18:24:38 CEST 2013

[2014-01-15 11:24:12,838] [507839560@qtp-1690235745-5] [ INFO] org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor$Soap12FaultOutInterceptorInternal(58) class org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor$Soap12FaultOutInterceptorInternalapplication/soap+xml

[2014-01-15 11:24:12,838] [507839560@qtp-1690235745-5] [ INFO] org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback(160) Outbound Message

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

ID: 4

Encoding: UTF-8

Content-Type: application/soap+xml

Headers: {}

Payload: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang="en">Caused by: NotAfter: Sun Sep 15 18:24:38 CEST 2013</soap:Text></soap:Reason><soapSmiley Very Happyetail><InvalidCertificate xmlns="http://com.vmware.vim.vasa/1.0/xsd" xmlns:ns2="http://data.vasa.vim.vmware.com/xsd" xmlns:ns3="http://fault.vasa.vim.vmware.com/xsd"><InvalidCertificate><Exception xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">java.security.cert.CertificateExpiredException: NotAfter: Sun Sep 15 18:24:38 CEST 2013&#xd;

    at sun.security.x509.CertificateValidity.valid(Unknown Source)&#xd;

    at sun.security.x509.X509CertImpl.checkValidity(Unknown Source)&#xd;

    at sun.security.x509.X509CertImpl.checkValidity(Unknown Source)&#xd;

    at com.netapp.nvp.security.VasaSecurityManager.addCertificate(VasaSecurityManager.java:57)&#xd;

    at com.netapp.nvp.ServiceImpl.registerVASACertificate(ServiceImpl.java:82)&#xd;

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#xd;

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&#xd;

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&#xd;

    at java.lang.reflect.Method.invoke(Unknown Source)&#xd;

    at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:166)&#xd;

    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)&#xd;

    at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:55)&#xd;

    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)&#xd;

    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)&#xd;

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)&#xd;

    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)&#xd;

    at java.util.concurrent.FutureTask.run(Unknown Source)&#xd;

    at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)&#xd;

    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:98)&#xd;

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)&#xd;

    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:104)&#xd;

    at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)&#xd;

    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:350)&#xd;

    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:145)&#xd;

    at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:163)&#xd;

    at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:141)&#xd;

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)&#xd;

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&#xd;

    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)&#xd;

    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)&#xd;

    at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)&#xd;

    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)&#xd;

    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)&#xd;

    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)&#xd;

    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)&#xd;

    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)&#xd;

    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)&#xd;

    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)&#xd;

    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)&#xd;

    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)&#xd;

    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)&#xd;

    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)&#xd;

    at org.mortbay.jetty.Server.handle(Server.java:326)&#xd;

    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)&#xd;

    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943)&#xd;

    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843)&#xd;

    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)&#xd;

    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)&#xd;

    at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)&#xd;

    at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:680)&#xd;

    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)&#xd;

</Exception></InvalidCertificate></InvalidCertificate></soapSmiley Very Happyetail></soap:Fault></soap:Body></soap:Envelope>

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

So it seems there's some certificate somewhere that is old and not compliant but I could not find where or what component has it.

Re: NetApp VASA / vSphere 5.5 doesn't seem to work?

ydk Former NetApp Employee

Re: NetApp VASA / vSphere 5.5 doesn't seem to work?

@Francesco, this issue was fixed in VASA 1.0.1. So as posted by gatorman1369, I would first confirm if the old plug-in is still registered with vCenter. If it is, unregister and clean up the files and then register 1.0.1 plugin.