Project

General

Profile

Bug #27546

GET /katello/api/srpms/compare always fails with error: Missing template katello/api/v2/common/compare

Added by Vijay Singh about 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

GET /katello/api/srpms/compare always fails with error: Missing template katello/api/v2/common/compare

Steps:

1. Create two yum repos (repo1, repo2).
2. Upload SRPM into that.
3. Create two C.V.(by adding one in each) and publish it.
4. Now try to compare with below API:

$ curl --header "Accept:application/json,version=2" --header "Content-Type:application/json" --request GET --insecure --user admin:pass https://srpm-centos7-katello-devel.vijsingh.example.com/katello/api/srpms/compare --data "{\"content_view_version_ids\":[1,6]}" 
{"displayMessage":"Missing template katello/api/v2/common/compare with {:locale=\u003e[:en], :formats=\u003e[:json], :variants=\u003e[], :handlers=\u003e[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:\n  * \"/home/vagrant/foreman/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/graphiql-rails-1.7.0/app/views\"\n  * \"/home/vagrant/katello/app/views\"\n  * \"/home/vagrant/katello/engines/bastion/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-0.16.0/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/apipie-rails-0.5.16/app/views\"\n","errors":["Missing template katello/api/v2/common/compare with {:locale=\u003e[:en], :formats=\u003e[:json], :variants=\u003e[], :handlers=\u003e[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:\n  * \"/home/vagrant/foreman/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/graphiql-rails-1.7.0/app/views\"\n  * \"/home/vagrant/katello/app/views\"\n  * \"/home/vagrant/katello/engines/bastion/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-0.16.0/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/apipie-rails-0.5.16/app/views\"\

Traceback:

09:40:30 rails.1   | 2019-08-08T09:40:30 [E|app|bed2b6e1] ActionView::MissingTemplate: Missing template katello/api/v2/common/compare with {:locale=>[:en], :formats=>[:json], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:
09:40:30 rails.1   |  |   * "/home/vagrant/foreman/app/views" 
09:40:30 rails.1   |  |   * "/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/graphiql-rails-1.7.0/app/views" 
09:40:30 rails.1   |  |   * "/home/vagrant/katello/app/views" 
09:40:30 rails.1   |  |   * "/home/vagrant/katello/engines/bastion/app/views" 
09:40:30 rails.1   |  |   * "/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-0.16.0/app/views" 
09:40:30 rails.1   |  |   * "/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/apipie-rails-0.5.16/app/views" 
09:40:30 rails.1   |  | 
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionview-5.2.1/lib/action_view/path_set.rb:48:in `find'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionview-5.2.1/lib/action_view/lookup_context.rb:116:in `find'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionview-5.2.1/lib/action_view/renderer/abstract_renderer.rb:20:in `find_template'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionview-5.2.1/lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionview-5.2.1/lib/action_view/renderer/template_renderer.rb:10:in `render'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionview-5.2.1/lib/action_view/renderer/renderer.rb:44:in `render_template'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionview-5.2.1/lib/action_view/renderer/renderer.rb:25:in `render'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionview-5.2.1/lib/action_view/rendering.rb:103:in `_render_template'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/streaming.rb:219:in `_render_template'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionview-5.2.1/lib/action_view/rendering.rb:84:in `render_to_body'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/rendering.rb:52:in `render_to_body'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/renderers.rb:142:in `render_to_body'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/abstract_controller/rendering.rb:25:in `render'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/rendering.rb:36:in `render'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:46:in `block (2 levels) in render'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/core_ext/benchmark.rb:14:in `block in ms'
09:40:30 rails.1   |  | /opt/rh/rh-ruby25/root/usr/share/ruby/benchmark.rb:308:in `realtime'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/core_ext/benchmark.rb:14:in `ms'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:46:in `block in render'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/railties/controller_runtime.rb:31:in `cleanup_view_runtime'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:45:in `render'
09:40:30 rails.1   |  | /home/vagrant/katello/app/lib/katello/api/v2/rendering.rb:44:in `respond_with_template'
09:40:30 rails.1   |  | /home/vagrant/katello/app/lib/katello/api/v2/rendering.rb:63:in `respond_with_template_collection'
09:40:30 rails.1   |  | /home/vagrant/katello/app/lib/katello/api/v2/rendering.rb:78:in `rescue in try_specific_collection_template'
09:40:30 rails.1   |  | /home/vagrant/katello/app/lib/katello/api/v2/rendering.rb:75:in `try_specific_collection_template'
09:40:30 rails.1   |  | /home/vagrant/katello/app/lib/katello/api/v2/rendering.rb:11:in `respond_for_index'
09:40:30 rails.1   |  | /home/vagrant/katello/app/controllers/katello/concerns/api/v2/repository_content_controller.rb:67:in `compare'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/abstract_controller/base.rb:194:in `process_action'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
09:40:30 rails.1   |  | /home/vagrant/foreman/app/controllers/api/v2/base_controller.rb:163:in `disable_json_root'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
09:40:30 rails.1   |  | /home/vagrant/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
09:40:30 rails.1   |  | /home/vagrant/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
09:40:30 rails.1   |  | /home/vagrant/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/audited-4.8.0/lib/audited/sweeper.rb:14:in `around'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/audited-4.8.0/lib/audited/sweeper.rb:14:in `around'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/abstract_controller/callbacks.rb:41:in `process_action'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/rescue.rb:22:in `process_action'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `block in instrument'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `instrument'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/railties/controller_runtime.rb:24:in `process_action'
09:40:30 rails.1   |  | /home/vagrant/katello/app/controllers/katello/concerns/api/api_controller.rb:39:in `process_action'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/abstract_controller/base.rb:134:in `process'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionview-5.2.1/lib/action_view/rendering.rb:32:in `process'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal.rb:191:in `dispatch'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_controller/metal.rb:252:in `dispatch'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:34:in `serve'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:48:in `serve'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:52:in `block in serve'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `each'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `serve'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:840:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/railties-5.2.1/lib/rails/engine.rb:524:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `public_send'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `method_missing'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:48:in `serve'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:52:in `block in serve'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `each'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `serve'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:840:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/apipie-rails-0.5.16/lib/apipie/static_dispatcher.rb:66:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/bullet-6.0.1/lib/bullet/rack.rb:15:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/apipie-rails-0.5.16/lib/apipie/extractor/recorder.rb:137:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/apipie-rails-0.5.16/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/tempfile_reaper.rb:15:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/etag.rb:25:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/conditional_get.rb:25:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/head.rb:12:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/session/abstract/id.rb:232:in `context'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/session/abstract/id.rb:226:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/cookies.rb:670:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activerecord-5.2.1/lib/active_record/migration.rb:559:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:98:in `run_callbacks'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/railties-5.2.1/lib/rails/rack/logger.rb:38:in `call_app'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/railties-5.2.1/lib/rails/rack/logger.rb:28:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/request_id.rb:27:in `call'
09:40:30 rails.1   |  | /home/vagrant/katello/lib/katello/prevent_json_parsing.rb:12:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/method_override.rb:22:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/runtime.rb:22:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/activesupport-5.2.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/sendfile.rb:111:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/secure_headers-6.1.1/lib/secure_headers/middleware.rb:11:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/railties-5.2.1/lib/rails/engine.rb:524:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `public_send'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `method_missing'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/urlmap.rb:68:in `block in call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `each'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/puma-4.0.1/lib/puma/configuration.rb:228:in `call'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/puma-4.0.1/lib/puma/server.rb:657:in `handle_request'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/puma-4.0.1/lib/puma/server.rb:467:in `process_client'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/puma-4.0.1/lib/puma/server.rb:328:in `block in run'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/puma-4.0.1/lib/puma/thread_pool.rb:135:in `block in spawn_thread'
09:40:30 rails.1   |  | /home/vagrant/foreman/.vendor/ruby/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
09:40:30 rails.1   | 2019-08-08T09:40:30 [I|app|bed2b6e1] Completed 500 Internal Server Error in 176ms (Views: 0.3ms | ActiveRecord: 26.2ms)
09:40:30 rails.1   |  | 
09:40:30 rails.1   |  | 
09:40:30 rails.1   | 2019-08-08T09:40:30 [D|app|bed2b6e1] With body: {"displayMessage":"Missing template katello/api/v2/common/compare with {:locale=\u003e[:en], :formats=\u003e[:json], :variants=\u003e[], :handlers=\u003e[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:\n  * \"/home/vagrant/foreman/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/graphiql-rails-1.7.0/app/views\"\n  * \"/home/vagrant/katello/app/views\"\n  * \"/home/vagrant/katello/engines/bastion/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-0.16.0/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/apipie-rails-0.5.16/app/views\"\n","errors":["Missing template katello/api/v2/common/compare with {:locale=\u003e[:en], :formats=\u003e[:json], :variants=\u003e[], :handlers=\u003e[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:\n  * \"/home/vagrant/foreman/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/graphiql-rails-1.7.0/app/views\"\n  * \"/home/vagrant/katello/app/views\"\n  * \"/home/vagrant/katello/engines/bastion/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-0.16.0/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/apipie-rails-0.5.16/app/views\"\n"]}
09:40:30 rails.1   |  |

Related issues

Related to Katello - Tracker #27539: [Tracker] SRPM IssuesNew

Associated revisions

Revision 10192e4a (diff)
Added by James Jeffers 4 months ago

Fixes #27546 - adds srpm json templates for compare action

History

#1 Updated by Vijay Singh about 1 year ago

#2 Updated by Chris Roberts about 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.14.0

#3 Updated by Jonathon Turel 9 months ago

  • Target version changed from Katello 3.14.0 to Katello 3.16.0
  • Assignee deleted (Chris Roberts)

#4 Updated by Jonathon Turel 6 months ago

  • Target version changed from Katello 3.16.0 to 1223

#5 Updated by Jonathon Turel 5 months ago

  • Target version changed from 1223 to Katello 4.0.0

#6 Updated by The Foreman Bot 5 months ago

  • Assignee set to James Jeffers
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8767 added

#7 Updated by James Jeffers 4 months ago

  • Bugzilla link set to 1773298

#8 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases Katello 4.0.0 added

#9 Updated by James Jeffers 4 months ago

  • Status changed from Ready For Testing to Closed

#10 Updated by Ian Ballou 4 months ago

  • Target version changed from Katello 4.0.0 to Katello 3.16.0

Also available in: Atom PDF