Created attachment 834798 [details] dwh setup logs Description of problem: Using unattended installation, readonly user is not created: # grep -i read 33.local.dwh.ansfile CREATE_READONLY_USER=Yes READONLY_SECURE=No READONLY_USER=readonly READONLY_PASS=123456 # cat /etc/ovirt-engine-dwh/engine-dwh.conf.d/10-setup-database-dwh.conf DWH_USER=engine_history DWH_PASSWORD=6095BIgZ DWH_DATABASE=ovirt_engine_history Version-Release number of selected component (if applicable): is26 How reproducible: 100% Steps to Reproduce: 1. create dwh answer file using rhevm-dwh-setup -g ansfile 2. fix te file to create readonly user 3. run rhevm-dwh-setup -a ansfile Actual results: readonly user is not created Expected results: readonly user is created, with the credentials specified in the answerfile Additional info:
Alex, it seems that createReadUser is not set to True when options['CREATE_READONLY_USER'] is not None. I'm not sure about implications in other parts of the setup. I'll try to fix it tomorrow.
Verified on is28.1: local ====== # su - postgres -c 'psql -c "SELECT rolname FROM pg_roles;"' rolname ---------------- postgres engine engine_history readonly engine_reports (5 rows) Remote =======
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0036.html