Hi Team,
We are facing Vsphere connection issue from one of our Jenkins master, same
credential is working fine when connecting Vsphere from other Jenkins
masters.
Connection is able to resume back once we restart the Jenkins service, over
period of time this issue occurs again, we suspect credential in memory may
be corrupted.
Could you please provide some insight of this issue?
Vsphere Plugin version - 2.26
Cloudbees Version - CloudBees Jenkins Enterprise 2.303.3.3-rolling
Below are the log trace
*2022-03-18 07:49:20.121+0000 [id=1294307] SEVERE
com.vmware.vim25.ws.WSClient#invoke: Exception caught while invoking
method: Logincom.vmware.vim25.InvalidLogin: Cannot complete login due to an
incorrect user name or password. at
sun.reflect.GeneratedConstructorAccessor1041.newInstance(Unknown Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442) at
com.vmware.vim25.ws.XmlGenDom.fromXml(XmlGenDom.java:253) at
com.vmware.vim25.ws.XmlGenDom.parseSoapFault(XmlGenDom.java:151) at
com.vmware.vim25.ws.XmlGenDom.fromXML(XmlGenDom.java:109) at
com.vmware.vim25.ws.SoapClient.unMarshall(SoapClient.java:253) at
com.vmware.vim25.ws.WSClient.invoke(WSClient.java:96) at
com.vmware.vim25.ws.VimStub.login(VimStub.java:1732) at
com.vmware.vim25.mo.SessionManager.login(SessionManager.java:153) at
com.vmware.vim25.mo.ServiceInstance.login(ServiceInstance.java:238)
at
com.vmware.vim25.mo.ServiceInstance.constructServiceInstance(ServiceInstance.java:131)
at
com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:79)
at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:69)
at org.jenkinsci.plugins.vsphere.tools.VSphere.<init>(VSphere.java:75)
at
org.jenkinsci.plugins.vsphere.tools.VSphere.connect(VSphere.java:98)
at
org.jenkinsci.plugins.vSphereCloud.vSphereInstance(vSphereCloud.java:302)
at
org.jenkinsci.plugins.vSphereCloudSlaveComputer.getVMInformation(vSphereCloudSlaveComputer.java:100)
at
org.jenkinsci.plugins.vSphereCloudSlaveComputer.getVmInformationError(vSphereCloudSlaveComputer.java:77)
at sun.reflect.GeneratedMethodAccessor3264.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498) at
org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
at
org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
at
org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
at
org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75)
at
org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
at
org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
at org.apache.commons.jexl.parser.ASTNENode.value(ASTNENode.java:55)*
Thanks,
Velu
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/6c7e83ec-6113-4a31-8856-d47b4b8df65an%40googlegroups.com.