[Openstack-devel] Bug#676638: nova-objectstore: Upgrade to version 2012.1-5 Failed

François Charlier francois.charlier at enovance.com
Tue Jun 12 10:01:08 UTC 2012


The output:
    # apt-get install nova-objectstore 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      nova-objectstore
    0 upgraded, 1 newly installed, 0 to remove and 279 not upgraded.
    Need to get 0 B/12.9 kB of archives.
    After this operation, 65.5 kB of additional disk space will be used.
    Selecting previously unselected package nova-objectstore.
    (Reading database ... 63680 files and directories currently installed.)
    Unpacking nova-objectstore (from .../nova-objectstore_2012.1-5_all.deb) ...
    Processing triggers for man-db ...
    Setting up nova-objectstore (2012.1-5) ...
    Value of NOVA_ENABLE in must be either 'true' or 'false'; ... failed!
    not starting nova-objectstore daemon. ... failed!
    invoke-rc.d: initscript nova-objectstore, action "start" failed.
    dpkg: error processing nova-objectstore (--configure):
     subprocess installed post-installation script returned error exit status 1
    configured to not write apport reports
                                          Errors were encountered while processing:
     nova-objectstore
    E: Sub-process /usr/bin/dpkg returned an error code (1)


There are errors in /etc/init.d/nova-objectstore
    
The diff to get it working

--- nova-objectstore.orig   2012-06-12 11:57:52.000000000 +0200
+++ nova-objectstore    2012-06-12 11:59:12.000000000 +0200
@@ -21,7 +21,7 @@
 SCRIPTNAME=/etc/init.d/$NAME
 NOVA_USER=nova
 LOCK_DIR=/var/lock/nova/
-EFAULTS_FILE=/etc/default/nova
+DEFAULTS_FILE=/etc/default/nova-common
 
 # Exit if the package is not installed
 [ -x $DAEMON ] || exit 0


-- 
François Charlier                     Software Engineer
// eNovance labs               http://labs.enovance.com
// ✉ francois.charlier at enovance.com ☎ +33 1 49 70 99 81





More information about the Openstack-devel mailing list