← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1563404] Re: keystone-manage bootstrap doesn't work

 

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

** Changed in: keystone
       Status: Incomplete => Expired

-- 
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/1563404

Title:
  keystone-manage bootstrap doesn't work

Status in OpenStack Identity (keystone):
  Expired

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1563404/+subscriptions


References