No handling of inexistant resources in svc subscribe callback

Bug #1576627 reported by eon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.21.x
Fix Committed
Undecided
Unassigned
R3.0
New
Undecided
Rudra Rugge
Trunk
Fix Committed
Undecided
Unassigned
OpenContrail
New
Undecided
Unassigned

Bug Description

Under high load the SVC will process resource updates a little while after they have been effectively done on the API.

If on the API side a resource is updated then deleted the svc will get the update action and try to locate the resource which does not exists anymore and a traceback is generated.

It should properly handle NoIdError exceptions.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/19728
Submitter: Jean-Philippe Braun (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/19733
Submitter: Jean-Philippe Braun (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/19728
Submitter: Jean-Philippe Braun (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/19733
Submitter: Jean-Philippe Braun (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/19728
Committed: http://github.org/Juniper/contrail-controller/commit/d1d08f7fbc71d81ee750abe77d00696877051f9f
Submitter: Zuul
Branch: master

commit d1d08f7fbc71d81ee750abe77d00696877051f9f
Author: Jean-Philippe Braun <email address hidden>
Date: Fri Apr 29 12:27:56 2016 +0200

Handle NoIdError in vnc_subscribe callback

Under load SVC can receive notifications for resources
that don't exist anymore.

Handle this case and report it as a warning and not as an
error.

Change-Id: Ia37f7612667c7b6b37211ca78fe3d2917a8f7e7e
Closes-Bug: #1576627

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.21.x

Review in progress for https://review.opencontrail.org/19733
Submitter: Jean-Philippe Braun (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/19733
Committed: http://github.org/Juniper/contrail-controller/commit/d3d0b09096bb97195839566a6f939e6d0c374b74
Submitter: Zuul
Branch: R2.21.x

commit d3d0b09096bb97195839566a6f939e6d0c374b74
Author: Jean-Philippe Braun <email address hidden>
Date: Fri Apr 29 12:48:22 2016 +0200

Handle NoIdError in vnc_subscribe callback

Under load SVC can receive notifications for resources
that don't exist anymore.

Change-Id: I6c47286e421fe932702abbbddd0b7a4a6bcc1794
Closes-Bug: #1576627

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.