Bug 1000065

Summary: During install / server start show a sign of life
Product: [JBoss] JBoss Operations Network Reporter: Heiko W. Rupp <hrupp>
Component: UIAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: high    
Version: JON 3.2CC: ahovsepy, asantos, jkremser, loleary, skondkar
Target Milestone: ER02   
Target Release: JON 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
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:    
Bug Blocks: 1006862    
Attachments:
Description Flags
starting.png none

Description Heiko W. Rupp 2013-08-22 15:13:52 UTC
Currently when you have run the installer and it says "done", the server still doing a lot of work (mostly parsing plugins and persiting their metadata).
During that time when the user hits "http://localhost:7080/ he will only see a blank screen.

We need to show some sign of life - similar to that bouncing bar we had before.

Comment 1 Larry O'Leary 2013-08-28 18:37:34 UTC
This isn't limited to the install. This also occurs during a normal startup. There is a very long period (in my case nearly a minute and a half) after the rhqctl start has returned success that the UI remains blank. This is unacceptable.

The expectation is that that UI become available as early as possible regardless of database maintenance, plug-in parsing, inventory sync, etc. Until the UI is available, a progress indicator should appear stating that it is waiting for the server to fully start and it should perform a refresh every few seconds so the user doesn't have to.

Finally, at a minimum, a page should be displayed that indicates the user-interface is temporarily unavailable and that the user should try again in a moment. If we can determine if the server is in the process of starting up then the message should be specific to that event.

Comment 2 Jirka Kremser 2013-09-20 17:12:21 UTC
When the server is starting, there is a page on ${hostname}:7080 that informs the user and when the back-end is ready, it will redirect the user to the coregui.

I moved the original gui (portal war) to "/portal" context so it should be easier to identify the old parts in the future.

branch:  master
link:    http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=863048e05
time:    2013-09-20 17:34:39 +0200
commit:  863048e054750d0b35f69cdc83594928e5c2603e
author:  Jirka Kremser - jkremser
message: [BZ 1000065] - During install / server start show a sign of life -
         making changes to portal war web app in order to make it work
         with different application context ("/portal").


branch:  master
link:    http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=d8ec664b2
time:    2013-09-20 17:34:39 +0200
commit:  d8ec664b255c59f38459ede0c8d99f721799da4c
author:  Jirka Kremser - jkremser
message: [BZ 1000065] - During install / server start show a sign of life - Using
         the welcome root page for indicating the server startup. This
         required the portal war webapp to move from "/" context to
         "/portal" context.

Comment 3 Sunil Kondkar 2013-10-03 12:03:14 UTC
Verified on JBoss ON Version: 3.2.0.ER2 Build Number: 9bf6f76:371eac0

The URL http://<hostname>:7080 displays and EAP6 notification page (attached) during install and restart. After server startup, the user is redirected to coregui.

Comment 4 Armine Hovsepyan 2013-10-03 12:08:11 UTC
Created attachment 807056 [details]
starting.png