Revision history [back]

click to hide/show revision 1
initial version

Can't get keystone token: "HTTP Unable to establish connection"

What I think is happening:

I installed openstack (havana on ubuntu 12.04 LTS) through Puppet and forgot to update the public ip address used by puppet to propagate throughout the install. I partially fixed this by updating the keystone endpoints table to reflect the actual address but I think there's one spot where I haven't been sucessful in updating the old ip address (I can't find the entry in the database or a file). I could simply reinstall it with the right address and I think it would fix my problem but I'd rather understand openstack better, and in case I'm ever forgetful again.

Other symptoms, I tried launching an instance but I received this error (again) Now it's stuck launching the instance and I can't access the page in the dashboard, it's endlessly loading.

Onto the problem I'm facing which could be unrelated to the above.

Whenever I try to "keystone token-get" I get this error,

REQ: curl -i -X POST https://localhost:35357/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient"
REQ BODY: {"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "admin_password"}}}

Authorization Failed: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP Unable to establish connection to https://localhost:35357/v2.0/tokens)

You're first (and mine) reaction is probably along the lines of "well keystone must not be running", but I'm fairly certain it is. wget localhost:35357 downloads index.html, curl localhost:35357/v2.0 returns data and I'm able to login to the dashboard without any problems, I just can't access any pages linked to instances as they endlessly load.

I'm trying to access keystone, nova, etc this way in order to kill the instance that won't stop loading. I'm a little lost at this point, with all these things going wrong I'm not really sure what to tackle first and google hasn't been that helpful. Thanks for reading.

Can't get keystone token: "HTTP Unable to establish connection"

What I think is happening:

I installed openstack (havana on ubuntu 12.04 LTS) through Puppet and forgot to update the public ip address used by puppet to propagate throughout the install. I partially fixed this by updating the keystone endpoints table to reflect the actual address but I think there's one spot where I haven't been sucessful in updating the old ip address (I can't find the entry in the database or a file). I could simply reinstall it with the right address and I think it would fix my problem but I'd rather understand openstack better, and in case I'm ever forgetful again.

Other symptoms, I tried launching an instance but I received this error (again) Now when I try to launch an instance it's stuck launching the instance and I can't access the page in the dashboard, it's endlessly loading.

Onto the problem I'm facing which could be unrelated to the above.

Whenever I try to "keystone token-get" I get this error,

REQ: curl -i -X POST https://localhost:35357/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient"
REQ BODY: {"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "admin_password"}}}

Authorization Failed: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP Unable to establish connection to https://localhost:35357/v2.0/tokens)

You're first (and mine) reaction is probably along the lines of "well keystone must not be running", but I'm fairly certain it is. wget localhost:35357 downloads index.html, curl localhost:35357/v2.0 returns data and I'm able to login to the dashboard without any problems, I just can't access any pages linked to instances as they endlessly load.

I'm trying to access keystone, nova, etc this way in order to kill the instance that won't stop loading. I'm a little lost at this point, with all these things going wrong I'm not really sure what to tackle first and google hasn't been that helpful. Thanks for reading.

Can't get keystone token: "HTTP Unable to establish connection"

What I think is happening:

I installed openstack (havana on ubuntu 12.04 LTS) through Puppet and forgot to update the public ip address used by puppet to propagate throughout the install. I partially fixed this by updating the keystone endpoints table to reflect the actual address but I think there's one spot where I haven't been sucessful in updating the old ip address (I can't find the entry in the database or a file). I could simply reinstall it with the right address and I think it would fix my problem but I'd rather understand openstack better, and in case I'm ever forgetful again.

Other symptoms, I tried launching an instance but I received this error (again) Now when I try to launch an instance it's stuck launching the instance and I can't access the page in the dashboard, it's endlessly loading.

Onto the problem I'm facing which could be unrelated to the above.

Whenever I try to "keystone token-get" I get this error,

REQ: curl -i -X POST https://localhost:35357/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient"
REQ BODY: {"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "admin_password"}}}

Authorization Failed: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP Unable to establish connection to https://localhost:35357/v2.0/tokens)

You're first (and mine) reaction is probably along the lines of "well keystone must not be running", but I'm fairly certain it is. wget localhost:35357 downloads index.html, curl localhost:35357/v2.0 returns data and I'm able to login to the dashboard without any problems, I just can't access any pages linked to instances as they endlessly load.

I'm trying to access keystone, nova, etc this way in order to kill the instance that won't stop loading. I'm a little lost at this point, with all these things going wrong I'm not really sure what to tackle first and google hasn't been that helpful. Thanks for reading.

Curl output

curl localhost:35357/v2.0
{"version": {"status": "stable", "updated": "2013-03-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://localhost:35357/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/content/", "type": "text/html", "rel": "describedby"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf", "type": "application/pdf", "rel": "describedby"}]}}root@controller5:~#

Can't get keystone token: "HTTP Unable to establish connection"

What I think is happening:

I installed openstack (havana on ubuntu 12.04 LTS) through Puppet and forgot to update the public ip address used by puppet to propagate throughout the install. I partially fixed this by updating the keystone endpoints table to reflect the actual address but I think there's one spot where I haven't been sucessful in updating the old ip address (I can't find the entry in the database or a file). I could simply reinstall it with the right address and I think it would fix my problem but I'd rather understand openstack better, and in case I'm ever forgetful again.

Other symptoms, I tried launching an instance but I received this error (again) Now when I try to launch an instance it's stuck launching the instance and I can't access the page in the dashboard, it's endlessly loading.

Onto the problem I'm facing which could be unrelated to the above.

Whenever I try to "keystone token-get" I get this error,

REQ: curl -i -X POST https://localhost:35357/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient"
REQ BODY: {"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "admin_password"}}}

Authorization Failed: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP Unable to establish connection to https://localhost:35357/v2.0/tokens)

You're first (and mine) reaction is probably along the lines of "well keystone must not be running", but I'm fairly certain it is. wget localhost:35357 downloads index.html, curl localhost:35357/v2.0 returns data and I'm able to login to the dashboard without any problems, I just can't access any pages linked to instances as they endlessly load.

I'm trying to access keystone, nova, etc this way in order to kill the instance that won't stop loading. I'm a little lost at this point, with all these things going wrong I'm not really sure what to tackle first and google hasn't been that helpful. Thanks for reading.

Curl output

curl localhost:35357/v2.0
{"version": {"status": "stable", "updated": "2013-03-06T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://localhost:35357/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/content/", "type": "text/html", "rel": "describedby"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf", "type": "application/pdf", "rel": "describedby"}]}}root@controller5:~#
"describedby"}]}}