Skip to content

Instantly share code, notes, and snippets.

@noelbk
Created March 3, 2014 19:26
Show Gist options
  • Save noelbk/9332708 to your computer and use it in GitHub Desktop.
Save noelbk/9332708 to your computer and use it in GitHub Desktop.
Mar 3 19:20:39 172.19.0.13 neutron-server.log: neutron-server: policy DEBUG loading policy file at /etc/neutron/poli
cy.json
Mar 3 19:20:39 172.19.0.13 neutron-server: connectionpool DEBUG "GET /virtual-networks?parent_id=service HTTP/1.1" 5
00 67
Mar 3 19:20:39 172.19.0.13 neutron-server.log: Bad id=service, trying raw: badly formed hexadecimal UUID string
Mar 3 19:20:39 172.19.0.13 neutron-server.log: neutron-server: connectionpool DEBUG "GET /virtual-networks?parent_id
=service HTTP/1.1" 500 67
Mar 3 19:20:39 172.19.0.13 neutron-server.log: <class 'cfgm_common.exceptions.HttpError'>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: Python 2.7.5: /usr/bin/python2.7
Mar 3 19:20:39 172.19.0.13 neutron-server.log: Mon Mar 3 19:20:39 2014
Mar 3 19:20:39 172.19.0.13 neutron-server.log: A problem occurred in a Python script. Here is the sequence of
Mar 3 19:20:39 172.19.0.13 neutron-server.log: function calls leading up to the error, in the order they occurred.
Mar 3 19:20:39 172.19.0.13 neutron-server.log: /usr/lib64/python2.7/site-packages/quantum/plugins/contrail/Contrail
Plugin.py in get_networks_count(self=<quantum.plugins.contrail.ContrailPlugin.ContrailPlugin object>, context=<quantu
m.quantum.context.Context object>, filters={'tenant_id': [u'service']})
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 302 try:
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 303 cfgdb = ContrailPlugin._get_user_cfgdb(context)
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 304 nets_count = cfgdb.network_count(filters)
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 305 LOG.debug("get_networks_count(): " + str(nets_count
))
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 306 return nets_count
Mar 3 19:20:39 172.19.0.13 neutron-server.log: nets_count undefined
Mar 3 19:20:39 172.19.0.13 neutron-server.log: cfgdb = <quantum.plugins.contrail.ctdb.config_db.DBInterface object>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: cfgdb.network_count = <bound method DBInterface.network_count of <qua
n...gins.contrail.ctdb.config_db.DBInterface object>>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: filters = {'tenant_id': [u'service']}
Mar 3 19:20:39 172.19.0.13 neutron-server.log: /usr/lib64/python2.7/site-packages/quantum/plugins/contrail/ctdb/con
fig_db.py in network_count(self=<quantum.plugins.contrail.ctdb.config_db.DBInterface object>, filters={'tenant_id': [
u'service']})
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 1543
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 1544 def network_count(self, filters=None):
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 1545 nets_info = self.network_list(filters)
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 1546 return nets_info and len(nets_info) or 0
Mar 3 19:20:39 172.19.0.13 neutron-server: resource ERROR create failed
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/quantum/api/v2/resource.py", line 82, in resource
result = method(request=request, **args)
File "/usr/lib64/python2.7/site-packages/quantum/api/v2/base.py", line 326, in create
tenant_id)
File "/usr/lib64/python2.7/site-packages/quantum/quota.py", line 256, in count
return res.count(context, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/quantum/quota.py", line 300, in _count_resource
return obj_count_getter(context, filters={'tenant_id': [tenant_id]})
File "/usr/lib64/python2.7/site-packages/quantum/plugins/contrail/ContrailPlugin.py", line 304, in get_networks_cou
nt
nets_count = cfgdb.network_count(filters)
File "/usr/lib64/python2.7/site-packages/quantum/plugins/contrail/ctdb/config_db.py", line 1545, in network_count
nets_info = self.network_list(filters)
File "/usr/lib64/python2.7/site-packages/quantum/plugins/contrail/ctdb/config_db.py", line 1500, in network_list
project_nets = self._network_list_project(p_id)
File "/usr/lib64/python2.7/site-packages/quantum/plugins/contrail/ctdb/config_db.py", line 553, in _network_list_pr
oject
resp_dict = self._vnc_lib.virtual_networks_list(parent_id=uid)
File "/usr/lib64/python2.7/site-packages/vnc_api/gen/vnc_api_client_gen.py", line 3282, in virtual_networks_list
File "/usr/lib64/python2.7/site-packages/vnc_api/vnc_api.py", line 347, in _request_server
HttpError: HTTP Status: 500 Content: <h1>Critical error while processing request: /virtual-networks</h1>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 1547 #end network_count
Mar 3 19:20:39 172.19.0.13 neutron-server.log: nets_info undefined
Mar 3 19:20:39 172.19.0.13 neutron-server.log: self = <quantum.plugins.contrail.ctdb.config_db.DBInterface object>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: self.network_list = <bound method DBInterface.network_list of <quant.
..gins.contrail.ctdb.config_db.DBInterface object>>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: filters = {'tenant_id': [u'service']}
Mar 3 19:20:39 172.19.0.13 neutron-server.log: /usr/lib64/python2.7/site-packages/quantum/plugins/contrail/ctdb/con
fig_db.py in network_list(self=<quantum.plugins.contrail.ctdb.config_db.DBInterface object>, filters={'tenant_id': [u
'service']})
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 1498 all_nets.append(self._fip_pool_ref_netw
orks(p_id))
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 1499 else:
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 1500 project_nets = self._network_list_proje
ct(p_id)
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 1501 all_nets.append(project_nets)
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 1502 elif filters and 'id' in filters:
Mar 3 19:20:39 172.19.0.13 neutron-server.log: project_nets undefined
Mar 3 19:20:39 172.19.0.13 neutron-server.log: self = <quantum.plugins.contrail.ctdb.config_db.DBInterface object>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: self._network_list_project = <bound method DBInterface._network_list_
project ...gins.contrail.ctdb.config_db.DBInterface object>>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: p_id = u'service'
Mar 3 19:20:39 172.19.0.13 neutron-server.log: /usr/lib64/python2.7/site-packages/quantum/plugins/contrail/ctdb/con
fig_db.py in _network_list_project(self=<quantum.plugins.contrail.ctdb.config_db.DBInterface object>, id=u'service')
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 551 def _network_list_project(self, id):
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 552 uid = uuid2str(id)
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 553 resp_dict = self._vnc_lib.virtual_networks_list(parent_
id=uid)
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 554 return resp_dict['virtual-networks']
Mar 3 19:20:39 172.19.0.13 neutron-server.log: 555
Mar 3 19:20:39 172.19.0.13 neutron-server.log: resp_dict undefined
Mar 3 19:20:39 172.19.0.13 neutron-server.log: self = <quantum.plugins.contrail.ctdb.config_db.DBInterface object>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: self._vnc_lib = <vnc_api.vnc_api.VncApi object>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: self._vnc_lib.virtual_networks_list = <bound method VncApi.virtual_ne
tworks_list of <vnc_api.vnc_api.VncApi object>>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: parent_id undefined
Mar 3 19:20:39 172.19.0.13 neutron-server.log: uid = u'service'
Mar 3 19:20:39 172.19.0.13 neutron-server.log: /usr/lib64/python2.7/site-packages/vnc_api/gen/vnc_api_client_gen.py
in virtual_networks_list(self=<vnc_api.vnc_api.VncApi object>, parent_id=u'service', parent_fq_name=None)
Mar 3 19:20:39 172.19.0.13 neutron-server.log: /usr/lib64/python2.7/site-packages/vnc_api/vnc_api.py in _request_se
rver(self=<vnc_api.vnc_api.VncApi object>, op=2, url=u'/virtual-networks', data={'parent_id': u'service'}, retry_on_e
rror=True)
Mar 3 19:20:39 172.19.0.13 neutron-server.log: <class 'cfgm_common.exceptions.HttpError'>: HTTP Status: 500 Content:
<h1>Critical error while processing request: /virtual-networks</h1>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __class__ = <class 'cfgm_common.exceptions.HttpError'>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __delattr__ = <method-wrapper '__delattr__' of HttpError object>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __dict__ = {'content': u'<h1>Critical error while processing requ
est: /virtual-networks</h1>', 'status_code': 500}
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __doc__ = None
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __format__ = <built-in method __format__ of HttpError object>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __getattribute__ = <method-wrapper '__getattribute__' of HttpErro
r object>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __getitem__ = <method-wrapper '__getitem__' of HttpError object>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __getslice__ = <method-wrapper '__getslice__' of HttpError object
>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __hash__ = <method-wrapper '__hash__' of HttpError object>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __init__ = <bound method HttpError.__init__ of HttpError()>
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __module__ = 'cfgm_common.exceptions'
Mar 3 19:20:39 172.19.0.13 neutron-server.log: __new__ = <built-in method __new__ of type object>
Mar 3 19:20:40 172.19.0.2 [2014-03-03 19:20:40.435] 597/MainThread savage.WSGI-PrivateAPI/INFO: 127.0.0.1 "GET /priv
ate/cluster-info HTTP/1.1" 200 3008
Mar 3 19:20:40 172.19.0.2 [2014-03-03 19:20:40.443] 597/MainThread savage.WSGI-PrivateAPI/INFO: 127.0.0.1 "GET /priv
ate/cluster-info HTTP/1.1" 200 3008
Mar 3 19:20:40 172.19.0.13 keystone: wsgi DEBUG (4027) accepted ('172.19.0.13', 49065)
Mar 3 19:20:40 172.19.0.13 keystone: rules DEBUG enforce admin_required: {'tenant_id': u'197bcce6e531421f8e11325b711
4924f', 'user_id': u'7a5ab59b63b84bbebcdcb7434dc4f57a', u'roles': [u'_member_', u'Admin', u'ProjectAdmin']}
Mar 3 19:20:40 172.19.0.13 keystone: core INFO 172.19.0.13 - - [03/Mar/2014:19:20:40 +0000] "GET http://172.19.2.3:3
5357/v2.0/tenants HTTP/1.0" 200 256
Mar 3 19:20:40 172.19.0.13 pound: 172.19.2.3:35357 172.19.2.4 - - [03/Mar/2014:19:20:40 +0000] "GET /v2.0/tenants HT
TP/1.1" 200 256 "" "python-keystoneclient"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment