← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1645568] [NEW] keystone-manage mapping_purge fails silently

 

Public bug reported:

Running the command keystone-manage mapping_purge, no output is given
but I get these messages in keystone.log

2016-11-18 07:41:22.807 2404 CRITICAL keystone [-] ValueError: At least one option must be provided
2016-11-18 07:41:22.807 2404 ERROR keystone Traceback (most recent call last):
2016-11-18 07:41:22.807 2404 ERROR keystone   File "/usr/bin/keystone-manage", line 10, in <module>
2016-11-18 07:41:22.807 2404 ERROR keystone     sys.exit(main())
2016-11-18 07:41:22.807 2404 ERROR keystone   File "/usr/lib/python2.7/site-packages/keystone/cmd/manage.py", line 43, in main
2016-11-18 07:41:22.807 2404 ERROR keystone     cli.main(argv=sys.argv, config_files=config_files)
2016-11-18 07:41:22.807 2404 ERROR keystone   File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1257, in main
2016-11-18 07:41:22.807 2404 ERROR keystone     CONF.command.cmd_class.main()
2016-11-18 07:41:22.807 2404 ERROR keystone   File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 830, in main
2016-11-18 07:41:22.807 2404 ERROR keystone     validate_options()
2016-11-18 07:41:22.807 2404 ERROR keystone   File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 813, in validate_options
2016-11-18 07:41:22.807 2404 ERROR keystone     raise ValueError(_('At least one option must be provided'))
2016-11-18 07:41:22.807 2404 ERROR keystone ValueError: At least one option must be provided
2016-11-18 07:41:22.807 2404 ERROR keystone


Using --help says arguments needed are optional.
I used --all option to check and the command was executed successfully. The way I see it is some arguments have been marked optional when they are actually necessary.

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
   keystone-manage mapping_purge fails silently

Status in OpenStack Identity (keystone):
  New

Bug description:
  Running the command keystone-manage mapping_purge, no output is given
  but I get these messages in keystone.log

  2016-11-18 07:41:22.807 2404 CRITICAL keystone [-] ValueError: At least one option must be provided
  2016-11-18 07:41:22.807 2404 ERROR keystone Traceback (most recent call last):
  2016-11-18 07:41:22.807 2404 ERROR keystone   File "/usr/bin/keystone-manage", line 10, in <module>
  2016-11-18 07:41:22.807 2404 ERROR keystone     sys.exit(main())
  2016-11-18 07:41:22.807 2404 ERROR keystone   File "/usr/lib/python2.7/site-packages/keystone/cmd/manage.py", line 43, in main
  2016-11-18 07:41:22.807 2404 ERROR keystone     cli.main(argv=sys.argv, config_files=config_files)
  2016-11-18 07:41:22.807 2404 ERROR keystone   File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 1257, in main
  2016-11-18 07:41:22.807 2404 ERROR keystone     CONF.command.cmd_class.main()
  2016-11-18 07:41:22.807 2404 ERROR keystone   File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 830, in main
  2016-11-18 07:41:22.807 2404 ERROR keystone     validate_options()
  2016-11-18 07:41:22.807 2404 ERROR keystone   File "/usr/lib/python2.7/site-packages/keystone/cmd/cli.py", line 813, in validate_options
  2016-11-18 07:41:22.807 2404 ERROR keystone     raise ValueError(_('At least one option must be provided'))
  2016-11-18 07:41:22.807 2404 ERROR keystone ValueError: At least one option must be provided
  2016-11-18 07:41:22.807 2404 ERROR keystone

  
  Using --help says arguments needed are optional.
  I used --all option to check and the command was executed successfully. The way I see it is some arguments have been marked optional when they are actually necessary.

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


Follow ups