May 18 19:39:51.678170 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb [-] 'NoneType' object has no attribute 'emit_deleted'
May 18 19:39:51.678589 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb Traceback (most recent call last):
May 18 19:39:51.678922 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb File "/opt/stack/new/dragonflow/dragonflow/db/api_nb.py", line 250, in _read_db_changes_from_queue
May 18 19:39:51.679213 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb value)
May 18 19:39:51.679519 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb File "/opt/stack/new/dragonflow/dragonflow/db/api_nb.py", line 282, in apply_db_change
May 18 19:39:51.679792 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb self.controller.delete_by_id(model_class, key)
May 18 19:39:51.680085 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb File "/opt/stack/new/dragonflow/dragonflow/controller/df_local_controller.py", line 591, in delete_by_id
May 18 19:39:51.680342 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb return handler(model(id=obj_id))
May 18 19:39:51.680595 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb File "/opt/stack/new/dragonflow/dragonflow/controller/df_local_controller.py", line 545, in delete_model_object
May 18 19:39:51.680860 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb obj.emit_deleted()
May 18 19:39:51.681125 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb AttributeError: 'NoneType' object has no attribute 'emit_deleted'
May 18 19:39:51.681409 ubuntu-xenial-ovh-gra1-8884370 df-local-controller[22868]: ERROR dragonflow.db.api_nb
May 18 19:39:51.674157 ubuntu- xenial- ovh-gra1- 8884370 df-local- controller[ 22868]: DEBUG dragonflow. db.api_ nb [-] Pushing Update to Queue: Action:delete, Table:lrouter, Key:2770eb89- d914-4696- a789-162bd0e2da 57 Value:2770eb89- d914-4696- a789-162bd0e2da 57 Topic:D {{(pid=22868) db_change_callback /opt/stack/ new/dragonflow/ dragonflow/ db/api_ nb.py:228} } xenial- ovh-gra1- 8884370 df-local- controller[ 22868]: DEBUG dragonflow. db.api_ nb [-] Event update: Action:delete, Table:lrouter, Key:2770eb89- d914-4696- a789-162bd0e2da 57 Value:2770eb89- d914-4696- a789-162bd0e2da 57 Topic:D {{(pid=22868) _read_db_ changes_ from_queue /opt/stack/ new/dragonflow/ dragonflow/ db/api_ nb.py:237} } xenial- ovh-gra1- 8884370 df-local- controller[ 22868]: DEBUG dragonflow. db.model_ framework [-] router_deleted from dragonflow. controller. l3_app_ base gets deleted event of LogicalRouter( id=u'2770eb89- d914-4696- a789-162bd0e2da 57', name=u'myrouter1', ports=[], routes=[], topic=u' 82a854baf9df41b b817b88b67ec69e e2', unique_key=18, version=6). {{(pid=22868) _emit /opt/stack/ new/dragonflow/ dragonflow/ db/model_ framework. py:107} } xenial- ovh-gra1- 8884370 df-local- controller[ 22868]: DEBUG dragonflow. db.api_ nb [-] Pushing Update to Queue: Action:delete, Table:lrouter, Key:2770eb89- d914-4696- a789-162bd0e2da 57 Value:2770eb89- d914-4696- a789-162bd0e2da 57 Topic:D {{(pid=22868) db_change_callback /opt/stack/ new/dragonflow/ dragonflow/ db/api_ nb.py:228} } xenial- ovh-gra1- 8884370 df-local- controller[ 22868]: DEBUG dragonflow. db.api_ nb [-] Event update: Action:delete, Table:lrouter, Key:2770eb89- d914-4696- a789-162bd0e2da 57 Value:2770eb89- d914-4696- a789-162bd0e2da 57 Topic:D {{(pid=22868) _read_db_ changes_ from_queue /opt/stack/ new/dragonflow/ dragonflow/ db/api_ nb.py:237} }
May 18 19:39:51.674634 ubuntu-
May 18 19:39:51.675958 ubuntu-
May 18 19:39:51.676869 ubuntu-
May 18 19:39:51.677186 ubuntu-
The router is deleted twice that causes object is not found.