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 1626082 - realtime-virtual-host: error doesn't prevent profile from getting applied
Summary: realtime-virtual-host: error doesn't prevent profile from getting applied
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned
Version: 7.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: kvm-rt-tuned 1779227
TreeView+ depends on / blocked
 
Reported: 2018-09-06 14:20 UTC by Jaroslav Škarvada
Modified: 2019-12-18 11:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1461509
: 1779227 (view as bug list)
Environment:
Last Closed: 2019-12-18 11:32:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Ondřej Lysoněk 2018-09-06 16:00:00 UTC
> While printing the error message is helpful, it is not enough to solve this
> issue. IMO, in case of an error tuned should:
> 
> 1. Go back to the previous profile
> 2. Return an error code

We can certainly return the error code, there's no problem with that. But there's a problem with switching to the previous profile. Currently errors happen (meaning error messages get printed) all the time, e.g. when the hardware doesn't support some feature, or until recently, when CPU affinity couldn't be changed etc. We're continuously working on fixing that, but it'll take time. So before implementing the switch to the previous profile, we need to either:
a) make sure errors will not occur in non-critical situations (haha), or
b) explicitly mark critical errors and do the profile switch only when a critical error occurs

Comment 3 Luiz Capitulino 2018-09-06 16:12:14 UTC
Very well said Ondrej, I completely agree! I think we should do b): explicitly mark critical errors as a first step.

If I can give my (humble) opinion on how to do this, I think this should be per-profile. That is, each profile is responsible of marking its own critical errors. For script.sh this is probably achievable by having a crit_error() function. Now, for tuned.conf is a little harder. Maybe having a "errors_are_critical = True/False" entry for sections?

Comment 4 Ondřej Lysoněk 2018-09-06 16:16:15 UTC
Yes, I think something like that could work.

Comment 5 Jaroslav Škarvada 2018-09-07 11:41:54 UTC
I think that explicitly calling die or exiting script.sh with exit code different from 0 should be always critical. Just outputting on stderr shouldn't be critical. We could also patch 'die' function to take exit code from it's first parameter. It would be more flexibile. And handling 'die 0 STRING....' as non critical, and 'die !0 STRING...' as critical.

Comment 6 Tomáš Hozza 2019-12-18 11:31:56 UTC
Red Hat Enterprise Linux version 7 entered the Maintenance Support 1 Phase in August 2019. In this phase only qualified Critical and Important Security errata advisories (RHSAs) and Urgent Priority Bug Fix errata advisories (RHBAs) may be released as they become available. Other errata advisories may be delivered as appropriate.

This bug has been reviewed by Support and Engineering representative and does not meet the inclusion criteria for Maintenance Support 1 Phase. If this issue still exists in newer major version of Red Hat Enterprise Linux, it has been cloned there and work will continue in the cloned bug.

For more information about Red Hat Enterprise Linux Lifecycle, please see https://access.redhat.com/support/policy/updates/errata/

Comment 7 RHEL Program Management 2019-12-18 11:32:05 UTC
Development Management has reviewed and declined this request. You may appeal this decision by using your Red Hat support channels, who will make certain  the issue receives the proper prioritization with product and development management.

https://www.redhat.com/support/process/production/#howto


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