From users-return-23104-apmail-cloudstack-users-archive=cloudstack.apache.org@cloudstack.apache.org Fri Sep 4 10:28:22 2015 Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F8EF17657 for ; Fri, 4 Sep 2015 10:28:22 +0000 (UTC) Received: (qmail 27149 invoked by uid 500); 4 Sep 2015 10:28:21 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 27099 invoked by uid 500); 4 Sep 2015 10:28:21 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 27086 invoked by uid 99); 4 Sep 2015 10:28:21 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2015 10:28:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C6E03181B4C for ; Fri, 4 Sep 2015 10:28:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.902 X-Spam-Level: **** X-Spam-Status: No, score=4.902 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id tadwVrPyaC0Z for ; Fri, 4 Sep 2015 10:28:11 +0000 (UTC) Received: from mail-ig0-f182.google.com (mail-ig0-f182.google.com [209.85.213.182]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 825955070D for ; Fri, 4 Sep 2015 10:28:11 +0000 (UTC) Received: by igbni9 with SMTP id ni9so9883365igb.0 for ; Fri, 04 Sep 2015 03:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=pB4W+/XCPuyqF/evRbBHd/pcNfMZRLbwJQGou3PuUZA=; b=SFLzMVowUFeXkkjWnrhjK/eukmn1cdb2ul968F9NCSejbyiFAjMrtCzI0fBg4TuQeU K9a54U9pK9bYdEcYKued29hp5gq/caueQZxeibk4+woNEsXhWDtrhB8wmawLEaH/2C8v J2vVAj8LjByLm145B4ESvNcNl6XVEPTnc4Vl0YOvpVLvfWafCV7tWmARL7ZzPKr+ZJ5G L+MSxMM6/gnF0c24QgVM03Hug3KicuhLtqOnvD1Pe9irHMlqthlPX0e9HR+8YwVTfuod c/lS9HPusker1DmWRwG4URsguaQ9PS0aJVKncc4cemFOPNmJQNdFKUYyAoy8bMSYMMh7 0nUQ== MIME-Version: 1.0 X-Received: by 10.50.44.115 with SMTP id d19mr2361069igm.45.1441362485007; Fri, 04 Sep 2015 03:28:05 -0700 (PDT) Received: by 10.107.5.80 with HTTP; Fri, 4 Sep 2015 03:28:04 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Sep 2015 19:28:04 +0900 Message-ID: Subject: Re: Strange ACS 4.30 to 4.5.2 upgrade Issue From: giljae o To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=e89a8f839515e95c08051ee95a6a --e89a8f839515e95c08051ee95a6a Content-Type: text/plain; charset=UTF-8 Dear Osay, I had the similar issue during the upgrade from 4.5.0 to 4.5.1 The new template name for 4.5.1 was looked for. My fix was to update the template name as required. Please look into whether the same template name in vm_template table exists James On Fri, Sep 4, 2015 at 7:10 PM, Osay Osman Yuuni wrote: > Hi friends, > I'm having a very strange upgrade issue which I was wondering if anyone has > encountered and whether someone can catch what is wrong. Basically I > follow the steps outlined in the docs to the letter. When I restart the MS > service it gets stuck at running the DB upgrade scripts. I checked > catalina.out and noticed that the schema-430to440.sql script is trying to > create tables that already exist or insert columns that already exit. > > I commented out all the lines causing the issue and then restart the MS > service but then I get a new error about the Listener. After Googling this > error the only hints I got were about system templates but I made sure the > new system template was installed before attempting the upgrade. I've > repeated this no less than five time with the very same results. I'm > miffed. > > Below is a snippet of the catalina.out log with the error. Can anyone spot > the issue? > > TIA > Osay > > ====== SNIP==== > INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading module > context [system] from URL > > [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-core-4.5.2.jar!/META-INF/cloudstack/system/spring-core-syst > em-context.xml] > INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading module > context [system] from URL > > [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-engine-schema-4.5.2.jar!/META-INF/cloudstack/system/spring- > engine-schema-system-checkers-context.xml] > INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading module > context [system] from URL > > [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-framework-config-4.5.2.jar!/META-INF/cloudstack/system/spri > ng-framework-config-system-context.xml] > INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading module > context [system] from URL > > [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-framework-db-4.5.2.jar!/META-INF/cloudstack/system/spring-f > ramework-db-system-context.xml] > INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading module > context [system] from URL > > [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-server-4.5.2.jar!/META-INF/cloudstack/system/spring-server- > system-context.xml] > INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading module > context [system] from URL > > [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-core-4.5.2.jar!/META-INF/cloudstack/system/spring-core-syst > em-context-inheritable.xml] > INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading module > context [system] from URL > > [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-framework-config-4.5.2.jar!/META-INF/cloudstack/system/spri > ng-framework-config-system-context-inheritable.xml] > INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading module > context [system] from URL > > [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-plugin-network-contrail-4.5.2.jar!/META-INF/cloudstack/syst > em/spring-contrail-system-context-inheritable.xml] > INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) Loading module > context [system] from URL > > [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-core-4.5.2.jar!/META-INF/cloudstack/bootstrap/spring-bootst > rap-context-inheritable.xml] > INFO [c.c.u.d.T.Transaction] (main:null) Is Data Base High Availiability > enabled? Ans : false > INFO [c.c.u.d.Merovingian2] (main:null) Cleaning up locks for > 7063056740127 > INFO [c.c.u.d.Merovingian2] (main:null) Released 0 locks for 7063056740127 > INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) Running system > integrity checker com.cloud.upgrade.DatabaseUpgradeChecker@7fa02e81 > INFO [c.c.u.DatabaseUpgradeChecker] (main:null) Grabbing lock to check for > database upgrade. > INFO [c.c.u.DatabaseUpgradeChecker] (main:null) DB version = 4.3.0 Code > Version = 4.5.2 > INFO [c.c.u.DatabaseUpgradeChecker] (main:null) Database upgrade must be > performed from 4.3.0 to 4.5.2 > Sep 04, 2015 11:58:32 AM org.apache.catalina.core.StandardContext start > SEVERE: Error listenerStart > Sep 04, 2015 11:58:32 AM org.apache.catalina.core.StandardContext start > SEVERE: Context [/client] startup failed due to previous errors > Sep 04, 2015 11:58:32 AM org.apache.catalina.loader.WebappClassLoader > clearReferencesThreads > SEVERE: A web application appears to have started a thread named > [FileWatchdog] but has failed to stop it. This is very likely to create a > memory leak. > Sep 04, 2015 11:58:32 AM org.apache.catalina.loader.WebappClassLoader > clearReferencesThreads > SEVERE: A web application appears to have started a thread named [Timer-0] > but has failed to stop it. This is very likely to create a memory leak. > Sep 04, 2015 11:58:32 AM org.apache.catalina.loader.WebappClassLoader > clearReferencesThreads > SEVERE: A web application appears to have started a thread named > [ConnectionConcierge-1] but has failed to stop it. This is very likely to > create a memory leak. > Sep 04, 2015 11:58:32 AM org.apache.catalina.loader.WebappClassLoader > clearThreadLocalMap > SEVERE: A web application created a ThreadLocal with key of type > [org.springframework.core.NamedThreadLocal] (value [Prototype beans > currently in creation]) and a value of type [null] (value [null]) but > failed to remove it when the web a > pplication was stopped. To prevent a memory leak, the ThreadLocal has been > forcibly removed. > Sep 04, 2015 11:58:32 AM org.apache.catalina.loader.WebappClassLoader > clearThreadLocalMap > SEVERE: A web application created a ThreadLocal with key of type > [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@63ba710]) and a > value > of type [com.cloud.utils.db.TransactionLegacy] (value [ : ]) but failed to > remove it when the we > b application was stopped. To prevent a memory leak, the ThreadLocal has > been forcibly removed. > Sep 04, 2015 11:58:32 AM org.apache.catalina.loader.WebappClassLoader > clearThreadLocalMap > SEVERE: A web application created a ThreadLocal with key of type > [org.springframework.core.NamedThreadLocal] (value [Prototype beans > currently in creation]) and a value of type [null] (value [null]) but > failed to remove it when the web a > pplication was stopped. To prevent a memory leak, the ThreadLocal has been > forcibly removed. > Sep 04, 2015 11:58:32 AM org.apache.catalina.loader.WebappClassLoader > clearThreadLocalMap > SEVERE: A web application created a ThreadLocal with key of type > [org.springframework.core.NamedThreadLocal] (value [Current AOP method > invocation]) and a value of type [null] (value [null]) but failed to remove > it when the web applicati > on was stopped. To prevent a memory leak, the ThreadLocal has been forcibly > removed. > Sep 04, 2015 11:58:32 AM org.apache.catalina.loader.WebappClassLoader > clearThreadLocalMap > SEVERE: A web application created a ThreadLocal with key of type > [org.springframework.core.NamedThreadLocal] (value [Prototype beans > currently in creation]) and a value of type [null] (value [null]) but > failed to remove it when the web a > pplication was stopped. To prevent a memory leak, the ThreadLocal has been > forcibly removed. > Sep 04, 2015 11:58:32 AM org.apache.catalina.loader.WebappClassLoader > clearThreadLocalMap > SEVERE: A web application created a ThreadLocal with key of type > [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@63ba710]) and a > value > of type [com.cloud.utils.db.TransactionLegacy] (value [ : ]) but failed to > remove it when the we > b application was stopped. To prevent a memory leak, the ThreadLocal has > been forcibly removed. > Sep 04, 2015 11:58:33 AM org.apache.coyote.http11.Http11NioProtocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Sep 04, 2015 11:58:33 AM org.apache.jk.common.ChannelSocket init > INFO: JK: ajp13 listening on /0.0.0.0:20400 > Sep 04, 2015 11:58:33 AM org.apache.jk.server.JkMain start > INFO: Jk running ID=0 time=0/42 config=null > Sep 04, 2015 11:58:33 AM org.apache.catalina.core.StandardService start > INFO: Starting service Catalina7080 > Sep 04, 2015 11:58:33 AM org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/6.0.24 > Sep 04, 2015 11:58:33 AM org.apache.catalina.startup.HostConfig > deployDirectory > INFO: Deploying web application directory webapps > Sep 04, 2015 11:58:33 AM org.apache.catalina.startup.HostConfig > deployDirectory > INFO: Deploying web application directory awsapi > Sep 04, 2015 11:58:33 AM org.apache.catalina.loader.WebappClassLoader > validateJarFile > INFO: > > validateJarFile(/usr/share/cloudstack-management/webapps7080/awsapi/WEB-INF/lib/geronimo-servlet_3.0_spec-1.0.jar) > - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: > javax/servlet/Servlet.class > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in > > [jar:file:/usr/share/cloudstack-bridge/webapps/awsapi/WEB-INF/lib/slf4j-jdk14-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in > > [jar:file:/usr/share/cloudstack-bridge/webapps/awsapi/WEB-INF/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > SLF4J: Actual binding is of type [org.slf4j.impl.JDK14LoggerFactory] > Sep 04, 2015 11:58:34 AM org.apache.catalina.core.ApplicationContext log > INFO: Initializing Spring root WebApplicationContext > Sep 04, 2015 11:58:34 AM org.springframework.web.context.ContextLoader > initWebApplicationContext > --e89a8f839515e95c08051ee95a6a--