Abhinav Roy created CLOUDSTACK-4115:
---------------------------------------
Summary: [upgrade][2.2.14 to 4.2]After upgrade the ESX 4.1 ends up
in disconnected state
Key: CLOUDSTACK-4115
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4115
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Upgrade, VMware
Affects Versions: 4.2.0
Environment: upgrade from 2.2.14 to 4.2 on CentOS 5.6 management srver
ESX 4.1 host
Reporter: Abhinav Roy
Priority: Blocker
Fix For: 4.2.0
Steps :
================
1. Deploy a CS advanced zone setup with CS 2.2.14
2. Do some configurations.
3. upgrade to 4.2, then run cloudstack-setup-encryption
Expected behaviour:
===============
The upgrade should go through and the host should stay connected
Observed behaviour :
===============
The host ends up in disconnected state after upgrade .
2013-08-06 21:37:01,972 DEBUG [agent.manager.ClusteredAgentManagerImpl]
(ClusteredAgentManager Timer:null) Loading directly connected host
1(10.102.192.17)
2013-08-06 21:37:02,060 DEBUG [utils.crypt.DBEncryptionUtil]
(ClusteredAgentManager Timer:null) Error while decrypting: freebsd*123
2013-08-06 21:37:02,061 DEBUG [cloud.host.Status] (ClusteredAgentManager
Timer:null) Transition:[Resource state = Enabled, Agent event =
AgentDisconnected, Host id = 1, name = 10.102.192.17]
2013-08-06 21:37:02,071 DEBUG [cloud.host.Status] (ClusteredAgentManager
Timer:null) Agent status update: [id = 1; name = 10.102.192.17; old status =
Disconnected; event = AgentDisconnected; new status = Disconnected; old update
count = 4; new update count = 5]
2013-08-06 21:37:02,071 WARN [agent.manager.ClusteredAgentManagerImpl]
(ClusteredAgentManager Timer:null) can not load directly connected host
1(10.102.192.17) due to
org.jasypt.exceptions.EncryptionOperationNotPossibleException
at
org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:918)
at
org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(StandardPBEStringEncryptor.java:725)
at
com.cloud.utils.crypt.DBEncryptionUtil.decrypt(DBEncryptionUtil.java:65)
at
com.cloud.dc.ClusterDetailsDaoImpl.findDetails(ClusterDetailsDaoImpl.java:81)
at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at
com.cloud.hypervisor.vmware.VmwareServerDiscoverer.buildConfigParams(VmwareServerDiscoverer.java:730)
at
com.cloud.hypervisor.vmware.VmwareServerDiscoverer.reloadResource(VmwareServerDiscoverer.java:760)
at
com.cloud.agent.manager.AgentManagerImpl.loadDirectlyConnectedHost(AgentManagerImpl.java:743)
at
com.cloud.agent.manager.ClusteredAgentManagerImpl.scanDirectAgentToLoad(ClusteredAgentManagerImpl.java:209)
at
com.cloud.agent.manager.ClusteredAgentManagerImpl.runDirectAgentScanTimerTask(ClusteredAgentManagerImpl.java:175)
at
com.cloud.agent.manager.ClusteredAgentManagerImpl.access$100(ClusteredAgentManagerImpl.java:93)
at
com.cloud.agent.manager.ClusteredAgentManagerImpl$DirectAgentScanTimerTask.run(ClusteredAgentManagerImpl.java:225)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira