Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dial tcp: lookup identity.api.rackspacecloud.com: no DNS servers #455

Open
bobemoe opened this issue Jun 14, 2017 · 1 comment
Open

dial tcp: lookup identity.api.rackspacecloud.com: no DNS servers #455

bobemoe opened this issue Jun 14, 2017 · 1 comment

Comments

@bobemoe
Copy link

bobemoe commented Jun 14, 2017

I'm trying to install the api binay follow this: https://developer.rackspace.com/docs/rack-cli/

I have downloaded the binary, chmod u+x

"./rack configure" worked ok, I entered my username api key and region (LON)

when I run "./rack servers instance list" I get
error Post https://identity.api.rackspacecloud.com/v2.0/tokens: dial tcp: lookup identity.api.rackspacecloud.com: no DNS servers

I have found a similar issue here:
https://linuxconfig.org/docker-dial-tcp-lookup-index-docker-io-no-such-host-fix

and managed to get "rack" to work by adding the following to /etc/hosts
166.78.226.217 identity.api.rackspacecloud.com
37.188.100.146 lon.servers.api.rackspacecloud.com

as i am going to be using the api in automation i would rather not hard code IP addresses into the system, so would still like to resolve this but not sure what to try next?

rack version 1.2
commit: 09c14b0

@jrperritt
Copy link
Contributor

Hmm, I'd thought all regions could use that single endpoint now. Does it work for you if you set RS_AUTH_URL=https://lon.identity.api.rackspacecloud.com/v2.0/?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants