[Openstack] Not Authorized Error in ‘/var/log/nova/nova-compute.log’ for FOLSOM-3 setup

2012-09-17 Thread balaji patnala
Hi,

I'm using Folsom Testing Packages on Ubuntu 12.04.,  Quantum V2 with OVS
Plugin & Agent running on Openstack Controller.

And also, I have a Host Node using Folsom Testing Packages on Ubuntu 12.04,
Quantum OVS Agent, nova-compute and nova-api.



I am keep on getting the following error in
‘/var/log/nova/nova-compute.log’ for every 30 secs.

* *

* *

*2012-09-17 12:33:56 DEBUG nova.network.quantumv2.api [-]
get_instance_nw_info() for test1 from (pid=8948) _get_instance_nw_info
/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py:178*

*2012-09-17 12:33:56 ERROR nova.network.quantumv2 [-] _get_auth_token()
failed*

*2012-09-17 12:33:56 TRACE nova.network.quantumv2 Traceback (most recent
call last):*

*2012-09-17 12:33:56 TRACE nova.network.quantumv2   File
"/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", line
38, in _get_auth_token*

*2012-09-17 12:33:56 TRACE nova.network.quantumv2
httpclient.authenticate()*

*2012-09-17 12:33:56 TRACE nova.network.quantumv2   File
"/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 194, in
authenticate*

*2012-09-17 12:33:56 TRACE nova.network.quantumv2
content_type="application/json")*

*2012-09-17 12:33:56 TRACE nova.network.quantumv2   File
"/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 132, in
_cs_request*

*2012-09-17 12:33:56 TRACE nova.network.quantumv2 raise
exceptions.Unauthorized(message=body)*

*2012-09-17 12:33:56 TRACE nova.network.quantumv2 Unauthorized: {"error":
{"message": "Invalid user / password", "code": 401, "title": "Not
Authorized"}}*

*2012-09-17 12:33:56 TRACE nova.network.quantumv2 *

*2012-09-17 12:33:56 DEBUG nova.manager [-] Skipping
ComputeManager._run_image_cache_manager_pass, 6 ticks left until next run
from (pid=8948) periodic_tasks
/usr/lib/python2.7/dist-packages/nova/manager.py:167*

* *

Can anyone guide me to identify the issue?

Thanks in advance.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Not Authorized Error in ‘/var/log/nova/nova-compute.log’ for FOLSOM-3 setup

2012-09-17 Thread Salvatore Orlando
It seems that quantum is rejecting authentication credentials supplied by
nova; please verify the following nova flags are set to the correct value:

- quantum_admin_username
- quantum_admin_tenant_name
- quantum_admin_auth_url (should he http:///v2.0
- quantum_url_timeout
- quantum_auth_strategy (should be "keystone")

Regards,
Salvatore

On 17 September 2012 13:31, balaji patnala  wrote:

> Hi,
>
> I'm using Folsom Testing Packages on Ubuntu 12.04.,  Quantum V2 with OVS
> Plugin & Agent running on Openstack Controller.
>
> And also, I have a Host Node using Folsom Testing Packages on Ubuntu
> 12.04, Quantum OVS Agent, nova-compute and nova-api.
>
>
>
> I am keep on getting the following error in
> ‘/var/log/nova/nova-compute.log’ for every 30 secs.
>
> * *
>
> * *
>
> *2012-09-17 12:33:56 DEBUG nova.network.quantumv2.api [-]
> get_instance_nw_info() for test1 from (pid=8948) _get_instance_nw_info
> /usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py:178*
>
> *2012-09-17 12:33:56 ERROR nova.network.quantumv2 [-] _get_auth_token()
> failed*
>
> *2012-09-17 12:33:56 TRACE nova.network.quantumv2 Traceback (most recent
> call last):*
>
> *2012-09-17 12:33:56 TRACE nova.network.quantumv2   File
> "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", line
> 38, in _get_auth_token*
>
> *2012-09-17 12:33:56 TRACE nova.network.quantumv2
> httpclient.authenticate()*
>
> *2012-09-17 12:33:56 TRACE nova.network.quantumv2   File
> "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 194, in
> authenticate*
>
> *2012-09-17 12:33:56 TRACE nova.network.quantumv2
> content_type="application/json")*
>
> *2012-09-17 12:33:56 TRACE nova.network.quantumv2   File
> "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 132, in
> _cs_request*
>
> *2012-09-17 12:33:56 TRACE nova.network.quantumv2 raise
> exceptions.Unauthorized(message=body)*
>
> *2012-09-17 12:33:56 TRACE nova.network.quantumv2 Unauthorized: {"error":
> {"message": "Invalid user / password", "code": 401, "title": "Not
> Authorized"}}*
>
> *2012-09-17 12:33:56 TRACE nova.network.quantumv2 *
>
> *2012-09-17 12:33:56 DEBUG nova.manager [-] Skipping
> ComputeManager._run_image_cache_manager_pass, 6 ticks left until next run
> from (pid=8948) periodic_tasks
> /usr/lib/python2.7/dist-packages/nova/manager.py:167*
>
> * *
>
> Can anyone guide me to identify the issue?
>
> Thanks in advance.
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp