← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1260538] Re: nova-manage useage exposes action-args

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-1

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

Title:
  nova-manage useage exposes action-args

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The nova-manage command exposes the action_args options during the
  usage output for command.

  E.g.
  $ nova-manage network modify -h
  usage: nova-manage network modify [-h] [--fixed_range <x.x.x.x/yy>]
                                    [--project <project name>] [--host <host>]
                                    [--disassociate-project]
                                    [--disassociate-host]
                                    [action_args [action_args ...]]

  positional arguments:
    action_args

  <snip>

  This can cause confusion as users naturally expect there to be more
  "actions" on commands like "modify". Even in straightforward cases,
  this positional argument leaks into usage.

  $ nova-manage db version -h
  usage: nova-manage db version [-h] [action_args [action_args ...]]

  positional arguments:
    action_args

  Please consider suppressing documentation on action_args. In addition,
  expose the __doc__ strings for these functions, which is done in the
  nova command.

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


References