Concurrent requests to allow access get lost
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
High
|
Tiago Pasqualini da Silva |
Bug Description
With the new update-access interface, concurrent requests to allow access might get lost when the driver takes a long time to process the new rules.
Consider the following scenario:
1) user allows access to ip 10.0.0.1.
2) while driver is still processing the rules, user allows access to ip 10.0.0.2.
3) access-rules-status is out of sync, so api will throw an error.
4) the driver will complete processing the 10.0.0.1 rule and manila will change access-rules status to active, completely ignoring the 10.0.0.2 rule.
Another scenario with 2 instances:
1) user allows access to ip 10.0.0.1.
2) Manila is applying the rules to two instances, one is completed, but the other is not.
3) user sends request to allow access to 10.0.0.2.
4) while looping between instances, it will send the request to the first instance which has active status, but throw an exception for the second instance with out_of_sync status.
description: | updated |
Changed in manila: | |
importance: | Undecided → High |
milestone: | none → mitaka-3 |
Changed in manila: | |
assignee: | nobody → Tiago Pasqualini da Silva (tiago.pasqualini) |
Changed in manila: | |
milestone: | mitaka-3 → mitaka-rc1 |
Fix proposed to branch: master /review. openstack. org/287758
Review: https:/