Bug 2159455
Summary: | Do not call agents 'validate-all' action in 'pcs (resource|stonith) (create|update)' commands by default | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Tomas Jelinek <tojeline> |
Component: | pcs | Assignee: | Ondrej Mular <omular> |
Status: | CLOSED ERRATA | QA Contact: | cluster-qe <cluster-qe> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 8.8 | CC: | cluster-maint, cluster-qe, idevat, mlisik, mmazoure, mpospisi, nhostako, omular, sbradley, tojeline |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 8.8 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pcs-0.10.15-3.el8 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | 2159454 | Environment: | |
Last Closed: | 2023-05-16 08:12:43 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: | |||
Bug Depends On: | 1816852, 2159454 | ||
Bug Blocks: |
Description
Tomas Jelinek
2023-01-09 16:18:35 UTC
Upstream patch: https://github.com/ClusterLabs/pcs/commit/4e22f7b1070c37ab25c8da015c00926023bde52e Test: [root@rhel88-node1 pcs]# pcs resource create test_resource apache --agent-validation Assumed agent name 'ocf:heartbeat:apache' (deduced from 'apache') Error: Validation result from agent (use --force to override): ocf-exit-reason:apache httpd program not found ocf-exit-reason:environment is invalid, resource considered stopped Error: Errors have occurred, therefore pcs is unable to continue [root@rhel88-node1 pcs]# echo $? 1 [root@rhel88-node1 pcs]# pcs resource create test_resource apache Assumed agent name 'ocf:heartbeat:apache' (deduced from 'apache') [root@rhel88-node1 pcs]# echo $? 0 DevTestResults: [root@r08-08-a pcs]# pcs resource create test_resource apache --agent-validation Assumed agent name 'ocf:heartbeat:apache' (deduced from 'apache') Error: Validation result from agent (use --force to override): ocf-exit-reason:apache httpd program not found ocf-exit-reason:environment is invalid, resource considered stopped Error: Errors have occurred, therefore pcs is unable to continue [root@r08-08-a pcs]# echo $? 1 [root@r08-08-a pcs]# pcs resource create test_resource apache Assumed agent name 'ocf:heartbeat:apache' (deduced from 'apache') [root@r08-08-a pcs]# echo $? 0 The same test as in bz2159454 comment 8 was used to verify this bz. Marking as VERIFIED in pcs-0.10.15-3.el8. 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:2738 |