Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Havana keystone tenant creation problem

1.root@ubuntu:~# sudo keystone tenant-create --name=admin --description="Admin Tenant" Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL]

I got the above error and tried without sudo

2.root@ubuntu:~# keystone tenant-create --name=admin --description="Admin Tenant" <attribute 'message'="" of="" 'exceptions.baseexception'="" objects=""> (HTTP Unable to establish connection to http://controlleripaddr:35357/v2.0/tenants) Again a error,so configured the Auth url

3. root@ubuntu:/etc/keystone# export OS_USERNAME=admin root@ubuntu:/etc/keystone# export OS_PASSWORD=passw0rd14@ root@ubuntu:/etc/keystone# export OS_TENANT_NAME=admin root@ubuntu:/etc/keystone# export OS_AUTH_URL=http://172.16.31.77:35357/v2.0 root@ubuntu:/etc/keystone# keystone user-list Bypassing authentication using a token & endpoint (authentication credentials are being ignored). <attribute 'message'="" of="" 'exceptions.baseexception'="" objects="">

The port status root@ubuntu:~# netstat -an | grep 35357 tcp 0 0 0.0.0.0:35357 0.0.0.0:* LISTEN
root@ubuntu:~# ipconfig

Please help me to resolve this error.