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 1441791 - cpu-partitioning: systemd error when applying CPUAffinity=
Summary: cpu-partitioning: systemd error when applying CPUAffinity=
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: Tereza Cerna
URL:
Whiteboard:
Depends On:
Blocks: 1394932
TreeView+ depends on / blocked
 
Reported: 2017-04-12 17:59 UTC by Luiz Capitulino
Modified: 2017-08-01 12:35 UTC (History)
4 users (show)

Fixed In Version: tuned-2.8.0-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 12:35:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2102 0 normal SHIPPED_LIVE tuned bug fix and enhancement update 2017-08-01 16:07:33 UTC

Description Luiz Capitulino 2017-04-12 17:59:14 UTC
Description of problem:

When booting latest RHEL7.4 I see in dmesg:

[    4.768508] systemd[1]: [/etc/systemd/system.conf:60] Failed to parse CPU affinity '0,2,4,6,8,10,12,14'
[    4.778995] systemd[1]: Failed to parse file '/etc/systemd/system.conf': Bad message

I see this twice, which probably means CPUAffinity= is not being applied at all.


Version-Release number of selected component (if applicable): tuned-2.8.0-1.el7 systemd-219-32.el7.x86_64


How reproducible:


Steps to Reproduce:
1. Install the cpu-partitioning profile
2. Set it up, active and reboot

Comment 2 Luiz Capitulino 2017-04-12 18:00:40 UTC
Already fixed on upstream:

commit 3023c9e86090508602d9b9d55dcc94cef3cf9e7c
Author: Jaroslav Škarvada <jskarvad>
Date:   Tue Apr 11 19:28:59 2017 +0200

    systemd: added support for older systemd CPUAffinity syntax

Comment 3 Jaroslav Škarvada 2017-04-12 18:04:35 UTC
(In reply to Luiz Capitulino from comment #2)
> Already fixed on upstream:
> 
> commit 3023c9e86090508602d9b9d55dcc94cef3cf9e7c
> Author: Jaroslav Škarvada <jskarvad>
> Date:   Tue Apr 11 19:28:59 2017 +0200
> 
>     systemd: added support for older systemd CPUAffinity syntax

Thanks for info. I would like to do respin.

Comment 7 Luiz Capitulino 2017-04-18 14:22:01 UTC
When using tuned-2.8.0-2.el7, I can see that the systemd configuration file doesn't contain commas and I don't see any systemd error on dmesg. So, this issue is fixed.

Comment 8 Tereza Cerna 2017-04-20 12:13:11 UTC
@Luiz: Thank you for your testing.

Switching to VERIFIED (SanityOnly) status based on successful test by lcapitulino.

Comment 9 errata-xmlrpc 2017-08-01 12:35:21 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-2017:2102


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