Reviewed: https://review.opendev.org/660203 Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=295b07cc76c8387adc2fd9a8f3efb769f260ff02 Submitter: Zuul Branch: master
commit 295b07cc76c8387adc2fd9a8f3efb769f260ff02 Author: Gage Hugo <gageh...@gmail.com> Date: Mon May 20 15:19:39 2019 -0500 Don't throw valueerror on bootstrap When keystone-manage bootstrap is ran without providing a value to set as the admin password, keystone-manage will throw an unhandled ValueError while displaying the proper warning message. This change removes the ValueError and simply has the CLI exit out when this condition is met. Closes-Bug: #1804700 Change-Id: I4e7d5eeb2e48ff354b44196bd11d62d51a73357b ** 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/1804700 Title: keystone-manage bootstrap raises ValueError Status in OpenStack Identity (keystone): Fix Released Bug description: The 'keystone-manage bootstrap' command still raises Value Error despite 'keystone-manage fernet_setup' command was successful. The whole bug is: shuayb@shuayb-HP-EliteBook-Folio-9470m:~/keystone$ keystone-manage bootstrap Either --bootstrap-password argument or OS_BOOTSTRAP_PASSWORD must be set. 2018-11-22 21:51:51.394 3884 CRITICAL keystone [-] Unhandled error: ValueError 2018-11-22 21:51:51.394 3884 ERROR keystone Traceback (most recent call last): 2018-11-22 21:51:51.394 3884 ERROR keystone File "/home/shuayb/anaconda3/bin/keystone-manage", line 10, in <module> 2018-11-22 21:51:51.394 3884 ERROR keystone sys.exit(main()) 2018-11-22 21:51:51.394 3884 ERROR keystone File "/home/shuayb/keystone/keystone/cmd/manage.py", line 41, in main 2018-11-22 21:51:51.394 3884 ERROR keystone cli.main(argv=sys.argv, developer_config_file=developer_config) 2018-11-22 21:51:51.394 3884 ERROR keystone File "/home/shuayb/keystone/keystone/cmd/cli.py", line 1349, in main 2018-11-22 21:51:51.394 3884 ERROR keystone CONF.command.cmd_class.main() 2018-11-22 21:51:51.394 3884 ERROR keystone File "/home/shuayb/keystone/keystone/cmd/cli.py", line 178, in main 2018-11-22 21:51:51.394 3884 ERROR keystone klass.do_bootstrap() 2018-11-22 21:51:51.394 3884 ERROR keystone File "/home/shuayb/keystone/keystone/cmd/cli.py", line 156, in do_bootstrap 2018-11-22 21:51:51.394 3884 ERROR keystone raise ValueError 2018-11-22 21:51:51.394 3884 ERROR keystone ValueError 2018-11-22 21:51:51.394 3884 ERROR keystone To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1804700/+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