token-get works fine but all other requess on keystone get 503 error
keystone --os-username=admin --os-password=xxx --os-tenant-name=admin --os-auth-url=http://pswift-master:35357/v2.0 tenant-list
Service Unavailable (HTTP 503)
keystone --os-username=admin --os-password=xxx --os-tenant-name=admin --os-auth-url=http://pswift-master:35357/v2.0 token-get works fine
Not sure what is causing the error 503 on all other requests except token-get.
The same request works fine when running in other terminal where OS_SERVICE_TOKEN and OS_SERVICE_ENDPOINT are set.