Bug 786330 - Can not create namespace on website.
Summary: Can not create namespace on website.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Alex Boone
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-01 05:50 UTC by Yujie Zhang
Modified: 2015-05-15 01:45 UTC (History)
2 users (show)

Fixed In Version: devenv_1578
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-03 21:28:32 UTC
Target Upstream Version:


Attachments (Terms of Use)
Error message (249.26 KB, image/png)
2012-02-01 05:50 UTC, Yujie Zhang
no flags Details
Debug code (3.42 KB, text/plain)
2012-02-02 05:17 UTC, Yujie Zhang
no flags Details

Description Yujie Zhang 2012-02-01 05:50:15 UTC
Description of problem:

Can not create namespace on website.

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

rhc-site-0.85.13-1.el6_2.noarch

How reproducible:always


Steps to Reproduce:
1.Go to openshift website,and login with vaild account
2.Go to express console
3.Click "Edit" button, input valid namespace, and click "Save" button.
  
Actual results:
Can not create namespace successfully, and error message came out:

undefined local variable or method `json' for #

Details see in attachment.

Expected results:

The namespace should be created successfully without error.

Additional info:

Comment 1 Yujie Zhang 2012-02-01 05:50:57 UTC
Created attachment 558753 [details]
Error message

Comment 2 Yujie Zhang 2012-02-01 08:27:28 UTC
This issue happened only when I test using streamline-aws.rb.

Comment 3 Alex Boone 2012-02-01 14:26:06 UTC
I am unable to reproduce this, while using streamline-aws.rb configuration.  Perhaps there was an intermittent streamline outage or some other external failure which is now corrected.  Can you please try again?

Comment 4 Yujie Zhang 2012-02-02 05:13:58 UTC
(In reply to comment #3)
Test this bug on rhc-site-0.85.14-1.el6_2.noarch, still got the same issue.Part of debug code is as following,other details see in attachment.

in http_post decoded json: {"exit_code"=>1, "debug"=>"undefined local variable or method `json' for #<Express::Broker::AuthService:0x7f4d4bc62a60>/var/www/libra/broker/lib/express/broker/auth_service.rb:55:in `login'\n/usr/lib/ruby/gems/1.8/gems/cloud-sdk-controller-0.3.21/lib/cloud-sdk-controller/app/controllers/legacy_broker_controller.rb:310:in `authenticate'\n/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:447:in `_run__1216444444__process_action__1908319806__callbacks'\n/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:410:in `send'\n/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'\n/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94:in `send'", "api_c"=>["placeholder"], "broker_c"=>["namespace", "rhlogin", "ssh", "app_uuid", "debug", "alter", "cartridge", "cart_type", "action", "app_name", "api"], "broker"=>"1.1.1", "messages"=>"", "api"=>"1.1.2", "data"=>"", "result"=>"undefined local variable or method `json' for #<Express::Broker::AuthService:0x7f4d4bc62a60>"}

Comment 5 Yujie Zhang 2012-02-02 05:17:23 UTC
Created attachment 558972 [details]
Debug code

Comment 6 Alex Boone 2012-02-02 14:39:55 UTC
Thanks for the additional info.  I was trying to run only the site in integrated mode, not the broker.  Once I configured the broker properly I saw the errors.  I have fixed a bad variable reference and a bad hash index to solve these issues.

Comment 7 Yujie Zhang 2012-02-03 05:25:44 UTC
(In reply to comment #6)
Verify this bug on https://stg.openshift.redhat.com , it is fixed now.


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