Alex Lourie has uploaded a new change for review.

Change subject: packaging: setup: add remote DB/user creation instructions
......................................................................

packaging: setup: add remote DB/user creation instructions

Change-Id: I7ed82da4e2e735f6dd2351ff0ac1266f3e4df9aa
Bug-Url: https://bugzilla.redhat.com/1021556
Signed-off-by: Alex Lourie <[email protected]>
---
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/86/20586/1

diff --git a/packaging/ovirt-engine-reports-setup.py 
b/packaging/ovirt-engine-reports-setup.py
index 9207d50..d35a62e 100755
--- a/packaging/ovirt-engine-reports-setup.py
+++ b/packaging/ovirt-engine-reports-setup.py
@@ -976,6 +976,18 @@
                     'Would you like to manually provide db credentials?'
                 ):
                     DB_EXIST = False
+                    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 ovirt_engine_history '
+                        'template template0 encoding '
+                        '\'UTF8\' lc_collate \'en_US.UTF-8\' '
+                        'lc_ctype \'en_US.UTF-8\' '
+                        'owner <role>;\n'
+                    )
                     while not DB_EXIST:
                         (
                             db_dict['host'],


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ed82da4e2e735f6dd2351ff0ac1266f3e4df9aa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-reports
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to