Python 2.7.6: /usr/bin/python Wed Nov 30 15:30:49 2016
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py in handler_trap_exception(*args=(), **kwargs={}) 1670 (code, err_msg) = status 1671 raise cfgm_common.exceptions.HttpError(code, err_msg) 1672 response = handler(*args, **kwargs) 1673 self._generate_rest_api_response_trace(trace, response) 1674 response undefined handler = <functools.partial object> args = () kwargs = {}
/usr/lib/python2.7/dist-packages/cfgm_common/vnc_api_stats.py in wrapper(api_server_obj=<vnc_cfg_api_server.vnc_cfg_api_server.VncApiServer object>, resource_type='qos_config', *args=(), **kwargs={}) 15 statistics = VncApiStatistics( 16 obj_type=resource_type.replace('-', '_')) 17 response = func(api_server_obj, resource_type, *args, **kwargs) 18 statistics.response_size = len(str(response)) 19 statistics.response_code = bottle.response.status_code response undefined func = <function http_resource_list> api_server_obj = <vnc_cfg_api_server.vnc_cfg_api_server.VncApiServer object> resource_type = 'qos_config' args = () kwargs = {}
/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py in http_resource_list(self=<vnc_cfg_api_server.vnc_cfg_api_server.VncApiServer object>, obj_type='qos_config') 1051 parent_res_type) 1052 parent_uuids = [self._db_conn.fq_name_to_uuid(parent_type, 1053 parent_fq_name)] 1054 elif 'parent_id' in get_request().query: 1055 parent_uuids = get_request().query.parent_id.split(',') parent_fq_name = [u'default-global-system-config', u'default-global-qos-config']
/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_ifmap.py in fq_name_to_uuid(self=<vnc_cfg_api_server.vnc_cfg_ifmap.VncDbClient object>, obj_type='global-qos-config', fq_name=[u'default-global-system-config', u'default-global-qos-config']) 2094 2095 def fq_name_to_uuid(self, obj_type, fq_name): 2096 obj_uuid = self._cassandra_db.fq_name_to_uuid(obj_type, fq_name) 2097 return obj_uuid 2098 # end fq_name_to_uuid obj_uuid undefined self = <vnc_cfg_api_server.vnc_cfg_ifmap.VncDbClient object> self._cassandra_db = <vnc_cfg_api_server.vnc_cfg_ifmap.VncServerCassandraClient object> self._cassandra_db.fq_name_to_uuid = <bound method VncServerCassandraClient.fq_name_t...r.vnc_cfg_ifmap.VncServerCassandraClient object>> obj_type = 'global-qos-config' fq_name = [u'default-global-system-config', u'default-global-qos-config']
/usr/lib/python2.7/dist-packages/cfgm_common/vnc_cassandra.py in fq_name_to_uuid(self=<vnc_cfg_api_server.vnc_cfg_ifmap.VncServerCassandraClient object>, obj_type='global-qos-config', fq_name=[u'default-global-system-config', u'default-global-qos-config']) 1244 finish=fq_name_str + ';') 1245 if not col_infos: 1246 raise NoIdError('%s %s' % (obj_type, fq_name_str)) 1247 if len(col_infos) > 1: 1248 raise VncError('Multi match %s for %s' % (fq_name_str, obj_type)) global NoIdError = <class 'cfgm_common.exceptions.NoIdError'> obj_type = 'global-qos-config' fq_name_str = u'default-global-system-config:default-global-qos-config' <class 'cfgm_common.exceptions.NoIdError'>: Unknown id: global-qos-config default-global-system-config:default-global-qos-config __class__ = <class 'cfgm_common.exceptions.NoIdError'> __delattr__ = <method-wrapper '__delattr__' of NoIdError object> __dict__ = {'_unknown_id': u'global-qos-config default-global-system-config:default-global-qos-config'} __doc__ = None __format__ = <built-in method __format__ of NoIdError object> __getattribute__ = <method-wrapper '__getattribute__' of NoIdError object> __getitem__ = <method-wrapper '__getitem__' of NoIdError object> __getslice__ = <method-wrapper '__getslice__' of NoIdError object> __hash__ = <method-wrapper '__hash__' of NoIdError object> __init__ = <bound method NoIdError.__init__ of NoIdError()> __module__ = 'cfgm_common.exceptions' __new__ = <built-in method __new__ of type object> __reduce__ = <built-in method __reduce__ of NoIdError object> __reduce_ex__ = <built-in method __reduce_ex__ of NoIdError object> __repr__ = <method-wrapper '__repr__' of NoIdError object> __setattr__ = <method-wrapper '__setattr__' of NoIdError object> __setstate__ = <built-in method __setstate__ of NoIdError object> __sizeof__ = <built-in method __sizeof__ of NoIdError object> __str__ = <bound method NoIdError.__str__ of NoIdError()> __subclasshook__ = <built-in method __subclasshook__ of type object> __unicode__ = <built-in method __unicode__ of NoIdError object> __weakref__ = None _unknown_id = u'global-qos-config default-global-system-config:default-global-qos-config' args = () message = ''
The above is a description of an error in a Python program. Here is the original traceback:
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 1672, in handler_trap_exception response = handler(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_api_stats.py", line 17, in wrapper response = func(api_server_obj, resource_type, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 1053, in http_resource_list parent_fq_name)] File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_ifmap.py", line 2096, in fq_name_to_uuid obj_uuid = self._cassandra_db.fq_name_to_uuid(obj_type, fq_name) File "/usr/lib/python2.7/dist-packages/cfgm_common/vnc_cassandra.py", line 1246, in fq_name_to_uuid raise NoIdError('%s %s' % (obj_type, fq_name_str)) NoIdError: Unknown id: global-qos-config default-global-system-config:default-global-qos-config
Python 2.7.6: /usr/bin/python
Wed Nov 30 15:30:49 2016
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/usr/lib/ python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py in handler_ trap_exception( *args=( ), **kwargs={}) exceptions. HttpError( code, err_msg) rest_api_ response_ trace(trace, response)
1670 (code, err_msg) = status
1671 raise cfgm_common.
1672 response = handler(*args, **kwargs)
1673 self._generate_
1674
response undefined
handler = <functools.partial object>
args = ()
kwargs = {}
/usr/lib/ python2. 7/dist- packages/ cfgm_common/ vnc_api_ stats.py in wrapper( api_server_ obj=<vnc_ cfg_api_ server. vnc_cfg_ api_server. VncApiServer object>, resource_ type='qos_ config' , *args=(), **kwargs={}) resource_ type.replace( '-', '_')) server_ obj, resource_type, *args, **kwargs) response_ size = len(str(response)) response_ code = bottle. response. status_ code api_server. vnc_cfg_ api_server. VncApiServer object>
15 statistics = VncApiStatistics(
16 obj_type=
17 response = func(api_
18 statistics.
19 statistics.
response undefined
func = <function http_resource_list>
api_server_obj = <vnc_cfg_
resource_type = 'qos_config'
args = ()
kwargs = {}
/usr/lib/ python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py in http_resource_ list(self= <vnc_cfg_ api_server. vnc_cfg_ api_server. VncApiServer object>, obj_type= 'qos_config' ) db_conn. fq_name_ to_uuid( parent_ type, ).query: ).query. parent_ id.split( ',') global- system- config' , u'default- global- qos-config' ]
1051 parent_res_type)
1052 parent_uuids = [self._
1053 parent_fq_name)]
1054 elif 'parent_id' in get_request(
1055 parent_uuids = get_request(
parent_fq_name = [u'default-
/usr/lib/ python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ ifmap.py in fq_name_ to_uuid( self=<vnc_ cfg_api_ server. vnc_cfg_ ifmap.VncDbClie nt object>, obj_type= 'global- qos-config' , fq_name= [u'default- global- system- config' , u'default- global- qos-config' ]) to_uuid( self, obj_type, fq_name): _db.fq_ name_to_ uuid(obj_ type, fq_name) api_server. vnc_cfg_ ifmap.VncDbClie nt object> api_server. vnc_cfg_ ifmap.VncServer CassandraClient object> _db.fq_ name_to_ uuid = <bound method VncServerCassan draClient. fq_name_ t...r.vnc_ cfg_ifmap. VncServerCassan draClient object>> global- system- config' , u'default- global- qos-config' ]
2094
2095 def fq_name_
2096 obj_uuid = self._cassandra
2097 return obj_uuid
2098 # end fq_name_to_uuid
obj_uuid undefined
self = <vnc_cfg_
self._cassandra_db = <vnc_cfg_
self._cassandra
obj_type = 'global-qos-config'
fq_name = [u'default-
/usr/lib/ python2. 7/dist- packages/ cfgm_common/ vnc_cassandra. py in fq_name_ to_uuid( self=<vnc_ cfg_api_ server. vnc_cfg_ ifmap.VncServer CassandraClient object>, obj_type= 'global- qos-config' , fq_name= [u'default- global- system- config' , u'default- global- qos-config' ]) exceptions. NoIdError' > global- system- config: default- global- qos-config' exceptions. NoIdError' >: Unknown id: global-qos-config default- global- system- config: default- global- qos-config exceptions. NoIdError' > global- system- config: default- global- qos-config' } ute__ = <method-wrapper '__getattribute__' of NoIdError object> exceptions' ook__ = <built-in method __subclasshook__ of type object> global- system- config: default- global- qos-config'
1244 finish=fq_name_str + ';')
1245 if not col_infos:
1246 raise NoIdError('%s %s' % (obj_type, fq_name_str))
1247 if len(col_infos) > 1:
1248 raise VncError('Multi match %s for %s' % (fq_name_str, obj_type))
global NoIdError = <class 'cfgm_common.
obj_type = 'global-qos-config'
fq_name_str = u'default-
<class 'cfgm_common.
__class__ = <class 'cfgm_common.
__delattr__ = <method-wrapper '__delattr__' of NoIdError object>
__dict__ = {'_unknown_id': u'global-qos-config default-
__doc__ = None
__format__ = <built-in method __format__ of NoIdError object>
__getattrib
__getitem__ = <method-wrapper '__getitem__' of NoIdError object>
__getslice__ = <method-wrapper '__getslice__' of NoIdError object>
__hash__ = <method-wrapper '__hash__' of NoIdError object>
__init__ = <bound method NoIdError.__init__ of NoIdError()>
__module__ = 'cfgm_common.
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of NoIdError object>
__reduce_ex__ = <built-in method __reduce_ex__ of NoIdError object>
__repr__ = <method-wrapper '__repr__' of NoIdError object>
__setattr__ = <method-wrapper '__setattr__' of NoIdError object>
__setstate__ = <built-in method __setstate__ of NoIdError object>
__sizeof__ = <built-in method __sizeof__ of NoIdError object>
__str__ = <bound method NoIdError.__str__ of NoIdError()>
__subclassh
__unicode__ = <built-in method __unicode__ of NoIdError object>
__weakref__ = None
_unknown_id = u'global-qos-config default-
args = ()
message = ''
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last): python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py", line 1672, in handler_ trap_exception python2. 7/dist- packages/ cfgm_common/ vnc_api_ stats.py" , line 17, in wrapper server_ obj, resource_type, *args, **kwargs) python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ api_server. py", line 1053, in http_resource_list fq_name) ] python2. 7/dist- packages/ vnc_cfg_ api_server/ vnc_cfg_ ifmap.py" , line 2096, in fq_name_to_uuid _db.fq_ name_to_ uuid(obj_ type, fq_name) python2. 7/dist- packages/ cfgm_common/ vnc_cassandra. py", line 1246, in fq_name_to_uuid global- system- config: default- global- qos-config
File "/usr/lib/
response = handler(*args, **kwargs)
File "/usr/lib/
response = func(api_
File "/usr/lib/
parent_
File "/usr/lib/
obj_uuid = self._cassandra
File "/usr/lib/
raise NoIdError('%s %s' % (obj_type, fq_name_str))
NoIdError: Unknown id: global-qos-config default-