sgapp is not working properly

Bug #1669959 reported by Li Ma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
Fix Released
Low
Lihi Wishnitzer

Bug Description

2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher [-] Dragonflow application 'SGApp' failed in add_security_group_rule
2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher Traceback (most recent call last):
2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher File "/opt/stack/new/dragonflow/dragonflow/controller/dispatcher.py", line 46, in dispatch
2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher handler(*args, **kwargs)
2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher File "/opt/stack/new/dragonflow/dragonflow/controller/sg_app.py", line 1029, in add_security_group_rule
2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher self._install_security_group_rule_flows(secgroup_id, secgroup_rule)
2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher File "/opt/stack/new/dragonflow/dragonflow/controller/sg_app.py", line 569, in _install_security_group_rule_flows
2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher secgroup_id)
2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher File "/opt/stack/new/dragonflow/dragonflow/controller/sg_app.py", line 751, in _get_secgroup_conj_id_and_priority
2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher return sg_unique_key, (SG_PRIORITY_OFFSET + sg_unique_key)
2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
2017-03-03 07:14:19.539 24135 ERROR dragonflow.controller.dispatcher
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent [-] Exception occurred whenhandling db comparison: unsupported operand type(s) for +: 'int' and 'NoneType'
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent Traceback (most recent call last):
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent File "/opt/stack/new/dragonflow/dragonflow/db/db_consistent.py", line 96, in _process_db_tables_comparison
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent self.handle_data_comparison(topics, table, direct)
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent File "/opt/stack/new/dragonflow/dragonflow/db/db_consistent.py", line 232, in handle_data_comparison
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent self._get_and_compare_df_and_local_data(table, direct, topic)
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent File "/opt/stack/new/dragonflow/dragonflow/db/db_consistent.py", line 228, in _get_and_compare_df_and_local_data
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent table, df_objects, local_objects, direct)
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent File "/opt/stack/new/dragonflow/dragonflow/db/db_consistent.py", line 213, in _compare_df_and_local_data
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent 'create', df_object)
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent File "/opt/stack/new/dragonflow/dragonflow/db/db_consistent.py", line 127, in _verify_object
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent self.controller.update(df_object)
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent File "/opt/stack/new/dragonflow/dragonflow/controller/df_local_controller.py", line 629, in update
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent return handler(obj)
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent File "/opt/stack/new/dragonflow/dragonflow/controller/df_local_controller.py", line 403, in update_secgroup
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent self._add_new_security_group(secgroup)
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent File "/opt/stack/new/dragonflow/dragonflow/controller/df_local_controller.py", line 484, in _add_new_security_group
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent self._add_new_security_group_rule(secgroup, new_rule)
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent File "/opt/stack/new/dragonflow/dragonflow/controller/df_local_controller.py", line 495, in _add_new_security_group_rule
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent secgroup, secgroup_rule)
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent File "/opt/stack/new/dragonflow/dragonflow/controller/ryu_base_app.py", line 119, in notify_add_security_group_rule
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent secgroup_rule=secgroup_rule)
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent File "/opt/stack/new/dragonflow/dragonflow/controller/dispatcher.py", line 55, in dispatch
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent raise exceptions.DFMultipleExceptions(errors)
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent DFMultipleExceptions: unsupported operand type(s) for +: 'int' and 'NoneType'
2017-03-03 07:14:19.540 24135 ERROR dragonflow.db.db_consistent

This log error is flooding in some fullstack environment.

Li Ma (nick-ma-z)
Changed in dragonflow:
importance: Undecided → Critical
Li Ma (nick-ma-z)
Changed in dragonflow:
importance: Critical → Low
description: updated
Changed in dragonflow:
importance: Low → Undecided
Omer Anson (omer-anson)
Changed in dragonflow:
assignee: nobody → Lihi Wishnitzer (lihiwish)
Revision history for this message
Omer Anson (omer-anson) wrote :

No longer reproduces. Closing as fixed.

Changed in dragonflow:
importance: Undecided → Low
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.