Bug 1508455 - Change to tty2 during kexec to prevent terminal freeze
Summary: Change to tty2 during kexec to prevent terminal freeze
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Discovery Image
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Roman Plevka
URL: http://projects.theforeman.org/issues...
Whiteboard:
: 1289147 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-01 13:15 UTC by Roman Plevka
Modified: 2019-11-14 09:08 UTC (History)
5 users (show)

Fixed In Version: smart_proxy_discovery_image-1.0.9 foreman-discovery-image-3.4.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20548 0 None None None 2017-11-02 12:02:36 UTC

Description Roman Plevka 2017-11-01 13:15:23 UTC
Description of problem:
currently, the session is not being switched to TTY2 before kexecing. From the console one has a n impression, the kexec is stuck.

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

Steps to Reproduce:
1. just discover a host using FDI in a way that FDI awaits kexec after sending the facts out (either boot it from iso or interrupt the automatic facts sending and follow the wizard)
2. try to provision the host from foreman
3. watch the vm console

Actual results:
console stuck after kexecing

Expected results:
session switched to tty2

Comment 2 Roman Plevka 2017-11-01 13:51:37 UTC
Consulted with Lukas who suggested rebasing FDI with smart_proxy_discovery_image 1.0.8

Comment 3 Lukas Zapletal 2017-11-02 11:40:00 UTC
To fix this FDI needs new build.

Before building FDI please pull this dependency first:

https://github.com/theforeman/foreman-packaging/pull/1910

commit c0af5d8556d4b8338f2cb99665d1545e8ed3d93e

Make sure it is in brew build root and only then build FDI.

Comment 7 Roman Plevka 2018-02-06 15:41:06 UTC
VERIFIED
on satellite-6.3.0-23.0.el7sat.noarch

- the tty seems to be swtiched to tty2 automatically on kexec now.

Comment 8 Bryan Kearney 2018-02-17 16:10:28 UTC
*** Bug 1289147 has been marked as a duplicate of this bug. ***

Comment 9 Satellite Program 2018-02-21 16:54: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, 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/RHSA-2018:0336


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