keystone-manage bootstrap doesn't work

Bug #1563404 reported by sejja
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Expired
Undecided
Unassigned

Bug Description

I'm using stack.sh to install devstack and when it gets to bootstrap_keystone (line 1004 in the file) it calls a function in "lib/keystone:bootstrap_keystone:633". The function is involing "keystone-manage bootstrap" and then an error caused the script to jump out. Here is the log that I can see:

"
+functions-common:restart_service:2245 sudo /usr/sbin/service memcached restart
Restarting memcached: memcached.
+./stack.sh:main:1004 bootstrap_keystone
+lib/keystone:bootstrap_keystone:633 /usr/local/bin/keystone-manage bootstrap --bootstrap-username admin --bootstrap-password nomoresecret --bootstrap-project-name admin --bootstrap-role-name admin --bootstrap-service-name keystone --bootstrap-region-id RegionOne --bootstrap-admin-url http://10.10.10.180:35357/v2.0 --bootstrap-public-url http://10.10.10.180:5000/v2.0 --bootstrap-internal-url http://10.10.10.180:5000/v2.0
usage: keystone-manage [db_sync|db_version|domain_config_upload|fernet_rotate|fernet_setup|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|ssl_setup|token_flush]
keystone-manage: error: argument command: invalid choice: 'bootstrap' (choose from 'db_sync', 'db_version', 'domain_config_upload', 'fernet_rotate', 'fernet_setup', 'mapping_purge', 'mapping_engine', 'pki_setup', 'saml_idp_metadata', 'ssl_setup', 'token_flush')
+lib/keystone:bootstrap_keystone:1 exit_trap
+./stack.sh:exit_trap:474 local r=2
++./stack.sh:exit_trap:475 jobs -p
+./stack.sh:exit_trap:475 jobs=
+./stack.sh:exit_trap:478 [[ -n '' ]]
+./stack.sh:exit_trap:484 kill_spinner
+./stack.sh:kill_spinner:370 '[' '!' -z '' ']'
+./stack.sh:exit_trap:486 [[ 2 -ne 0 ]]
+./stack.sh:exit_trap:487 echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:488 generate-subunit 1459264867 239 fail
./stack.sh: line 488: generate-subunit: command not found

"

Thanks in advance

Revision history for this message
Steve Martinelli (stevemar) wrote :

Boostrap was introduced in the mitaka release. Are you using the stable/liberty or older branch of devstack?

Changed in keystone:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Identity (keystone) because there has been no activity for 60 days.]

Changed in keystone:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.