com.vmware.vim.binding.vim.fault.NotAuthenticated: The session is not authenticated.

SpringSource Issue Tracker | Xiaoding Bian | 4 years ago
  1. 0

    (1)deploy a latest Serengeti; (2)create a D/C cluster; (3)run "cluster setElasticity --name test01 --mode manual --targetComputeNodeNum 2" cluster elas01 setElasticity failed: task execution failed: No error message from VHM. you can get task failure details from serengeti server log at: /opt/serengeti/logs/serengeti*,/opt/serengeti/logs/ironfan* /opt/serengeti/log/vhm.log: 2013 Apr 22 09:43:00.810 [ClusterSCL_Poll_Thread-VcVlsi] Unexpected exception waiting for updates com.vmware.vim.binding.vim.fault.NotAuthenticated: inherited from com.vmware.vim.binding.vim.fault.NoPermission: object = com.vmware.vim.binding.vmodl.ManagedObjectReference@f30ae00b, privilegeId = System.View inherited from com.vmware.vim.binding.vmodl.fault.SecurityError: inherited from com.vmware.vim.binding.vim.fault.NotAuthenticated: The session is not authenticated. at sun.reflect.GeneratedConstructorAccessor50.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at java.lang.Class.newInstance0(Class.java:372) at java.lang.Class.newInstance(Class.java:325) at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:171) at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:26) at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:33) at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:135) at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:98) at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:84) at com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:37) at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:97) at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:245) at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:203) at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:126) at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:98) at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:526) at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:507) at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:295) at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:265) at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:169) at $Proxy35.createContainerView(Unknown Source) at com.vmware.vhadoop.vhm.vc.VcVlsi.setupWaitForUpdates(VcVlsi.java:455) at com.vmware.vhadoop.vhm.vc.VcVlsi.pcVMsInFolder(VcVlsi.java:576) at com.vmware.vhadoop.vhm.vc.VcVlsi.waitForUpdates(VcVlsi.java:684) at com.vmware.vhadoop.vhm.vc.VcAdapter.waitForPropertyChange(VcAdapter.java:137) at com.vmware.vhadoop.vhm.ClusterStateChangeListenerImpl$1.run(ClusterStateChangeListenerImpl.java:93) at java.lang.Thread.run(Thread.java:636)

    SpringSource Issue Tracker | 4 years ago | Xiaoding Bian
    com.vmware.vim.binding.vim.fault.NotAuthenticated: The session is not authenticated.
  2. 0

    (1)deploy a latest Serengeti; (2)create a D/C cluster; (3)run "cluster setElasticity --name test01 --mode manual --targetComputeNodeNum 2" cluster elas01 setElasticity failed: task execution failed: No error message from VHM. you can get task failure details from serengeti server log at: /opt/serengeti/logs/serengeti*,/opt/serengeti/logs/ironfan* /opt/serengeti/log/vhm.log: 2013 Apr 22 09:43:00.810 [ClusterSCL_Poll_Thread-VcVlsi] Unexpected exception waiting for updates com.vmware.vim.binding.vim.fault.NotAuthenticated: inherited from com.vmware.vim.binding.vim.fault.NoPermission: object = com.vmware.vim.binding.vmodl.ManagedObjectReference@f30ae00b, privilegeId = System.View inherited from com.vmware.vim.binding.vmodl.fault.SecurityError: inherited from com.vmware.vim.binding.vim.fault.NotAuthenticated: The session is not authenticated. at sun.reflect.GeneratedConstructorAccessor50.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at java.lang.Class.newInstance0(Class.java:372) at java.lang.Class.newInstance(Class.java:325) at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:171) at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:26) at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:33) at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:135) at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:98) at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:84) at com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:37) at com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:97) at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:245) at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:203) at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:126) at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:98) at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:526) at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:507) at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:295) at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:265) at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:169) at $Proxy35.createContainerView(Unknown Source) at com.vmware.vhadoop.vhm.vc.VcVlsi.setupWaitForUpdates(VcVlsi.java:455) at com.vmware.vhadoop.vhm.vc.VcVlsi.pcVMsInFolder(VcVlsi.java:576) at com.vmware.vhadoop.vhm.vc.VcVlsi.waitForUpdates(VcVlsi.java:684) at com.vmware.vhadoop.vhm.vc.VcAdapter.waitForPropertyChange(VcAdapter.java:137) at com.vmware.vhadoop.vhm.ClusterStateChangeListenerImpl$1.run(ClusterStateChangeListenerImpl.java:93) at java.lang.Thread.run(Thread.java:636)

    SpringSource Issue Tracker | 4 years ago | Xiaoding Bian
    com.vmware.vim.binding.vim.fault.NotAuthenticated: The session is not authenticated.

    Root Cause Analysis

    1. com.vmware.vim.binding.vim.fault.NotAuthenticated

      The session is not authenticated.

      at sun.reflect.GeneratedConstructorAccessor50.newInstance()
    2. Java RT
      Class.newInstance
      1. sun.reflect.GeneratedConstructorAccessor50.newInstance(Unknown Source)
      2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      3. java.lang.reflect.Constructor.newInstance(Constructor.java:532)
      4. java.lang.Class.newInstance0(Class.java:372)
      5. java.lang.Class.newInstance(Class.java:325)
      5 frames
    3. com.vmware.vim
      MethodInvocationHandlerImpl.invoke
      1. com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:171)
      2. com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:26)
      3. com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:33)
      4. com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:135)
      5. com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:98)
      6. com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:84)
      7. com.vmware.vim.vmomi.client.common.impl.SoapFaultStackContext.setValue(SoapFaultStackContext.java:37)
      8. com.vmware.vim.vmomi.client.common.impl.ResponseUnmarshaller.unmarshal(ResponseUnmarshaller.java:97)
      9. com.vmware.vim.vmomi.client.common.impl.ResponseImpl.unmarshalResponse(ResponseImpl.java:245)
      10. com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setResponse(ResponseImpl.java:203)
      11. com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:126)
      12. com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:98)
      13. com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:526)
      14. com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:507)
      15. com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:295)
      16. com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:265)
      17. com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:169)
      17 frames
    4. Unknown
      $Proxy35.createContainerView
      1. $Proxy35.createContainerView(Unknown Source)
      1 frame
    5. com.vmware.vhadoop
      ClusterStateChangeListenerImpl$1.run
      1. com.vmware.vhadoop.vhm.vc.VcVlsi.setupWaitForUpdates(VcVlsi.java:455)
      2. com.vmware.vhadoop.vhm.vc.VcVlsi.pcVMsInFolder(VcVlsi.java:576)
      3. com.vmware.vhadoop.vhm.vc.VcVlsi.waitForUpdates(VcVlsi.java:684)
      4. com.vmware.vhadoop.vhm.vc.VcAdapter.waitForPropertyChange(VcAdapter.java:137)
      5. com.vmware.vhadoop.vhm.ClusterStateChangeListenerImpl$1.run(ClusterStateChangeListenerImpl.java:93)
      5 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:636)
      1 frame