cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shweta agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-3479) hitting com.google.gson.JsonParseException with xen host
Date Thu, 11 Jul 2013 11:57:48 GMT

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

shweta agarwal updated CLOUDSTACK-3479:
---------------------------------------

    Attachment: cloud-backup.dmp

cloud db dump
                
> hitting com.google.gson.JsonParseException with xen host
> --------------------------------------------------------
>
>                 Key: CLOUDSTACK-3479
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3479
>             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: build :
> CloudPlatform-4.2-183-rhel6.3
>            Reporter: shweta agarwal
>            Priority: Blocker
>         Attachments: cloud-backup.dmp, management-server (2).zip
>
>
> Repro steps:
> Created a Advanced zone with xen 6.1 host
> Used follwoing system VM templates :
> http://jenkins.cloudstack.org/view/master/job/build-systemvm-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvmtemplate-2013-07-10-master-xen.vhd.bz2
> Though my System Vm are up I am getting this exception:
> MS log snippet :
> 2013-07-11 16:57:24,715 ERROR [agent.transport.Request] (AgentManager-Handler-5:null)
Caught problem with [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":10,"type":"ConsoleProxy","dataCenter":"3","pod":"3","guid":"Proxy.10-ConsoleProxyResource","name":"v-10-VM","version":"4.2.0-SNAPSHOT","iqn":"NoIqn","publicIpAddress":"10.147.51.11","publicNetmask":"255.255.255.0","publicMacAddress":"06:b2:aa:00:00:0c","privateIpAddress":"10.147.41.83","privateMacAddress":"06:58:70:00:00:03","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.41.83","storageNetmask":"255.255.254.0","storageMacAddress":"06:58:70:00:00:03","resourceName":"ConsoleProxyResource","contextMap":{},"wait":0}}]
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@6c66c0a2
failed to deserialize json object [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":10,"type":"ConsoleProxy","dataCenter":"3","pod":"3","guid":"Proxy.10-ConsoleProxyResource","name":"v-10-VM","version":"4.2.0-SNAPSHOT","iqn":"NoIqn","publicIpAddress":"10.147.51.11","publicNetmask":"255.255.255.0","publicMacAddress":"06:b2:aa:00:00:0c","privateIpAddress":"10.147.41.83","privateMacAddress":"06:58:70:00:00:03","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.41.83","storageNetmask":"255.255.254.0","storageMacAddress":"06:58:70:00:00:03","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:1196)
>         at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1349)
>         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:1146)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         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-07-11 16:57:24,739 WARN  [utils.nio.Task] (AgentManager-Handler-5:null) Caught the
following exception but pushing on
> com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@6c66c0a2
failed to deserialize json object [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":10,"type":"ConsoleProxy","dataCenter":"3","pod":"3","guid":"Proxy.10-ConsoleProxyResource","name":"v-10-VM","version":"4.2.0-SNAPSHOT","iqn":"NoIqn","publicIpAddress":"10.147.51.11","publicNetmask":"255.255.255.0","publicMacAddress":"06:b2:aa:00:00:0c","privateIpAddress":"10.147.41.83","privateMacAddress":"06:58:70:00:00:03","privateNetmask":"255.255.254.0","storageIpAddress":"10.147.41.83","storageNetmask":"255.255.254.0","storageMacAddress":"06:58:70:00:00:03","resourceName":"ConsoleProxyResource","contextMap":{},"wait":0}}]
given the type class [Lcom.cloud.agent.api.Command;

--
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

Mime
View raw message