Bug 759640
Summary: | installer presents user with "Click here to get started!" link to coregui before the RHQ Server has fully started | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Ian Springer <ian.springer> |
Component: | Installer | Assignee: | Jeeva Kandasamy <jkandasa> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.2 | CC: | ccrouch, hrupp, jshaughn, mazz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-07 19:27:26 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 765670 | ||
Bug Blocks: | 760116 |
Description
Ian Springer
2011-12-02 21:53:29 UTC
(04:16:14 PM) mazz: the question is - "how" do we fix it. (04:16:14 PM) mazz: I think what we should end up doing is deploy the coregui webapp with a very simple little .html file (04:16:14 PM) mazz: that has metadata that turns off caching (04:16:24 PM) mazz: and our installer javascript will check the existence of that html file (04:16:46 PM) mazz: today, we check the existence of Dashboard.do (04:17:00 PM) mazz: if the javascript can get an OK/200 status from /Dashboard.do, you will see the link appear (04:17:11 PM) mazz: that's the key to when that link shows up to the user (04:28:10 PM) ips: mazz: i think if we stick w/ the http ping approach, we also need to ping an html file in coregui.war (04:28:55 PM) ips: but still, even if a GET succeeds for an html file from portal-war and one from coregui, does that def mean rhq.ear is fully deployed? (04:29:49 PM) ips: a better approach may be to have the installer call a method on a JSF managed bean that makes a call to a JBoss MBean to see if rhq.ear is started (04:30:25 PM) ips: or a call to some RHQ API - eg: isServerStarted() (04:31:27 PM) mazz: the html file would have to be in the coregui.war. (04:31:45 PM) ips: the latter would probably need to be a method on an RHQ mbean, since installer.war isn't inside rhq.ear (04:31:51 PM) mazz: but yeah, if you want to be even more specific (04:31:59 PM) mazz: have it call some server-side jsp I wonder if this is related, or is the same problem I reported in bug 765670? I added code to our StartupServlet - it now returns an HTTP status code of 200 when pinging /startupstatus URL. That is now what the installer uses, as opposed to Dashboard.do, to know when the installation is complete. master commit: ca7c376 verified RHQ 4.3 changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE |