keystone-manage bootstrap raises ValueError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Gage Hugo |
Bug Description
The 'keystone-manage bootstrap' command still raises Value Error despite 'keystone-manage fernet_setup' command was successful. The whole bug is:
shuayb@
Either --bootstrap-
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/
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/
2018-11-22 21:51:51.394 3884 ERROR keystone cli.main(
2018-11-22 21:51:51.394 3884 ERROR keystone File "/home/
2018-11-22 21:51:51.394 3884 ERROR keystone CONF.command.
2018-11-22 21:51:51.394 3884 ERROR keystone File "/home/
2018-11-22 21:51:51.394 3884 ERROR keystone klass.do_
2018-11-22 21:51:51.394 3884 ERROR keystone File "/home/
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
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.