Ask Your Question
0

Havana keystone tenant creation problem

asked 2014-01-31 05:54:51 -0500

saranyanemo gravatar image

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" (HTTP Unable to establish connection to http://controlleripaddr:35357/v2.0/tenants (http://controlleripaddr:35357/v2.0/te...)) 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.

edit retag flag offensive close merge delete

17 answers

Sort by ยป oldest newest most voted
0

answered 2014-02-06 03:50:50 -0500

saranyanemo gravatar image

saran@ubuntu:~$ ping 172.16.16.1 PING 172.16.16.1 (172.16.16.1) 56(84) bytes of data. 64 bytes from 172.16.16.1: icmp_req=1 ttl=64 time=0.265 ms 64 bytes from 172.16.16.1: icmp_req=2 ttl=64 time=0.232 ms 64 bytes from 172.16.16.1: icmp_req=3 ttl=64 time=0.233 ms 64 bytes from 172.16.16.1: icmp_req=4 ttl=64 time=0.234 ms 64 bytes from 172.16.16.1: icmp_req=5 ttl=64 time=0.203 ms 64 bytes from 172.16.16.1: icmp_req=6 ttl=64 time=0.253 ms 64 bytes from 172.16.16.1: icmp_req=7 ttl=64 time=0.217 ms 64 bytes from 172.16.16.1: icmp_req=8 ttl=64 time=0.196 ms 64 bytes from 172.16.16.1: icmp_req=9 ttl=64 time=0.300 ms 64 bytes from 172.16.16.1: icmp_req=10 ttl=64 time=0.204 ms ^C --- 172.16.16.1 ping statistics --- 10 packets transmitted, 10 received, 0% packet loss, time 8998ms rtt min/avg/max/mdev = 0.196/0.233/0.300/0.035 ms saran@ubuntu:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.16.16.1 0.0.0.0 UG 100 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0 172.16.0.0 0.0.0.0 255.255.224.0 U 0 0 0 eth0 saran@ubuntu:~$

edit flag offensive delete link more
0

answered 2014-02-06 09:11:08 -0500

esedmehmet gravatar image

Can you create Keystone database in mysql? Could you show databases in mysql?

edit flag offensive delete link more
0

answered 2014-02-07 05:09:26 -0500

saranyanemo gravatar image

saran@ubuntu:~$ ping 172.16.31.77 PING 172.16.31.77 (172.16.31.77) 56(84) bytes of data. 64 bytes from 172.16.31.77: icmp_req=1 ttl=64 time=0.047 ms 64 bytes from 172.16.31.77: icmp_req=2 ttl=64 time=0.046 ms 64 bytes from 172.16.31.77: icmp_req=3 ttl=64 time=0.046 ms 64 bytes from 172.16.31.77: icmp_req=4 ttl=64 time=0.046 ms 64 bytes from 172.16.31.77: icmp_req=5 ttl=64 time=0.045 ms 64 bytes from 172.16.31.77: icmp_req=6 ttl=64 time=0.042 ms 64 bytes from 172.16.31.77: icmp_req=7 ttl=64 time=0.039 ms 64 bytes from 172.16.31.77: icmp_req=8 ttl=64 time=0.046 ms 64 bytes from 172.16.31.77: icmp_req=9 ttl=64 time=0.045 ms ^C --- 172.16.31.77 ping statistics --- 9 packets transmitted, 9 received, 0% packet loss, time 7999ms rtt min/avg/max/mdev = 0.039/0.044/0.047/0.008 ms saran@ubuntu:~$

edit flag offensive delete link more
0

answered 2014-02-07 05:16:00 -0500

haneef gravatar image

Try this

wget -4 http://172.16.31.77:35357

edit flag offensive delete link more
0

answered 2014-02-07 05:20:48 -0500

saranyanemo gravatar image

saran@ubuntu:~$ wget -4 http://172.16.31.77:35357 --2014-02-07 10:50:20-- http://172.16.31.77:35357/ Resolving 172.16.16.1 ( 172.16.16.1)... failed: No address associated with hostname. wget: unable to resolve host address ` 172.16.16.1' saran@ubuntu:~$

I am getting this sir

edit flag offensive delete link more
0

answered 2014-02-07 05:43:57 -0500

haneef gravatar image

What is the content of /etc/resolve.conf

edit flag offensive delete link more
0

answered 2014-02-13 05:20:54 -0500

saranyanemo gravatar image

saran@ubuntu:/etc$ cat resolv.conf

Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)

DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

saran@ubuntu:/etc$

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-31 05:54:51 -0500

Seen: 718 times

Last updated: Feb 13 '14