Bug 1101156
| Summary: | [new relic] undefined method `run_in_container_context' for nil:NilClass on INT nodes | |||
|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Meng Bo <bmeng> | |
| Component: | Containers | Assignee: | Jhon Honce <jhonce> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 2.x | CC: | jokerman, mmccomas | |
| Target Milestone: | --- | |||
| Target Release: | 2.x | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1102399 (view as bug list) | Environment: | ||
| Last Closed: | 2014-07-15 10:29:24 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1102399 | |||
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. |
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: