Bug 1802478
Summary: | hosted-engine deploy does not configure a serial console in the engine vm | ||
---|---|---|---|
Product: | [oVirt] ovirt-appliance | Reporter: | Yedidyah Bar David <didi> |
Component: | General | Assignee: | Yedidyah Bar David <didi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nikolai Sednev <nsednev> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4.0 | CC: | bugs, pelauter, stirabos |
Target Milestone: | ovirt-4.4.0 | Keywords: | Regression, Triaged |
Target Release: | 4.4.0 | Flags: | sbonazzo:
ovirt-4.4?
pelauter: planning_ack+ sbonazzo: devel_ack? mavital: testing_ack+ |
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-appliance-4.4-20200402205634.1.el8 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-20 20:00:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Yedidyah Bar David
2020-02-13 09:36:08 UTC
If we check https://jenkins.ovirt.org/job/ovirt-appliance_4.3_build-artifacts-el7-x86_64/294/consoleFull#L6,728 (the logs of the job that built the oVirt engine appliance for 4.3.7 GA ) 10:21:04 09:21:04,068 INFO anaconda:bootloader.py: used boot args: crashkernel=auto rd.lvm.lv=ovirt/root rd.lvm.lv=ovirt/swap console=ttyS0 and console=ttyS0 is enough to configure it. while in https://jenkins.ovirt.org/job/ovirt-appliance_master_build-artifacts-el8-x86_64/110/consoleFull#L6,912 (4.4.0 alpha5) we have only: 18:57:35 17:57:35,148 INFO anaconda:bootloader.py: used boot args: crashkernel=auto rd.lvm.lv=ovirt/root rd.lvm.lv=ovirt/swap rhgb quiet So the issue is where/when we lost it on appliance side. Didn't investigate too much how/where we lost it, but I am pretty certain it was just a changed default somewhere, not an explicit change specific to the appliance. The patch simply adds to the 'bootloader' command in the kickstart suitable options for the kernel, which were never passed so far, and this works. Tested on: ovirt-engine-setup-4.4.0-0.31.master.el8ev.noarch ovirt-hosted-engine-ha-2.4.2-1.el8ev.noarch rhvm-appliance.x86_64 2:4.4-20200403.0.el8ev ovirt-hosted-engine-setup-2.4.4-1.el8ev.noarch Linux 4.18.0-193.el8.x86_64 #1 SMP Fri Mar 27 14:35:58 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Service is running on engine just fine. nsednev-he-4 ~]# systemctl status ovirt-vmconsole* ● ovirt-vmconsole-proxy-sshd.service - oVirt VM Console SSH server daemon Loaded: loaded (/usr/lib/systemd/system/ovirt-vmconsole-proxy-sshd.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2020-04-06 21:57:34 IDT; 1 weeks 2 days ago Main PID: 1306 (sshd) Tasks: 1 (limit: 101293) Memory: 1.3M CGroup: /system.slice/ovirt-vmconsole-proxy-sshd.service └─1306 /usr/sbin/sshd -f /usr/share/ovirt-vmconsole/ovirt-vmconsole-proxy/ovirt-vmconsole-proxy-sshd/sshd_> Apr 06 21:57:34 nsednev-he-4.scl.lab.tlv.redhat.com systemd[1]: Started oVirt VM Console SSH server daemon. Apr 06 21:57:35 nsednev-he-4.scl.lab.tlv.redhat.com sshd[1306]: Server listening on 0.0.0.0 port 2222. Apr 06 21:57:35 nsednev-he-4.scl.lab.tlv.redhat.com sshd[1306]: Server listening on :: port 2222. Service running on ha-host: puma19 ~]# systemctl status ovirt-vmconsole* ● ovirt-vmconsole-host-sshd.service - oVirt VM Console SSH server daemon Loaded: loaded (/usr/lib/systemd/system/ovirt-vmconsole-host-sshd.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2020-04-06 21:27:10 IDT; 1 weeks 2 days ago Main PID: 63652 (sshd) Tasks: 1 (limit: 178310) Memory: 1.1M CGroup: /system.slice/ovirt-vmconsole-host-sshd.service └─63652 /usr/sbin/sshd -f /usr/share/ovirt-vmconsole/ovirt-vmconsole-host/ovirt-vmconsole-host-sshd/sshd_c> Apr 06 21:27:10 puma19.scl.lab.tlv.redhat.com systemd[1]: Started oVirt VM Console SSH server daemon. Apr 06 21:27:10 puma19.scl.lab.tlv.redhat.com sshd[63652]: Server listening on 0.0.0.0 port 2223. Apr 06 21:27:10 puma19.scl.lab.tlv.redhat.com sshd[63652]: Server listening on :: port 2223. puma19 ~]# hosted-engine --console The engine VM is running on this host Escape character is ^] Red Hat Enterprise Linux 8.2 (Ootpa) Kernel 4.18.0-193.el8.x86_64 on an x86_64 Web console: https://nsednev-he-4.scl.lab.tlv.redhat.com:9090/ or https://10.35.163.167:9090/ nsednev-he-4 login: This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |