Ask Your Question
0

keystone tenant-create --name=admin --description="Admin Tenant" Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL]

asked 2014-01-08 23:04:38 -0500

Ranjan Dey gravatar image

Keystone tenant user create problem, error as under

keystone tenant-create --name=admin --description="Admin Tenant" Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL]

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2014-01-08 23:39:53 -0500

unmesh-gurjar gravatar image

Please go through the docs [1] and set up your environment (variables) to get the CLI working.

[1] - http://docs.openstack.org/developer/python-keystoneclient/man/keystone.html

edit flag offensive delete link more
1

answered 2014-10-31 12:43:31 -0500

To set the required environment variables for the OpenStack command-line clients, you must create an environment file called an OpenStack rc file, or openrc.sh file. This project-specific environment file contains the credentials that all OpenStack services use.

export OS_USERNAME=admin export OS_PASSWORD=ADMIN_PASS export OS_TENANT_NAME=admin export OS_AUTH_URL=http://controller:35357/v2.0

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-08 23:04:38 -0500

Seen: 1,784 times

Last updated: Oct 31 '14