Bug 975677

Summary: [Docs][Install][host-deploy] support ssh public key authentication
Product: Red Hat Enterprise Virtualization Manager Reporter: Tim Hildred <thildred>
Component: DocumentationAssignee: Andrew Burden <aburden>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: aburden, acathrow, alyoung, cpelland, gklein, yeylon, zdover
Target Milestone: ---Keywords: FutureFeature, Improvement
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 962162 Environment:
Last Closed: 2014-04-07 03:07:10 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:
Bug Depends On: 962162    
Bug Blocks:    

Description Tim Hildred 2013-06-19 06:14:58 UTC
This bug definitely affects the
- Installation Guide


+++ This bug was initially created as a clone of Bug #962162 +++

Currently we use user/password authentication for host-deploy, ovirt-node upgrade.

We use public key authentication for ovirt-node approval.

I would like we support both user password and public key authentication.

Suggested implementation:

ADD HOST

Host: _______________
Authentication:
 <x> Password: _____________
 < > Public key
     Key: _______read only text of public key_____________

RE-INSTALL/APPROVE

Host: ______readonly_________
Authentication:
 < > Password: _____________
 <x> Public key
     Key: _______read only text of public key_____________

Comment 1 Zac Dover 2013-12-09 04:41:46 UTC
Public Key Authentication is assumed in Section 8.4, "Adding a Red Hat Enterprise Linux Host":

8.4. Adding a Red Hat Enterprise Linux Host
Summary
A Red Hat Enterprise Linux host is based on a standard "basic" installation of Red Hat Enterprise Linux. The physical host must be set up before you can add it the Red Hat Enterprise Virtualization environment.
The Red Hat Enterprise Virtualization Manager logs into the host to perform virtualization capability checks, install packages, create a network bridge, and reboot the host. The process of adding a new host can take up to 10 minutes.

Procedure 8.7. Adding a Red Hat Enterprise Linux Host

    Click the Hosts resource tab to list the hosts in the results list.
    Click New to open the New Host window.
    Use the drop-down menus to select the Data Center and Host Cluster for the new host.
    Enter the Name, Address, and SSH Port of the new host.
    Select an authentication method to use with the host.
        Enter the root user's password to use password authentication.
        Copy the key displayed in the SSH PublicKey field to /root/.ssh/authorized_hosts on the host to use public key authentication.
    You have now completed the mandatory steps to add a Red Hat Enterprise Linux host. Click the Advanced Parameters drop-down button to show the advanced host settings.
        Optionally disable automatic firewall configuration.
        Optionally add a host SSH fingerprint to increase security. You can add it manually, or fetch it automatically. 
    You can configure the Power Management and SPM using the applicable tabs now; however, as these are not fundamental to adding a Red Hat Enterprise Linux host, they are not covered in this procedure.
    Click OK to add the host and close the window. 

Result
The new host displays in the list of hosts with a status of Installing. Once installation is complete, the status will update to Reboot. The host must be activated for the status to change to Up.

documentation link
------------------
http://documentation-devel.engineering.redhat.com/docs/en-US/Red_Hat_Enterprise_Virtualization/3.3/html-single/Installation_Guide/index.html#Adding_a_Red_Hat_Enterprise_Linux_Host1

NVR
---
Red_Hat_Enterprise_Virtualization-Installation_Guide-3.3-en-US-3.3-24