Alex Lourie has uploaded a new change for review.

Change subject: packaging: setup: update remote DB creation instructions
......................................................................

packaging: setup: update remote DB creation instructions

This patch fixed a regression introduced by the patch e92aa3cd

Change-Id: If88e10e5632269a69347a4e2ff4a27b2f30a8b5b
Bug-Url: https://bugzilla.redhat.com/1021556
Signed-off-by: Alex Lourie <alou...@redhat.com>
---
M packaging/ovirt-engine-reports-setup.py
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-reports refs/changes/19/21819/1

diff --git a/packaging/ovirt-engine-reports-setup.py 
b/packaging/ovirt-engine-reports-setup.py
index c608dd6..25be158 100755
--- a/packaging/ovirt-engine-reports-setup.py
+++ b/packaging/ovirt-engine-reports-setup.py
@@ -1011,6 +1011,18 @@
                             'automatically detected credentials. '
                             'Would you like to manually provide db 
credentials?'
                         ):
+                            print (
+                                'Remote installation selected. Make sure that 
DBA '
+                                'creates a user and the database in the 
following '
+                                ' fashion:\n'
+                                '\tcreate role <role> with login '
+                                'encrypted password <password>;\n'
+                                '\tcreate database ovirtenginereports '
+                                'template template0 encoding '
+                                '\'UTF8\' lc_collate \'en_US.UTF-8\' '
+                                'lc_ctype \'en_US.UTF-8\' '
+                                'owner <role>;\n'
+                            )
                             (
                                 db_dict['host'],
                                 db_dict['port'],


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If88e10e5632269a69347a4e2ff4a27b2f30a8b5b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-reports
Gerrit-Branch: master
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