Bug 1256612

Summary: Can not create app/add cartridge successfully on STG sometimes
Product: OpenShift Online Reporter: Yan Du <yadu>
Component: PodAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED WONTFIX QA Contact: Jianwei Hou <jhou>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: aos-bugs, jokerman, mmccomas, wsun
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: 2017-05-31 18:22:11 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 Yan Du 2015-08-25 06:42:41 UTC
Description of problem:
when testing automation, there are about 20-25 concurrent requests sending at the same time, some operation could not be successful, eg: create app, scale up app and add cartriage to app etc, we got some error as below:

1. 
# rhc app create tfc1uitl python-2.7 mongodb-2.4 -s -g small --namespace  gucscy --rhlogin libra-test+power7 --server  stg.openshift.redhat.com
Application Options 
------------------- 
Domain:     gucscy 
Cartridges: python-2.7, mongodb-2.4 
Gear Size:  small 
Scaling:    yes 

Creating application 'tfc1uitl' ... Server returned an unexpected error code: 504 
05:21:44 INFO> Exit Status: 1
05:21:44 WARN> Expected response not found: Your application 'tfc1uitl' is now available
05:21:44  WARN> Failed to get the following properties: url, git_url, ssh_url,  username, password, repo, dashboard_admin, dashboard_admin_password,  teliid_user, teliid_password, modeshape_user, modeshape_user_password,  modeshape_admin, modeshape_admin_password in the output of rhc client

2. 
#rhc cartridge add -a dbscale1 mysql-5.1 --rhlogin libra-test+power12  --server stg.openshift.redhat.com
Adding mysql-5.1 to application 'dbscale1' ... Server returned an unexpected error code: 504 


3. 
# rhc cartridge add -a dbscale1 mysql-5.1 --rhlogin libra-test+power18  --server stg.openshift.redhat.com
Adding mysql-5.1 to  application 'dbscale1' ... An error occurred while communicating with  the server. This problem may only be temporary. Check that you have  correctly specified your OpenShift server  'https://stg.openshift.redhat.com/broker/rest/application/55dbfaeac0c5a77d8f000254/cartridges'.


4.
Creating application 'zrgnzyhu' ... Unable to complete the requested operation due to: The server ex-std-node1.stg.rhcloud.com that your application is running on failed to respond in time. This may be due to a system restart.
Reference ID: 0296d408de04ef1fa0e4631e9bf62227


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


How reproducible:
50%

Steps to Reproduce:
1. Create a bunch of apps and do some operation like scale app or add db to app


Actual results:
Same as description

Expected results:
All the operation could be successful without error.


Additional info:

Comment 1 Abhishek Gupta 2015-09-25 18:26:33 UTC
I believe this was an issue with the proxy configuration in STG where 503s were being returned. As of now, the number of calls resulting in 503s has been reduced greatly and these requests/tests do pass on subsequent attempts.

Comment 2 Yan Du 2015-10-27 08:30:27 UTC
Test on STG(devenv-stage_1188)

Issue could not be reproduced. Move bug to verified.

Comment 3 Eric Paris 2017-05-31 18:22:11 UTC
We apologize, however, we do not plan to address this report at this time. The majority of our active development is for the v3 version of OpenShift. If you would like for Red Hat to reconsider this decision, please reach out to your support representative. We are very sorry for any inconvenience this may cause.