cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Nalley <da...@gnsa.us>
Subject Re: Management server is stuck after upgrade to 4.4.1
Date Mon, 27 Oct 2014 21:28:04 GMT
Thomas:

Please file a bug for this.

Thanks,


--David

On Mon, Oct 27, 2014 at 2:20 PM, Thomas Schneider
<thomas.schneider@euskill.com> wrote:
> Hi,
>
> I solved the problem.
>
> The column display from the snapshot _policy was missing after update.
>
> Just do: ALTER TABLE  `snapshot_policy` ADD  `display` TINYINT( 1 ) NOT
> NULL DEFAULT  '1'
>
> Regards,
>
>
> -------- Message original --------
> Sujet:  Management server is stuck after upgrade to 4.4.1
> Date :  Fri, 24 Oct 2014 14:39:20 +0200
> De :    Thomas Schneider <thomas.schneider@euskill.com>
> Pour :  dev@cloudstack.apache.org
>
>
>
> Hello,
>
> I tried yo upgrade Cloudstack from 4.4.0 to 4.4.1, following the
> instructions of the release note.
> When I restarted the MS the update of the database worked as expected
> but after the server is stuck.
>
> Regards,
>
> Partial log output:
>
> 2014-10-24 14:01:54,283 INFO  [c.c.u.d.T.Transaction] (main:null) Is
> Data Base High Availiability enabled? Ans : false
> 2014-10-24 14:01:54,843 DEBUG [c.c.u.d.ConnectionConcierge] (main:null)
> Registering a database connection for LockMaster1
> 2014-10-24 14:01:54,843 INFO  [c.c.u.d.Merovingian2] (main:null)
> Cleaning up locks for 7012003873552
> 2014-10-24 14:01:54,853 INFO  [c.c.u.d.Merovingian2] (main:null)
> Released 0 locks for 7012003873552
> 2014-10-24 14:01:54,895 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle]
> (main:null) Running system integrity checker
> com.cloud.upgrade.DatabaseUpgradeChecker@6345943f
> 2014-10-24 14:01:54,896 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
> Grabbing lock to check for database upgrade.
> 2014-10-24 14:01:55,111 DEBUG [c.c.u.d.VersionDaoImpl] (main:null)
> Checking to see if the database is at a version before it was the
> version table is created
> 2014-10-24 14:01:55,140 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
> DB version = 4.4.0 Code Version = 4.4.1
> 2014-10-24 14:01:55,142 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
> Database upgrade must be performed from 4.4.0 to 4.4.1
> 2014-10-24 14:01:55,142 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
> Running upgrade Upgrade440to441 to upgrade from 4.4.0-4.4.1 to 4.4.1
> 2014-10-24 14:01:55,149 DEBUG [c.c.u.s.Script] (main:null) Looking for
> db/schema-440to441.sql in the classpath
> 2014-10-24 14:01:55,149 DEBUG [c.c.u.s.Script] (main:null) System
> resource: file:/usr/share/cloudstack-management/setup/db/schema-440to441.sql
> 2014-10-24 14:01:55,149 DEBUG [c.c.u.s.Script] (main:null) Absolute path
> =  /usr/share/cloudstack-management/setup/db/schema-440to441.sql
> ...
> 2014-10-24 14:01:55,293 DEBUG [c.c.u.d.ScriptRunner] (main:null) -- Fix
> CLOUDSTACK-7624
> 2014-10-24 14:01:55,293 DEBUG [c.c.u.d.ScriptRunner] (main:null) ALTER
> TABLE `cloud`.`configuration` MODIFY default_value varchar(8191), MODIFY
> value varchar(8191)
> 2014-10-24 14:01:55,398 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating System Vm template IDs
> 2014-10-24 14:01:55,406 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating KVM System Vms
> 2014-10-24 14:01:55,410 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating XenServer System Vms
> 2014-10-24 14:01:55,414 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating VMware System Vms
> 2014-10-24 14:01:55,414 WARN  [c.c.u.d.Upgrade440to441] (main:null)
> 4.4.0 VMware SystemVm template not found. VMware hypervisor is not used,
> so not failing upgrade
> 2014-10-24 14:01:55,415 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating Hyperv System Vms
> 2014-10-24 14:01:55,416 WARN  [c.c.u.d.Upgrade440to441] (main:null)
> 4.4.0 Hyperv SystemVm template not found. Hyperv hypervisor is not used,
> so not failing upgrade
> 2014-10-24 14:01:55,416 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating LXC System Vms
> 2014-10-24 14:01:55,417 WARN  [c.c.u.d.Upgrade440to441] (main:null)
> 4.4.0 LXC SystemVm template not found. LXC hypervisor is not used, so
> not failing upgrade
> 2014-10-24 14:01:55,417 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating System Vm Template IDs Complete
> 2014-10-24 14:01:55,525 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
> Cleaning upgrades because all management server are now at the same version
> 2014-10-24 14:01:55,530 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
> Upgrading to version 4.4.1...
> 2014-10-24 14:01:55,531 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
> Cleanup upgrade Upgrade440to441 to upgrade from 4.4.0-4.4.1 to 4.4.1
> 2014-10-24 14:01:55,532 DEBUG [c.c.u.s.Script] (main:null) Looking for
> db/schema-440to441-cleanup.sql in the classpath
> 2014-10-24 14:01:55,532 DEBUG [c.c.u.s.Script] (main:null) System
> resource:
> file:/usr/share/cloudstack-management/setup/db/schema-440to441-cleanup.sql
> 2014-10-24 14:01:55,532 DEBUG [c.c.u.s.Script] (main:null) Absolute path
> =  /usr/share/cloudstack-management/setup/db/schema-440to441-cleanup.sql
> 2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> Licensed to the Apache Software Foundation (ASF) under one
> 2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) -- or
> more contributor license agreements.  See the NOTICE file
> 2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> distributed with this work for additional information
> 2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> regarding copyright ownership.  The ASF licenses this file
> 2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) -- to
> you under the Apache License, Version 2.0 (the
> 2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> "License"); you may not use this file except in compliance
> 2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) -- with
> the License.  You may obtain a copy of the License at
> 2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> 2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> http://www.apache.org/licenses/LICENSE-2.0
> 2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> 2014-10-24 14:01:55,534 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> Unless required by applicable law or agreed to in writing,
> 2014-10-24 14:01:55,534 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> software distributed under the License is distributed on an
> 2014-10-24 14:01:55,534 DEBUG [c.c.u.d.ScriptRunner] (main:null) -- "AS
> IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> 2014-10-24 14:01:55,534 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> KIND, either express or implied.  See the License for the
> 2014-10-24 14:01:55,534 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> specific language governing permissions and limitations
> 2014-10-24 14:01:55,534 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> under the License.
> 2014-10-24 14:01:55,534 DEBUG [c.c.u.d.ScriptRunner] (main:null) --;
> 2014-10-24 14:01:55,534 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> Schema cleanup from 4.4.0 to 4.4.1;
> 2014-10-24 14:01:55,534 DEBUG [c.c.u.d.ScriptRunner] (main:null) --;
> 2014-10-24 14:01:55,534 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
> Cleanup script
> /usr/share/cloudstack-management/setup/db/schema-440to441-cleanup.sql is
> executed successfully
> 2014-10-24 14:01:55,552 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
> Upgrade completed for version 4.4.1
> 2014-10-24 14:01:55,557 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle]
> (main:null) Configuring CloudStack Components
> 2014-10-24 14:01:55,559 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle]
> (main:null) Done Configuring CloudStack Components
> 2014-10-24 14:01:55,559 INFO  [o.a.c.s.m.m.i.DefaultModuleDefinitionSet]
> (main:null) Loaded module context [system] in 7082 ms
> ....
> 2014-10-24 14:03:37,832 INFO  [c.c.c.ClusterManagerImpl] (main:null)
> Management server (host id : 1) is being started at 10.1.80.230:9090
> 2014-10-24 14:03:37,846 INFO  [c.c.c.ClusterManagerImpl] (main:null)
> Cluster manager was started successfully
> 2014-10-24 14:03:37,847 INFO  [c.c.c.ConsoleProxyManagerImpl]
> (main:null) Start console proxy manager
> 2014-10-24 14:03:37,847 DEBUG [c.c.n.l.LBHealthCheckManagerImpl]
> (main:null) LB HealthCheckmanager is getting Started
> 2014-10-24 14:03:37,896 INFO  [o.a.c.s.SecondaryStorageManagerImpl]
> (main:null) Start secondary storage vm manager
> 2014-10-24 14:03:37,899 INFO  [c.c.n.f.FirewallManagerImpl] (main:null)
> Firewall provider list is
> com.cloud.network.element.VpcVirtualRouterElement@225d53ba
> 2014-10-24 14:04:02,040 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.CloudStackAccountDaoImpl_EnhancerByCloudStack_3e6680b7
> 2014-10-24 14:04:02,044 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.OfferingDaoImpl_EnhancerByCloudStack_d370f011
> 2014-10-24 14:04:02,044 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.SMetaDaoImpl_EnhancerByCloudStack_f017e009
> 2014-10-24 14:04:02,044 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.UserCredentialsDaoImpl_EnhancerByCloudStack_9119ab28
> 2014-10-24 14:04:02,045 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.MultipartMetaDaoImpl_EnhancerByCloudStack_d78062c8
> 2014-10-24 14:04:02,045 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.CloudStackConfigurationDaoImpl_EnhancerByCloudStack_ff4bf2e6
> 2014-10-24 14:04:02,045 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.BucketPolicyDaoImpl_EnhancerByCloudStack_56e65cab
> 2014-10-24 14:04:02,045 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.SObjectItemDaoImpl_EnhancerByCloudStack_3af91474
> 2014-10-24 14:04:02,045 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.MHostMountDaoImpl_EnhancerByCloudStack_8ffc4883
> 2014-10-24 14:04:02,046 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_1e46ac4
> 2014-10-24 14:04:02,046 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.MultiPartUploadsDaoImpl_EnhancerByCloudStack_bd590ff1
> 2014-10-24 14:04:02,046 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.SBucketDaoImpl_EnhancerByCloudStack_8e954cbc
> 2014-10-24 14:04:02,046 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.SAclDaoImpl_EnhancerByCloudStack_1842538
> 2014-10-24 14:04:02,047 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.CloudStackSvcOfferingDaoImpl_EnhancerByCloudStack_88a926d6
> 2014-10-24 14:04:02,047 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.MultiPartPartsDaoImpl_EnhancerByCloudStack_89533a73
> 2014-10-24 14:04:02,047 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_2a76e10e
> 2014-10-24 14:04:02,047 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_c9fd659
> 2014-10-24 14:04:02,047 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_115150ff
> 2014-10-24 14:04:02,048 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_63de35af
> 2014-10-24 14:04:02,251 INFO  [c.c.u.c.ComponentContext] (main:null)
> Configuring
> com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_8f0ed024
> 2014-10-24 14:04:02,516 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.CloudStackAccountDaoImpl_EnhancerByCloudStack_3e6680b7
> 2014-10-24 14:04:02,517 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.OfferingDaoImpl_EnhancerByCloudStack_d370f011
> 2014-10-24 14:04:02,517 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.SMetaDaoImpl_EnhancerByCloudStack_f017e009
> 2014-10-24 14:04:02,517 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.UserCredentialsDaoImpl_EnhancerByCloudStack_9119ab28
> 2014-10-24 14:04:02,517 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.MultipartMetaDaoImpl_EnhancerByCloudStack_d78062c8
> 2014-10-24 14:04:02,517 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.CloudStackConfigurationDaoImpl_EnhancerByCloudStack_ff4bf2e6
> 2014-10-24 14:04:02,517 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.BucketPolicyDaoImpl_EnhancerByCloudStack_56e65cab
> 2014-10-24 14:04:02,517 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.SObjectItemDaoImpl_EnhancerByCloudStack_3af91474
> 2014-10-24 14:04:02,518 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.MHostMountDaoImpl_EnhancerByCloudStack_8ffc4883
> 2014-10-24 14:04:02,518 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.MHostDaoImpl_EnhancerByCloudStack_1e46ac4
> 2014-10-24 14:04:02,518 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.MultiPartUploadsDaoImpl_EnhancerByCloudStack_bd590ff1
> 2014-10-24 14:04:02,518 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.SBucketDaoImpl_EnhancerByCloudStack_8e954cbc
> 2014-10-24 14:04:02,518 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.SAclDaoImpl_EnhancerByCloudStack_1842538
> 2014-10-24 14:04:02,518 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.CloudStackSvcOfferingDaoImpl_EnhancerByCloudStack_88a926d6
> 2014-10-24 14:04:02,519 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.MultiPartPartsDaoImpl_EnhancerByCloudStack_89533a73
> 2014-10-24 14:04:02,519 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.SHostDaoImpl_EnhancerByCloudStack_2a76e10e
> 2014-10-24 14:04:02,519 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.CloudStackUserDaoImpl_EnhancerByCloudStack_c9fd659
> 2014-10-24 14:04:02,522 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.persist.dao.SObjectDaoImpl_EnhancerByCloudStack_115150ff
> 2014-10-24 14:04:02,522 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.service.core.ec2.EC2Engine_EnhancerByCloudStack_63de35af
> 2014-10-24 14:04:02,522 INFO  [c.c.u.c.ComponentContext] (main:null)
> Starting
> com.cloud.bridge.service.controller.s3.ServiceProvider_EnhancerByCloudStack_8f0ed024
> --
> *Thomas Schneider*
>
>
>

Mime
View raw message