| Summary: | add-alias got undefined method `[]' for nil:NilClass in INT | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Rob Millner <rmillner> |
| Component: | Containers | Assignee: | mfisher |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.x | CC: | chunchen, mfisher |
| 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: | 2014-01-24 03:27: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: | |
The gear was created on Oct 25'th, it looks as though the li/misc/maintenance/bin/rhc-populate-sni-proxy script was not run. To validate, ensure that application aliases can be created in INT. Thanks! The application aliases can be created on INT(devenv_3965), so mark it as VERIFIED. |
Saw this in the logs on ex-std-node2.int.rhcloud.com while analysing another problem. Oct 29 14:20:09 ex-std-node2 mcollectived[28848]: openshift.rb:92:in `cartridge_do_action' cartridge_do_action call / action: cartridge_do, agent=openshift, data={:cartridge=>"openshift-origin-node", :action=>"add-alias", :args=> {"--with-app-uuid"=>"526ab63603ef64b8a7000b53", "--with-app-name"=>"python", "--with-container-uuid"=>"526ab63603ef64b8a7000b53", "--with-container-name"=>"python", "--with-namespace"=>"abc", "--with-uid"=>2161, "--with-request-id"=>"d970cfa102c15fe956ffea902dfcc02b", "--with-alias-name"=>"python.com", "--cart-name"=>"openshift-origin-node"}, :process_results=>true} Oct 29 14:20:09 ex-std-node2 mcollectived[28848]: openshift.rb:93:in `cartridge_do_action' cartridge_do_action validation = openshift-origin-node add-alias {"--with-app-uuid"=>"526ab63603ef64b8a7000b53", "--with-app-name"=>"python", "--with-container-uuid"=>"526ab63603ef64b8a7000b53", "--with-container-name"=>"python", "--with-namespace"=>"abc", "--with-uid"=>2161, "--with-request-id"=>"d970cfa102c15fe956ffea902dfcc02b", "--with-alias-name"=>"python.com", "--cart-name"=>"openshift-origin-node"} Oct 29 14:20:09 ex-std-node2 mcollectived[28848]: openshift.rb:134:in `execute_action' Executing action [add-alias] using method oo_add_alias with args [{"--with-app-uuid"=>"526ab63603ef64b8a7000b53", "--with-app-name"=>"python", "--with-container-uuid"=>"526ab63603ef64b8a7000b53", "--with-container-name"=>"python", "--with-namespace"=>"abc", "--with-uid"=>2161, "--with-request-id"=>"d970cfa102c15fe956ffea902dfcc02b", "--with-alias-name"=>"python.com", "--cart-name"=>"openshift-origin-node"}] Oct 29 14:20:10 ex-std-node2 mcollectived[28848]: openshift.rb:640:in `rescue in with_frontend_rescue_pattern' undefined method `[]' for nil:NilClass Oct 29 14:20:10 ex-std-node2 mcollectived[28848]: openshift.rb:641:in `rescue in with_frontend_rescue_pattern' ["/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-frontend-haproxy-sni-proxy-0.1.5/lib/openshift/runtime/frontend/http/plugins/haproxy-sni-proxy.rb:133:in `block in add_alias'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-frontend-apachedb-0.2.1/lib/openshift/runtime/frontend/http/plugins/apachedb.rb:260:in `open'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-frontend-haproxy-sni-proxy-0.1.5/lib/openshift/runtime/frontend/http/plugins/haproxy-sni-proxy.rb:132:in `add_alias'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.16.7/lib/openshift-origin-node/model/frontend_httpd.rb:546:in `block in call_plugins'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.16.7/lib/openshift-origin-node/model/frontend_httpd.rb:542:in `map'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.16.7/lib/openshift-origin-node/model/frontend_httpd.rb:542:in `call_plugins'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.16.7/lib/openshift-origin-node/model/frontend_httpd.rb:464:in `add_alias'", "/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:758:in `block in oo_add_alias'", "/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:655:in `block in with_frontend_from_args'", "/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:627:in `with_frontend_rescue_pattern'", "/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:653:in `with_frontend_from_args'", "/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:757:in `oo_add_alias'", "/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:139:in `execute_action'", "(eval):3:in `block in execute_action_with_newrelic_transaction_trace'", "/opt/rh/ruby193/root/usr/share/gems/gems/newrelic_rpm-3.6.6.147/lib/new_relic/agent/instrumentation/controller Oct 29 14:20:10 ex-std-node2 mcollectived[28848]: openshift.rb:150:in `execute_action' Finished executing action [add-alias] (1) Oct 29 14:20:10 ex-std-node2 mcollectived[28848]: openshift.rb:114:in `cartridge_do_action' cartridge_do_action failed (1) ------ undefined method `[]' for nil:NilClass ------)