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] [Reopened] (CLOUDSTACK-4065) [ Upgrade ] 3.0.7 GA -> campo 4.2 fail - advance zone SG enabled guest networks same VLAN different subnet
Date Tue, 06 Aug 2013 00:42:47 GMT

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

angeline shen reopened CLOUDSTACK-4065:
---------------------------------------


upgrade 3.0.7 GA to campo 4.2  build    internal  340  STILL FAILING  ( with Alena's fix)

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.

                
> [ Upgrade ]  3.0.7 GA ->  campo 4.2 fail -  advance zone  SG enabled guest networks
same VLAN different subnet
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4065
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4065
>             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    10.223.195.62       build   3.0.7 GA  upgrade  campo  4.2
build  CloudPlatform-4.2-324-rhel6.3.tar.gz
> host   10.223.51.3      XS 6.1
>            Reporter: angeline shen
>            Assignee: Alena Prokharchyk
>            Priority: Blocker
>             Fix For: 4.2.0
>
>         Attachments: cloud-backup.dmp, cloud-backup.sql, cloud-usage-backup.dmp, cloud-usage-backup.sql,
management-server.log.gz
>
>
> MS    10.223.195.62       build   3.0.7 GA  upgrade  campo  4.2 build  CloudPlatform-4.2-324-rhel6.3.tar.gz
> 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:
>  LB health check states (in sec)') 
> 2013-08-03 20:58:18,463 DEBUG [utils.db.ScriptRunner] (Timer-1:null) INSERT IGNORE INTO
`cloud`.`configuration` VALUES ('Snapshots', 'DEFAULT', 'SnapshotManager', 'KVM.snapshot.enabled',
'false', 'whether snapshot is enabled for KVM hosts') 
> 2013-08-03 20:58:18,471 DEBUG [upgrade.dao.Upgrade410to420] (Timer-1:null) Ignoring zone
1 with hypervisor type XenServer
> 2013-08-03 20:58:18,492 ERROR [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:null) Unable
to upgrade the database
> com.cloud.utils.exception.CloudRuntimeException: Unable to create placeholder nics
>         at com.cloud.upgrade.dao.Upgrade410to420.createPlaceHolderNics(Upgrade410to420.java:769)
>         at com.cloud.upgrade.dao.Upgrade410to420.performDataMigration(Upgrade410to420.java:79)
>         at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:264)
>         at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:389)
>         at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:90)
>         at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
>         at java.util.TimerThread.mainLoop(Timer.java:534)
>         at java.util.TimerThread.run(Timer.java:484)
> Caused by: java.sql.SQLException: Field 'default_nic' doesn't have a default value
>         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1074)
>         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074)
>         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006)
>         at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468)
>         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629)
>         at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719)
>         at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
>         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2450)
>         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2371)
>         at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2355)
>         at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
>         at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
>         at com.cloud.upgrade.dao.Upgrade410to420.createPlaceHolderNics(Upgrade410to420.java:764)
>         ... 7 more
> 2013-08-03 20:58:18,493 DEBUG [db.Transaction.Transaction] (Timer-1:null) Rolling back
the transaction: Time = 3269 Name =  -CloudStartupServlet$1.run:52-TimerThread.mainLoop:534-TimerThread.run:484;
called by -Transaction.rollback:896-Transaction.removeUpTo:839-Transaction.close:663-DatabaseUpgradeChecker.upgrade:293-DatabaseUpgradeChecker.check:389-ComponentContext.initComponentsLifeCycle:90-CloudStartupServlet$1.run:54-TimerThread.mainLoop:534-TimerThread.run:484
> 2013-08-03 20:58:18,495 ERROR [utils.component.ComponentContext] (Timer-1:null) System
integrity check failed. Refuse to startup
>     

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