Alex Lourie has uploaded a new change for review.

Change subject: packaging: setup: update legacy DB params reading
......................................................................

packaging: setup: update legacy DB params reading

Change-Id: If1aeb66ecaceecc5f4daa71416ab3306305f6802
Bug-Url: https://bugzilla.redhat.com/1032745
Signed-off-by: Alex Lourie <alou...@redhat.com>
---
M packaging/setup/plugins/ovirt-engine-setup/legacy/database.py
1 file changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/42/21842/1

diff --git a/packaging/setup/plugins/ovirt-engine-setup/legacy/database.py 
b/packaging/setup/plugins/ovirt-engine-setup/legacy/database.py
index 6cc809d..2002021 100644
--- a/packaging/setup/plugins/ovirt-engine-setup/legacy/database.py
+++ b/packaging/setup/plugins/ovirt-engine-setup/legacy/database.py
@@ -86,6 +86,13 @@
                             )
                             break
 
+                            # In legacy we always have engine user defined
+                            # before the rhevm user, as that's how we
+                            # upgraded from 3.0; in other installations
+                            # we will not have more than 1 user (engine)
+                            # As such, we should use the first user we find.
+                            break
+
     @plugin.event(
         stage=plugin.Stages.STAGE_SETUP,
         before=(


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If1aeb66ecaceecc5f4daa71416ab3306305f6802
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Alex Lourie <alou...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to