Bug 1217023
Summary: | ovirt-engine replies with 503 Service Temporarily Unavailable on fresh install | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Stanislav Graf <sgraf> | ||||
Component: | ovirt-engine-installer | Assignee: | Martin Perina <mperina> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Pavel Stehlik <pstehlik> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.6 | CC: | bugs, ecohen, knarra, lsurette, mperina, oourfali, patrickstar12358, rbalakri, sabose, sbonazzo, sgraf, stirabos, yeylon, ylavi | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.6.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | infra | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-07-30 09:00:02 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1121327 | ||||||
Bug Blocks: | 1187461 | ||||||
Attachments: |
|
Description
Stanislav Graf
2015-04-29 12:27:23 UTC
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 |