cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angeline shen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-4118) [Upgrade] 3.0.7 GA -> 4.2 fail - advance zone SG enabled - failed to deserialize json object "StartupSecondaryStorageCommand" "StartupProxyCommand"
Date Tue, 06 Aug 2013 18:55:48 GMT
angeline shen created CLOUDSTACK-4118:
-----------------------------------------

             Summary: [Upgrade] 3.0.7 GA -> 4.2 fail - advance zone SG enabled - failed
to deserialize json object "StartupSecondaryStorageCommand"  "StartupProxyCommand"   
                 Key: CLOUDSTACK-4118
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4118
             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: MS      3.0.7 GA  ->  CloudPlatform build  8/2/13
host     XS 6.1



            Reporter: angeline shen
            Priority: Blocker
             Fix For: 4.2.0


MS 10.223.195.62 build 3.0.7 GA upgrade 4.2 build host 10.223.51.3 XS 6.1

1. MS install 3.0.7 GA,
2. create advanced zone with SG
3. create several networks with different subnets and same vlan
                       vlan GW start IP end IP
----------------------------------------------------------------------------------------------------------
guest network 1250 10.223.125.1 10.223.125.13 10.223.125.18
 
1250-66to68 1250 10.223.125.65 10.223.125.66 10.223.125.68
1250-130to132 1250 10.223.125.129 10.223.125.130 10.223.125.132

4. start VMs on each of these networks
125.18 125.16 125.14 125.68 125.67 125.131 125.132
no ingress or egress rules :
VMs can ssh + ping other VMs in all subnets
VMs can egress internet

add ingress TCP icmp egress TCP egress

5. make sure VM work well
6. upgrade to 4.2 FAIL: 

2013-08-05 17:16:16,326 ERROR [agent.transport.Request] (AgentManager-Handler-3:null) Caught
problem with [{"StartupSecondaryStorageCommand":{"type":"SecondaryStorage","dataCenter":"1","pod":"1","guid":"s-1-VM-PremiumSecondaryStorageResource","name":"s-1-VM","id":4,"version":"3.0.7.20130614045355","iqn":"NoIqn","publicIpAddress":"10.223.125.13","publicNetmask":"255.255.255.192","publicMacAddress":"06:4d:8a:00:00:01","privateIpAddress":"10.223.51.33","privateMacAddress":"06:19:e6:00:00:0e","privateNetmask":"255.255.255.192","storageIpAddress":"10.223.51.33","storageNetmask":"255.255.255.192","storageMacAddress":"06:19:e6:00:00:0e","resourceName":"PremiumSecondaryStorageResource","contextMap":{},"wait":0}}]
com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@6613574a
failed to deserialize json object [{"StartupSecondaryStorageCommand":{"type":"SecondaryStorage","dataCenter":"1","pod":"1","guid":"s-1-VM-PremiumSecondaryStorageResource","name":"s-1-VM","id":4,"version":"3.0.7.20130614045355","iqn":"NoIqn","publicIpAddress":"10.223.125.13","publicNetmask":"255.255.255.192","publicMacAddress":"06:4d:8a:00:00:01","privateIpAddress":"10.223.51.33","privateMacAddress":"06:19:e6:00:00:0e","privateNetmask":"255.255.255.192","storageIpAddress":"10.223.51.33","storageNetmask":"255.255.255.192","storageMacAddress":"06:19:e6:00:00:0e","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:1197)
        at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1350)
        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-05 17:16:16,327 ERROR [agent.transport.Request] (AgentManager-Handler-4:null) Caught
problem with [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":2,"type":"ConsoleProxy","dataCenter":"1","pod":"1","guid":"Proxy.2-ConsoleProxyResource","name":"v-2-VM","id":3,"version":"3.0.7.20130614045355","iqn":"NoIqn","publicIpAddress":"10.223.125.16","publicNetmask":"255.255.255.192","publicMacAddress":"06:20:04:00:00:04","privateIpAddress":"10.223.51.32","privateMacAddress":"06:5b:60:00:00:0d","privateNetmask":"255.255.255.192","storageIpAddress":"10.223.51.32","storageNetmask":"255.255.255.192","storageMacAddress":"06:5b:60:00:00:0d","resourceName":"ConsoleProxyResource","contextMap":{},"wait":0}}]
com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@6613574a
failed to deserialize json object [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":2,"type":"ConsoleProxy","dataCenter":"1","pod":"1","guid":"Proxy.2-ConsoleProxyResource","name":"v-2-VM","id":3,"version":"3.0.7.20130614045355","iqn":"NoIqn","publicIpAddress":"10.223.125.16","publicNetmask":"255.255.255.192","publicMacAddress":"06:20:04:00:00:04","privateIpAddress":"10.223.51.32","privateMacAddress":"06:5b:60:00:00:0d","privateNetmask":"255.255.255.192","storageIpAddress":"10.223.51.32","storageNetmask":"255.255.255.192","storageMacAddress":"06:5b:60:00:00:0d","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:1197)
        at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1350)
        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-05 17:16:16,329 WARN [utils.nio.Task] (AgentManager-Handler-4:null) Caught the following
exception but pushing on
com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@6613574a
failed to deserialize json object [{"StartupProxyCommand":{"proxyPort":80,"proxyVmId":2,"type":"ConsoleProxy","dataCenter":"1","pod":"1","guid":"Proxy.2-ConsoleProxyResource","name":"v-2-VM","id":3,"version":"3.0.7.20130614045355","iqn":"NoIqn","publicIpAddress":"10.223.125.16","publicNetmask":"255.255.255.192","publicMacAddress":"06:20:04:00:00:04","privateIpAddress":"10.223.51.32","privateMacAddress":"06:5b:60:00:00:0d","privateNetmask":"255.255.255.192","storageIpAddress":"10.223.51.32","storageNetmask":"255.255.255.192","storageMacAddress":"06::

5b:60:00:00:0d","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:1197)
        at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1350)
        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-05 17:16:16,329 WARN [utils.nio.Task] (AgentManager-Handler-3:null) Caught the following
exception but pushing on
com.google.gson.JsonParseException: The JsonDeserializer com.cloud.agent.transport.ArrayTypeAdaptor@6613574a
failed to deserialize json object [{"StartupSecondaryStorageCommand":{"type":"SecondaryStorage","dataCenter":"1","pod":"1","guid":"s-1-VM-PremiumSecondaryStorageResource","name":"s-1-VM","id":4,"version":"3.0.7.20130614045355","iqn":"NoIqn","publicIpAddress":"10.223.125.13","publicNetmask":"255.255.255.192","publicMacAddress":"06:4d:8a:00:00:01","privateIpAddress":"10.223.51.33","privateMacAddress":"06:19:e6:00:00:0e","privateNetmask":"255.255.255.192","storageIpAddress":"10.223.51.33","storageNetmask":"255.255.255.192","storageMacAddress":"06:19:e6:00:00:0e","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:1197)
        at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:1350)
        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-05 17:16:16,401 DEBUG [utils.db.ConnectionConcierge] (Cluster-Heartbeat-1:null) Registering
a database connection for ClusterManagerHeartBeat2
2013-08-05 17:16:16,407 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null)
We are good, no orphan management server msid in host table is found
2013-08-05 17:16:16,407 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null)
No inactive management server node found
2013-08-05 17:16:16,412 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null)
Detected management node joined, id:1, nodeIP:10.223.195.62
2013-08-05 17:16:17,908 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null)
Notify management server node join to listeners. 




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