[Openstack] More Quantum
Joshua Skains
Joshua.Skains at evault.com
Thu Aug 29 18:54:22 UTC 2013
I apparently need to stop using the other docs.
Thanks.
From: <Gangur>, "Hrushikesh (HP Converged Cloud - R&D - Sunnyvale)" <hrushikesh.gangur at hp.com<mailto:hrushikesh.gangur at hp.com>>
Date: Thursday, August 29, 2013 12:51 PM
To: Joshua Skains <joshua.skains at evault.com<mailto:joshua.skains at evault.com>>, "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: RE: [Openstack] More Quantum
Looks like both quantum and nova are misconfigured…specifically the credentials mentioned in the *-api-paste.ini. Suggest you going through https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst
* Now modify authtoken section in the /etc/nova/api-paste.ini file to this:
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
auth_host = 10.10.10.51
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = service_pass
signing_dirname = /tmp/keystone-signing-nova
# Workaround for https://bugs.launchpad.net/nova/+bug/1154809
auth_version = v2.0
· Edit /etc/quantum/api-paste.ini:
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
auth_host = 10.10.10.51
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = quantum
admin_password = service_pass
From: Joshua Skains [mailto:Joshua.Skains at evault.com]
Sent: Thursday, August 29, 2013 11:44 AM
To: Joshua Skains; openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Subject: Re: [Openstack] More Quantum
Sorry one last thing:
2013-08-29 12:30:32 INFO [quantum.openstack.common.rpc.common] Connected to AMQP server on 10.27.128.11:5672
2013-08-29 12:30:32 INFO [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Agent initialized successfully, now running...
2013-08-29 12:30:32 INFO [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Agent out of sync with plugin!
2013-08-29 12:30:32 INFO [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Agent tunnel out of sync with plugin!
2013-08-29 12:30:32 INFO [quantum.openstack.common.rpc.common] Connected to AMQP server on 10.27.128.11:5672
From: Joshua Skains <joshua.skains at evault.com<mailto:joshua.skains at evault.com>>
Date: Thursday, August 29, 2013 12:40 PM
To: Joshua Skains <joshua.skains at evault.com<mailto:joshua.skains at evault.com>>, "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: Re: [Openstack] More Quantum
Also getting:
2013-08-29 12:35:36.381 ERROR nova.openstack.common.rpc.amqp [req-04cac7d7-2245-4c57-98b2-4eca87ffe32d c7d368dfb4664613a7da0e070c5ca9cf d1a709d30cea474d910a6549c4325761] Exception during message handling
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp rval = self.proxy.dispatch(ctxt, version, method, **args)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp return getattr(proxyobj, method)(ctxt, **kwargs)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp temp_level, payload)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp self.gen.next()
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 94, in wrapped
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp return f(self, context, *args, **kw)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 260, in decorated_function
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp function(self, context, *args, **kwargs)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 237, in decorated_function
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp e, sys.exc_info())
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp self.gen.next()
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 224, in decorated_function
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp return function(self, context, *args, **kwargs)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1383, in terminate_instance
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp do_terminate_instance(instance, bdms)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 242, in inner
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp retval = f(*args, **kwargs)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1375, in do_terminate_instance
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp reservations=reservations)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 85, in inner
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp rv = f(*args, **kwargs)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1338, in _delete_instance
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp project_id=project_id)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp self.gen.next()
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1311, in _delete_instance
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp self._shutdown_instance(context, instance, bdms)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1236, in _shutdown_instance
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp network_info = self._get_instance_nw_info(context, instance)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 681, in _get_instance_nw_info
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp instance, conductor_api=self.conductor_api)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 360, in get_instance_nw_info
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp result = self._get_instance_nw_info(context, instance, networks)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 368, in _get_instance_nw_info
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp nw_info = self._build_network_info_model(context, instance, networks)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/api.py", line 786, in _build_network_info_model
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp client = quantumv2.get_client(context, admin=True)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", line 67, in get_client
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp return _get_client(token=token)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", line 49, in _get_client
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp token = _get_auth_token()
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", line 43, in _get_auth_token
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp LOG.exception(_("_get_auth_token() failed"))
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp self.gen.next()
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", line 40, in _get_auth_token
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp httpclient.authenticate()
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 193, in authenticate
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp content_type="application/json")
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 131, in _cs_request
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp raise exceptions.Unauthorized(message=body)
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp Unauthorized: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}}
2013-08-29 12:35:36.381 4670 TRACE nova.openstack.common.rpc.amqp
From: Joshua Skains <joshua.skains at evault.com<mailto:joshua.skains at evault.com>>
Date: Thursday, August 29, 2013 12:31 PM
To: "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: [Openstack] More Quantum
2013-08-29 12:30:35.868 2457 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2013-08-29 12:30:35.975 2457 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 122260
2013-08-29 12:30:35.976 2457 AUDIT nova.compute.resource_tracker [-] Free disk (GB): -14
2013-08-29 12:30:35.976 2457 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 21
2013-08-29 12:30:36.029 2457 INFO nova.compute.resource_tracker [-] Compute_service record updated for devops2:devops2.fb.lab
2013-08-29 12:30:36.071 2457 INFO nova.compute.manager [-] Updating host status
2013-08-29 12:30:36.254 2457 ERROR nova.network.quantumv2 [-] _get_auth_token() failed
2013-08-29 12:30:36.254 2457 TRACE nova.network.quantumv2 Traceback (most recent call last):
2013-08-29 12:30:36.254 2457 TRACE nova.network.quantumv2 File "/usr/lib/python2.7/dist-packages/nova/network/quantumv2/__init__.py", line 40, in _get_auth_token
2013-08-29 12:30:36.254 2457 TRACE nova.network.quantumv2 httpclient.authenticate()
2013-08-29 12:30:36.254 2457 TRACE nova.network.quantumv2 File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 193, in authenticate
2013-08-29 12:30:36.254 2457 TRACE nova.network.quantumv2 content_type="application/json")
2013-08-29 12:30:36.254 2457 TRACE nova.network.quantumv2 File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 131, in _cs_request
2013-08-29 12:30:36.254 2457 TRACE nova.network.quantumv2 raise exceptions.Unauthorized(message=body)
2013-08-29 12:30:36.254 2457 TRACE nova.network.quantumv2 Unauthorized: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}}
2013-08-29 12:30:36.254 2457 TRACE nova.network.quantumv2
The frustration is the error doesn't tell me really anything I can work with. I've looked in every file, and I am not finding who's making a poor communications here.
JMS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130829/3ac202cf/attachment.html>
More information about the Openstack
mailing list