Adding updates to quark-agent to fix race condition
These updates to redis_base allow quark-agent to check for a potential
race condition that can occur from the time quark-agent acknowledges a
security group rule set needs to be updated and when it acknowledges
that rule set has actually been applied. quark-agent will now store
security group rules before and after it has executed scripts on the
hypervisor. If the rule sets do not match, that means an update has
occurred while the hypervisor scripts were executing. quark-agent will
not ack those changes and allows the next cycle to pick them up.
Reviewed: https:/ /review. openstack. org/498973 /git.openstack. org/cgit/ openstack/ quark/commit/ ?id=500817ab958 75b08360f6a4fac bd452271797078
Committed: https:/
Submitter: Jenkins
Branch: master
commit 500817ab95875b0 8360f6a4facbd45 2271797078
Author: Kyle Haley <email address hidden>
Date: Thu Aug 3 11:30:32 2017 -0700
Adding updates to quark-agent to fix race condition
These updates to redis_base allow quark-agent to check for a potential
race condition that can occur from the time quark-agent acknowledges a
security group rule set needs to be updated and when it acknowledges
that rule set has actually been applied. quark-agent will now store
security group rules before and after it has executed scripts on the
hypervisor. If the rule sets do not match, that means an update has
occurred while the hypervisor scripts were executing. quark-agent will
not ack those changes and allows the next cycle to pick them up.
Change-Id: Ieae13f7b22b8e4 63cba2ccce82fb9 4699838926a
Closes-Bug: 1713860