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 2142681 - "pcs node utilization" command sets incorrect attribute value
Summary: "pcs node utilization" command sets incorrect attribute value
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pacemaker
Version: 8.7
Hardware: All
OS: All
urgent
urgent
Target Milestone: rc
: 8.8
Assignee: Chris Lumens
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 2142683 2144870
TreeView+ depends on / blocked
 
Reported: 2022-11-14 21:11 UTC by Ken Gaillot
Modified: 2023-05-16 09:54 UTC (History)
3 users (show)

Fixed In Version: pacemaker-2.1.5-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2142683 2144870 (view as bug list)
Environment:
Last Closed: 2023-05-16 08:35:22 UTC
Type: Bug
Target Upstream Version: 2.1.5
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CLUSTERQE-6272 0 None None None 2022-12-01 17:09:56 UTC
Red Hat Issue Tracker RHELPLAN-139330 0 None None None 2022-11-14 21:12:36 UTC
Red Hat Product Errata RHBA-2023:2818 0 None None None 2023-05-16 08:36:10 UTC

Description Ken Gaillot 2022-11-14 21:11:48 UTC
Description of problem: The "pcs node utilization <node> <name>=<value>" command should set a permanent node attribute with the given name and value in a utilization block. In the 8.7 packages, it instead uses "utilization" as the value.


Version-Release number of selected component (if applicable): 8.7


How reproducible: reliably


Steps to Reproduce:
1. Configure and start a cluster.
2. Set a node utilization attribute with "pcs node utilization".
3. Check the attribute value with "pcs node utilization".

Actual results: The attribute value is "utilization".


Expected results: The attribute value is the one specified when set.

Comment 1 Ken Gaillot 2022-11-14 21:17:01 UTC
Fixed upstream by commit 566fb0c5

Comment 8 Chris Lumens 2022-12-07 15:39:55 UTC
Upon closer inspection, this bug is not a regression.  It was introduced in Pacemaker-2.1.5-rc1, not 2.1.3 as previously thought.  It was not in any RHEL release.  The commit message with the fix does reference the commit that introduced the bug correctly, and it has been fixed in a subsequent RC.  It's worth checking that it is fixed.  It's probably worth scrubbing the CCFR text and any references to a regression from this bug report.

Comment 9 Chris Lumens 2022-12-07 15:54:36 UTC
Note to QE:  The bug was introduced in -rc1 and fixed in -rc2.  There was not a -rc1 build for RHEL, so you should just need to confirm that the bug was never introduced.

Comment 10 Markéta Smazová 2022-12-19 12:30:29 UTC
[root@virt-507 ~]# rpm -q pacemaker
pacemaker-2.1.5-4.el8.x86_64

[root@virt-507 ~]# pcs status
Cluster name: STSRHTS29018
Status of pacemakerd: 'Pacemaker is running' (last updated 2022-12-19 13:28:23 +01:00)
Cluster Summary:
  * Stack: corosync
  * Current DC: virt-507 (version 2.1.5-4.el8-a3f44794f94) - partition with quorum
  * Last updated: Mon Dec 19 13:28:23 2022
  * Last change:  Mon Dec 19 13:24:06 2022 by root via cibadmin on virt-507
  * 2 nodes configured
  * 2 resource instances configured

Node List:
  * Online: [ virt-507 virt-508 ]

Full List of Resources:
  * fence-virt-507	(stonith:fence_xvm):	 Started virt-507
  * fence-virt-508	(stonith:fence_xvm):	 Started virt-508

Daemon Status:
  corosync: active/enabled
  pacemaker: active/enabled
  pcsd: active/enabled


[root@virt-507 ~]# pcs node utilization
Node Utilization:

[root@virt-507 ~]# pcs node utilization virt-507 test=1
[root@virt-507 ~]# pcs node utilization virt-508 test=1
 
[root@virt-507 ~]# pcs node utilization
Node Utilization:
 virt-507: test=1
 virt-508: test=1

[root@virt-507 ~]# pcs node utilization virt-507
Node Utilization:
 virt-507: test=1

[root@virt-507 ~]# pcs node utilization virt-508
Node Utilization:
 virt-508: test=1

Result: "pcs node utilization" works correctly

marking VERIFIED in pacemaker-2.1.5-4.el8

Comment 12 errata-xmlrpc 2023-05-16 08:35:22 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 (pacemaker 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:2818


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