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 1568354 - cgrulesengd is not moving all threads to the configured cpuset
Summary: cgrulesengd is not moving all threads to the configured cpuset
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libcgroup
Version: 7.6
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Nikola Forró
QA Contact: Chao Ye
URL:
Whiteboard:
Depends On: 1284495
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-17 10:36 UTC by Nikola Forró
Modified: 2019-12-19 06:28 UTC (History)
9 users (show)

Fixed In Version: libcgroup-0.41-20.el7
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of: 1284495
Environment:
Last Closed: 2018-10-30 08:00:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3058 0 None None None 2018-10-30 08:01:03 UTC

Comment 4 Chao Ye 2018-09-03 04:56:34 UTC
Reproduced on libcgroup-0.41-15.el7
=================================================
<=====System reboot
[root@hp-dl380pgen8-02-vm-10 ~]# rpm -q libcgroup libcgroup-tools
libcgroup-0.41-15.el7.x86_64
libcgroup-tools-0.41-15.el7.x86_64
[root@hp-dl380pgen8-02-vm-10 ~]# grep -v ^# /etc/cgconfig.conf
group dbus {
    cpuset {
        cpuset.mems="0";
        cpuset.cpus="0";
    }
}
[root@hp-dl380pgen8-02-vm-10 ~]# grep -v ^# /etc/cgrules.conf 
dbus:dbus-daemon        cpuset  dbus/
[root@hp-dl380pgen8-02-vm-10 ~]# systemctl status cgconfig
● cgconfig.service - Control Group configuration service
   Loaded: loaded (/usr/lib/systemd/system/cgconfig.service; enabled; vendor preset: disabled)
   Active: active (exited) since 一 2018-09-03 04:39:01 EDT; 3h 57min left
  Process: 462 ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -L /etc/cgconfig.d -s 1664 (code=exited, status=0/SUCCESS)
 Main PID: 462 (code=exited, status=0/SUCCESS)
    Tasks: 0
   Memory: 0B
   CGroup: /system.slice/cgconfig.service

9月 03 04:39:01 hp-dl380pgen8-02-vm-10.lab.bos.redhat.com systemd[1]: Started Control Group configuration service.
[root@hp-dl380pgen8-02-vm-10 ~]# systemctl status cgred
● cgred.service - CGroups Rules Engine Daemon
   Loaded: loaded (/usr/lib/systemd/system/cgred.service; enabled; vendor preset: disabled)
   Active: active (running) since 一 2018-09-03 04:39:03 EDT; 3h 57min left
  Process: 624 ExecStart=/usr/sbin/cgrulesengd $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 627 (cgrulesengd)
    Tasks: 1
   Memory: 3.2M
   CGroup: /system.slice/cgred.service
           └─627 /usr/sbin/cgrulesengd -s -g cgred

9月 03 04:39:03 hp-dl380pgen8-02-vm-10.lab.bos.redhat.com systemd[1]: Starting CGroups Rules Engine Daemon...
9月 03 04:39:03 hp-dl380pgen8-02-vm-10.lab.bos.redhat.com systemd[1]: Started CGroups Rules Engine Daemon.
[root@hp-dl380pgen8-02-vm-10 ~]# ps -eLo pid,lwp,user,comm | grep dbus
  605   628 polkitd  gdbus
  610   610 dbus     dbus-daemon
  610   615 dbus     dbus-daemon
  623   674 root     gdbus
[root@hp-dl380pgen8-02-vm-10 ~]# cat /sys/fs/cgroup/cpuset/dbus/tasks 
610
[root@hp-dl380pgen8-02-vm-10 ~]# grep 615 /sys/fs/cgroup/cpuset/tasks 
615

Tested on libcgroup-0.41-19.el7
=================================================
<=====System reboot
[root@hp-dl380pgen8-02-vm-10 ~]# rpm -q libcgroup libcgroup-tools
libcgroup-0.41-19.el7.x86_64
libcgroup-tools-0.41-19.el7.x86_64
[root@hp-dl380pgen8-02-vm-10 ~]# ps -eLo pid,lwp,user,comm | grep dbus
  611   655 polkitd  gdbus
  615   615 dbus     dbus-daemon
  615   621 dbus     dbus-daemon
  622   673 root     gdbus
[root@hp-dl380pgen8-02-vm-10 ~]# cat /sys/fs/cgroup/cpuset/dbus/tasks 
615
[root@hp-dl380pgen8-02-vm-10 ~]# grep 621 /sys/fs/cgroup/cpuset/tasks 
621
[root@hp-dl380pgen8-02-vm-10 ~]# systemctl restart cgred
[root@hp-dl380pgen8-02-vm-10 ~]# systemctl restart cgconfig
[root@hp-dl380pgen8-02-vm-10 ~]# cat /sys/fs/cgroup/cpuset/dbus/tasks
615
621


Hi Nikola, it seems the new build still having issues. Could you take a look?

Thanks,
Chao

Comment 5 Nikola Forró 2018-09-05 12:38:56 UTC
Hi Chao,

do I understand it correctly that the problem is that the second thread is not moved after installation of the update and system reboot?

Are you able to reproduce this reliably? I'm not able to reproduce it at all, but I think I know what's going on, and I believe the updated patch from bug #1593299 should solve it.

I'll do a new build and a respin ASAP.

Comment 8 Chao Ye 2018-09-10 08:39:09 UTC
Test on libcgroup-0.41-20.el7:
=================================================
<=====System reboot
[root@ibm-z-39 ~]# ps -eLo pid,lwp,user,comm | grep dbus
 1859  1888 polkitd  gdbus
 1875  1875 dbus     dbus-daemon
 1875  1887 dbus     dbus-daemon
 1893  1897 root     gdbus
[root@ibm-z-39 ~]# cat /sys/fs/cgroup/cpuset/dbus/tasks
1875
1887
[root@ibm-z-39 ~]# rpm -q libcgroup libcgroup-tools
libcgroup-0.41-20.el7.s390x
libcgroup-tools-0.41-20.el7.s390x
[root@ibm-z-39 ~]# uname  -a
Linux ibm-z-39.rhts.eng.bos.redhat.com 3.10.0-944.el7.s390x #1 SMP Tue Sep 4 15:07:36 EDT 2018 s390x s390x s390x GNU/Linux

Move to VERIFIED.

Comment 10 errata-xmlrpc 2018-10-30 08:00:48 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, 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-2018:3058


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