VMware Solutions Discussions
VMware Solutions Discussions
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
Are you using VASA Provider 1.0?
Both recent installs, so the 1.0.1 version
Is there a newer version than this?
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.
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.
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.
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)
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><ns2:password>********</ns2:password><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><soap:Detail><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
at sun.security.x509.CertificateValidity.valid(Unknown Source)
at sun.security.x509.X509CertImpl.checkValidity(Unknown Source)
at sun.security.x509.X509CertImpl.checkValidity(Unknown Source)
at com.netapp.nvp.security.VasaSecurityManager.addCertificate(VasaSecurityManager.java:57)
at com.netapp.nvp.ServiceImpl.registerVASACertificate(ServiceImpl.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:166)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:55)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:98)
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.doPost(AbstractCXFServlet.java:141)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
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.content(HttpConnection.java:943)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843)
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)
</Exception></InvalidCertificate></InvalidCertificate></soap:Detail></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.
@Francesco
Do you think the old plug-in is still registered?
Hi,
I have successfully configured VASA 1.0.1 for vCenter 5.5 (Windows) installed on Windows 2008 R2. I did get an error while trying to register the plugin from the VASA Provider configuraiton however the registration of VASA provider works fine when done from vCenter > Home > Storage Provider. This works for me from both vSphere C# & Web Client.
Here is a link where I have documeted the steps
http://highoncloud.blogspot.in/2013/12/netapp-vasa-provider-for-vmware-setup.html
I hope this helps !
-Arun
I've tried to register from vcenter itself and I stille get an error. From the c# Client i get the error "A problem was encountered while registering the provider".
I've checked the extention on https://vcenter/mob page and it seems there's no vasa extention, this is the list of the extention present:
I've uninstalled/rebooted/reinstalled the vasa provider on the server and tried to install it also on another server but seems that I still get the same errors.
This is the error I get when if I do the registration from the vCenter C# version:
[2014-01-27 12:12:34,055] [1964261414@qtp-799449511-5] [ INFO] org.apache.cxf.interceptor.LoggingInInterceptor(156) Inbound Message
----------------------------
ID: 9
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-27 12:12:34,055] [1964261414@qtp-799449511-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-27 12:12:34,055] [1964261414@qtp-799449511-5] [ 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-27 12:12:34,055] [1964261414@qtp-799449511-5] [ 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)
[2014-01-27 12:12:34,149] [1964261414@qtp-799449511-5] [ INFO] org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor$Soap12FaultOutInterceptorInternal(58) class org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor$Soap12FaultOutInterceptorInternalapplication/soap+xml
[2014-01-27 12:12:34,149] [1964261414@qtp-799449511-5] [ INFO] org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback(160) Outbound Message
---------------------------
ID: 9
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-27 12:12:34,180] [1685182312@qtp-799449511-2] [ INFO] org.apache.cxf.interceptor.LoggingInInterceptor(156) Inbound Message
----------------------------
ID: 10
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>...........</ns2:userName><ns2:password>********</ns2:password><ns2:newCertificate>
CERTIFICATE
</ns2:newCertificate></ns2:registerVASACertificate></soapenv:Body></soapenv:Envelope>
--------------------------------------
[2014-01-27 12:12:34,180] [1685182312@qtp-799449511-2] [ INFO] com.netapp.nvp.context.VasaSessionLoader(40) Incoming request from remote host 10.14.5.10 with address 10.14.5.10
[2014-01-27 12:12:34,180] [1685182312@qtp-799449511-2] [ 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-27 12:12:34,180] [1685182312@qtp-799449511-2] [ INFO] org.apache.cxf.common.logging.LogUtils(345) Application has thrown exception, unwinding now: com.vmware.vim.vasa._1_0.InvalidSession: No session key specified - VASA spec requires cookie of VASASESSIONID to be sent.
[2014-01-27 12:12:34,180] [1685182312@qtp-799449511-2] [ INFO] org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor$Soap12FaultOutInterceptorInternal(58) class org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor$Soap12FaultOutInterceptorInternalapplication/soap+xml
[2014-01-27 12:12:34,180] [1685182312@qtp-799449511-2] [ INFO] org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback(160) Outbound Message
---------------------------
ID: 10
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 session key specified - VASA spec requires cookie of VASASESSIONID to be sent.</soap:Text></soap:Reason><soap:Detail><InvalidSession 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"><InvalidSession><Exception xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" /></InvalidSession></InvalidSession></soap:Detail></soap:Fault></soap:Body></soap:Envelope>
--------------------------------------
[2014-01-27 12:12:34,195] [1685182312@qtp-799449511-2] [ INFO] org.apache.cxf.interceptor.LoggingInInterceptor(156) Inbound Message
----------------------------
ID: 11
Address: /services/vasaService
Encoding: UTF-8
Content-Type: application/soap+xml; charset=UTF-8; action="urn:setContext"
Headers: {content-type=[application/soap+xml; charset=UTF-8; action="urn:setContext"], 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:setContext xmlns:ns2="http://com.vmware.vim.vasa/1.0/xsd"/></soapenv:Body></soapenv:Envelope>
--------------------------------------
[2014-01-27 12:12:34,258] [1685182312@qtp-799449511-2] [ INFO] com.netapp.nvp.context.VasaSessionLoader(40) Incoming request from remote host 10.14.5.10 with address 10.14.5.10
[2014-01-27 12:12:34,258] [1685182312@qtp-799449511-2] [ INFO] org.apache.cxf.common.logging.LogUtils(345) Application has thrown exception, unwinding now: com.vmware.vim.vasa._1_0.InvalidArgument: UsageContext is null
[2014-01-27 12:12:34,258] [1685182312@qtp-799449511-2] [ INFO] org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor$Soap12FaultOutInterceptorInternal(58) class org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor$Soap12FaultOutInterceptorInternalapplication/soap+xml
[2014-01-27 12:12:34,258] [1685182312@qtp-799449511-2] [ INFO] org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback(160) Outbound Message
---------------------------
ID: 11
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">UsageContext is null</soap:Text></soap:Reason><soap:Detail><InvalidArgument 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"><InvalidArgument><Exception xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" /></InvalidArgument></InvalidArgument></soap:Detail></soap:Fault></soap:Body></soap:Envelope>
--------------------------------------
I was having this issue and it turns out that 8.2P4 is required for the VASA provider to work on vSphere 5.5. Of course on 7-mode this isn't feasible yet as OCUM 5.2RC2 still isn't available.
http://support.netapp.com/NOW/download/software/occore_win/5.2P2/
I stand corrected it is available just not directly from the download list.
Hi,
In my case was a VMWare expired certificate.
Regards.