Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C7C3999E1 for ; Thu, 10 May 2012 17:02:09 +0000 (UTC) Received: (qmail 26819 invoked by uid 500); 10 May 2012 17:02:09 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 26794 invoked by uid 500); 10 May 2012 17:02:09 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 26786 invoked by uid 99); 10 May 2012 17:02:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 17:02:09 +0000 X-ASF-Spam-Status: No, hits=1.1 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,TRACKER_ID X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [213.199.154.208] (HELO am1outboundpool.messaging.microsoft.com) (213.199.154.208) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2012 17:02:02 +0000 Received: from mail92-am1-R.bigfish.com (10.3.201.247) by AM1EHSOBE002.bigfish.com (10.3.204.22) with Microsoft SMTP Server id 14.1.225.23; Thu, 10 May 2012 17:01:41 +0000 Received: from mail92-am1 (localhost [127.0.0.1]) by mail92-am1-R.bigfish.com (Postfix) with ESMTP id 463B632081A; Thu, 10 May 2012 17:01:41 +0000 (UTC) X-SpamScore: -17 X-BigFish: VPS-17(zzbb2dI9371I14ffI542M1432N98dKzz1202hzz8275bhz2dh2a8h668h839h944hd25h) X-Forefront-Antispam-Report: CIP:157.56.248.213;KIP:(null);UIP:(null);IPV:NLI;H:AMXPRD0610HT003.eurprd06.prod.outlook.com;RD:none;EFVD:NLI Received: from mail92-am1 (localhost.localdomain [127.0.0.1]) by mail92-am1 (MessageSwitch) id 133666929894736_23514; Thu, 10 May 2012 17:01:38 +0000 (UTC) Received: from AM1EHSMHS006.bigfish.com (unknown [10.3.201.249]) by mail92-am1.bigfish.com (Postfix) with ESMTP id 12D64C00D6; Thu, 10 May 2012 17:01:38 +0000 (UTC) Received: from AMXPRD0610HT003.eurprd06.prod.outlook.com (157.56.248.213) by AM1EHSMHS006.bigfish.com (10.3.207.106) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 10 May 2012 17:01:37 +0000 Received: from AMXPRD0610MB388.eurprd06.prod.outlook.com ([169.254.3.177]) by AMXPRD0610HT003.eurprd06.prod.outlook.com ([10.255.58.38]) with mapi id 14.16.0152.000; Thu, 10 May 2012 17:01:36 +0000 From: Tamas Monos To: "cloudstack-users@incubator.apache.org" , Sheng Yang , "dan@soleks.com" Subject: RE: DB schema upgrade script for CS 3.0.1 -> 3.0.2, probably bug. Thread-Topic: DB schema upgrade script for CS 3.0.1 -> 3.0.2, probably bug. Thread-Index: Ac0uy4dNonyO9vJTTQyfR9SYZtOByAAAs7YA Date: Thu, 10 May 2012 17:01:35 +0000 Message-ID: References: <20120509233209.29813vpfxz6ktcmc@webmail.soleks.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.168.19.105] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: veber.co.uk X-Virus-Checked: Checked by ClamAV on apache.org Hi, Same here! I have fixed the script by hand and the server started but does not allow t= o login users anymore :( Regards Tamas Monos DDI +44(0= )2034687012 Chief Technical Office +44(0= )2034687000 Veber: The Hosting Specialists Fax +44(0)871 522 7057 http://www.veber.co.uk Follow us on Twitter: www.twitter.com/veberhost Follow us on Facebook: www.facebook.com/veberhost -----Original Message----- From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]=20 Sent: 10 May 2012 17:40 To: cloudstack-users@incubator.apache.org; Sheng Yang; dan@soleks.com Subject: Re: DB schema upgrade script for CS 3.0.1 -> 3.0.2, probably bug. On 5/9/12 11:32 PM, "dan@soleks.com" wrote: > > > >Hi All, >I've found that DB schema upgrade script (CS 3.0.1 ---> CS 3.0.2) is=20 >trying to drop non-existing index. Log is attached. > >Dan. > > > > > >---------------------------------------------------------------- >This message was sent using IMP, the Internet Messaging Program. > Sheng, this is bug introduced by your commit: 06c0fda878247020d79bb1008f8bf050070f1e73 We are trying to drop non-existing index. To be on the safe side, move this= line to java code, and drop the key only when it exists. Dan, to workaround the problem on your side, do: * revert DB to your original version * comment out the line "DROP INDEX `i_host__allocation_state` ON `cloud`.`h= ost`" in schema-301to302.sql * being on 3.0.2, start management server once again -Alena.