'nova-manage config convert' broken

Bug #965069 reported by Mark McLoughlin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Mark McLoughlin

Bug Description

Just tried this:

  $ sudo nova-manage config convert --infile=/etc/nova/nova.conf --outfile=/etc/nova/nova.conf.converted
  Possible wrong number of arguments supplied
  Converts a flagfile and prints results to stdout.
  Usage: nova-manage config convert <args> [options]

  Options:
    -h, --help show this help message and exit
    --infile=<path> old-style flagfile to convert to config
    --outfile=<path> path for output file. Writes configto stdout if not
                      specified.
  2012-03-26 09:50:26 CRITICAL nova [-] convert() got an unexpected keyword argument 'file_path'
  (nova): TRACE: Traceback (most recent call last):
  (nova): TRACE: File "/usr/bin/nova-manage", line 1732, in <module>
  (nova): TRACE: main()
  (nova): TRACE: File "/usr/bin/nova-manage", line 1719, in main
  (nova): TRACE: fn(*fn_args, **fn_kwargs)
  (nova): TRACE: TypeError: convert() got an unexpected keyword argument 'file_path'
  (nova): TRACE:
  $ sudo nova-manage config convert --infile=/etc/nova/nova.conf --outfile=/etc/nova/nova.conf.converted

Mark McLoughlin (markmc)
tags: added: essex-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/5803

Changed in nova:
assignee: nobody → Mark McLoughlin (markmc)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/5817

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/5803
Committed: http://github.com/openstack/nova/commit/9576d9258672f5fa61a1f8a35bc007d4ee34bdd8
Submitter: Jenkins
Branch: master

commit 9576d9258672f5fa61a1f8a35bc007d4ee34bdd8
Author: Mark McLoughlin <email address hidden>
Date: Mon Mar 26 09:53:46 2012 +0100

    Fix 'nova-manage config convert'

    Fixes bug #965069

    Looks like this never worked. The dest of the infile and outfile
    arguments sets up an unknown kwarg.

    Change-Id: I428f56564b39f5586229325db03dccb0b4a01ef6

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-rc2
Thierry Carrez (ttx)
tags: removed: essex-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (milestone-proposed)

Reviewed: https://review.openstack.org/5817
Committed: http://github.com/openstack/nova/commit/83b5f37e0ab2f5881574aa8a6566ed3775523bdf
Submitter: Jenkins
Branch: milestone-proposed

commit 83b5f37e0ab2f5881574aa8a6566ed3775523bdf
Author: Mark McLoughlin <email address hidden>
Date: Mon Mar 26 09:53:46 2012 +0100

    Fix 'nova-manage config convert'

    Fixes bug #965069

    Looks like this never worked. The dest of the infile and outfile
    arguments sets up an unknown kwarg.

    Change-Id: I428f56564b39f5586229325db03dccb0b4a01ef6

Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-rc2 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.