Bug 1934129 - [Gluster] Unable to import existing gluster configuration into newly created cluster
Summary: [Gluster] Unable to import existing gluster configuration into newly created ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Gluster
Version: 4.4.5.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.4.6
: 4.4.6.1
Assignee: Artur Socha
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-02 14:57 UTC by Artur Socha
Modified: 2021-06-04 05:41 UTC (History)
6 users (show)

Fixed In Version: ovirt-engine-4.4.6.1
Clone Of:
Environment:
Last Closed: 2021-06-04 05:41:06 UTC
oVirt Team: Infra
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 113744 0 master MERGED webadmin+engine: gluster ssh public keys support 2021-03-10 13:16:45 UTC
oVirt gerrit 113767 0 master ABANDONED webadmin+engine: no more ssh fingerprints in ui 2021-03-04 08:49:49 UTC

Description Artur Socha 2021-03-02 14:57:05 UTC
Description of problem:
Unable to create gluster cluster with imported host's configuration

Steps to Reproduce:
1.  Go to Clusters -> 'new' 
2.  Under 'General' tab select 'Enable Gluster Service' checkbox
3.  Select 'Import existing gluster configuration'
4.  Enter host's configuration to import existing gluster configuration from
5.  On multi host add popup panel enter passwords and hit OK
6.  Action fails with ssh authentication error message 

Additional info:
This issue was introduced as side effect of enabling the support for non-RSA keys for ssh communication between engine and its hosts.
https://bugzilla.redhat.com/1837221

For backward compatibility hosts with only fingerprints stored in db are treated as legacy hosts and public keys of RSA type are assumed. 
In the described gluster flow, the fingerprints are fetched from hosts and host's ssh is always providing the strongest available key ie ECDSA from which fingerprint is calculated therefore causing this issue.

Comment 1 SATHEESARAN 2021-05-18 04:50:18 UTC
Verified with RHV 4.4.6.7-0.1.el8ev and when creating a new gluster enabled cluster,
the existing gluster cluster hosts can be imported in to the new cluster.


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