cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhinandan Prateek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-4207) [DOC][upgrade] Exception observed after upgrade "jsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f failed to deserialize json object"
Date Mon, 02 Dec 2013 06:41:39 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-4207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Abhinandan Prateek updated CLOUDSTACK-4207:
-------------------------------------------

    Priority: Critical  (was: Major)

> [DOC][upgrade] Exception observed after upgrade "jsonParseException: The JsonDeserializer
com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f failed to deserialize json object"
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4207
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4207
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: upgrade from any version to 4.2
>            Reporter: Abhinav Roy
>            Assignee: Kishan Kavala
>            Priority: Critical
>              Labels: releasenotes
>             Fix For: 4.3.0
>
>         Attachments: CS-4207.zip
>
>
> Upgrade CS from any older version to 4.2 . 
> As soon as the management server is started after upgrade there is a huge bunch of logs
which is generated citing this exception. This exception doesn't stop until all the  existing
system vms and router vms are booted with the new system-vm templates. This is observed with
each and every upgrade scenario even with a clean setup.
> 2013-08-09 16:45:42,446 WARN  [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null)
Notifying management server join event took 77 ms
> 2013-08-09 16:45:42,588 ERROR [agent.transport.Request] (AgentManager-Handler-2:null)
Caught problem with [{"StartupSecondaryStorageCommand":{"type":"SecondaryStorage","dataCenter":"1","pod":"1","guid":"s-1-VM-PremiumSecondaryStorageResource","name":"s-1-VM","id":3,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.3","publicNetmask":"255.255.255.0","publicMacAddress":"06:59:b8:00:00:0c","privateIpAddress":"10.147.40.188","privateMacAddress":"06:58:10:00:00:08","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.188","storageNetmask":"255.255.254.0","storageMacAddress":"06:58:10:00:00:08","resourceName":"PremiumSecondaryStorageResource","contextMap":{},"wait":0}}]
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f
failed to deserialize json object [{"StartupSecondaryStorageCommand":{"type":"SecondaryStorage","dataCenter":"1","pod":"1","guid":"s-1-VM-PremiumSecondaryStorageResource","name":"s-1-VM","id":3,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.3","publicNetmask":"255.255.255.0","publicMacAddress":"06:59:b8:00:00:0c","privateIpAddress":"10.147.40.188","privateMacAddress":"06:58:10:00:00:08","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.188","storageNetmask":"255.255.254.0","storageMacAddress":"06:58:10:00:00:08","resourceName":"PremiumSecondaryStorageResource","contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:64)
>         at com.google.gson.JsonDeserializationVisitor.invokeCustomDeserializer(JsonDeserializationVisitor.java:92)
>         at com.google.gson.JsonDeserializationVisitor.visitUsingCustomHandler(JsonDeserializationVisitor.java:80)
>         at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:101)
>         at com.google.gson.JsonDeserializationContextDefault.fromJsonArray(JsonDeserializationContextDefault.java:67)
>         at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:52)
>         at com.google.gson.Gson.fromJson(Gson.java:551)
>         at com.google.gson.Gson.fromJson(Gson.java:498)
>         at com.cloud.agent.transport.Request.getCommands(Request.java:235)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1195)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1348)
>         at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:666)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: can't find StartupSecondaryStorageCommand
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:77)
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:37)
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:51)
>         ... 15 more
> 2013-08-09 16:45:42,594 WARN  [utils.nio.Task] (AgentManager-Handler-2:null) Caught the
following exception but pushing on
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f
failed to deserialize json object [{"StartupSecondaryStorageCommand":{"type":"SecondaryStorage","dataCenter":"1","pod":"1","guid":"s-1-VM-PremiumSecondaryStorageResource","name":"s-1-VM","id":3,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.3","publicNetmask":"255.255.255.0","publicMacAddress":"06:59:b8:00:00:0c","privateIpAddress":"10.147.40.188","privateMacAddress":"06:58:10:00:00:08","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.188","storageNetmask":"255.255.254.0","storageMacAddress":"06:58:10:00:00:08","resourceName":"PremiumSecondaryStorageResource","contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:64)
>         at com.google.gson.JsonDeserializationVisitor.invokeCustomDeserializer(JsonDeserializationVisitor.java:92)
>         at com.google.gson.JsonDeserializationVisitor.visitUsingCustomHandler(JsonDeserializationVisitor.java:80)
>         at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:101)
>         at com.google.gson.JsonDeserializationContextDefault.fromJsonArray(JsonDeserializationContextDefault.java:67)
>         at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:52)
>         at com.google.gson.Gson.fromJson(Gson.java:551)
>         at com.google.gson.Gson.fromJson(Gson.java:498)
>         at com.cloud.agent.transport.Request.getCommands(Request.java:235)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1195)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1348)
>         at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:666)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: can't find StartupSecondaryStorageCommand
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:77)
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:37)
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:51)
> 2013-08-09 16:45:44,612 ERROR [agent.transport.Request] (AgentManager-Handler-8:null)
Caught problem with [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":4,"type":"ConsoleProxy","dataCenter":"2","pod":"2","guid":"Proxy.4-ConsoleProxyResource","name":"v-4-VM","id":10,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.55","publicNetmask":"255.255.255.0","publicMacAddress":"06:a2:18:00:00:16","privateIpAddress":"10.147.40.203","privateMacAddress":"06:5d:a0:00:00:0a","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.203","storageNetmask":"255.255.254.0","storageMacAddress":"06:5d:a0:00:00:0a","resourceName":"ConsoleProxyResource","contextMap":{},"wait":0}}]
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f
failed to deserialize json object [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":4,"type":"ConsoleProxy","dataCenter":"2","pod":"2","guid":"Proxy.4-ConsoleProxyResource","name":"v-4-VM","id":10,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.55","publicNetmask":"255.255.255.0","publicMacAddress":"06:a2:18:00:00:16","privateIpAddress":"10.147.40.203","privateMacAddress":"06:5d:a0:00:00:0a","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.203","storageNetmask":"255.255.254.0","storageMacAddress":"06:5d:a0:00:00:0a","resourceName":"ConsoleProxyResource","contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:64)
>         at com.google.gson.JsonDeserializationVisitor.invokeCustomDeserializer(JsonDeserializationVisitor.java:92)
>         at com.google.gson.JsonDeserializationVisitor.visitUsingCustomHandler(JsonDeserializationVisitor.java:80)
>         at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:101)
>         at com.google.gson.JsonDeserializationContextDefault.fromJsonArray(JsonDeserializationContextDefault.java:67)
>         at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:52)
>         at com.google.gson.Gson.fromJson(Gson.java:551)
>         at com.google.gson.Gson.fromJson(Gson.java:498)
>         at com.cloud.agent.transport.Request.getCommands(Request.java:235)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1195)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1348)
>         at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:666)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: can't find StartupProxyCommand
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:77)
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:37)
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:51)
>         ... 15 more
> 2013-08-09 16:45:44,615 WARN  [utils.nio.Task] (AgentManager-Handler-8:null) Caught the
following exception but pushing on
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f
failed to deserialize json object [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":4,"type":"ConsoleProxy","dataCenter":"2","pod":"2","guid":"Proxy.4-ConsoleProxyResource","name":"v-4-VM","id":10,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.55","publicNetmask":"255.255.255.0","publicMacAddress":"06:a2:18:00:00:16","privateIpAddress":"10.147.40.203","privateMacAddress":"06:5d:a0:00:00:0a","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.203","storageNetmask":"255.255.254.0","storageMacAddress":"06:5d:a0:00:00:0a","resourceName":"ConsoleProxyResource","contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:64)
>         at com.google.gson.JsonDeserializationVisitor.invokeCustomDeserializer(JsonDeserializationVisitor.java:92)
>         at com.google.gson.JsonDeserializationVisitor.visitUsingCustomHandler(JsonDeserializationVisitor.java:80)
>         at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:101)
>         at com.google.gson.JsonDeserializationContextDefault.fromJsonArray(JsonDeserializationContextDefault.java:67)
>         at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:52)
>         at com.google.gson.Gson.fromJson(Gson.java:551)
>         at com.google.gson.Gson.fromJson(Gson.java:498)
>         at com.cloud.agent.transport.Request.getCommands(Request.java:235)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1195)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1348)
>         at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:666)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: can't find StartupProxyCommand
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:77)
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:37)
>   ... 15 more
> 2013-08-09 16:45:44,615 WARN  [utils.nio.Task] (AgentManager-Handler-8:null) Caught the
following exception but pushing on
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f
failed to deserialize json object [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":4,"type":"ConsoleProxy","dataCenter":"2","pod":"2","guid":"Proxy.4-ConsoleProxyResource","name":"v-4-VM","id":10,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.55","publicNetmask":"255.255.255.0","publicMacAddress":"06:a2:18:00:00:16","privateIpAddress":"10.147.40.203","privateMacAddress":"06:5d:a0:00:00:0a","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.203","storageNetmask":"255.255.254.0","storageMacAddress":"06:5d:a0:00:00:0a","resourceName":"ConsoleProxyResource","contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:64)
>         at com.google.gson.JsonDeserializationVisitor.invokeCustomDeserializer(JsonDeserializationVisitor.java:92)
>         at com.google.gson.JsonDeserializationVisitor.visitUsingCustomHandler(JsonDeserializationVisitor.java:80)
>         at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:101)
>         at com.google.gson.JsonDeserializationContextDefault.fromJsonArray(JsonDeserializationContextDefault.java:67)
>         at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:52)
>         at com.google.gson.Gson.fromJson(Gson.java:551)
>         at com.google.gson.Gson.fromJson(Gson.java:498)
>         at com.cloud.agent.transport.Request.getCommands(Request.java:235)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1195)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1348)
>         at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:666)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: can't find StartupProxyCommand
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:77)
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:37)
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:51)
>         ... 15 more
> 2013-08-09 16:45:44,690 ERROR [agent.transport.Request] (AgentManager-Handler-10:null)
Caught problem with [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":6,"type":"ConsoleProxy","dataCenter":"3","pod":"3","guid":"Proxy.6-ConsoleProxyResource","name":"v-6-VM","id":12,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.104","publicNetmask":"255.255.255.0","publicMacAddress":"06:59:0c:00:00:0e","privateIpAddress":"10.147.40.220","privateMacAddress":"06:18:1c:00:00:0a","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.220","storageNetmask":"255.255.254.0","storageMacAddress":"06:18:1c:00:00:0a","resourceName":"ConsoleProxyResource","contextMap":{},"wait":0}}]
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f
failed to deserialize json object [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":6,"type":"ConsoleProxy","dataCenter":"3","pod":"3","guid":"Proxy.6-ConsoleProxyResource","name":"v-6-VM","id":12,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.104","publicNetmask":"255.255.255.0","publicMacAddress":"06:59:0c:00:00:0e","privateIpAddress":"10.147.40.220","privateMacAddress":"06:18:1c:00:00:0a","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.220","storageNetmask":"255.255.254.0","storageMacAddress":"06:18:1c:00:00:0a","resourceName":"ConsoleProxyResource","contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:64)
>         at com.google.gson.JsonDeserializationVisitor.invokeCustomDeserializer(JsonDeserializationVisitor.java:92)
>         at com.google.gson.JsonDeserializationVisitor.visitUsingCustomHandler(JsonDeserializationVisitor.java:80)
>         at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:101)
>         at com.google.gson.JsonDeserializationContextDefault.fromJsonArray(JsonDeserializationContextDefault.java:67)
>         at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:52)
>         at com.google.gson.Gson.fromJson(Gson.java:551)
>         at com.google.gson.Gson.fromJson(Gson.java:498)
>         at com.cloud.agent.transport.Request.getCommands(Request.java:235)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1195)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1348)
>         at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:666)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: can't find StartupProxyCommand
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:77)
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:37)
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:51)
> 2013-08-09 16:45:44,698 WARN  [utils.nio.Task] (AgentManager-Handler-10:null) Caught
the following exception but pushing on
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f
failed to deserialize json object [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":6,"type":"ConsoleProxy","dataCenter":"3","pod":"3","guid":"Proxy.6-ConsoleProxyResource","name":"v-6-VM","id":12,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.104","publicNetmask":"255.255.255.0","publicMacAddress":"06:59:0c:00:00:0e","privateIpAddress":"10.147.40.220","privateMacAddress":"06:18:1c:00:00:0a","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.220","storageNetmask":"255.255.254.0","storageMacAddress":"06:18:1c:00:00:0a","resourceName":"ConsoleProxyResource","contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:64)
>         at com.google.gson.JsonDeserializationVisitor.invokeCustomDeserializer(JsonDeserializationVisitor.java:92)
>         at com.google.gson.JsonDeserializationVisitor.visitUsingCustomHandler(JsonDeserializationVisitor.java:80)
>         at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:101)
>         at com.google.gson.JsonDeserializationContextDefault.fromJsonArray(JsonDeserializationContextDefault.java:67)
>         at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:52)
>         at com.google.gson.Gson.fromJson(Gson.java:551)
>         at com.google.gson.Gson.fromJson(Gson.java:498)
>         at com.cloud.agent.transport.Request.getCommands(Request.java:235)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1195)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1348)
>         at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:666)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: can't find StartupProxyCommand
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:77)
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:37)
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:51)
>         ... 15 more
> 2013-08-09 16:45:44,697 ERROR [agent.transport.Request] (AgentManager-Handler-12:null)
Caught problem with [{"StartupSecondaryStorageCommand":{"type":"SecondaryStorage","dataCenter":"2","pod":"2","guid":"s-3-VM-PremiumSecondaryStorageResource","name":"s-3-VM","id":7,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.53","publicNetmask":"255.255.255.0","publicMacAddress":"06:a7:10:00:00:14","privateIpAddress":"10.147.40.195","privateMacAddress":"06:4d:54:00:00:02","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.195","storageNetmask":"255.255.254.0","storageMacAddress":"06:4d:54:00:00:02","resourceName":"PremiumSecondaryStorageResource","contextMap":{},"wait":0}}]
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f
failed to deserialize json object [{"StartupSecondaryStorageCommand":{"type":"SecondaryStorage","dataCenter":"2","pod":"2","guid":"s-3-VM-PremiumSecondaryStorageResource","name":"s-3-VM","id":7,"version":"3.0.6.20130524112703","iqn":"NoIqn","publicIpAddress":"10.147.47.53","publicNetmask":"255.255.255.0","publicMacAddress":"06:a7:10:00:00:14","privateIpAddress":"10.147.40.195","privateMacAddress":"06:4d:54:00:00:02","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.195","storageNetmask":"255.255.254.0","storageMacAddress":"06:4d:54:00:00:02","resourceName":"PremiumSecondaryStorageResource","contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:64)
>         at com.google.gson.JsonDeserializationVisitor.invokeCustomDeserializer(JsonDeserializationVisitor.java:92)
>         at com.google.gson.JsonDeserializationVisitor.visitUsingCustomHandler(JsonDeserializationVisitor.java:80)
>         at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:101)
>         at com.google.gson.JsonDeserializationContextDefault.fromJsonArray(JsonDeserializationContextDefault.java:67)
>         at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:52)
>         at com.google.gson.Gson.fromJson(Gson.java:551)
>         at com.google.gson.Gson.fromJson(Gson.java:498)
>         at com.cloud.agent.transport.Request.getCommands(Request.java:235)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1195)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1348)
>         at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:666)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 		
> 2013-08-09 16:45:44,867 ERROR [agent.transport.Request] (AgentManager-Handler-14:null)
Caught problem with [{"StartupRoutingCommand":{"cpus":4,"speed":2394,"memory":16713572352,"dom0MinMemory":805306368,"poolSync":false,"vms":{"v-6-VM":{"state":"Running"},"s-5-VM":{"state":"Running"},"r-14-VM":{"state":"Running"},"i-2-13-VM":{"state":"Running"}},"caps":"hvm,snapshot","pool":"/root","hypervisorType":"KVM","hostDetails":{"com.cloud.network.Networks.RouterPrivateIpStrategy":"HostLocal","Host.OS":"Red","Host.OS.Kernel.Version":"2.6.32-220.el6.x86_64","Host.OS.Version":"Enterprise"},"type":"Routing","dataCenter":"3","pod":"3","cluster":"3","guid":"06eebf8f-2884-3084-865d-644312b9874f-LibvirtComputingResource","name":"Rack1Pod1Host8","id":8,"version":"3.0.6.20130524112703","publicIpAddress":"10.147.40.8","publicNetmask":"255.255.254.0","publicMacAddress":"d4:ae:52:7a:a5:f6","privateIpAddress":"10.147.40.8","privateMacAddress":"d4:ae:52:7a:a5:f6","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.8","storageNetmask":"255.255.254.0","storageMacAddress":"d4:ae:52:7a:a5:f6","resourceName":"LibvirtComputingResource","gatewayIpAddress":"10.147.40.1","contextMap":{},"wait":0}},{"StartupStorageCommand":{"totalSize":0,"poolInfo":{"uuid":"7115c599-aa56-43f4-ab19-a2450d488896","host":"10.147.40.8","localPath":"/var/lib/libvirt/images/","hostPath":"/var/lib/libvirt/images/","poolType":"Filesystem","capacityBytes":52844687360,"availableBytes":9733681152},"resourceType":"STORAGE_POOL","hostDetails":{},"type":"Storage","dataCenter":"3","pod":"3","guid":"06eebf8f-2884-3084-865d-644312b9874f-LibvirtComputingResource","name":"Rack1Pod1Host8","id":8,"version":"3.0.6.20130524112703","resourceName":"LibvirtComputingResource","contextMap":{},"wait":0}}]
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f
failed to deserialize json object [{"StartupRoutingCommand":{"cpus":4,"speed":2394,"memory":16713572352,"dom0MinMemory":805306368,"poolSync":false,"vms":{"v-6-VM":{"state":"Running"},"s-5-VM":{"state":"Running"},"r-14-VM":{"state":"Running"},"i-2-13-VM":{"state":"Running"}},"caps":"hvm,snapshot","pool":"/root","hypervisorType":"KVM","hostDetails":{"com.cloud.network.Networks.RouterPrivateIpStrategy":"HostLocal","Host.OS":"Red","Host.OS.Kernel.Version":"2.6.32-220.el6.x86_64","Host.OS.Version":"Enterprise"},"type":"Routing","dataCenter":"3","pod":"3","cluster":"3","guid":"06eebf8f-2884-3084-865d-644312b9874f-LibvirtComputingResource","name":"Rack1Pod1Host8","id":8,"version":"3.0.6.20130524112703","publicIpAddress":"10.147.40.8","publicNetmask":"255.255.254.0","publicMacAddress":"d4:ae:52:7a:a5:f6","privateIpAddress":"10.147.40.8","privateMacAddress":"d4:ae:52:7a:a5:f6","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.8","storageNetmask":"255.255.254.0","storageMacAddress":"d4:ae:52:7a:a5:f6","resourceName":"LibvirtComputingResource","gatewayIpAddress":"10.147.40.1","contextMap":{},"wait":0}},{"StartupStorageCommand":{"totalSize":0,"poolInfo":{"uuid":"7115c599-aa56-43f4-ab19-a2450d488896","host":"10.147.40.8","localPath":"/var/lib/libvirt/images/","hostPath":"/var/lib/libvirt/images/","poolType":"Filesystem","capacityBytes":52844687360,"availableBytes":9733681152},"resourceType":"STORAGE_POOL","hostDetails":{},"type":"Storage","dataCenter":"3","pod":"3","guid":"06eebf8f-2884-3084-865d-644312b9874f-LibvirtComputingResource","name":"Rack1Pod1Host8","id":8,"version":"3.0.6.20130524112703","resourceName":"LibvirtComputingResource","contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:64)
>         at com.google.gson.JsonDeserializationVisitor.invokeCustomDeserializer(JsonDeserializationVisitor.java:92)
>         at com.google.gson.JsonDeserializationVisitor.visitUsingCustomHandler(JsonDeserializationVisitor.java:80)
>         at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:101)
>         at com.google.gson.JsonDeserializationContextDefault.fromJsonArray(JsonDeserializationContextDefault.java:67)
>         at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:52)
>         at com.google.gson.Gson.fromJson(Gson.java:551)
>         at com.google.gson.Gson.fromJson(Gson.java:498)
>         at com.cloud.agent.transport.Request.getCommands(Request.java:235)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1195)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1348)
>         at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:666)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: can't find StartupRoutingCommand
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:77)
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:37)
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:51)
>         ... 15 more
> 2013-08-09 16:45:44,870 WARN  [utils.nio.Task] (AgentManager-Handler-14:null) Caught
the following exception but pushing on
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@2426e26f
failed to deserialize json object [{"StartupRoutingCommand":{"cpus":4,"speed":2394,"memory":16713572352,"dom0MinMemory":805306368,"poolSync":false,"vms":{"v-6-VM":{"state":"Running"},"s-5-VM":{"state":"Running"},"r-14-VM":{"state":"Running"},"i-2-13-VM":{"state":"Running"}},"caps":"hvm,snapshot","pool":"/root","hypervisorType":"KVM","hostDetails":{"com.cloud.network.Networks.RouterPrivateIpStrategy":"HostLocal","Host.OS":"Red","Host.OS.Kernel.Version":"2.6.32-220.el6.x86_64","Host.OS.Version":"Enterprise"},"type":"Routing","dataCenter":"3","pod":"3","cluster":"3","guid":"06eebf8f-2884-3084-865d-644312b9874f-LibvirtComputingResource","name":"Rack1Pod1Host8","id":8,"version":"3.0.6.20130524112703","publicIpAddress":"10.147.40.8","publicNetmask":"255.255.254.0","publicMacAddress":"d4:ae:52:7a:a5:f6","privateIpAddress":"10.147.40.8","privateMacAddress":"d4:ae:52:7a:a5:f6","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.40.8","storageNetmask":"255.255.254.0","storageMacAddress":"d4:ae:52:7a:a5:f6","resourceName":"LibvirtComputingResource","gatewayIpAddress":"10.147.40.1","contextMap":{},"wait":0}},{"StartupStorageCommand":{"totalSize":0,"poolInfo":{"uuid":"7115c599-aa56-43f4-ab19-a2450d488896","host":"10.147.40.8","localPath":"/var/lib/libvirt/images/","hostPath":"/var/lib/libvirt/images/","poolType":"Filesystem","capacityBytes":52844687360,"availableBytes":9733681152},"resourceType":"STORAGE_POOL","hostDetails":{},"type":"Storage","dataCenter":"3","pod":"3","guid":"06eebf8f-2884-3084-865d-644312b9874f-LibvirtComputingResource","name":"Rack1Pod1Host8","id":8,"version":"3.0.6.20130524112703","resourceName":"LibvirtComputingResource","contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;
> class [Lcom.cloud.agent.api.Command;
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:64)
>         at com.google.gson.JsonDeserializationVisitor.invokeCustomDeserializer(JsonDeserializationVisitor.java:92)
>         at com.google.gson.JsonDeserializationVisitor.visitUsingCustomHandler(JsonDeserializationVisitor.java:80)
>         at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:101)
>         at com.google.gson.JsonDeserializationContextDefault.fromJsonArray(JsonDeserializationContextDefault.java:67)
>         at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:52)
>         at com.google.gson.Gson.fromJson(Gson.java:551)
>         at com.google.gson.Gson.fromJson(Gson.java:498)
>         at com.cloud.agent.transport.Request.getCommands(Request.java:235)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processRequest(AgentManagerImpl.java:1195)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1348)
>         at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:666)
>         at com.cloud.utils.nio.Task.run(Task.java:83)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> Caused by: com.cloud.utils.exception.CloudRuntimeException: can't find StartupRoutingCommand
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:77)
>         at com.cloud.agent.transport.ArrayTypeAdaptor.deserialize(ArrayTypeAdaptor.java:37)
>         at com.google.gson.JsonDeserializerExceptionWrapper.deserialize(JsonDeserializerExceptionWrapper.java:51)
>         ... 15 more
> Attaching management server logs.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message