← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1804700] Re: keystone-manage bootstrap raises ValueError

 

bootstrap is doing the right thing by requiring a password, but it's not
acceptable to be emitting a traceback. The error message "Either
--bootstrap-password argument or OS_BOOTSTRAP_PASSWORD must be set." and
an appropriate exit code is correct, causing a traceback is not.

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

-- 
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):
  Triaged

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


References