Unauthorized: [Errno 239] ECONNREFUSED [closed]

asked 2013-08-02 02:01:02 -0600

graoh gravatar image

updated 2013-08-02 18:33:15 -0600

smaffulli gravatar image


  1. Have a cloud controller with all the components except the nova-compute.
  2. Have a separate compute node with nova-compute running. The /etc/nova/nova.conf file has all the correct entries for the quantum on the controller node (looked at the controller node configuration and populated the nova.conf accordingly). there is no quantum agent or any footprint of the quantum on the compute node.
  3. When an instance is launched without any networking i.e,

    $ nova boot --image <image> --flavor <flavor> <instance_name>

the compute node is failing with the following error:

2013-08-02 11:19:05.677 DEBUG [req-7035ccea-bfb0-475d-9f0b-be811f398ddf None None] !!!! _get_auth_token: keystone service RegionOne openstack <a href=""></a> 30 keystone False _get_auth_token /usr/local/lib/python2.7/site-packages/nova-2013.1.2.a45.g1c074ec-py2.7.egg/nova/network/quantumv2/
2013-08-02 11:19:05.685 ERROR [req-7035ccea-bfb0-475d-9f0b-be811f398ddf None None] _get_auth_token() failed
2013-08-02 11:19:05.685 18472 TRACE Traceback (most recent call last):
2013-08-02 11:19:05.685 18472 TRACE   File "/usr/local/lib/python2.7/site-packages/nova-2013.1.2.a45.g1c074ec-py2.7.egg/nova/network/quantumv2/", line 43, in _get_auth_token
2013-08-02 11:19:05.685 18472 TRACE     httpclient.authenticate()
2013-08-02 11:19:05.685 18472 TRACE   File "/usr/local/lib/python2.7/site-packages/quantumclient/", line 203, in authenticate
2013-08-02 11:19:05.685 18472 TRACE     raise exceptions.Unauthorized(message=body)
2013-08-02 11:19:05.685 18472 TRACE Unauthorized: [Errno 239] ECONNREFUSED
2013-08-02 11:19:05.685 18472 TRACE
2013-08-02 11:19:05.686 18472 DEBUG nova.utils [-] Periodic task processor sleeping for 60.00 seconds _inner /usr/local/lib/python2.7/site-packages/nova-2013.1.2.a45.g1c074ec-py2.7.egg/nova/

I tried with specifying wrong username to see if compute node reaches the controller and fails during authentication. But, getting the same error. I think, it's not reaching the controller node at all.

Am I missing something here ? There is not much help available for this specific problem on the web.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by smaffulli
close date 2015-01-14 10:32:30.750270


Please paste the output of `keystone token-get` to

Jobin gravatar imageJobin ( 2013-08-02 15:30:30 -0600 )edit

@Jobin Do I need to execute the command on the compute node or on the cloud controller ? On the compute-node, I only have the compute-node working but have the keystone client installed. But, I tried keystone token-get from the compute node and here is what I am getting: #keystone --os-username <user> --os-password <passwd> --os-auth-url=<url> 'token-get' WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 'NoneType' object has no attribute 'has_service_catalog' I tried the same on the cloud controller and pasted the same on (

graoh gravatar imagegraoh ( 2013-08-05 06:02:57 -0600 )edit

I managed to resolve it. thanks.

leowong gravatar imageleowong ( 2013-08-05 22:51:46 -0600 )edit