[RFE] Add support for DLM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Expired
|
Wishlist
|
Unassigned |
Bug Description
Neutron has many code paths that can collide and be raceful which each other. Current ongoing work can mitigate and minimize these races but work is slow and it's very hard to fight against what you don't know (ie. there can always be more races you're not aware of). A DLM (Distributed Lock Mechanism) such as tooz [1] can help mitigate this greatly.
An excellent example of this racefulness in Neutron is the L3's auto_schedule_
Using tooz [1] allows for a distributed lock, which crosses all the API/RPC workers on a single server and even crosses multiple neutron-servers. Also, this will help mitigate all sort of races with different resources (a lock can be associated with a uuid so it won't matter if the uuid is a router_id, network_id....)
Changed in neutron: | |
importance: | Undecided → Wishlist |
Changed in neutron: | |
assignee: | John Schwarz (jschwarz) → nobody |
Changed in neutron: | |
status: | Triaged → Incomplete |
I believe there was a decision lately in the community that we introduce DLM as a component for OpenStack reference architecture using tooz If that's the case, there is no drawback in making neutron depending on it since a DLM is supposed to be there.
https:/ /specs. openstack. org/openstack/ openstack- specs/specs/ chronicles- of-a-dlm. html /lwn.net/ Articles/ 662140/
https:/