Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: engine_page: set root passwd on oVirt Engine tab
......................................................................

engine_page: set root passwd on oVirt Engine tab

Users must have option to set root password correctly.

Change-Id: I56795d2595689c67d078960b3f6e676cd92d9e1f
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=989003
Signed-off-by: Douglas Schilling Landgraf <dougsl...@redhat.com>
---
M src/engine_page.py
1 file changed, 2 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node-plugin-vdsm 
refs/changes/02/17402/1

diff --git a/src/engine_page.py b/src/engine_page.py
index 59a677a..a95acd7 100644
--- a/src/engine_page.py
+++ b/src/engine_page.py
@@ -163,7 +163,8 @@
 
         if changes.contains_any(["vdsm_cfg.password_confirmation"]):
             self.logger.debug("Setting engine password")
-            txs += [SetEnginePassword()]
+            self.logger.info(effective_model["vdsm_cfg.password"])
+            txs += 
[SetRootPassword(password=effective_model["vdsm_cfg.password_confirmation"])]
 
         if effective_changes.contains_any(["action.register"]) and \
            effective_model["vdsm_cfg.address"] != "":
@@ -363,10 +364,3 @@
             msgConf = "{engine_name} Configuration Failed".format(
                 engine_name=config.engine_name)
             raise RuntimeError(msgConf)
-
-
-class SetEnginePassword(utils.Transaction.Element):
-    title = "Setting Engine password"
-
-    def commit(self):
-        self.logger.info("Setting Engine password")


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I56795d2595689c67d078960b3f6e676cd92d9e1f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-plugin-vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to