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 2142683 - "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 9
Classification: Red Hat
Component: pacemaker
Version: 9.1
Hardware: All
OS: All
urgent
urgent
Target Milestone: rc
: 9.2
Assignee: Chris Lumens
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On: 2142681
Blocks: 2144869
TreeView+ depends on / blocked
 
Reported: 2022-11-14 21:19 UTC by Ken Gaillot
Modified: 2023-05-09 07:38 UTC (History)
6 users (show)

Fixed In Version: pacemaker-2.1.5-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2142681
: 2144869 (view as bug list)
Environment:
Last Closed: 2023-05-09 07:18:17 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-6248 0 None None None 2022-12-01 17:20:20 UTC
Red Hat Issue Tracker RHELPLAN-139331 0 None None None 2022-11-14 21:20:57 UTC
Red Hat Product Errata RHBA-2023:2150 0 None None None 2023-05-09 07:18:40 UTC

Description Ken Gaillot 2022-11-14 21:19:09 UTC
+++ This bug was initially created as a clone of Bug #2142681 +++

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 9.1 packages, it instead uses "utilization" as the value.


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


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.

--- Additional comment from Ken Gaillot on 2022-11-14 21:17:01 UTC ---

Fixed upstream by commit 566fb0c5

Comment 9 Chris Lumens 2022-12-07 15:40:03 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 10 Chris Lumens 2022-12-07 15:54:14 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 11 jrehova 2022-12-08 11:57:45 UTC
* 2 nodes cluster

Version of pacemaker:

> [root@virt-533 ~]# rpm -q pacemaker
> pacemaker-2.1.5-2.el9.x86_64

Set a node utilization attribute:

> [root@virt-533 ~]# pcs node utilization
> Node Utilization:
 
> [root@virt-533 ~]# pcs node utilization virt-533 cpu=4

> [root@virt-533 ~]# pcs node utilization
> Node Utilization:
>  virt-533: cpu=4

Comment 13 errata-xmlrpc 2023-05-09 07:18:17 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:2150


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