Bug 1474905
| Summary: | stonith: dynamic enabling/disabling of stonith resources by rule-constraints | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | John Ruemker <jruemker> |
| Component: | pacemaker | Assignee: | Klaus Wenninger <kwenning> |
| Status: | CLOSED WONTFIX | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | cluster-maint, kgaillot, mnovacek |
| Target Milestone: | pre-dev-freeze | Keywords: | FutureFeature |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-12-01 07:29:19 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
John Ruemker
2017-07-25 15:28:59 UTC
Copying relevant part from Klaus of Comment #40 from 1444020 discussing this: ~~~ location-rules for fencing-resources may not contain anything dynamic like attributes as they are just evaluated once upon startup and when they are altered but not if e.g. an attribute changes. This being unchanged requires location-rules (or pcs stonith enable/disable) to be altered dynamically based on heuristics results by a script. This could be a resource with location-constraints using the pingd-attribute. RA would then enable/disable the fencing resource. This would just work of course with a small totem-timeout as starting/stopping the resource wouldn't be done once the DC-election is over (at least on the side that isn't DC prior to split). If hacked into /usr/lib/ocf/resource.d/pacemaker/ping (additional attribute giving a fencing-resource to enable/disable based on a threshold of the node-attribute otherwise updated) the high totem-timeout shouldn't be that crucial as the monitor should be driven autonomously by lrmd. Of course a cleaner alternative that doesn't require an additional script/resource would be to somehow enable dynamic location-constraints for fencing-resources. This could either be full support for rules as with other resources than fencing. (Quite complex either pulling pengine into stonithd or having additional syncing between stonithd & pengine - with all drawbacks of lags, non-local communication, ...) Or some light-weight implementation of a subset like e.g. the possibility to list a node-attribute in the in the fencing-resource-config stonithd will then monitor. Don't know which implications this finally has implementation-wise but at least no communication between nodes is needed and no additional pengine-runs inside stonithd. ~~~ Due to capacity constraints, this is unlikely to be addressed in the 7.5 timeframe. The approach in Bug 1476401 is more likely After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |