Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1319337

Summary: NewHost ssh pubkey
Product: [oVirt] ovirt-engine Reporter: lasse.borchard <mastermind-muell>
Component: Host-DeployAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED WORKSFORME QA Contact: Jiri Belka <jbelka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.3.3CC: bugs, fdeutsch, mastermind-muell, mperina, ybronhei
Target Milestone: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-03 13:32:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lasse.borchard 2016-03-18 21:20:14 UTC
Description of problem:

If you add a new host by the UI, there's the possibility to ssh them by ssh-pub key which is avaiable in authorized keys on all our nodes by default over https://<engine>/ovirt-engine/services/host-register?version=1&command=get-ssh-trust. But you cannot klick OK because the UI forces u to provided the ssh root password.

PasswordAuthentication is disabled in our env by default, so sad point blocks me :-/

Version-Release number of selected component (if applicable): 3.6.3.4


How reproducible:
- Add NewHost over UI
- Check ssh-pubkey authentication for the connect


Actual results:
Enforces password filed to fill

Expected results:
connect over ssh pubkey authentication to the new node

Comment 1 Martin Perina 2016-03-22 16:57:51 UTC
Yaniv, could you please take a look?

Comment 2 Yaniv Bronhaim 2016-03-28 13:06:04 UTC
First its a UI issue if its indeed the case - I just tried that with latest code and it works as expected - please re-verify that you have the right keyhash in the host side under /home/root/.ssh/authorized_keys and let me know if it something specific in the version you use.. might be.

when I choose in the "Authentication Method" panel - SSH public key button and click OK, it moves on and try to ssh to the host. if you get new form with an error, it means that it let you continue without root password but some communication failure occurred. please check if this is the case.

Comment 3 Yaniv Bronhaim 2016-04-03 13:32:37 UTC
Olease re-open if its still relevant. I tried the same version 3.6.3 and it works as expected.

Comment 4 Red Hat Bugzilla 2023-09-14 03:19:50 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days