[ovirt-users] problems with serial console in 4.1.1
Gianluca Cecchi
gianluca.cecchi at gmail.com
Tue Mar 28 09:35:30 UTC 2017
Hello,
trying serial console in 4.1.1 I have some problems.
I have not understood if it depends on my client, or the guest or oVirt...
My client is Fedora 25 updated
My guest is a CentOS 7.3 VM updated (my latest successful attempts were
when in 7.2)
My oVirt is 4.1.1 (my latest successful attempts were when in 4.0.x)
Some tests
$ ssh -i .ssh/id_dsa.pub ovirt-vmconsole at ovmgr1 -p 2222
Available Serial Consoles:
00 c7service[2e571c77-bae1-4c1c-bf98-effaf9fed741]
01 c7testovn1[63818176-cfb5-4a00-912d-ce0e812be76c]
02 c7testovn2[f00c8f30-a658-4a18-bf85-3b523de93183]
03 dbatest6[633b58b6-5e99-491b-a312-0976d4e8d979]
04 nas4free[6b9013d1-1837-4b0f-aa34-c9130d4f1229]
05 raclab1[1775d180-288d-4116-af1e-d90b2989cb8a]
06 raclab2[852aa8b1-a3e2-4658-be91-0ab51b6b7260]
SELECT> 00
and it stays here without giving the os prompt.
In 7.3 guest I have VirtIO serial console enabled and this situation
[root at c7service ~]# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.10.0-514.6.1.el7.x86_64 root=/dev/mapper/cl-root ro
rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet console=ttyS0
[root at c7service ~]#
[root at c7service ~]# ps -ef|grep agetty
root 718 1 0 11:15 ttyS0 00:00:00 /sbin/agetty --keep-baud
115200 38400 9600 ttyS0 vt220
root 1760 1541 0 11:29 pts/0 00:00:00 grep --color=auto agetty
[root at c7service ~]#
So it seems ok.
I have not understood the error I get connecting this way:
$ ssh -i .ssh/id_dsa.pub ovirt-vmconsole at ovmgr1 -p 2222 connect --vm-name
c7service
ERROR: No pty support, please enable at client side
$
What is "client" in the error message, my Fedora 25..?
At engine side I have:
[root at ovmgr1 ovirt-engine]# systemctl status
ovirt-vmconsole-proxy-sshd.service -l
● 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 Tue 2017-03-28 11:00:26 CEST; 33min ago
Main PID: 1117 (sshd)
CGroup: /system.slice/ovirt-vmconsole-proxy-sshd.service
└─1117 /usr/sbin/sshd -f
/usr/share/ovirt-vmconsole/ovirt-vmconsole-proxy/ovirt-vmconsole-proxy-sshd/sshd_config
-D
Mar 28 11:19:44 ovmgr1.mydomain sshd[2779]: Accepted publickey for
ovirt-vmconsole from 10.4.170.225 port 34947 ssh2: DSA
3d:d4:5b:94:b9:9e:4b:46:14:b2:4a:05:03:9b:05:d6
Mar 28 11:19:52 ovmgr1.mydomain sshd[2796]: Accepted publickey for
ovirt-vmconsole from 10.4.170.225 port 16456 ssh2: DSA
3d:d4:5b:94:b9:9e:4b:46:14:b2:4a:05:03:9b:05:d6
Mar 28 11:19:53 ovmgr1.mydomain sshd[2808]: Received disconnect from
10.4.170.225: 11: disconnected by user
Mar 28 11:20:02 ovmgr1.mydomain sshd[2824]: Accepted publickey for
ovirt-vmconsole from 10.4.170.225 port 5769 ssh2: DSA
3d:d4:5b:94:b9:9e:4b:46:14:b2:4a:05:03:9b:05:d6
Mar 28 11:20:14 ovmgr1.mydomain sshd[2855]: Accepted publickey for
ovirt-vmconsole from 10.4.170.225 port 52441 ssh2: DSA
3d:d4:5b:94:b9:9e:4b:46:14:b2:4a:05:03:9b:05:d6
Mar 28 11:20:24 ovmgr1.mydomain sshd[2882]: Accepted publickey for
ovirt-vmconsole from 10.4.170.225 port 33724 ssh2: DSA
3d:d4:5b:94:b9:9e:4b:46:14:b2:4a:05:03:9b:05:d6
Mar 28 11:20:24 ovmgr1.mydomain sshd[2894]: Received disconnect from
10.4.170.225: 11: disconnected by user
Mar 28 11:20:36 ovmgr1.mydomain sshd[2900]: Accepted publickey for
ovirt-vmconsole from 10.4.170.225 port 64049 ssh2: DSA
3d:d4:5b:94:b9:9e:4b:46:14:b2:4a:05:03:9b:05:d6
Mar 28 11:21:26 ovmgr1.mydomain sshd[2955]: Accepted publickey for
ovirt-vmconsole from 10.4.170.225 port 3521 ssh2: DSA
3d:d4:5b:94:b9:9e:4b:46:14:b2:4a:05:03:9b:05:d6
Mar 28 11:21:27 ovmgr1.mydomain sshd[2967]: Received disconnect from
10.4.170.225: 11: disconnected by user
Thanks,
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170328/95153c28/attachment.html>
More information about the Users
mailing list