cloning this bug for Ovirt, as the same issue is seen in Upstream Master as well.
+++ This bug was initially created as a clone of Bug #1057574 +++
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
Setting target release to current version for consideration and review. please
do not push non-RFE bugs to an undefined target release to make sure bugs are
reviewed for relevancy, fix, closure, etc.