Created attachment 934748 [details] Transcript of what I've done Description of problem: rhevm-setup fails when looking for engine-setup. Version-Release number of selected component (if applicable): # rpm -q rhevm-setup rhevm-setup-3.5.0-0.10.master.el6ev.noarch How reproducible: always Steps to Reproduce: 1. install rhevm 2. run: rhevm-setup 3. Actual results: See attached logs Expected results: rhevm-setup completes Additional info:
Marking as urgent, as it's blocking the RHEV M Appliance
Created attachment 934749 [details] engine-setup log
Created attachment 934766 [details] rpm -qa | sort
Looks like it's working fine on a clean 6.5 install. Looking at the logs I can see: ENV OSETUP_RPMDISTRO/versionLockFilter=list:'['ovirt-engine', 'redhat-support-plugin-rhev']' ENV OVESETUP_RPMDISTRO/packagesUpgradeList=list:'[{'packages': ['ovirt-engine'], 'group': 'ovirt-engine-3.4'}]' Not sure where it comes from, the code looks ok. Also I think that when you run engine-setup on the appliance you should use --offline since you don't have access to yum repositories after initial rpm setup if I've understood correctly the process..
Fabian can you try rebuilding with --offline?
(In reply to Sandro Bonazzola from comment #6) > Fabian can you try rebuilding with --offline? Yes, that continues over this error. But I run into another one: … [ INFO ] Stage: Transaction setup [ INFO ] Stopping engine service [ INFO ] Stopping ovirt-fence-kdump-listener service [ INFO ] Stopping websocket-proxy service [ INFO ] Stage: Misc configuration [ INFO ] Stage: Package installation [ INFO ] Stage: Misc configuration [ ERROR ] Failed to execute stage 'Misc configuration': 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-20140905090107-h81hn4.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20140905090129-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed The path does not exist, but another one: # rpm -qf /usr/share/jbossas/ jbossas-core-7.4.0-16.Final_redhat_19.1.ep6.el6.noarch jbossas-standalone-7.4.0-15.Final_redhat_19.1.ep6.el6.noarch Is the setup maybe looking for a different path? Should I open a different bug?
Looks like you're missing /etc/ovirt-engine-setup.conf.d/10-packaging.conf . Can you check if it exists on your system?
# rpm -qf /etc/ovirt-engine-setup.conf.d/10-packaging.conf rhevm-setup-plugin-ovirt-engine-3.5.0-0.10.master.el6ev.noarch # ls -shald /etc/ovirt-engine-setup.conf.d/10-packaging.conf 4.0K -rw-r--r--. 1 root root 326 Sep 4 08:16 /etc/ovirt-engine-setup.conf.d/10-packaging.conf # cat /etc/ovirt-engine-setup.conf.d/10-packaging.conf [environment:default] OVESETUP_APACHE/configureRootRedirectionDefault=bool:True OVESETUP_CONFIG/jbossHome=str:/usr/share/jbossas OVESETUP_CONFIG/validFirewallManagers=str:iptables OVESETUP_RPMDISTRO/enginePackages=str:rhevm OVESETUP_RPMDISTRO/engineSetupPackages=str:rhevm-setup OVESETUP_RPMDISTRO/upgradeYumGroup=str:rhevm35 It seems to exist
You're replacing the whole configuration using --config instead of --config-append. Please fix the build using --config-append