Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2112291

Summary: pcs rebase bz for 8.8
Product: Red Hat Enterprise Linux 8 Reporter: Tomas Jelinek <tojeline>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: high Docs Contact:
Priority: high    
Version: 8.8CC: cluster-maint, idevat, mlisik, mmazoure, mpospisi, nhostako, omular, tojeline
Target Milestone: rcKeywords: Triaged
Target Release: 8.8Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcs-0.10.15-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 08:12:42 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 2022-07-29 09:19:43 UTC
pcs rebase bz for 8.8

Comment 1 Miroslav Lisik 2022-10-26 07:36:55 UTC
Preliminary changelog:

### Security
- CVE-2022-2735 pcs: obtaining an authentication token for hacluster user could
  lead to privilege escalation ([rhbz#2116838])

### Added
- Support for resource/stonith agent self-validation of instance attributes via
  pacemaker ([rhbz#1816852])

### Fixed
- `pcs resource manage --monitor` no longer enables monitor operation for all
  resources in a group if only one of the resources was requested to become
  managed ([rhbz#1918527])
- Misleading error message from `pcs booth sync` when booth config directory
  (`/etc/booth`) is missing ([rhbz#1791670])
- `pcs quorum device remove` works again (broken since 0.10.13) ([rhbz#2115326])
- SBD enable from webui works again ([rhbz#2117650])

##### Bug 1816852 - [RFE] 'pcs (resource|stonith) (create|update)' commands fail to call the respective agents 'validate-all' action

[root@r88-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 14:01:03 ERROR: Unable to find nic or netmask.
  ocf-exit-reason:[findif] failed
Error: Errors have occurred, therefore pcs is unable to continue
[root@r88-1 ~]# echo $?
1

Comment 5 Michal Pospisil 2022-11-24 16:52:56 UTC
Changes in 0.10.15:

### Security
- CVE-2022-2735 pcs: obtaining an authentication token for hacluster user could
  lead to privilege escalation ([rhbz#2116838])

### Added
- Support for resource/stonith agent self-validation of instance attributes via
  pacemaker ([rhbz#1816852])
- Support for booth 'enable-authfile' fix ([rhbz#2132582])

### Fixed
- `pcs resource manage --monitor` no longer enables monitor operation for all
  resources in a group if only one of the resources was requested to become
  managed ([rhbz#1918527])
- Misleading error message from `pcs booth sync` when booth config directory
  (`/etc/booth`) is missing ([rhbz#1791670])
- `pcs quorum device remove` works again (broken since 0.10.13) ([rhbz#2115326])
- SBD enable from webui works again ([rhbz#2117650])
- Improved cluster properties validators, OCF 1.1 now supported ([rhbz#2112002])
- `pcs property set/unset` forbid manipulation of specific cluster properties
  ([rhbz#2112263])

Comment 6 Michal Mazourek 2023-02-27 16:22:22 UTC
Rebase bz, switching to Verified for pcs-0.10.15-4.el8, regression test suite has been run and examined.

Comment 9 errata-xmlrpc 2023-05-16 08:12:42 UTC
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