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 1670275 - RT guest fails to boot
Summary: RT guest fails to boot
Keywords:
Status: CLOSED DUPLICATE of bug 1554851
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tuned
Version: 7.7
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Jaroslav Škarvada
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 1672377
TreeView+ depends on / blocked
 
Reported: 2019-01-29 06:30 UTC by Pei Zhang
Modified: 2019-03-06 13:56 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-06 13:56:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
XML of guest (3.49 KB, text/plain)
2019-01-29 06:30 UTC, Pei Zhang
no flags Details
tuned_isolate_vcpu_thread_only.patch (2.27 KB, text/plain)
2019-02-04 17:55 UTC, Marcelo Tosatti
no flags Details

Description Pei Zhang 2019-01-29 06:30:33 UTC
Created attachment 1524472 [details]
XML of guest

Description of problem:
RT guest fails to reboot in RT host.

Version-Release number of selected component (if applicable):
3.10.0-993.rt56.950.el7.x86_64
qemu-kvm-rhev-2.12.0-21.el7.x86_64
libvirt-4.5.0-10.el7.x86_64

How reproducible:
2/2

Steps to Reproduce:
1. Install a rhel7.7 host and setup rt environment.

3. Install a rhel7.7 guest.

4. In guest, do rt setup, then shutdown it.

5. Boot rt guest, fail.


Actual results:
RT guest fails to boot.

Expected results:
RT guest should boot successfully.

Additional info:
1. If removing below line from XML, guest can boot successfully. 
<vcpusched priority="1" scheduler="fifo" vcpus="0-1" />

2. This should be regression bug.
kernel-rt-3.10.0-993.rt56.948.el7.x86_64 works well.

3. Set this bug critical priority because it blocks all rhel7.7 kvm-rt testing.

Comment 6 Marcelo Tosatti 2019-02-04 15:22:59 UTC
The patch that fixes the following bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1554851

Fixes this problem.

Jaroslav, can you please include it in the next RHEL-7.7 tuned update? 

TIA.

Comment 7 Marcelo Tosatti 2019-02-04 17:55:04 UTC
Created attachment 1526854 [details]
tuned_isolate_vcpu_thread_only.patch

Comment 8 Marcelo Tosatti 2019-02-04 17:56:29 UTC
To fix the bug without a new tuned package:

# cd /usr/lib/tuned/realtime-virtual-host/

# patch -p3 < ~/tuned_isolate_vcpu_thread_only.patch

And restart tuned.

Comment 9 Pei Zhang 2019-02-11 02:36:27 UTC
(In reply to Marcelo Tosatti from comment #8)
> To fix the bug without a new tuned package:
> 
> # cd /usr/lib/tuned/realtime-virtual-host/
> 
> # patch -p3 < ~/tuned_isolate_vcpu_thread_only.patch
> 
> And restart tuned.

Applying this tuned patch as a workaround, the rt guest can boot up well. Thanks Marcelo.


Best regards,
Pei

Comment 11 Jaroslav Škarvada 2019-03-06 13:56:24 UTC
I am closing this as a dupe of bug 1554851, because it's resolved by the same patch.

*** This bug has been marked as a duplicate of bug 1554851 ***


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