← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1110567] Re: Openstack Ubuntu Testing: nova-common dpkg --configure broken

 

** Changed in: nova
       Status: New => Invalid

** Changed in: nova (Ubuntu)
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1110567

Title:
  Openstack Ubuntu Testing: nova-common dpkg --configure broken

Status in OpenStack Compute (Nova):
  Invalid
Status in Openstack Ubuntu Testing:
  New
Status in “nova” package in Ubuntu:
  Fix Committed

Bug description:
  OS - Ubuntu 12.04.1 x86_64

  Installing nova-common via aptitude is currently broken due to an
  inconsistency between the nova-common postinst file's use of nova-
  manage and the supported arguments of the installed version of nova-
  manage.

  The following line appears to cause the issue (Line36):
   
          nova-manage config convert --infile=/etc/nova/nova-compute.conf.upgrade \
            --outfile=/etc/nova/nova-compute.conf

  It seems that the "config" option is invalid.

  When trying to install/upgrade nova-common or anything that depends on
  it, the following occurs:

  Setting up nova-common (2013.1+git201212141401~precise-0ubuntu1) ...
  usage: nova-manage [-h] [--version] [--debug] [--nodebug]
                     [--state_path STATE_PATH] [--config-dir DIR]
                     [--log-config PATH] [--log-dir LOG_DIR] [--verbose]
                     [--noverbose] [--log-format FORMAT] [--fake_network]
                     [--nofake_network] [--log-date-format DATE_FORMAT]
                     [--use-syslog] [--nouse-syslog]
                     [--syslog-log-facility SYSLOG_LOG_FACILITY]
                     [--bindir BINDIR] [--config-file PATH]
                     [--pybasedir PYBASEDIR] [--log-file PATH]
                     
                     {version,bash-completion,shell,logs,db,vm,agent,host,flavor,vpn,floating,account,network,service,project,instance_type,fixed}
                     ...
  nova-manage: error: argument category: invalid choice: 'config' (choose from 'version', 'bash-completion', 'shell', 'logs', 'db', 'vm', 'agent', 'host', 'flavor', 'vpn', 'floating', 'account', 'network', 'service', 'project', 'instance_type', 'fixed')
  dpkg: error processing nova-common (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of nova-api:
   nova-api depends on nova-common (= 2013.1+git201212141401~precise-0ubuntu1); however:
    Package nova-common is not configured yet.
  dpkg: error processing nova-api (--configure):
   dependency problems - leaving unconfigured
  pkg: dependency problems prevent configuration of nova-cert:
   nova-cert depends on nova-common (= 2013.1+git201212141401~precise-0ubuntu1); however:
    Package nova-common is not configured yet.
  dpkg: error processing nova-cert (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of nova-consoleauth:
   nova-consoleauth depends on nova-common (= 2013.1+git201212141401~precise-0ubuntu1); however:
    Package nova-common is not configured yet.
  dpkg: error processing nova-consoleauth (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of nova-scheduler:
   nova-scheduler depends on nova-common (= 2013.1+git2012121414No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                No apport report written because MaxReports is reached already
                                                                                                                                                              No apport report written because MaxReports is reached already
                                        01~precise-0ubuntu1); however:
    Package nova-common is not configured yet.
  dpkg: error processing nova-scheduler (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   nova-common
   nova-api
   nova-cert
   nova-consoleauth
   nova-scheduler
  E: Sub-process /usr/bin/dpkg returned an error code (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1110567/+subscriptions