Bug 1278084
Summary: | kernel logs (/dev/console) are not routed to /dev/ttyS0 | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Jaroslav Henner <jhenner> |
Component: | Appliance | Assignee: | Joe Vlcek <jvlcek> |
Status: | CLOSED ERRATA | QA Contact: | Jeff Teehan <jteehan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | abellott, jhardy, jprause, obarenbo, tcarlin |
Target Milestone: | GA | ||
Target Release: | 5.6.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | openstack:security | ||
Fixed In Version: | 5.6.0.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-29 15:02:26 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | Unknown | Target Upstream Version: | |
Embargoed: |
Description
Jaroslav Henner
2015-11-04 16:46:52 UTC
Fix is to add this to the kernel cmdline console=tty0 console=ttyS0,115200n8 The above is not actually a complete fix. The init process is not writing to /dev/console for some reason. I have no idea why. I am systemd noob. The other actions I did in order to display more info was to remove some configs like /etc/cloud/cloud.cfg.d/05_logging.cfg /etc/cloud/cloud.cfg.d/10_miq_logging.cfg and remove the rhgb and quiet from the kernel cmdline. This bug was originally reported here: https://bugzilla.redhat.com/show_bug.cgi?id=1104230 but was blocked by: https://bugzilla.redhat.com/show_bug.cgi?id=1139262 Now that the blocking BZ, 1139262, has been resolved this BZ can be resolved by adding the following the the base-rhos.ks: -bootloader --location=mbr --driveorder=vda --append="crashkernel=auto rhgb quiet" +bootloader --location=mbr --driveorder=vda --append="crashkernel=auto rhgb quiet console=tty0 console=ttyS0,115200n8" New commit detected on ManageIQ/manageiq-appliance-build/master: https://github.com/ManageIQ/manageiq-appliance-build/commit/60416340f27e3c8f34276ad8eb6ec106c3bd9cb8 commit 60416340f27e3c8f34276ad8eb6ec106c3bd9cb8 Author: Joe VLcek <jvlcek> AuthorDate: Mon Feb 29 16:37:16 2016 -0500 Commit: Joe VLcek <jvlcek> CommitDate: Mon Feb 29 16:37:16 2016 -0500 Direct /dev/console to /dev/ttyS0 for openstack https://bugzilla.redhat.com/show_bug.cgi?id=1278084 kickstarts/base.ks.erb | 3 +-- kickstarts/partials/main/bootloader.ks.erb | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 kickstarts/partials/main/bootloader.ks.erb New commit detected on cfme_productization/master: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=cd35c43ddf2ccd6588f94c99b6e3116d2d771d3f commit cd35c43ddf2ccd6588f94c99b6e3116d2d771d3f Merge: 09504cb 2bc09e2 Author: Jason Frey <jfrey> AuthorDate: Tue Mar 1 17:34:18 2016 -0500 Commit: Jason Frey <jfrey> CommitDate: Tue Mar 1 17:34:18 2016 -0500 Merge branch 'bz_1278084' into 'master' Direct /dev/console to /dev/ttyS0 for openstack https://bugzilla.redhat.com/show_bug.cgi?id=1278084 https://github.com/ManageIQ/manageiq-appliance-build/pull/100 See merge request !193 manageiq-appliance-build/productization/kickstarts/base.ks.erb | 3 +-- .../productization/kickstarts/partials/main/bootloader.ks.erb | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) New commit detected on cfme_productization/master: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme_productization.git;a=commit;h=2bc09e2a1791d214c1a7d6ab5f2dc2ba58d9407b commit 2bc09e2a1791d214c1a7d6ab5f2dc2ba58d9407b Author: Joe VLcek <jvlcek> AuthorDate: Tue Mar 1 17:04:04 2016 -0500 Commit: Joe VLcek <jvlcek> CommitDate: Tue Mar 1 17:12:30 2016 -0500 Direct /dev/console to /dev/ttyS0 for openstack https://bugzilla.redhat.com/show_bug.cgi?id=1278084 https://github.com/ManageIQ/manageiq-appliance-build/pull/100 manageiq-appliance-build/productization/kickstarts/base.ks.erb | 3 +-- .../productization/kickstarts/partials/main/bootloader.ks.erb | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 manageiq-appliance-build/productization/kickstarts/partials/main/bootloader.ks.erb Verified with 5604 on 10.16.6.70 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-2016:1348 |