Description of problem: [root@brq-update ~]# rhevm-dwh-setup -g dwh_ansfile Answer file generated at dwh_ansfile [root@brq-update ~]# cat dwh_ansfile [general] REMOTE_DB_PORT=None CREATE_READONLY_USER=None STOP_ENGINE=None REMOTE_DB_HOST=None READONLY_SECURE=None REMOTE_DB_PASSWORD=None REMOTE_DB_USER=None READONLY_USER=None BACKUP_DB=None READONLY_PASS=None Version-Release number of selected component (if applicable): rhevm-dwh-3.3.4-2.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Unable to automate dwh-setup. Expected results: Answerfile is generated containing the prompted values and can be used for automated setup of the dwh. Additional info:
This was fixed in 3.4.
That's why this bug was filed agains 3.3. Without this an upgrade of reports from 3.3 to 3.4 cannot be tested.
(In reply to Petr Beňas from comment #2) > That's why this bug was filed agains 3.3. Without this an upgrade of reports > from 3.3 to 3.4 cannot be tested. Can you add logs and exact description of the issue? We can't help you without these.
In 3.3 do we create a answer file at end of setup. Can you help him with the options answers? Yaniv
(In reply to Yaniv Dary from comment #6) > In 3.3 do we create a answer file at end of setup. Can you help him with the > options answers? > > > > Yaniv in 3.3 we do not write it in the end with the input answers. see [1]. Could not find anywhere official doc about this answer file, or even an example. [2] only has a comment "Editing /tmp/alex to the appropriate values, then"... Something like this should work, based on reading the code - didn't try that: [general] REMOTE_DB_PORT=None CREATE_READONLY_USER=False STOP_ENGINE=True REMOTE_DB_HOST=None READONLY_SECURE=None REMOTE_DB_PASSWORD=None REMOTE_DB_USER=None READONLY_USER=None BACKUP_DB=True READONLY_PASS=None You can leave keys with None or just drop them. 'REMOTE_DB_HOST' is ignored - the host is taken from engine. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1025336#c3 [2] http://gerrit.ovirt.org/20771 If you still have problems please tell me - I'd be very happy to see automated testing for dwh and reports setup!