Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 966302 - PRD35 - [RFE]setup serial console for RHEVH
Summary: PRD35 - [RFE]setup serial console for RHEVH
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 2.1.0
Hardware: All
OS: Linux
Target Milestone: ---
: 3.5.0
Assignee: Ryan Barry
QA Contact: Virtualization Bugs
Whiteboard: node
: 1040407 (view as bug list)
Depends On: 984939 rebase-ovirt-node-3.1
Blocks: 1123936 rhev3.5beta 1156165
TreeView+ depends on / blocked
Reported: 2013-05-23 01:57 UTC by Pratik Pravin Bandarkar
Modified: 2019-03-22 07:09 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
This feature enables the default console device to be set from within the Red Hat Enterprise Virtualization Hypervisor setup TUI.
Clone Of:
Last Closed: 2015-02-11 20:45:44 UTC
oVirt Team: Node
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Bugzilla 984939 None CLOSED OVIRT35 - [RFE] add method to edit and persist grub command line 2019-03-22 10:52:56 UTC
Red Hat Product Errata RHEA-2015:0160 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2015-02-12 01:34:52 UTC
oVirt gerrit 17982 None None None Never
oVirt gerrit 34274 None None None Never

Internal Links: 984939

Description Pratik Pravin Bandarkar 2013-05-23 01:57:08 UTC
1. Proposed title of this feature request
setup serial console for RHEVH

2. Who is the customer behind the request?
Account: name (acct #) 5262884
TAM customer: No
SRM customer: No
Strategic:    no

3. What is the nature and description of the request?
Customer wants to setup serial console for RHEV-H. We can append serial console details to kernel line when RHEV-H is booting.
console=ttyS1,57600n8  <== for example.

But, customer wants to make persistant entry in grub.conf file. By-default, grub.conf file is in read-only mode. and to modify grub.conf we will need to remount it in rw mode. But, login to RHEVH shell with root access and making any modification is not supported by Red Hat. So, customer wants supported way to configure the same.

We do have workaround:
To modify the grub.conf, remount /dev/.initramfs/live in read-write mode as, it is symlink to /boot/grub/
# mount -o remount,rw /dev/.initramfs/live
Then modify grub.conf file and append serial console parameters to kernel line.

4. Why does the customer need this? (List the business requirements here)
We use Dell's serial over lan capability to remotely manage our systems.

5. How would the customer like to achieve this? (List the functional requirements here)
Ability to append console=ttyS0,115200 to the kernel line in /etc/grub.conf in a supported fashion (through the Admin menu I'd guess).

6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?

8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
Sooner the better.

9. Is the sales team involved in this request and do they have any additional input?

10. List any affected packages or components.

11. Would the customer be able to assist in testing this functionality if implemented?

Comment 12 Fabian Deutsch 2014-06-11 13:47:15 UTC
*** Bug 1040407 has been marked as a duplicate of this bug. ***

Comment 13 Itamar Heim 2014-06-22 12:59:14 UTC
Fabian - the linked patch has been merged upstream - isn't this in 3.5 via a rebase?

Comment 14 Fabian Deutsch 2014-06-25 11:04:58 UTC
Hey Itamar,

yep it is going to get in through the rebase.

Comment 16 Fabian Deutsch 2014-07-24 16:02:21 UTC
This is a mass change, moving bugs of merged patches into MODIFIED.

Please correct the state, if you think that the move was not justified.

Comment 18 Ying Cui 2014-10-15 08:24:30 UTC
Move this bug to Assigned, partial fix, but partial non-fix.

non-fix is in node, console parameter in cmdline accept console=ttyS0,115200n8, not console=/dev/ttyS0,115200n8

Test version:
Red Hat Enterprise Virtualization Hypervisor release 7.0 (20141006.0.el7ev)

Test steps:
1. Installed rhevh successful.
2. login rhevh
3. 'Set Console Path' in TUI, this field _only_ accept "/dev/ttyS0,115200n8"
4. After saving, check grub.cfg, it has been added. console=/dev/ttyS0,115200n8
5. reboot rhevh
6. #minicom

Result: no output from serial console.

update console=/dev/ttyS0,115200n8 to console=ttyS0,115200n8, rhevh can be booted successful with serial console.

Comment 19 Ying Cui 2014-10-15 08:27:12 UTC
I update the priority to urgent because it is 3.5 RFE, and has customer ticket on it.

Comment 20 Ying Cui 2014-12-15 12:42:56 UTC
Tested on build:
Red Hat Enterprise Virtualization Hypervisor release 6.6 (20141212.0.el6ev)
Red Hat Enterprise Virtualization Hypervisor release 7.0 (20141212.0.el7ev)

Test steps:
1. Installed rhevh successful.
2. login rhevh
3. 'Set Console Path' in TUI-Status, this field "/dev/ttyS0,115200n8" or /dev/ttyS1
4. After saving, check grub.cfg, it has been added. console=ttyS0,115200n8 or console=ttyS1
5. reboot rhevh 

Can console access successful.

Comment 22 errata-xmlrpc 2015-02-11 20:45:44 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.

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