Bug 1039641 - [new relic] ApplicationsController#create raisedMCollective::DDLValidationError: Cannot validate input uid: value should be a number
Summary: [new relic] ApplicationsController#create raisedMCollective::DDLValidationEr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
: 994683 (view as bug list)
Depends On:
Blocks: 1003647 1073604
TreeView+ depends on / blocked
 
Reported: 2013-12-09 16:44 UTC by Jessica Forrester
Modified: 2014-04-16 17:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1073604 (view as bug list)
Environment:
Last Closed: 2014-01-30 00:52:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jessica Forrester 2013-12-09 16:44:16 UTC
Description of problem:
Reported in both PROD and INT, ApplicationsController#create raisedMCollective::DDLValidationError: Cannot validate input uid: value should be a number 

Some investigation already done to uncover that in mcollective_application_container_proxy.rb in has_uid_or_gid?  the call to client.has_uid_or_gid(:uid => uid.to_s) will always fail.


Stacktrace:
…rh/ruby193/root/usr/share/ruby/mcollective/ddl/
base.rb: 144:in `rescue in validate_input_argument'
…rh/ruby193/root/usr/share/ruby/mcollective/ddl/
base.rb: 125:in `validate_input_argument'
…uby193/root/usr/share/ruby/mcollective/ddl/
agentddl.rb: 167:in `block in validate_rpc_request'
…uby193/root/usr/share/ruby/mcollective/ddl/
agentddl.rb: 159:in `each'
…uby193/root/usr/share/ruby/mcollective/ddl/
agentddl.rb: 159:in `validate_rpc_request'
…/ruby193/root/usr/share/ruby/mcollective/rpc/
client.rb: 220:in `method_missing'
…b/openshift/
mcollective_application_container_proxy.rb:2813:in `block in has_uid_or_gid?'
…b/openshift/
mcollective_application_container_proxy.rb:2325:in `rpc_exec'
…b/openshift/
mcollective_application_container_proxy.rb:2812:in `has_uid_or_gid?'
…b/openshift/
mcollective_application_container_proxy.rb: 407:in `rescue in block in create'
…b/openshift/
mcollective_application_container_proxy.rb: 396:in `block in create'
…b/openshift/
mcollective_application_container_proxy.rb: 383:in `each'
…b/openshift/
mcollective_application_container_proxy.rb: 383:in `create'
…/openshift-origin-controller-1.18.1/app/models/
gear.rb: 112:in `create_gear'
…roller-1.18.1/app/models/pending_ops/
create_gear_op.rb:   8:in `execute'
…n-controller-1.18.1/app/models/
pending_app_op_group.rb: 108:in `block in execute'
…n-controller-1.18.1/app/models/
pending_app_op_group.rb:  97:in `each'
…n-controller-1.18.1/app/models/
pending_app_op_group.rb:  97:in `execute'
…ift-origin-controller-1.18.1/app/models/
application.rb:1511:in `run_jobs'
…ift-origin-controller-1.18.1/app/models/
application.rb: 667:in `block in add_features'
…ift-origin-controller-1.18.1/app/models/
application.rb:1577:in `run_in_application_lock'
…ift-origin-controller-1.18.1/app/models/
application.rb: 651:in `add_features'
…ift-origin-controller-1.18.1/app/models/
application.rb: 253:in `create_app'
…ller-1.18.1/app/controllers/
applications_controller.rb: 157:in `create'
…ntroller-1.18.1/lib/openshift/controller/
action_log.rb:  80:in `set_logged_request'
…sr/share/gems/gems/journey-1.0.4/lib/journey/
router.rb:  68:in `block in call'
…sr/share/gems/gems/journey-1.0.4/lib/journey/
router.rb:  56:in `each'
…sr/share/gems/gems/journey-1.0.4/lib/journey/
router.rb:  56:in `call'
…per-0.11.1/lib/mongo_mapper/middleware/
identity_map.rb:  10:in `call'
…oid-3.0.21/lib/rack/mongoid/middleware/
identity_map.rb:  34:in `block in call'
…e/gems/gems/mongoid-3.0.21/lib/mongoid/
unit_of_work.rb:  39:in `unit_of_work'
…oid-3.0.21/lib/rack/mongoid/middleware/
identity_map.rb:  34:in `call'
…3/root/usr/share/gems/gems/rack-1.4.1/lib/rack/
etag.rb:  23:in `call'
…/share/gems/gems/rack-1.4.1/lib/rack/
conditionalget.rb:  35:in `call'
…e/gems/gems/rack-1.4.1/lib/rack/session/abstract/
id.rb: 205:in `context'
…e/gems/gems/rack-1.4.1/lib/rack/session/abstract/
id.rb: 200:in `call'
…/share/gems/gems/rack-1.4.1/lib/rack/
methodoverride.rb:  21:in `call'
…oot/usr/share/gems/gems/rack-1.4.1/lib/rack/
runtime.rb:  17:in `call'
…3/root/usr/share/gems/gems/rack-1.4.1/lib/rack/
lock.rb:  15:in `call'
…are/gems/gems/rack-cache-1.2/lib/rack/cache/
context.rb: 136:in `forward'
…are/gems/gems/rack-cache-1.2/lib/rack/cache/
context.rb: 143:in `pass'
…are/gems/gems/rack-cache-1.2/lib/rack/cache/
context.rb: 155:in `invalidate'
…are/gems/gems/rack-cache-1.2/lib/rack/cache/
context.rb:  71:in `call!'
…are/gems/gems/rack-cache-1.2/lib/rack/cache/
context.rb:  51:in `call'
…r-3.0.21/lib/phusion_passenger/rack/
request_handler.rb:  97:in `process_request'
…0.21/lib/phusion_passenger/
abstract_request_handler.rb: 521:in `accept_and_process_next_request'
…0.21/lib/phusion_passenger/
abstract_request_handler.rb: 274:in `main_loop'
…0.21/lib/phusion_passenger/rack/
application_spawner.rb: 206:in `start_request_handler'
…0.21/lib/phusion_passenger/rack/
application_spawner.rb:  79:in `block in spawn_application'
…s/gems/passenger-3.0.21/lib/phusion_passenger/
utils.rb: 470:in `safe_fork'
…0.21/lib/phusion_passenger/rack/
application_spawner.rb:  64:in `spawn_application'
…assenger-3.0.21/lib/phusion_passenger/
spawn_manager.rb: 264:in `spawn_rack_application'
…assenger-3.0.21/lib/phusion_passenger/
spawn_manager.rb: 137:in `spawn_application'
…assenger-3.0.21/lib/phusion_passenger/
spawn_manager.rb: 275:in `handle_spawn_application'
…senger-3.0.21/lib/phusion_passenger/
abstract_server.rb: 357:in `server_main_loop'
…senger-3.0.21/lib/phusion_passenger/
abstract_server.rb: 206:in `start_synchronously'

Comment 2 Dan McPherson 2013-12-09 18:32:55 UTC
https://github.com/openshift/origin-server/pull/4300

Stage pull request will follow.

Comment 4 Dan McPherson 2013-12-09 19:32:36 UTC
Will be in devenv-stage_608 as well.

Comment 5 Jianwei Hou 2013-12-10 11:59:12 UTC
This problem is not reproducible on devenv_4115, will also verify it on devenv-stage_608 when the image was ready

Comment 6 Jianwei Hou 2013-12-11 06:20:21 UTC
This problem is not reproducible on devenv-stage_609. Mark as verified.

Comment 7 Dan McPherson 2014-04-16 17:59:47 UTC
*** Bug 994683 has been marked as a duplicate of this bug. ***


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