Hide Forgot
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 ------)
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.