Bug 966302 - PRD35 - [RFE]setup serial console for RHEVH
Summary: PRD35 - [RFE]setup serial console for RHEVH
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 2.1.0
Hardware: All
OS: Linux
urgent
medium
Target Milestone: ---
: 3.5.0
Assignee: Ryan Barry
QA Contact: Virtualization Bugs
URL:
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-04-28 09:32 UTC (History)
18 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:
Environment:
Last Closed: 2015-02-11 20:45:44 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 984939 0 medium CLOSED OVIRT35 - [RFE] add method to edit and persist grub command line 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHEA-2015:0160 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2015-02-12 01:34:52 UTC
oVirt gerrit 17982 0 None None None Never
oVirt gerrit 34274 0 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:
<snip>
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.
</snip>


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?
No.

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?
No.

10. List any affected packages or components.

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

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:
ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch
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:
ovirt-node-3.1.0-0.34.20141210git0c9c493.el6.noarch
Red Hat Enterprise Virtualization Hypervisor release 6.6 (20141212.0.el6ev)
and
ovirt-node-3.1.0-0.34.20141210git0c9c493.el7.noarch
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.

https://rhn.redhat.com/errata/RHEA-2015-0160.html


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