Description of problem: Accessing "http://<cfme-appliance-fqdn>/api" results in "FATAL -- : ActionController::RoutingError (No route matches [GET] "/favicon.ico")" in production.log Version-Release number of selected component (if applicable): 5.4.0.0.24.20150427192818_1fd9e49 How reproducible: very Steps to Reproduce: 1. Make a REST API call in browser using "http://<cfme-appliance-fqdn>/api" Actual results: Throws FATAL Error in the production.log file Expected results: Should not throw any error message in the production.log file Additional info: production.log: =============== [----] F, [2015-04-30T03:33:41.912755 #7758:48de9c] FATAL -- : ActionController::RoutingError (No route matches [GET] "/favicon.ico"): /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/rack/logger.rb:32:in `call_app' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/rack/logger.rb:18:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_dispatch/middleware/static.rb:63:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/engine.rb:484:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/application.rb:231:in `call' rack (1.4.5) lib/rack/content_length.rb:14:in `call' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/rack/log_tailer.rb:17:in `call' thin (1.3.1) lib/thin/connection.rb:80:in `block in pre_process' thin (1.3.1) lib/thin/connection.rb:78:in `catch' thin (1.3.1) lib/thin/connection.rb:78:in `pre_process' thin (1.3.1) lib/thin/connection.rb:53:in `process' thin (1.3.1) lib/thin/connection.rb:38:in `receive_data' eventmachine (1.0.7) lib/eventmachine.rb:187:in `run_machine' eventmachine (1.0.7) lib/eventmachine.rb:187:in `run' thin (1.3.1) lib/thin/backends/base.rb:61:in `start' thin (1.3.1) lib/thin/server.rb:159:in `start' rack (1.4.5) lib/rack/handler/thin.rb:13:in `run' rack (1.4.5) lib/rack/server.rb:268:in `start' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/commands/server.rb:70:in `start' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/commands.rb:55:in `block in <top (required)>' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/commands.rb:50:in `tap' /opt/rh/cfme-gemset/bundler/gems/rails-8f014fba21f9/railties/lib/rails/commands.rb:50:in `<top (required)>' script/rails:6:in `require' script/rails:6:in `<main>'
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/431ce4ba6d2d3602db859813dada8e884a003551 commit 431ce4ba6d2d3602db859813dada8e884a003551 Author: Alberto Bellotti <abellott> AuthorDate: Mon May 4 09:50:42 2015 -0400 Commit: Alberto Bellotti <abellott> CommitDate: Mon May 4 09:50:42 2015 -0400 Need to redirect /favicon.ico to /assets/favicon.ico - For non-html API responses, web triggered API requests will still request /favicon.ico, we need to redirect the browsers's request to /assets/favicon.ico. https://bugzilla.redhat.com/show_bug.cgi?id=1217336 system/COPY/etc/httpd/conf.d/cfme-https-application.conf | 7 +++++++ 1 file changed, 7 insertions(+)
Good to go. Verified and working fine in 5.4.0.1.20150512111354_4368716
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1100.html