Hide Forgot
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:
Created attachment 558753 [details] Error message
This issue happened only when I test using streamline-aws.rb.
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?
(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>"}
Created attachment 558972 [details] Debug code
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.
(In reply to comment #6) Verify this bug on https://stg.openshift.redhat.com , it is fixed now.