360 msg = "Failure in dbe_delete_notification: " + str(e)
r_class = <class 'vnc_cfg_api_server.vnc_cfg_types.ProjectServer'>
r_class.dbe_delete_notification = <bound method __metaclass__.dbe_delete_notificat...vnc_cfg_api_server.vnc_cfg_types.ProjectServer'>>
obj_uuid = u'43d7425b-4f67-4647-aed1-054d308f3c20'
obj_dict = {u'application_policy_set_refs': [{u'attr': None, u'to': [u'default-domain', u'tempest-QuotasNegativeTest-371688725', u'default-application-policy-set'], u'uuid': u'c6382fcf-0a06-4ffd-a98e-1783945e44da'}], u'application_policy_sets': [{u'to': [u'default-domain', u'tempest-QuotasNegativeTest-371688725', u'default-application-policy-set'], u'uuid': u'c6382fcf-0a06-4ffd-a98e-1783945e44da'}], u'display_name': u'tempest-QuotasNegativeTest-371688725', u'fq_name': [u'default-domain', u'tempest-QuotasNegativeTest-371688725'], u'id_perms': {u'created': u'2018-05-08T10:50:09.019463', u'creator': None, u'description': None, u'enable': True, u'last_modified': u'2018-05-08T10:50:35.647713', u'permissions': {u'group': u'cloud-admin-group', u'group_access': 7, u'other_access': 7, u'owner': u'cloud-admin', u'owner_access': 7}, u'user_visible': True, u'uuid': {u'uuid_lslong': 12596855461817302048L, u'uuid_mslong': 4888448880475588167}}, u'parent_type': u'domain', u'parent_uuid': u'1657bb47-39de-46dd-bb07-3bc61911008d', u'perms2': {u'global_access': 0, u'owner': u'43d7425b4f674647aed1054d308f3c20', u'owner_access': 7, u'share': []}, u'quota': {u'access_control_list': None, u'bgp_router': None, u'defaults': None, u'floating_ip': None, u'floating_ip_pool': None, u'global_vrouter_config': None, u'instance_ip': None, u'loadbalancer_healthmonitor': None, u'loadbalancer_member': None, u'loadbalancer_pool': None, ...}, u'uuid': u'43d7425b-4f67-4647-aed1-054d308f3c20'}
/usr/lib/python2.7/site-packages/vnc_cfg_api_server/vnc_cfg_types.py in dbe_delete_notification(cls=<class 'vnc_cfg_api_server.vnc_cfg_types.ProjectServer'>, obj_ids=u'43d7425b-4f67-4647-aed1-054d308f3c20', obj_dict={u'application_policy_set_refs': [{u'attr': None, u'to': [u'default-domain', u'tempest-QuotasNegativeTest-371688725', u'default-application-policy-set'], u'uuid': u'c6382fcf-0a06-4ffd-a98e-1783945e44da'}], u'application_policy_sets': [{u'to': [u'default-domain', u'tempest-QuotasNegativeTest-371688725', u'default-application-policy-set'], u'uuid': u'c6382fcf-0a06-4ffd-a98e-1783945e44da'}], u'display_name': u'tempest-QuotasNegativeTest-371688725', u'fq_name': [u'default-domain', u'tempest-QuotasNegativeTest-371688725'], u'id_perms': {u'created': u'2018-05-08T10:50:09.019463', u'creator': None, u'description': None, u'enable': True, u'last_modified': u'2018-05-08T10:50:35.647713', u'permissions': {u'group': u'cloud-admin-group', u'group_access': 7, u'other_access': 7, u'owner': u'cloud-admin', u'owner_access': 7}, u'user_visible': True, u'uuid': {u'uuid_lslong': 12596855461817302048L, u'uuid_mslong': 4888448880475588167}}, u'parent_type': u'domain', u'parent_uuid': u'1657bb47-39de-46dd-bb07-3bc61911008d', u'perms2': {u'global_access': 0, u'owner': u'43d7425b4f674647aed1054d308f3c20', u'owner_access': 7, u'share': []}, u'quota': {u'access_control_list': None, u'bgp_router': None, u'defaults': None, u'floating_ip': None, u'floating_ip_pool': None, u'global_vrouter_config': None, u'instance_ip': None, u'loadbalancer_healthmonitor': None, u'loadbalancer_member': None, u'loadbalancer_pool': None, ...}, u'uuid': u'43d7425b-4f67-4647-aed1-054d308f3c20'})
5025 quota_counter = cls.server.quota_counter
5026 for obj_type in obj_dict.get('quota', {}).keys():
5027 path_prefix = _DEFAULT_ZK_COUNTER_PATH_PREFIX + obj_ids['uuid']
5028 path = path_prefix + "/" + obj_type
5029 if quota_counter.get(path):
path_prefix undefined
global _DEFAULT_ZK_COUNTER_PATH_PREFIX = '/vnc_api_server_obj_create/'
obj_ids = u'43d7425b-4f67-4647-aed1-054d308f3c20'
<type 'exceptions.TypeError'>: string indices must be integers
__class__ = <type 'exceptions.TypeError'>
__delattr__ = <method-wrapper '__delattr__' of exceptions.TypeError object>
__dict__ = {}
__doc__ = 'Inappropriate argument type.'
__format__ = <built-in method __format__ of exceptions.TypeError object>
__getattribute__ = <method-wrapper '__getattribute__' of exceptions.TypeError object>
__getitem__ = <method-wrapper '__getitem__' of exceptions.TypeError object>
__getslice__ = <method-wrapper '__getslice__' of exceptions.TypeError object>
__hash__ = <method-wrapper '__hash__' of exceptions.TypeError object>
__init__ = <method-wrapper '__init__' of exceptions.TypeError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of exceptions.TypeError object>
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.TypeError object>
__repr__ = <method-wrapper '__repr__' of exceptions.TypeError object>
__setattr__ = <method-wrapper '__setattr__' of exceptions.TypeError object>
__setstate__ = <built-in method __setstate__ of exceptions.TypeError object>
__sizeof__ = <built-in method __sizeof__ of exceptions.TypeError object>
__str__ = <method-wrapper '__str__' of exceptions.TypeError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__unicode__ = <built-in method __unicode__ of exceptions.TypeError object>
args = ('string indices must be integers',)
message = 'string indices must be integers'
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/site-packages/vnc_cfg_api_server/vnc_db.py", line 287, in _dbe_subscribe_callback
self._dbe_delete_notification(oper_info)
File "/usr/lib/python2.7/site-packages/vnc_cfg_api_server/vnc_db.py", line 358, in _dbe_delete_notification
r_class.dbe_delete_notification(obj_uuid, obj_dict)
File "/usr/lib/python2.7/site-packages/vnc_cfg_api_server/vnc_cfg_types.py", line 5027, in dbe_delete_notification
path_prefix = _DEFAULT_ZK_COUNTER_PATH_PREFIX + obj_ids['uuid']
TypeError: string indices must be integers
Review in progress for https:/ /review. opencontrail. org/44175
Submitter: Édouard Thuleau (<email address hidden>)