Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-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 8C807DB90 for ; Mon, 11 Mar 2013 10:19:18 +0000 (UTC) Received: (qmail 37663 invoked by uid 500); 11 Mar 2013 10:19:17 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 37387 invoked by uid 500); 11 Mar 2013 10:19:15 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 37309 invoked by uid 99); 11 Mar 2013 10:19:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 10:19:13 +0000 Date: Mon, 11 Mar 2013 10:19:13 +0000 (UTC) From: "Michal Fojtik (JIRA)" To: dev@deltacloud.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DTACLOUD-508) Fresh detacloud install doesnt create database file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DTACLOUD-508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598681#comment-13598681 ] Michal Fojtik commented on DTACLOUD-508: ---------------------------------------- I do believe this error is fixed now in master, by using the 'initializers'. The BASE_STORAGE directory is created and correct permissions are set before the database is being initialized. The workaround for this version could be to override the default database location using: $ DATABASE_LOCATION="sqlite:///tmp/db.sqlite" deltacloudd -i mock -f cimi > Fresh detacloud install doesnt create database file > --------------------------------------------------- > > Key: DTACLOUD-508 > URL: https://issues.apache.org/jira/browse/DTACLOUD-508 > Project: DeltaCloud > Issue Type: Bug > Components: CIMI/Frontend, Server > Reporter: Carlos Goncalves > > Fresh install of Deltacloud v1.1.1 via rubygem o a clean gemset and running deltacloudd with CIMI frontend errors due to non existent database file. No earlier Deltacloud installed on this machine. > Deltacloud doesn't create file /var/tmp/deltacloud-$USER/db.sqlite. > SQLite3::CantOpenException: unable to open database file (Sequel::DatabaseConnectionError) > Errors like that^ will be probably related to this issue. > Checking out Deltacloud from Git and running deltacloud-db-upgrade followed by deltacloudd will do. Still, even with the database file created, can't run v1.1.1. -- 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