Bug 1493416
Summary: | Allow only OCF resources to be promotable or globally-unique clones | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Tomas Jelinek <tojeline> | |
Component: | pcs | Assignee: | Ondrej Mular <omular> | |
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 9.0 | CC: | cluster-maint, idevat, mlisik, mmazoure, mpospisi, nhostako, omular, tojeline | |
Target Milestone: | rc | Keywords: | Reopened, Triaged | |
Target Release: | 9.2 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | pcs-0.11.3-5.el9 | Doc Type: | Bug Fix | |
Doc Text: |
Cause: User tries to create a globally-unique or promotable clone from resource which is using non-ocf resource agent
Consequence: This crated an invalid configuration for pacemaker and the resource will also disappear from output of `pcs status` command.
Fix: Restrict creating globally-unique and promotable clones to resources using ocf resource agents.
Result: User is now unable to create globally-unique and promotable clones from resources using an unsupported agents.
|
Story Points: | --- | |
Clone Of: | ||||
: | 2112260 (view as bug list) | Environment: | ||
Last Closed: | 2023-05-09 07:18:23 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
Tomas Jelinek
2017-09-20 07:18:45 UTC
This has been reported upstream: http://lists.clusterlabs.org/pipermail/users/2017-September/006494.html 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. 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. Upstream patch: https://github.com/ClusterLabs/pcs/commit/3ca619c5864d290a853979f57fc8227e8e6cbf03 Test: [root@rhel92-devel1 pcs]# pcs resource create test_resource systemd:chronyd promotable Error: Clone option 'promotable' is not compatible with 'systemd:chronyd' resource agent Error: Errors have occurred, therefore pcs is unable to continue [root@rhel92-devel1 pcs]# echo $? 1 DevTestResults: [root@r92-1 ~]# rpm -q pcs pcs-0.11.3-5.el9.x86_64 [root@r92-1 ~]# pcs resource create test_resource systemd:chronyd promotable Error: Clone option 'promotable' is not compatible with 'systemd:chronyd' resource agent Error: Errors have occurred, therefore pcs is unable to continue [root@r92-1 ~]# echo $? 1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (pcs bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2151 |