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.8   
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