Description of problem: ======================= From yesterday, when I install ovirt-engine and run engine-setup (with application mode Gluster), resulting installation doesn't work. Following url http(s)://hostname/ Redirects me to http(s)://hostname/ovirt-engine Which says: --- Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.2.15 (Red Hat) Server at hostname Port 80 --- Returning: 503 Service Temporarily Unavailable httpd is listening on both 80 and 443 ports. /var/log/ovirt-engine/server.log is missing Version-Release number of selected component (if applicable): ============================================================= ovirt-engine-3.6.0-0.0.master.20150428172821.git6090d93.el6 How reproducible: ================= 100% Steps to Reproduce: =================== 1. Install RHEL6 2. Install http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm 3. Install ovirt-engine 4. Run engine-setup 5. Try webui Actual results: =============== 503 Service Temporarily Unavailable Expected results: ================= All works as expected Additional info: ================ -
Please run engine-log-collector and attach archive.
Created attachment 1020117 [details] engine-log-collector log
(In reply to Stanislav Graf from comment #2) > Created attachment 1020117 [details] > engine-log-collector log Sorry Stanislav, but attached report doesn't match with bug description. Can you verify to have attached the right archive?
(In reply to Sandro Bonazzola from comment #3) > (In reply to Stanislav Graf from comment #2) > > Created attachment 1020117 [details] > > engine-log-collector log > > Sorry Stanislav, but attached report doesn't match with bug description. > Can you verify to have attached the right archive? attachment 1020117 [details] sosreport-LogCollector-20150429144026.tar.xz From the machine: ----------------- # engine-log-collector This command will collect system configuration and diagnostic information from this system. The generated archive may contain data considered sensitive and its content should be reviewed by the originating organization before being passed to any third party. No changes will be made to system configuration. Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to skip): ERROR: Unable to connect to REST API. Reason: Service ERROR: _get_hypervisors_from_api: status: 503 reason: Service detail: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>503 Service Temporarily Unavailable</title> </head><body> <h1>Service Temporarily Unavailable</h1> <p>The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.</p> <hr> <address>Apache/2.2.15 (Red Hat) Server at hostname Port 443</address> </body></html> INFO: Gathering oVirt Engine information... INFO: Gathering PostgreSQL the oVirt Engine database and log files from localhost... INFO: No hypervisors were selected, therefore no hypervisor data will be collected. Creating compressed archive... INFO: Log files have been collected and placed in /tmp/sosreport-LogCollector-20150429144026.tar.xz. The MD5 for this file is ab98497f5d5b2d71f200e6cbb3d63e28 and its size is 6.4M --- Downloaded attached sosreport and md5sum matched what is reported. Also even collector reports 503.
Again, Stanislav, attached log collector is from a system where ovirt-engine is not installed. the rpm list shows that ovirt-hosted-engine-setup has been installed but I've no evidence of any ovirt-engine ever installed there and running. Either you're attaching the wrong sos report or you're not installing ovirt-engine on that system.
(In reply to Sandro Bonazzola from comment #5) Resolved over IRC.
The issue was most probably java-openjdk 1.8.0, which is part of base RHEL and satisfy requires of ovirt-engine # rpm -qR ovirt-engine [...] java-openjdk > 1:1.7.0.45-2.4.3.3.el6 [...] As a workaround I used: echo 'exclude=java-1.8.0*' >> /etc/yum.conf This way I avoided 1.8.0 and got installed 1.7.0. ovirt-engine works as expected. Sandro, needinfo on you to decide if you would be fixing requires in upstream or closing this as known issue / won't fix.
Moving the needinfo to mperina.
JBoss 7.1 doesn't work with OpenJDK 1.8. The only solution for this is to install OpenJDK 1.7 and set it as default JDK. So please do following steps: 1. Stop ovirt-engine service (and also DWH if installed) 1. Install latest java-openjdk-1.7.X 2. Execute "alternatives --config java" and set 1.7 as default 3. Execute engine-setup again (just to verify) 4. Start ovirt-engine service oVirt 3.6 will work with OpenJDK 1.8, when we will move to WildFly (BZ1121327)
We're now on WildFly already. I'm closing this one. Stanislav - if you have additional issues, please re-open.
(In reply to Martin Perina from comment #9) > JBoss 7.1 doesn't work with OpenJDK 1.8. The only solution for this is to > install OpenJDK 1.7 and set it as default JDK. So please do following steps: > > 1. Stop ovirt-engine service (and also DWH if installed) > 1. Install latest java-openjdk-1.7.X > 2. Execute "alternatives --config java" and set 1.7 as default > 3. Execute engine-setup again (just to verify) > 4. Start ovirt-engine service > > oVirt 3.6 will work with OpenJDK 1.8, when we will move to WildFly > (BZ1121327) I still encounted the issues after I followed your advice,it is weird