If you are behind the proxy, then you have to set no_proxy environmental variable for your localhost and all the IPs acquire by you host. Like if ip is 192.168.10.10, then:
./unstack.sh export no_proxy=localhost,127.0.0.1,192.168.10.10 ./stack.sh 转自: https://ask.openstack.org/en/question/87854/keystone-token-generation-fails-for-devstack/