Bug 828038 - cannot create scalable jbossas app on stage
Summary: cannot create scalable jbossas app on stage
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks: 827359
TreeView+ depends on / blocked
 
Reported: 2012-06-04 05:50 UTC by Meng Bo
Modified: 2015-05-14 22:54 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-08 17:59:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Meng Bo 2012-06-04 05:50:45 UTC
Description of problem:
create scalable jbossas app on stage always get failure.

Version-Release number of selected component (if applicable):
stg.openshift.redhat.com

How reproducible:
always

Steps to Reproduce:
1.rhc app create -a scalejboss -t jbossas-7 -s
2.
3.
  
Actual results:
Submitting form:
debug: true
rhlogin: bmeng+1
Contacting https://stg.openshift.redhat.com
Creating application: scalejb in bmeng1s
/Library/Ruby/Gems/1.8/gems/rhc-0.93.18/lib/rhc-common.rb:514:in `create_app': undefined method `uuid' for []:Array (NoMethodError)
	from /Library/Ruby/Gems/1.8/gems/rhc-0.93.18/bin/rhc-app:227:in `create_app'
	from /Library/Ruby/Gems/1.8/gems/rhc-0.93.18/bin/rhc-app:499
	from /usr/bin/rhc-app:23:in `load'
	from /usr/bin/rhc-app:23


Expected results:
scalable jbossas app create successful.

Additional info:
this issue does not exist on devenv-stage_200 and INT env

Comment 1 Meng Bo 2012-06-04 05:52:40 UTC
after creation failure, app info can be listed in 'rhc domain show' but cannot be accessed via browser.

Comment 2 Rob Millner 2012-06-04 17:19:50 UTC
$ grep libra_server ~/.openshift/express.conf
libra_server=stg.openshift.redhat.com


$ rhc app create -p [hidden] -a scalejboss -t jbossas-7 -s
Creating application: scalejboss in rmstg
Now your new domain name is being propagated worldwide (this might take a minute)...
    retry # 4 - Waiting for DNS: scalejboss-rmstg.stg.rhcloud.com
Warning: Permanently added 'scalejboss-rmstg.stg.rhcloud.com,107.21.77.136' (RSA) to the list of known hosts.
Confirming application 'scalejboss' is available:  Success!

scalejboss published:  http://scalejboss-rmstg.stg.rhcloud.com/
git url:  ssh://1110d509273349e6ba12dfa7d6bac7e3.rhcloud.com/~/git/scalejboss.git/
Successfully created application: scalejboss

Accessing haproxy shows the gear is up:
http://scalejboss-rmstg.stg.rhcloud.com/haproxy-status/


Accessing the app shows the welcome page:
http://scalejboss-rmstg.stg.rhcloud.com/





Suspect this is due to hitting one of the numerous timeouts we have baked into the system while stg was under a heavy load.

Comment 3 Rob Millner 2012-06-05 02:13:59 UTC
Stg has a broker watchdog that seems to be killing processes while they are creating jboss applications leaving the system in a weird state.

The watchdog timeout was increased to 5 minutes and we specifically observed that it will wait out jboss app creation.

Comment 4 Meng Bo 2012-06-05 11:16:29 UTC
verified on today's stage, bug fixed.


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