Red Hat Bugzilla – Bug 1030466
[engine-dwh] ovirt-engine-dwh-setup should stored values provided in interactive setup in the answer file
Last modified: 2014-09-18 08:24:28 EDT
Description of problem:
1) The values in the answer file are all none instead of the values entered in the installation. There is not much point of making the user edit and the file and figure out which value should be used.
If I understand correctly, STOP_ENGINE=No will break the installation - so why giving that option ?
was checked over 2 setups, clean installation + update, before and after dwh installation
# rhevm-dwh-setup --gen-answer-file=a1
Answer file generated at a1
# cat a1
2) coukd be nice if the answer file would be generated automatically like in the engine setup
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install engine + dwh
2. run the command rhevm-dwh-setup -g=answerfile
useless answer file and no auto generated one
answer file containing entered answers, relevant keys and no auto generated one
Since the answer file handling was added for QA automation I think we can postpone this to 3.4 when the migration to otopi will join engine-setup answerfile and dwh answer file in the same one.
I think you misinterpreting the purpose of the answer file. The *sole* purpose of the generated answerfile is to provide you with the possible options that can be set in it. Then you would you this file to perform an unattended installation.
The dwh/reports setup do not touch the answerfile after it's created.
So I don't think this bug is valid.
I don't see anywhere that the dwh/reports setup touched the answer file, on the contrary, I'd expect it to recreate one during the installation - as the engine setup does.
Second, I don't understand what is the point of manually generating list of options with none values. Such a file can be packed in the beginning. When a user Performs an action after the installation, he might expect that his values will be generated as well - like the new engine setup does.
If this is too complicated to be done in the current version, you can accept Sandro's suggestion to delay it to the next one.
This bug is a check point for implementing post-install answer file in dwh/reports with otopi.
Verified on av2
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.