Bug 1409237
| Summary: | Would it be possible to use Ceph exclusive locks instead of Kubernetes' fencing? | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Miheer Salunke <misalunk> |
| Component: | Storage | Assignee: | hchen |
| Status: | CLOSED DUPLICATE | QA Contact: | Jianwei Hou <jhou> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.1.0 | CC: | aos-bugs, hchen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-01 15:44:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Miheer Salunke
2016-12-30 15:02:10 UTC
There is actually an upstream kubernetes ticket [1] re: this subject. The answer is, yes, you can use the RBD exclusive lock feature assuming kubernetes failover is guaranteed to STONITH the other node before attempting to migrate the services. The rationale is that currently, the exclusive lock feature is cooperative -- which means the lock can transparently transition back and forth between RBD clients. If the original lock owner is dead (via STONITH or other proceedure), there is no worry about this lock ping-pong. [1] https://github.com/kubernetes/kubernetes/issues/33013 We actually have an upstream PR to fix this issue, it missed kubernetes 1.5. https://github.com/kubernetes/kubernetes/pull/33660 *** This bug has been marked as a duplicate of bug 1365867 *** |