I've installed devstack to a clean Ubuntu machine. I'm able to access the OpenStack Dashboard at http://localhost/auth/login/
. However, I have no idea how to manage users or what my initial credentials are.
Where is this information is kept?
The information is kept in the Keystone MySQL database. Do not edit the DB directly!
You'll want to manage users via the Keystone CLI. To do this you need to source your DevStack admin creds properly.
cd devstack
source openrc admin admin
echo $OS_USERNAME
echo $OS_TENANT_NAME
echo $OS_PASSWORD
I put the echo commands there to show you how to discover your creds.
To use the Keystone CLI checkout the docs Creating Tenants, Users, Roles, Tokens and Endpoints and Manage projects, users, and roles.
If you want to work with the CLIs as a non-admin user just do
cd devstack
source openrc
echo $OS_USERNAME
echo $OS_TENANT_NAME
echo $OS_PASSWORD
来源:https://stackoverflow.com/questions/20005279/how-to-manage-users-passwords-in-devstack