Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 939A410601 for ; Fri, 5 Dec 2014 13:33:21 +0000 (UTC) Received: (qmail 14068 invoked by uid 500); 5 Dec 2014 13:33:20 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 14019 invoked by uid 500); 5 Dec 2014 13:33:20 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 14005 invoked by uid 99); 5 Dec 2014 13:33:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 13:33:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of runseb@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 13:33:13 +0000 Received: by mail-wg0-f45.google.com with SMTP id b13so911227wgh.4 for ; Fri, 05 Dec 2014 05:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=syS4FU34Y+ZW5PIxj6Ufhz5cMvmf0oi4vnrTJm1AKjQ=; b=zK5VMDAhIaJ4vTW7x18fRFbx+Btw6iIQgm213gmcXFjrX5eZlWVEJJU3XQkWUk0Ryf ziID8O3XJDtX+xuokiBJchcGVEhYznmcxQmtL7uGZX0WbGmeql2ObMhvsjsWplsuMfNX tkeFXvj0brur2KYkKmj7CiCv6sha8Lfopkt1BY4lTPyaw8yoPUlnzQQ1GGItCsGa1uTU GNRafwqb+HAEjuZv6fviAxRhgRLfUp6UeSLFmOYc3HLAa0QA8xlsXp2JyT2sLsDTQ9Sm wtoPbbqnR4CAbN20JkC0QVEUy4LNeJfqZoNigGDWmw4riW/axFWL75Eey5+5ltpkoJYt tonQ== X-Received: by 10.180.109.45 with SMTP id hp13mr4228215wib.4.1417786371730; Fri, 05 Dec 2014 05:32:51 -0800 (PST) Received: from [192.168.103.188] ([80.113.145.5]) by mx.google.com with ESMTPSA id nj9sm2314789wic.10.2014.12.05.05.32.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Dec 2014 05:32:50 -0800 (PST) From: Sebastien Goasguen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: weird db setup issue Message-Id: <92765DD3-E04D-4A7E-91FB-6C733FDED492@gmail.com> Date: Fri, 5 Dec 2014 08:32:50 -0500 To: "dev@cloudstack.apache.org" Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-Mailer: Apple Mail (2.1510) X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am trying to dockerize the whole cloudstack installation process. When running cloudstack-setup-database I hit this weird issue: Detected local IP address as 172.17.0.25, will use as cluster management = server node IP[ OK ] Preparing /etc/cloudstack/management/db.properties = [ OK ] Applying /usr/share/cloudstack-management/setup/create-database.sql = [ OK ] Applying /usr/share/cloudstack-management/setup/create-schema.sql = [ OK ] Applying = /usr/share/cloudstack-management/setup/create-database-premium.sql [ = OK ] Applying = /usr/share/cloudstack-management/setup/create-schema-premium.sql =20= We apologize for below error: *************************************************************** Encountering an error when executing mysql script ---------------------------------------------------------------------- table: /usr/share/cloudstack-management/setup/create-schema-premium.sql Error: ERROR 1046 (3D000) at line 285: No database selected Does this ring a bell to anyone ? why would the first schema be created = successfully and not create-schema-premium ? thx -sebastien=