HewlettPackard / swarm-learning

A simplified library for decentralized, privacy preserving machine learning
Apache License 2.0
334 stars 101 forks source link

Cannot install using SLM-UI - "something went wrong" #245

Open howff opened 5 months ago

howff commented 5 months ago

Issue description

Running ./HPE_SWARM_LEARNING_INSTALLER_LINUX_Q2V41-11094

At the web page where it asks for hostname, username, password it gives an error Something went wrong. ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain

./HPE_SWARM_LEARNING_INSTALLER_LINUX_Q2V41-11094

Swarm Learning Version:

OS and ML Platform

Quick Checklist: Respond [Yes/No]

Additional notes

pkbindhani commented 5 months ago

@howff May I know if you are using the same host where SLM-UI installer running ? what is the user name you are specifying ? By-default direct ssh login for 'root' account is blocked in Ubuntu OS.

Since it has reported authentication failure, have you checked manually logging in to the server ( using same username/password) from UI installer host ?

You may start the installer in verbose mode, if that gives any additional logging information.

Say example: $ ./HPE_SLM_UI_INSTALLER_LINUX -logs verbose

howff commented 5 months ago

I'm entering the same hostname as where the installer is running, and entering a non-root username and password on the same host which definitely works with ssh. Verbose mode gives no additional information.

pkbindhani commented 5 months ago

Okay, Could you please run the below test and let me know

// Login as the same user ( through SSH ) and execute the below command $ssh -V $ssh user@ ( add the fingerprint to the knownhost) .

// Once you are logged in, kindly check again the SLM-UI..

Also share the installer verbose output, need to check , up to what stage it is progressing

// I checked using the 2.2 installer and working without any error.

howff commented 5 months ago

ssh -V reports OpenSSH_8.9p1 OpenSSL 3.0.2

I'm not sure what output you are expecting from the second command. Obviously I can login ok.

The only verbose output is Creating SLM-UI directory

pkbindhani commented 5 months ago

Okay, thanks for the update.. The reason for asking to perform ssh locally is to add the ssh fingerprint.

Do you mind providing the installer binary that you are using ( HPE_SWARM_LEARNING_INSTALLER_LINUX_Q2V41-1109 ) to check in my system ? You may upload the binary in below drop-box.

Host: https://hprc-h2.it.hpe.com/hprc/ Login: swam_cmt Password : yt$UD5aw.PE2nc_E

howff commented 4 months ago

Unfortunately the login you have provided does not work (login failed). However I can confirm that it's exactly the same binary downloaded from the HPE website.

I have tried to debug the sshd server but the only relevant message I can see is

sshd[259660]: debug3: userauth_finish: failure partial=0 next methods="publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive" [preauth]
pkbindhani commented 3 months ago

I tried with same binary, but it was flawless..

image

I hope you are providing the IP address rather "localhost" while specifying the hostname.