Bug 807174 - Return "undefined method `application'" while destroying a domain
Summary: Return "undefined method `application'" while destroying a domain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Ravi Sankar
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-27 08:31 UTC by bzhao
Modified: 2015-05-15 01:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-13 18:32:19 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description bzhao 2012-03-27 08:31:14 UTC
Description of problem:
It'll return "undefined method `application' for #<CloudUser:0x7fd1d13a4328>" while destroying a domain

Version-Release number of selected component (if applicable):
rhc-0.89.4-1.git.0.a917794.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1.Destroy an existing domain
# rhc-ctl-domain -n xxx -l xxx -p xxx --destroy
  
Actual results:
It'll return error message "undefined method `application' for #<CloudUser:0x7fd1d13a4328>"

Expected results:
The domain should be destroyed successfully

Additional info:
rhc-ctl-domain -n xxx --destroy
Password: 
Submitting form:
rhlogin: bzhaxxxo2
namespace: xxx
delete: true
Contacting https://xxx
Problem reported from server. Response code was 500.

DEBUG:
undefined method `application' for #<CloudUser:0x7fd1d13a4328>/usr/lib/ruby/gems/1.8/gems/activemodel-3.0.10/lib/active_model/attribute_methods.rb:392:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/stickshift-controller-0.7.2/lib/stickshift-controller/app/controllers/legacy_broker_controller.rb:138:in `domain_post'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/abstract_controller/base.rb:150:in `process_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_controller/metal/rendering.rb:11:in `process_action'

Exit Code: 1
api_c: placeholder
broker_c: namespacerhloginsshapp_uuiddebugaltercartridgecart_typeactionapp_nameapi
API version:    1.1.3

RESULT:
undefined method `application' for #<CloudUser:0x7fd1d13a4328>

Comment 1 bzhao 2012-03-28 11:50:27 UTC
Passed verifition on devenv_1674


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