Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: MCollective::Agent::Openshift#status_cron-1.4 raised NoMethodError Error message NoMethodError: undefined method `run_in_container_context' for nil:NilClass …b/openshift-origin-node/model/ application_container.rb: 796:in `run_in_container_context' …e/model/application_container_ext/ cartridge_actions.rb:1276:in `status' …usr/libexec/mcollective/mcollective/agent/ openshift.rb:1010:in `block in oo_status' …usr/libexec/mcollective/mcollective/agent/ openshift.rb: 340:in `with_container_from_args' …usr/libexec/mcollective/mcollective/agent/ openshift.rb:1009:in `oo_status' …usr/libexec/mcollective/mcollective/agent/ openshift.rb: 174:in `execute_action' (eval):3:in `block in execute_action_with_newrelic_transaction_trace' (eval):2:in `execute_action_with_newrelic_transaction_trace' …usr/libexec/mcollective/mcollective/agent/ openshift.rb: 142:in `cartridge_do_action' …h/ruby193/root/usr/share/ruby/mcollective/rpc/ agent.rb: 86:in `handlemsg' …t/rh/ruby193/root/usr/share/ruby/mcollective/ agents.rb: 126:in `block (2 levels) in dispatch' /opt/rh/ruby193/root/usr/share/ruby/ timeout.rb: 69:in `timeout' …t/rh/ruby193/root/usr/share/ruby/mcollective/ agents.rb: 125:in `block in dispatch' Version-Release number of selected component (if applicable): INT (devenv_4813) How reproducible: hardly, just found such errors in new reflic Steps to Reproduce: 1. Check the node errors in new relic 2. 3. Actual results: There are many undefined method errors found during check cartridge status action. Expected results: Should not have such errors. Additional info:
Fixed in https://github.com/openshift/origin-server/pull/5457
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/50a516f8f7329b2d5082dcbfc51279d1bcd7aa7d Bug 1101156 - Always initialize container_plugin
No such error found after automation testing on INT today. Move bug to verified.