Red Hat Bugzilla – Bug 1256612
Can not create app/add cartridge successfully on STG sometimes
Last modified: 2017-05-31 14:22:11 EDT
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:
# rhc app create tfc1uitl python-2.7 mongodb-2.4 -s -g small --namespace gucscy --rhlogin email@example.com --server stg.openshift.redhat.com
Cartridges: python-2.7, mongodb-2.4
Gear Size: small
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
#rhc cartridge add -a dbscale1 mysql-5.1 --rhlogin firstname.lastname@example.org --server stg.openshift.redhat.com
Adding mysql-5.1 to application 'dbscale1' ... Server returned an unexpected error code: 504
# rhc cartridge add -a dbscale1 mysql-5.1 --rhlogin email@example.com --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'.
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):
Steps to Reproduce:
1. Create a bunch of apps and do some operation like scale app or add db to app
Same as description
All the operation could be successful without error.
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.
Test on STG(devenv-stage_1188)
Issue could not be reproduced. Move bug to verified.
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.