Previously, the add host operation using the SSH public key by following the Guide Me link failed. This happened due to an incorrect authentication method being set. With this fix, hosts can be added successfully using the SSH public key.
Created attachment 854917[details]
screenshot of error
Description of problem:
From Guide Me link, Add Host using SSH PublicKey Authentication fails with "Error while executing action: Cannot install Host with empty password."
Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 2.1.2-0.33.el6rhs (CB 15)
ovirt-host-deploy-java-1.1.2-1.el6ev.noarch
ovirt-host-deploy-1.1.2-1.el6ev.noarch
How reproducible: 100%
Steps to Reproduce:
1. Click on "Clusters" and create a New Cluster
2. Select the created Cluster and click on "Guide Me"
3. Click on "Configure Host"
4. Enter the mandatory fields and select the Authentication type as "
SSH PublicKey"
5. Copy the key displayed in the SSH PublicKey field to /root/.ssh/authorized_keys on the host to use public key authentication
6. Click on OK
Actual results: Add Host fails with error "Error while executing action: Cannot install Host with empty password." as it's not detecting that the user has selected the SSH PublicKey Authentication instead of Password Authentication
Expected results: Add Host with SSH PublicKey Authentication should work from the "Guide Me" flow as well.
PS: It works fine in the normal Add New Host flow.
Additional info: Screenshot and log-collector report attached
Verified and works fine with build rhsc-3.0.3-1.17.el6rhs.noarch.
copied the key displayed in the SSH public key of New Host dialog box to /root/.ssh/authorized_keys file.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-0039.html
Created attachment 854917 [details] screenshot of error Description of problem: From Guide Me link, Add Host using SSH PublicKey Authentication fails with "Error while executing action: Cannot install Host with empty password." Version-Release number of selected component (if applicable): Red Hat Storage Console Version: 2.1.2-0.33.el6rhs (CB 15) ovirt-host-deploy-java-1.1.2-1.el6ev.noarch ovirt-host-deploy-1.1.2-1.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1. Click on "Clusters" and create a New Cluster 2. Select the created Cluster and click on "Guide Me" 3. Click on "Configure Host" 4. Enter the mandatory fields and select the Authentication type as " SSH PublicKey" 5. Copy the key displayed in the SSH PublicKey field to /root/.ssh/authorized_keys on the host to use public key authentication 6. Click on OK Actual results: Add Host fails with error "Error while executing action: Cannot install Host with empty password." as it's not detecting that the user has selected the SSH PublicKey Authentication instead of Password Authentication Expected results: Add Host with SSH PublicKey Authentication should work from the "Guide Me" flow as well. PS: It works fine in the normal Add New Host flow. Additional info: Screenshot and log-collector report attached