← Back to team overview

yahoo-eng-team team mailing list archive

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

 

I think bootstrap is handling this case properly. The keystone-manage
bootstrap command needs to have a password to bootstrap with the
administrator. It doesn't look like it was provided.

I suggest rerunning the command with an additional argument
(--bootstrap-password) or sourcing it from your ENV with
OS_BOOTSTRAP_PASSWORD.

** 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/1804700

Title:
  keystone-manage bootstrap raises ValueError

Status in OpenStack Identity (keystone):
  Invalid

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