Reviewed: https://review.openstack.org/408304 Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=d03f35ee6753600bcd5ddfc8f692d00376284aa3 Submitter: Jenkins Branch: master
commit d03f35ee6753600bcd5ddfc8f692d00376284aa3 Author: Aqsa <aqs...@gmail.com> Date: Wed Mar 22 11:30:27 2017 +0000 Add unit tests to mapping_purge This adds unit tests to mapping_purge. Change-Id: I01a814f03e83911461168f4dac74202b6f0537d8 Closes-Bug: 1645568 ** Changed in: keystone Status: In Progress => Fix Released -- 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): Fix Released 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp