← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1861264] [NEW] Help information should be returned when executing 'placement-status' alone

 

Public bug reported:

The output of executing `placement-manage` alone is help information,
but it's not for executing `placement-status` alone.

# placement-status
usage: placement-status [-h] [--config-dir DIR] [--config-file PATH] [--debug]
                        [--log-config-append PATH]
                        [--log-date-format DATE_FORMAT] [--log-dir LOG_DIR]
                        [--log-file PATH] [--nodebug] [--nouse-journal]
                        [--nouse-json] [--nouse-syslog] [--nowatch-log-file]
                        [--syslog-log-facility SYSLOG_LOG_FACILITY]
                        [--use-journal] [--use-json] [--use-syslog]
                        [--watch-log-file]
                        {upgrade} ...
placement-status: error: the following arguments are required: command

I think it should return help information too.

** Affects: keystone
     Importance: Undecided
         Status: Invalid

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

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

Title:
  Help information should be returned when executing 'placement-status'
  alone

Status in OpenStack Identity (keystone):
  Invalid

Bug description:
  The output of executing `placement-manage` alone is help information,
  but it's not for executing `placement-status` alone.

  # placement-status
  usage: placement-status [-h] [--config-dir DIR] [--config-file PATH] [--debug]
                          [--log-config-append PATH]
                          [--log-date-format DATE_FORMAT] [--log-dir LOG_DIR]
                          [--log-file PATH] [--nodebug] [--nouse-journal]
                          [--nouse-json] [--nouse-syslog] [--nowatch-log-file]
                          [--syslog-log-facility SYSLOG_LOG_FACILITY]
                          [--use-journal] [--use-json] [--use-syslog]
                          [--watch-log-file]
                          {upgrade} ...
  placement-status: error: the following arguments are required: command

  I think it should return help information too.

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