Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Mostly all the setups specify default user name and password as admin. But you can always refer to the guide that you followed for default user name and password.

One more method is, On the node having keystone(Identity service) installed have a configuration file /etc/keystone/keystone.conf this file has a admin_token variable, which contains admin token. you can use this token to create a new user or to do any activities requiring admin role.

therefor to create a new user create a file having following value content export OS_SERVICE_TOKEN=ADMIN_TOKEN export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0

ADMIN_TOKEN is the admin_token value in the keysone.conf file. and controller is the hostname or IP address of the keystone host. then source it using

source name_of_file

after this operation you can use

keystone user-create keystone role-create keystone tenant-create keystone user-role-add

etc. to create user, role and tenant. For more detail refer on user creation refer openstack installation guide.

Mostly all the setups specify default user name and password as admin. "admin" for admin user. therefor

username = admin password = admin

But you can always refer to the guide that you followed for installation for getting default user name and password.password. You can find it in the keystone installation section.

One more method is, On the node having keystone(Identity service) installed have a configuration file /etc/keystone/keystone.conf this file has a admin_token variable, which contains admin token. you can use this token to create a new user or to do any activities requiring admin role.

therefor to create a new user create a file having following value content export OS_SERVICE_TOKEN=ADMIN_TOKEN OS_SERVICE_TOKEN=ADMIN_TOKEN

export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0

ADMIN_TOKEN is the admin_token value in the keysone.conf file. and controller is the hostname or IP address of the keystone host. then source it using

source name_of_file

after this operation you can use

keystone user-create keystone role-create keystone tenant-create keystone user-role-add

etc. to create user, role and tenant. For more detail refer on user creation refer openstack installation guide.

Mostly all the setups specify default user name and password "admin" for admin user. therefor

therefor username = admin admin

password = admin

But you can always refer to the guide that you followed for installation for getting default user name and password. You can find it in the keystone installation section.

One more method is, On the node having keystone(Identity service) installed have a configuration file /etc/keystone/keystone.conf this file has a admin_token variable, which contains admin token. you can use this token to create a new user or to do any activities requiring admin role.

therefor to create a new user create a file having following value content export OS_SERVICE_TOKEN=ADMIN_TOKEN

export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0

ADMIN_TOKEN is the admin_token value in the keysone.conf file. and controller is the hostname or IP address of the keystone host. then source it using

source name_of_file

name_of_file after this operation you can use

keystone user-create keystone role-create keystone tenant-create keystone user-role-add

user-role-add etc. to create user, role and tenant. For more detail refer on user creation refer openstack installation guide.

Mostly all the setups specify default user name and password "admin" for admin user. therefor therefor

username = admin

password = admin

But you can always refer to the guide that you followed for installation for getting default user name and password. You can find it in the keystone installation section.

One more method is, On the node having keystone(Identity service) installed have a configuration file /etc/keystone/keystone.conf this file has a admin_token variable, which contains admin token. you can use this token to create a new user or to do any activities requiring admin role.

therefor to create a new user create a file having following value content content

export OS_SERVICE_TOKEN=ADMIN_TOKEN

export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0

ADMIN_TOKEN is the admin_token value in the keysone.conf file. and controller is the hostname or IP address of the keystone host. then source it using

source name_of_file after this operation you can use keystone user-create keystone role-create keystone tenant-create keystone user-role-add etc. to create user, role and tenant. For more detail refer on user creation refer openstack installation guide.