fc28: Failed to add ovirt-host: "The key algorithm 'EC' is not supported"

Description

engine version: ovirt-engine-4.3.0-0.0.master.20180626082905.gitede62008318.fc28.noarch.rpm
VDSM version: vdsm-4.30.0-429.git05bfb8731.fc28.x86_64.rpm

From engine.log:
```
2018-06-26 07:12:41,455-04 DEBUG [org.ovirt.engine.core.uutils.ssh.SSHClient] (default task-17) [ec8e0859-5d6e-48c9-90b9-e6ffb35ebc8a] Connected: 'root@lago-basic-fc-suite-master-host-1'
2018-06-26 07:12:41,456-04 ERROR [org.ovirt.engine.core.uutils.ssh.OpenSSHUtils] (default task-17) [ec8e0859-5d6e-48c9-90b9-e6ffb35ebc8a] The key algorithm 'EC' is not supported, will return null.
2018-06-26 07:12:41,462-04 ERROR [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-17) [ec8e0859-5d6e-48c9-90b9-e6ffb35ebc8a] Failed to establish session with host 'lago-basic-fc-suite-master-host-1': null
2018-06-26 07:12:41,462-04 WARN [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-17) [ec8e0859-5d6e-48c9-90b9-e6ffb35ebc8a] Validation of action 'AddVds' failed for user admin@internal-authz. Reasons: VAR_ACTIONADD,VARTYPE_HOST,$server lago-basic-fc-suite-master-host-1,VDS_CANNOT_CONNECT_TO_SERVER
```

Full engine log: https://jenkins.ovirt.org/job/ovirt-system-tests_standard-check-patch/1349/artifact/exported-artifacts/check-patch.basic_fc_suite_master.el7.x86_64/test_logs/basic-fc-suite-master/post-002_bootstrap.py/lago-basic-fc-suite-master-engine/_var_log/ovirt-engine/engine.log/*view*/

any advise?

Attachments

1

Activity

Show:

Gal Ben Haim July 8, 2018 at 3:06 PM

Can you please try to adjust the ssh configuration on the engine VM, so it
will be able to ssh into the hosts?
You can modify my patch https://gerrit.ovirt.org/#/c/92127/

Piotr Kliczewski June 28, 2018 at 9:07 AM

This could be related to jdk bug.

danken June 27, 2018 at 2:48 PM

I don't really understand the problem, nice reports that Engine running on el7 is able to ssh into fc28 host.

If you can hack ssh config on Engine side, it would be great.

If hacking on the host is needed, it is less great, but it is still better to hack it, file a bug, and get on with OST.

Martin Perina June 27, 2018 at 8:32 AM

The only thing that came to my mind is to enable the same SSH
ciphers/algorithms on FC28 which are enabled on EL7 now

On Wed, 27 Jun 2018, 11:24 Gal Ben Haim (oVirt JIRA), <

Gal Ben Haim June 27, 2018 at 8:24 AM

Is there any temporary workaround for this issue?
I really want to go forward and discover other issues that are related to FC28.

Sandro Bonazzola June 27, 2018 at 7:21 AM

Martin Perina June 26, 2018 at 8:27 PM

We already have a bug for that issue, we need to upgrade apache ssh java
library from 0.12 to 1.y, which is a huge API change. Btw we have already
tried that upgrade and we failed, so it is not something we will be able to
fix in a few days, but we will put a priority on that in upcoming weeks.

Martin

On Tue, 26 Jun 2018, 16:40 Gal Ben Haim (oVirt JIRA), <

danken June 26, 2018 at 6:36 PM

Sorry for the distraction. vdsm was not even installed on host-1:

2018-06-26 07:12:41,218-04 DEBUG [org.ovirt.engine.core.uutils.ssh.SSHClient] (default task-17) [ec8e0859-5d6e-48c9-90b9-e6ffb35ebc8a] Connecting 'root@lago-basic-fc-suite-master-host-1'
2018-06-26 07:12:41,455-04 DEBUG [org.ovirt.engine.core.uutils.ssh.SSHClient] (default task-17) [ec8e0859-5d6e-48c9-90b9-e6ffb35ebc8a] Connected: 'root@lago-basic-fc-suite-master-host-1'
2018-06-26 07:12:41,456-04 ERROR [org.ovirt.engine.core.uutils.ssh.OpenSSHUtils] (default task-17) [ec8e0859-5d6e-48c9-90b9-e6ffb35ebc8a] The key algorithm 'EC' is not supported, will return null.
2018-06-26 07:12:41,462-04 ERROR [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-17) [ec8e0859-5d6e-48c9-90b9-e6ffb35ebc8a] Failed to establish session with host 'lago-basic-fc-suite-master-host-1': null
2018-06-26 07:12:41,462-04 WARN [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-17) [ec8e0859-5d6e-48c9-90b9-e6ffb35ebc8a] Validation of action 'AddVds' failed for user admin@internal-authz. Reasons: VAR_ACTIONADD,VARTYPE_HOST,$server lago-basic-fc-suite-master-host-1,VDS_CANNOT_CONNECT_TO_SERVER

on host-0 it was installed by means of
2018-06-26T11:07:14Z DDEBUG Command: dnf -y install ovirt-host

on neither host do I see any attempt to start vdsm, most probably due to the failed ssh.

Gal Ben Haim June 26, 2018 at 4:07 PM

Fixed

Details

Assignee

Reporter

Components

Priority

Created June 26, 2018 at 1:40 PM
Updated August 29, 2019 at 2:12 PM
Resolved April 5, 2019 at 8:37 AM