Bug 811847

Summary: Caught "RestApi::MissingAuthorizationError in DomainsController#edit" error when changing namespace on website.
Product: OKD Reporter: Yujie Zhang <yujzhang>
Component: WebsiteAssignee: Clayton Coleman <ccoleman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: xtian
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: 2012-04-13 18:31:30 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 Yujie Zhang 2012-04-12 06:16:34 UTC
Description of problem:

When I click "Change your namespace..." button on My Account page, it will catch "RestApi::MissingAuthorizationError in DomainsController#edit" error after I created a namespace.

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

devenv-stage_166

How reproducible:always


Steps to Reproduce:
1.Go to openshift website and login
2.Create a namespace and try to change the namespace
3.
  
Actual results:

The following error came out:

RestApi::MissingAuthorizationError in DomainsController#edit

RestApi::MissingAuthorizationError

Rails.root: /var/www/stickshift/site
Application Trace | Framework Trace | Full Trace

app/models/rest_api/base.rb:405:in `connection'
app/models/rest_api/base.rb:436:in `find_single'
app/models/rest_api/base.rb:301:in `find'
app/controllers/domains_controller.rb:18:in `edit'

Expected results:

The name space should be changed successfully.

Additional info:

This issue also exist on devenv_1715.

Comment 1 Clayton Coleman 2012-04-12 14:07:55 UTC
A result of my changes, testing now.

Comment 2 Xiaoli Tian 2012-04-13 01:48:05 UTC
Test it on stage 2.0.9, it works now.