Bug 2023752 - nginx resource can't be created
Summary: nginx resource can't be created
Keywords:
Status: CLOSED ERRATA
Alias: None
Deadline: 2021-08-24
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: pcs
Version: 9.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 9.0
Assignee: Tomas Jelinek
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On: 1998454
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-16 12:55 UTC by Michal Mazourek
Modified: 2023-08-09 17:30 UTC (History)
10 users (show)

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.
Clone Of: 1998454
Environment:
Last Closed: 2022-05-17 12:19:34 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker KCSOPP-1863 0 None None None 2023-07-25 17:27:37 UTC
Red Hat Issue Tracker RHELPLAN-102929 0 None None None 2021-11-16 12:56:44 UTC
Red Hat Knowledge Base (Solution) 7028077 0 None None None 2023-08-09 17:30:36 UTC
Red Hat Product Errata RHBA-2022:2290 0 None None None 2022-05-17 12:19:57 UTC

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


Note You need to log in before you can comment on or make changes to this bug.