You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Ilkka Tengvall (JIRA)" <ji...@apache.org> on 2013/04/30 12:08:18 UTC

[jira] [Created] (DTACLOUD-558) in f18 deltacloud insist db-upgrade if all api's in use

Ilkka Tengvall created DTACLOUD-558:
---------------------------------------

             Summary: in f18 deltacloud insist db-upgrade if all api's in use
                 Key: DTACLOUD-558
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-558
             Project: DeltaCloud
          Issue Type: Bug
          Components: Server
         Environment: fedora 18
            Reporter: Ilkka Tengvall


deltacloud won't start if I have this in /etc/sysconfig/deltacloud-core :

{noformat}
ENABLED_FRONTEND="deltacloud,cimi,ec2"
{noformat}

It fails with this:
{noformat}
[root@f18-deltacloud ~]# systemctl start deltacloud-core.service
[root@f18-deltacloud ~]# systemctl status deltacloud-core.service
deltacloud-core.service - Deltacloud Core Daemon
          Loaded: loaded (/usr/lib/systemd/system/deltacloud-core.service; enabled)
          Active: failed (Result: exit-code) since ti 2013-04-30 13:06:31 EEST; 2s ago
         Process: 2351 ExecStart=/usr/bin/deltacloudd -i $DRIVER -f $ENABLED_FRONTEND -e $API_ENV --port $PORT --host $HOST -u $DELTACLOUD_USER -g $DELTACLOUD_GROUP (code=exited, status=1/FAILURE)

huhti 30 13:06:30 f18-deltacloud systemd[1]: Started Deltacloud Core Daemon.
huhti 30 13:06:31 f18-deltacloud deltacloudd[2351]: WARNING: The database needs to be upgraded. Run: 'deltacloud-db-upgrade' command.
huhti 30 13:06:31 f18-deltacloud deltacloudd[2351]: Starting Deltacloud API :: openstack :: http://localhost:3002/api
huhti 30 13:06:31 f18-deltacloud systemd[1]: deltacloud-core.service: main process exited, code=exited, status=1/FAILURE
huhti 30 13:06:31 f18-deltacloud systemd[1]: Unit deltacloud-core.service entered failed state
[root@f18-deltacloud ~]# deltacloud-db-upgrade
You need to specify a driver to use (-i <driver>)
To list all available drivers try: deltacloudd --drivers
{noformat}



--
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