Bug 2112270
Summary: | [RFE] 'pcs (resource|stonith) (create|update)' commands fail to call the respective agents 'validate-all' action | ||
---|---|---|---|
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: | high | Docs Contact: | Steven J. Levine <slevine> |
Priority: | high | ||
Version: | 9.0 | CC: | cfeist, cluster-maint, cluster-qe, heinzm, idevat, kgaillot, mlisik, mmazoure, mpospisi, ncroxon, omular, pasik, sbradley, slevine, tojeline |
Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
Target Release: | 9.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pcs-0.11.3-5.el9 | Doc Type: | Enhancement |
Doc Text: |
.`pcs` can now run the `validate-all` action of resource and stonith agents
When creating or updating a resource or a STONITH device, you can now specify the `--agent-validation` option. With this option, `pcs` uses an agent's `validate-all` action, when it is available, in addition to the validation done by `pcs` based on the agent's metadata.
|
Story Points: | --- |
Clone Of: | 1816852 | Environment: | |
Last Closed: | 2023-05-09 07:18:23 UTC | Type: | --- |
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: | 1553712, 1636036, 1644628, 1816852, 1955792, 2102292, 2112271, 2123727, 2127113, 2157872 | ||
Bug Blocks: | 1377970, 2159454 |
Description
Tomas Jelinek
2022-07-29 08:24:55 UTC
*** Bug 2112271 has been marked as a duplicate of this bug. *** Upstream commit: https://github.com/ClusterLabs/pcs/commit/4dbc165db6d12a13360618a74d827cd9a86e7354 Test: [root@rhel91-devel1 pcs]# pcs resource create test_ip ocf:heartbeat:IPaddr2 ip=192.168.1.5 Error: Validation result from agent (use --force to override): Oct 06 08:45:58 ERROR: Unable to find nic or netmask. ocf-exit-reason:[findif] failed Error: Errors have occurred, therefore pcs is unable to continue [root@rhel91-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_ip ocf:heartbeat:IPaddr2 ip=192.168.1.5 Error: Validation result from agent (use --force to override): Oct 25 09:53:17 ERROR: Unable to find nic or netmask. ocf-exit-reason:[findif] failed Error: Errors have occurred, therefore pcs is unable to continue [root@r92-1 ~]# echo $? 1 The same test as in bz1816852 comment 30 was used on RHEL9 system with pcs-0.11.4-1.el9 to verify this bz. Marking as VERIFIED. 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 |