Bug 2023752

Summary: nginx resource can't be created
Product: Red Hat Enterprise Linux 9 Reporter: Michal Mazourek <mmazoure>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 9.0CC: cluster-maint, cluster-qe, idevat, kmalyjur, mlisik, mpospisi, nwahl, omular, sbradley, tojeline
Target Milestone: rcKeywords: Regression, Triaged
Target Release: 9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcs-0.11.1-5.el9 Doc Type: No Doc Update
Doc Text:
The bugged packages were never released, therefore no doc text is needed.
Story Points: ---
Clone Of: 1998454 Environment:
Last Closed: 2022-05-17 12:19:34 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: 1998454    
Bug Blocks:    
Deadline: 2021-08-24   

Comment 1 Tomas Jelinek 2021-11-16 13:01:34 UTC
This has been fixed while adding support for OCF 1.1, the patch is the same as for bz2018969.
Upstream patch: https://github.com/ClusterLabs/pcs/commit/5eb51289926d5e1e68092db5d1d177fddc31a766

Test: pcs resource create nginx ocf:heartbeat:nginx

Comment 2 Miroslav Lisik 2021-11-19 08:00:26 UTC
DevTestResults:

[root@r90-node-01 ~]# rpm -q pcs
pcs-0.11.1-5.el9.x86_64

[root@r90-node-01 ~]# pcs resource create nginx ocf:heartbeat:nginx
Warning: changing a monitor operation interval from 60s to 61 to make the operation unique
[root@r90-node-01 ~]# echo $?
0
[root@r90-node-01 ~]# pcs resource
  * nginx       (ocf:heartbeat:nginx):   FAILED r90-node-01 (Monitoring)

Comment 8 Michal Mazourek 2022-01-26 15:43:40 UTC
BEFORE:
=======

[root@virt-540 ~]# rpm -q pcs
pcs-0.11.1-4.el9.x86_64

[root@virt-540 ~]# pcs resource create nginx ocf:heartbeat:nginx
Warning: changing a monitor operation interval from 60s to 61 to make the operation unique
Error: Unable to update cib
Call cib_apply_diff failed (-203): Update does not conform to the configured schema
<cib output>

[root@virt-540 ~]# echo $?
1


AFTER:
======

[root@virt-540 ~]# rpm -q pcs
pcs-0.11.1-9.el9.x86_64

[root@virt-540 ~]# pcs resource create nginx ocf:heartbeat:nginx
Warning: changing a monitor operation interval from 60s to 61 to make the operation unique
[root@virt-540 ~]# echo $?
0

[root@virt-540 ~]# pcs resource
  * nginx	(ocf:heartbeat:nginx):	 Stopped

> OK


Regression tests will be conducted as part of bz2012129. Marking as Verified in pcs-0.11.1-4.el9

Comment 10 errata-xmlrpc 2022-05-17 12:19:34 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 (new packages: pcs), 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-2022:2290