Bug 980373 - Cookie forces default JBoss cartridge webpage to be displayed instead of Application homepage
Summary: Cookie forces default JBoss cartridge webpage to be displayed instead of Appl...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 1.x
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Dan Mace
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-02 08:00 UTC by Paul McKeown
Modified: 2013-07-29 20:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-29 20:34:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Paul McKeown 2013-07-02 08:00:32 UTC
When I navigate to my domain: http://theowl.co I get the "Welcome to OpenShift, JBossAS7 Cartridge" default JBoss page, even though the application is running. This happens in Firefox and Safari, though when I navigate to the same URL in Chrome, I get my homepage.

Using Firebug, I deleted all cookies for the site and refreshed, and then I got my apps homepage. I narrowed down the cookies that were being generated by something in my Openshift stack to a single one that is causing the issue: GEAR.

Once this GEAR cookie has been deleted I can access my website properly.

The content of the GEAR cookie is: 51c4f98b4382ecfb62000053-pmckeown

The issue also occurs when i navigate to my RH domain http://theowl-pmckeown.rhcloud.com/

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Navigate to http://theowl-pmckeown.rhcloud.com/ in Firefox
2. Confirm "Welcome to Openshift" page
3. Use firebug or equivalent to delete the GEAR cookie
4. Refresh the page
5. Confirm my application homepage is displayed

Comment 1 Paul McKeown 2013-07-07 00:49:19 UTC
Hey, I reverted a setting in my Openshift admin console which I believe has resolved the issue.

Under the 'Scale your application' page, I had recently changed the minimum number of small gears to 2 for my JBoss Application Server 7 cartridge.  Restoring this back to a minimum of 1 gear and a maximum of all available seems to have stopped the problem from manifesting.  Though there does seem to still be an issue with this scaling of this cartridge.

Comment 2 Dan Mace 2013-07-29 20:34:22 UTC
Going to close this one; I couldn't reproduce with a new scaled application, and the user reports that theirs is now working. If the problem happens again, we'll need a broken application to analyze.


Note You need to log in before you can comment on or make changes to this bug.