config-openstack: track a project when synced to contrail via read by id

Bug #1427647 reported by Hampapur Ajay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Undecided
Hampapur Ajay

Bug Description

There was a latent bug for short-lived projects that was exposed when resync interval to keystone was increased from default 2s to 60s. Sequence is

1. project is added to keystone
2. before resync thread in vnc_openstack finds it during poll, a read by project-id is done via contrail-api syncing it in (housekeeping was missed to add to _vnc_project_ids)
3. before resync thread in vnc_openstack finds it during poll, project is deleted via keystone
4. on next poll there is no diff found since housekeeping was missed and resync thread doesnt know to delete project from contrail

Hampapur Ajay (hajay)
Changed in juniperopenstack:
assignee: nobody → Hampapur Ajay (hajay)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

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

commit b9da22f59bb34c7b41967d5fe74696b972a62170
Author: Hampapur Ajay <email address hidden>
Date: Tue Mar 3 03:50:42 2015 -0800

config-openstack: track a project that is syncd by read from ks to contrail

Without tracking it in _vnc_project_ids it is missed for short-lived projects

Closes-Bug: #1427647

Change-Id: I672d2579f8321e92f9992e9f5463dc550e2cb05c

Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/7994
Committed: http://github.org/Juniper/contrail-controller/commit/07b0c1461565fed763409926b3abbd8c6cca5343
Submitter: Zuul
Branch: R2.0

commit 07b0c1461565fed763409926b3abbd8c6cca5343
Author: Hampapur Ajay <email address hidden>
Date: Tue Mar 3 03:50:42 2015 -0800

config-openstack: track a project that is syncd by read from ks to contrail

Without tracking it in _vnc_project_ids it is missed for short-lived projects

Closes-Bug: #1427647

Change-Id: I672d2579f8321e92f9992e9f5463dc550e2cb05c
(cherry picked from commit b9da22f59bb34c7b41967d5fe74696b972a62170)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/7993
Committed: http://github.org/Juniper/contrail-controller/commit/6766eefe91293238d0ab77d985d874d7c476b497
Submitter: Zuul
Branch: R2.1

commit 6766eefe91293238d0ab77d985d874d7c476b497
Author: Hampapur Ajay <email address hidden>
Date: Tue Mar 3 03:50:42 2015 -0800

config-openstack: track a project that is syncd by read from ks to contrail

Without tracking it in _vnc_project_ids it is missed for short-lived projects

Closes-Bug: #1427647

Change-Id: I672d2579f8321e92f9992e9f5463dc550e2cb05c
(cherry picked from commit b9da22f59bb34c7b41967d5fe74696b972a62170)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/8006
Committed: http://github.org/Juniper/contrail-controller/commit/3329c2871c70297518526349e862c30503e67091
Submitter: Zuul
Branch: R1.10

commit 3329c2871c70297518526349e862c30503e67091
Author: Hampapur Ajay <email address hidden>
Date: Tue Mar 3 03:50:42 2015 -0800

config-openstack: track a project that is syncd by read from ks to contrail

Without tracking it in _vnc_project_ids it is missed for short-lived projects

Closes-Bug: #1427647

Change-Id: I672d2579f8321e92f9992e9f5463dc550e2cb05c
(cherry picked from commit b9da22f59bb34c7b41967d5fe74696b972a62170)

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.