Yaniv Bronhaim has uploaded a new change for review.

Change subject: ui: from new cluster GuideMe form adding host by pk fails
......................................................................

ui: from new cluster GuideMe form adding host by pk fails

Adding host by public key failed on "cannot add host with empty
password" because the authentication method was not set properly to the
Add host request.

Change-Id: I7001e0766d52ac92fe17d6e84fbc42767007e5eb
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1057575
Signed-off-by: Yaniv Bronhaim <ybron...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterGuideModel.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/70/24070/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterGuideModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterGuideModel.java
index 4b02f46..4ec7f30 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterGuideModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/clusters/ClusterGuideModel.java
@@ -497,6 +497,7 @@
         if (model.getUserPassword().getEntity() != null) {
             vdsActionParams.setPassword((String) 
model.getUserPassword().getEntity());
         }
+        vdsActionParams.setAuthMethod(model.getAuthenticationMethod());
         vdsActionParams.setOverrideFirewall((Boolean) 
model.getOverrideIpTables().getEntity());
         vdsActionParams.setRebootAfterInstallation(((VDSGroup) 
model.getCluster().getSelectedItem()).supportsVirtService());
 


-- 
To view, visit http://gerrit.ovirt.org/24070
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7001e0766d52ac92fe17d6e84fbc42767007e5eb
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybron...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to