config-openstack: track a project when synced to contrail via read by id
Bug #1427647 reported by
Hampapur Ajay
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
Changed in juniperopenstack: | |
assignee: | nobody → Hampapur Ajay (hajay) |
To post a comment you must log in.
Reviewed: https:/ /review. opencontrail. org/7992 github. org/Juniper/ contrail- controller/ commit/ b9da22f59bb34c7 b41967d5fe74696 b972a62170
Committed: http://
Submitter: Zuul
Branch: master
commit b9da22f59bb34c7 b41967d5fe74696 b972a62170
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: I672d2579f8321e 92f9992e9f5463d c550e2cb05c