Revision history [back]

click to hide/show revision 1
initial version

nova.network.quantumv2 Unauthorized: [Errno 239] ECONNREFUSED

Setup:

  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 nova.network.quantumv2 [req-7035ccea-bfb0-475d-9f0b-be811f398ddf None None] !!!! _get_auth_token: keystone service RegionOne openstack http://15.213.229.166:35357/v2.0 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/__init__.py:32 2013-08-02 11:19:05.685 ERROR nova.network.quantumv2 [req-7035ccea-bfb0-475d-9f0b-be811f398ddf None None] _get_auth_token() failed 2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2 Traceback (most recent call last): 2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2 File "/usr/local/lib/python2.7/site-packages/nova-2013.1.2.a45.g1c074ec-py2.7.egg/nova/network/quantumv2/__init__.py", line 43, in _get_auth_token 2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2 httpclient.authenticate() 2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2 File "/usr/local/lib/python2.7/site-packages/quantumclient/client.py", line 203, in authenticate 2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2 raise exceptions.Unauthorized(message=body) 2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2 Unauthorized: [Errno 239] ECONNREFUSED 2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2 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/utils.py:638

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.

nova.network.quantumv2 Unauthorized: [Errno 239] ECONNREFUSED

Setup:

  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 /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, 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 nova.network.quantumv2 [req-7035ccea-bfb0-475d-9f0b-be811f398ddf None None] !!!! _get_auth_token: keystone service RegionOne openstack http://15.213.229.166:35357/v2.0 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/__init__.py:32
2013-08-02 11:19:05.685 ERROR nova.network.quantumv2 [req-7035ccea-bfb0-475d-9f0b-be811f398ddf None None] _get_auth_token() failed
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2 Traceback (most recent call last):
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2   File "/usr/local/lib/python2.7/site-packages/nova-2013.1.2.a45.g1c074ec-py2.7.egg/nova/network/quantumv2/__init__.py", line 43, in _get_auth_token
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2     httpclient.authenticate()
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2   File "/usr/local/lib/python2.7/site-packages/quantumclient/client.py", line 203, in authenticate
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2     raise exceptions.Unauthorized(message=body)
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2 Unauthorized: [Errno 239] ECONNREFUSED
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2
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/utils.py:638

/usr/local/lib/python2.7/site-packages/nova-2013.1.2.a45.g1c074ec-py2.7.egg/nova/utils.py:638

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.

nova.network.quantumv2 Unauthorized: [Errno 239] ECONNREFUSED

Setup:

  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 nova.network.quantumv2 [req-7035ccea-bfb0-475d-9f0b-be811f398ddf None None] !!!! _get_auth_token: keystone service RegionOne openstack http://15.213.229.166:35357/v2.0 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/__init__.py:32
2013-08-02 11:19:05.685 ERROR nova.network.quantumv2 [req-7035ccea-bfb0-475d-9f0b-be811f398ddf None None] _get_auth_token() failed
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2 Traceback (most recent call last):
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2   File "/usr/local/lib/python2.7/site-packages/nova-2013.1.2.a45.g1c074ec-py2.7.egg/nova/network/quantumv2/__init__.py", line 43, in _get_auth_token
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2     httpclient.authenticate()
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2   File "/usr/local/lib/python2.7/site-packages/quantumclient/client.py", line 203, in authenticate
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2     raise exceptions.Unauthorized(message=body)
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2 Unauthorized: [Errno 239] ECONNREFUSED
2013-08-02 11:19:05.685 18472 TRACE nova.network.quantumv2
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/utils.py:638

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.