Created attachment 838934 [details] ovirt-engine-setup-$date.log Description of problem: I generated answerfile with --generate=answerfile, saved the file from the machine, reinstalled machine and then i fired up engine-setup --config=answerfile and it failed. wow... -%- # engine-setup --config=answerfile [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/root/answerfile'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20131219120816.log Version: otopi-1.1.2 (otopi-1.1.2-1.el6ev) [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Stage: Environment customization --== PACKAGES ==-- [ INFO ] Checking for product updates... [ INFO ] No product updates found --== NETWORK CONFIGURATION ==-- [ INFO ] iptables will be configured as firewall manager. --== DATABASE CONFIGURATION ==-- --== OVIRT ENGINE CONFIGURATION ==-- --== PKI CONFIGURATION ==-- --== APACHE CONFIGURATION ==-- --== SYSTEM CONFIGURATION ==-- --== END OF CONFIGURATION ==-- [ INFO ] Stage: Setup validation [ ERROR ] Failed to execute stage 'Setup validation': Cannot find Jboss at /usr/share/jboss-as [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20131219120816.log [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed -%- -%- # cat answerfile [8/1874] # action=setup [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:nZcqmtKU OVESETUP_DB/port=int:5432 OVESETUP_SYSTEM/nfsConfigEnabled=bool:True OVESETUP_SYSTEM/memCheckEnabled=bool:False OVESETUP_PKI/organization=str:rhev.lab.eng.brq.redhat.com OVESETUP_CONFIG/isoDomainName=str:ISO_DOMAIN OVESETUP_CONFIG/adminPassword=str:123456 OVESETUP_CONFIG/applicationMode=str:both OVESETUP_CONFIG/firewallManager=str:iptables OVESETUP_CONFIG/updateFirewall=bool:True OVESETUP_CONFIG/websocketProxyConfig=bool:True OVESETUP_CONFIG/fqdn=str:jb-rh33.rhev.lab.eng.brq.redhat.com OVESETUP_CONFIG/isoDomainMountPoint=str:/isos OVESETUP_CONFIG/storageType=str:nfs 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 OVESETUP_DIALOG/confirmUpgrade=bool:True OVESETUP_SYSTEM/redhatSupportProxyPort=none:None OVESETUP_SYSTEM/redhatSupportProxy=none:None OVESETUP_SYSTEM/redhatSupportProxyUser=none:None OVESETUP_SYSTEM/configureRedhatSupportPlugin=bool:False OVESETUP_SYSTEM/redhatSupportProxyPassword=none:None OVESETUP_SYSTEM/redhatSupportProxyEnabled=bool:False -%- -%- # ls -ld /usr/share/jbossas drwxr-xr-x. 7 jboss jboss 4096 Dec 19 11:37 /usr/share/jbossas -%- Version-Release number of selected component (if applicable): is27 How reproducible: 100% Steps to Reproduce: 1. engine-setup --generate=answerfile, save the file 2. now have clean machine with is27 installed 3. engine-setup --config=answerfile # one you copied from previous backup Actual results: complains about jboss homedir Expected results: should work out of the box, why should i care about jboss homedir? Additional info:
With --jboss-home=/usr/share/jbossas engine-setup passes OK. [8/1874] displayed is just bogus from tmux (screen alternative) copy mode, ignore it :)
--config has been used on answer file instead of --config-append. duplicate of bug #1014372 *** This bug has been marked as a duplicate of bug 1014372 ***