Bug 847424
Summary: | rhc tools reports failure for creating scaled java app but it succeeds | ||
---|---|---|---|
Product: | OKD | Reporter: | Wesley Hearn <whearn> |
Component: | Website | Assignee: | Matt Woodson <mwoodson> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.x | CC: | admiller, cdrh, hripps, rmillner |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-23 20:38:13 UTC | 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: |
Description
Wesley Hearn
2012-08-11 03:14:45 UTC
Forgot to post the success line from user_action.log: SUCCESS DATE=2012-08-10 TIME=22:31:48 ACTION=ADD_APPLICATION REQ_ID=e6c5c77932bb4467af2f81af5d8085a9 USER_ID=da8d582bbfc6480bafea382caf466f69 LOGIN=whearn Created application testscale1 This is likely timeout based - JbossAS7 is the most time consuming cartridge to configure. *** Bug 849313 has been marked as a duplicate of this bug. *** Worked on this with Rajat. We were able to reproduce this using a direct request against the production broker using a curl command. This suggested that the problem was not in the rhc client tools. Rajat and Ram ran with this and found the source of the problem: we are using Amazon's Elastic Load Balancer (ELB) with our production broker, and ELB has a 60-second timeout: https://forums.aws.amazon.com/thread.jspa?threadID=33427&start=50&tstart=50 In the long term, the broker and rhc client tools should be modified to handle the app creation process with multiple discrete actions: 1. User uses rhc client tools to request a new app 2. Broker responds with a ticket and kicks off the app creation 3. User can 'check in' with the ticket to monitor app creation progress 4. When the app is ready, user can use the ticket to set up the git clone (User stories to this effect already exist in our backlog) This approach makes an issue like a 60-second timeout unimportant to the implementation, and will ensure that the process works for ever-larger app setups. In the meantime, we need to find another way to work around ELB's 60-second limit. Reclassified and assigned to twoodson. (In reply to comment #5) > Reclassified and assigned to twoodson. sorry; that's mwoodson. I have disabled the AWS ELB. openshift.redhat.com is now round robin between our two proxy nodes. This will fix the ELB timeout problem. As per our end of print scrum, marking this fixed. Closing. |