Bug 876878 - Long debug information will be displayed on create app page when meeting some errors.
Summary: Long debug information will be displayed on create app page when meeting some...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Master
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ravi Sankar
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-15 08:30 UTC by Yujie Zhang
Modified: 2015-05-15 00:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-19 19:25:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
create non-template app (314.86 KB, image/png)
2012-11-15 08:30 UTC, Yujie Zhang
no flags Details
create medium and scalable wordpress app. (207.61 KB, image/png)
2012-11-15 08:31 UTC, Yujie Zhang
no flags Details

Description Yujie Zhang 2012-11-15 08:30:23 UTC
Created attachment 645456 [details]
create non-template app

Description of problem:

When I tried to create a jbosseap application, and I clicked the "change" link of source code and input some random string like "4r345awet", and clicked the "create" button ,then long debug code information was displayed on create app page.

Another situation is that I tried to create wordpress app using costum link:

https://int.openshift.redhat.com/app/console/application_types/custom?cartridges[]=ruby-1.9&cartridges[]=mongo&initial_git_url=http://github.com/openshift/wordpress-example

And I set the gear size is medium and set it scalable.Then the debug information was displayed.


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

INT(devenv_2474)

How reproducible:always


Steps to Reproduce:
1.Go to create non-template app page
2.Input random string to the source code form
3.Click the "Create" button
  
OR
1.Create medium and scalable wordpress app using costum link :

https://int.openshift.redhat.com/app/console/application_types/custom?cartridges[]=ruby-1.9&cartridges[]=mongo&initial_git_url=http://github.com/openshift/wordpress-example

Actual results:

Long debug information was displayed on create app page.

Expected results:

There should be correct remind message for user when they repoduce this step, at least, the debug information should not be displayed.

Additional info:

Comment 1 Yujie Zhang 2012-11-15 08:31:04 UTC
Created attachment 645458 [details]
create medium and scalable wordpress app.

Comment 2 Clayton Coleman 2012-11-15 16:26:29 UTC
Broker is saying this requires 4 gears, but that's a dirty lie.

2012-11-15 11:25:44.102 [DEBUG] test has a gear limit of 3 and this app requires 4 gears. (pid:3598)
2012-11-15 11:25:44.103 [DEBUG] /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.1.7/app/models/application.rb:308:in `create'
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.1.7/app/controllers/applications_controller.rb:122:in `create'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/

2012-11-15 11:25:44.381 [ERROR] ["/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.1.7/app/models/application.rb:308:in `create'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.1.7/app/controllers/applications_controller.rb:122:in `create'", "/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action'", "/opt/rh/ruby193/root/usr/share/gems/gems/actio

Comment 3 Ravi Sankar 2012-11-15 18:08:11 UTC
I encountered this issue yesterday and was fixed on devenv_2476

Comment 4 Yujie Zhang 2012-11-16 08:07:19 UTC
(In reply to comment #3)
Tested the above cases on INT, did not meet this issue any more, so verify this bug.


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