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 1247434 - virt-install gives incorrect warning about console=ttyS0
Summary: virt-install gives incorrect warning about console=ttyS0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.2
Hardware: ppc64le
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-28 01:42 UTC by David Gibson
Modified: 2016-11-04 01:58 UTC (History)
5 users (show)

Fixed In Version: virt-manager-1.3.2-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 01:58:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2269 0 normal SHIPPED_LIVE virt-manager bug fix and enhancement update 2016-11-03 13:34:19 UTC

Description David Gibson 2015-07-28 01:42:35 UTC
Description of problem:

When installing a guest on Power using virt-install with a "serial" console (actually the paravirtualized hypervisor console), virt-install gives this warning:

    WARNING  No 'console' seen in --extra-args, a 'console=ttyS0'
    kernel argument is likely required to see text install output
    from the guest.

This warning is incorrect on two counts: 1) the console= argument is not actually necessary because the Power kernel/userspace automatically use the hypervisor console as well a a graphical console if present,  2) to explicitly select the hypervisor console, the correct argument is console=hvc0, not console=ttyS0 (since it's not actually a serial console).

Basically, for Power systems, having only the hypervisor console, but not VGA console is the normal, rather than the exceptional case.

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

virt-install-1.2.1-3.el7.noarch
virt-manager-common-1.2.1-3.el7.noarch
libvirt-daemon-kvm-1.2.17-2.el7.ppc64le

How reproducible:

100%

Steps to Reproduce:

1. virt-install \
      --name test \
      --location http://download.lab.bos.redhat.com/.../os/ \
      --ram=2048 \
      --vcpus=1 \
      --accelerate \
      --os-variant=rhel7.0 \
      --graphics none \
      --network network=default,model=virtio \
      --disk size=10,bus=scsi

Actual results:

Installer prints the warning described above before continuing successfully with installation.

Expected results:

Installation runs without warning.

Comment 2 Pavel Hrdina 2016-02-29 15:41:51 UTC
Upstream commit:

commit 0e26031096b332d2424f701fdb8ec9205a53bb0e
Author: Pavel Hrdina <phrdina>
Date:   Mon Nov 9 15:15:43 2015 +0100

    virt-install: don't report missing console in extra-args for ppc64

Comment 3 Mike McCune 2016-03-28 23:17:33 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 5 Xiaodai Wang 2016-07-19 06:42:28 UTC
I can reproduce it with virt-manager-1.2.1-8.el7.noarch.

Steps:
# virt-install --name testvm --memory 1024 --disk /var/lib/libvirt/images/testvm.img,size=5 -l http://download.eng.pek2.redhat.com//pub/rhel/released/RHEL-7/7.2/Server/ppc64le/os/ --graphics none
WARNING  No 'console' seen in --extra-args, a 'console=ttyS0' kernel argument is likely required to see text install output from the guest.

Then verified it with latest virt-manager-1.4.0-1.el7.noarch, No above warning any more.

So move this bug from ON_QA to VERIFIED.

Comment 7 errata-xmlrpc 2016-11-04 01:58:01 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://rhn.redhat.com/errata/RHBA-2016-2269.html


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