Bug 1319337 - NewHost ssh pubkey
Summary: NewHost ssh pubkey
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Host-Deploy
Version: 3.6.3.3
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Yaniv Bronhaim
QA Contact: Jiri Belka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-18 21:20 UTC by lasse.borchard
Modified: 2023-09-14 03:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-03 13:32:37 UTC
oVirt Team: Infra
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

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


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