On 09/25/2013 01:12 PM, Indra Pramana wrote:
Dear all, During my upgrade attempt from CloudStack 4.1.1 to 4.2.0 earlier this week, I failed on the step when I need to run the cloudstack-sysvmadm script to restart the system VMs. nohup cloudstack-sysvmadm -d IP address -u cloud -p -a > sysvm.log 2>&1 & When I scrutinize the management server's logs, I saw these error messages related to the console proxy system VM: ==== 2013-09-24 02:35:37,722 ERROR [agent.transport.Request] (AgentManager-Handler-4:null) Caught problem with [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":1903,"_loadInfo":"{\n \"connections\": []\n}","contextMap":{},"wait":0}}] com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@1c74f356 failed to deserialize json object [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":1903,"_loadInfo":"{\n \"connections\": []\n}","contextMap":{},"wait":0}}] given the type class [Lcom.cloud.agent.api.Command; ==== More detailed logs can be found on pastebin: http://pastebin.com/EmPF8EMp Could it be the reason why the cloudstack-sysvmadm script is unable to restart the system VM?
It is a old SystemVM talking to the management server which isn't working due to a protocol change between 4.1 and 4.2
Not sure if that is the reason of you problem, but it could be. The root cause is however the API change. Wido
Looking forward to your reply, thank you. Cheers.