Description of problem: Using the RHEV-M automatic install "rhevm-setup --config=rhevm-answer," I get an error where the Jboss home directory is defaulted to /usr/share/jboss-as and the automatic install, fails. If I use rhevm-setup --config=rhevm-answer --jboss-home=/usr/share/jbossas there is no error and the automatic install works. There should be an entry setting the Jboss home directory in the answer file or the rhevm-setup defaults to the right directory. Version-Release number of selected component (if applicable): RHEV-M 3.3 (is16) How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: This is the complete answer file from RHEV-M 3.3 (is16) [environment:default] OVESETUP_CORE/engineStop=none:None OVESETUP_DIALOG/confirmSettings=bool:True OVESETUP_DB/database=str:engine OVESETUP_DB/fixDbViolations=none:None OVESETUP_DB/secured=bool:False OVESETUP_DB/host=str:localhost OVESETUP_DB/user=str:engine OVESETUP_DB/securedHostValidation=bool:False OVESETUP_DB/password=str:9075CaFv OVESETUP_DB/port=int:5432 OVESETUP_SYSTEM/nfsConfigEnabled=bool:False OVESETUP_SYSTEM/memCheckEnabled=bool:True OVESETUP_PKI/organization=str:spice.ml2.eng.bos.redhat.com OVESETUP_CONFIG/isoDomainName=none:None OVESETUP_CONFIG/isoDomainMountPoint=none:None OVESETUP_CONFIG/adminPassword=str:REDhat2013! OVESETUP_CONFIG/applicationMode=str:virt OVESETUP_CONFIG/firewallManager=str:iptables OVESETUP_CONFIG/websocketProxyConfig=bool:False OVESETUP_CONFIG/fqdn=str:rhevm.spice.ml2.eng.bos.redhat.com OVESETUP_CONFIG/storageType=str:iscsi OVESETUP_PROVISIONING/postgresProvisioningEnabled=bool:True OVESETUP_APACHE/configureRootRedirection=bool:True OVESETUP_APACHE/configureSsl=bool:True OSETUP_RPMDISTRO/requireRollback=none:None OSETUP_RPMDISTRO/enableUpgrade=none:None OVESETUP_AIO/configure=none:None OVESETUP_AIO/storageDomainDir=none:None
*** Bug 1014371 has been marked as a duplicate of this bug. ***
You should use --config-append
(In reply to Alon Bar-Lev from comment #2) > You should use --config-append I think we should document better the difference between --config and --config-append: from --help: --config=file Load configuration files. --config-append=file Load extra configuration files. It doesn't explain why using --config-append works and --config require you to specify other parameters in order to have a working instance.
(In reply to Sandro Bonazzola from comment #3) > (In reply to Alon Bar-Lev from comment #2) > > You should use --config-append > > I think we should document better the difference between --config and > --config-append: from --help: > > --config=file > Load configuration files. > --config-append=file > Load extra configuration files. > > It doesn't explain why using --config-append works and --config require you > to specify other parameters in order to have a working instance. No problem, document whatever you want. --config - replaces system configuration. --config-append - appends configuration into whatever exists.
I installed rhevm and then did "rhevm-setup --generate-answer=file" to get the values to use in the automatic install. I then reinstalled the RHEL servers to install and configured rhevm from scratch, using that answer file. Step by step: 1. Install rhevm on RHEL 6.5. 2. rhevm-setup --generate-answer=rhevm-answer. Save answer file. 3. Reinstall RHEL 6.5 from PXE on same machine and wipe out previous install. 4. Reinstall rhevm on RHEL 6.5. 5. rhevm-setup --config=/home/test/Desktop/rhevm-answer How will the --config or the --config-append work in the scenario from the original comment? The *only* time I get this to work is when I add "--jboss-home=/usr/share/jbossas" There is a "/usr/share/jboss-as" value, hard coded somewhere that the install is picking up and needs to be changed to the new default value.
(In reply to Bill Sanford from comment #5) > 5. rhevm-setup --config=/home/test/Desktop/rhevm-answer 1. Please use engine-setup and not rhevm-setup. rhevm-setup is obsoleted. 2. please use --config-append and not --config per comment#2.
(In reply to Alon Bar-Lev from comment #6) > (In reply to Bill Sanford from comment #5) > > 5. rhevm-setup --config=/home/test/Desktop/rhevm-answer > > 1. Please use engine-setup and not rhevm-setup. rhevm-setup is obsoleted. > > 2. please use --config-append and not --config per comment#2. Closing as not a bug.
*** Bug 1040016 has been marked as a duplicate of this bug. ***
*** Bug 1044978 has been marked as a duplicate of this bug. ***