Project

General

Profile

Bug #24999

host add subscription page not showing subscriptions

Added by John Mitsch almost 2 years ago. Updated almost 2 years ago.

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

Description

2018-09-20T18:29:37 [D|dyn|290f9] Executor heartbeat
2018-09-20T18:29:48 [I|app|] Started GET "/content-hosts/details/views/content-host-add-subscriptions.html" for 127.0.0.1 at 2018-09-20 18:29:48 +0000
2018-09-20T18:29:48 [I|app|] Started GET "/katello/api/v2/organizations/1/subscriptions?available_for=host&host_id=1&organization_id=1&page=1&paged=true&per_page=20&search=&sort_order=ASC" for 127.0.0.1 at 2018-09-20 18:29:48 +0000
2018-09-20T18:29:48 [I|app|9b8d5] Processing by Katello::Api::V2::SubscriptionsController#index as JSON
2018-09-20T18:29:48 [I|app|9b8d5]   Parameters: {"available_for"=>"host", "host_id"=>"1", "organization_id"=>"1", "page"=>"1", "paged"=>"true", "per_page"=>"20", "search"=>"", "sort_order"=>"ASC", "api_version"=>"v2"}
2018-09-20T18:29:48 [I|app|9b8d5] Current user set to admin (admin)
2018-09-20T18:29:48 [D|app|9b8d5] Current location set to none
2018-09-20T18:29:48 [D|app|9b8d5] Current organization set to Default Organization
2018-09-20T18:29:48 [I|app|] Started GET "/api/v2/bookmarks?search=controller%3Dkatello_subscriptions" for 127.0.0.1 at 2018-09-20 18:29:48 +0000
2018-09-20T18:29:48 [E|app|9b8d5] NoMethodError: undefined method `path' for #<Class:0x000000000923f880>
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.1/lib/active_record/dynamic_matchers.rb:22:in `method_missing'
 | /home/vagrant/katello/app/lib/katello/resources/candlepin/consumer.rb:78:in `available_pools'
 | /home/vagrant/katello/app/services/katello/candlepin/consumer.rb:20:in `block in <class:Consumer>'
 | /home/vagrant/katello/app/lib/katello/lazy_accessor.rb:160:in `instance_eval'
 | /home/vagrant/katello/app/lib/katello/lazy_accessor.rb:160:in `run_initializer'
 | /home/vagrant/katello/app/lib/katello/lazy_accessor.rb:139:in `lazy_attribute_get'
 | /home/vagrant/katello/app/lib/katello/lazy_accessor.rb:60:in `block (2 levels) in lazy_accessor'
 | /home/vagrant/katello/app/services/katello/candlepin/consumer.rb:56:in `filtered_pools'
 | /home/vagrant/katello/app/controllers/katello/api/v2/subscriptions_controller.rb:161:in `for_host'
 | /home/vagrant/katello/app/controllers/katello/api/v2/subscriptions_controller.rb:68:in `index_relation'
 | /home/vagrant/katello/app/controllers/katello/api/v2/subscriptions_controller.rb:34:in `index'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/abstract_controller/base.rb:194:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_controller/metal/rendering.rb:30:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
 | /home/vagrant/foreman/app/controllers/api/v2/base_controller.rb:163:in `disable_json_root'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
 | /home/vagrant/foreman/app/controllers/concerns/application_shared.rb:15:in `set_timezone'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
 | /home/vagrant/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
 | /home/vagrant/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/audited-4.8.0/lib/audited/sweeper.rb:14:in `around'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/audited-4.8.0/lib/audited/sweeper.rb:14:in `around'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/abstract_controller/callbacks.rb:41:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_controller/metal/rescue.rb:22:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `block in instrument'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `instrument'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.1/lib/active_record/railties/controller_runtime.rb:24:in `process_action'
 | /home/vagrant/katello/app/controllers/katello/concerns/api/api_controller.rb:39:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/abstract_controller/base.rb:134:in `process'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionview-5.2.1/lib/action_view/rendering.rb:32:in `process'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_controller/metal.rb:191:in `dispatch'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_controller/metal.rb:252:in `dispatch'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:34:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:48:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:52:in `block in serve'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:840:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/engine.rb:524:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `public_send'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `method_missing'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/routing/mapper.rb:48:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:52:in `block in serve'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/journey/router.rb:35:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/routing/route_set.rb:840:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/apipie-rails-0.5.10/lib/apipie/static_dispatcher.rb:65:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/bullet-5.7.6/lib/bullet/rack.rb:14:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/apipie-rails-0.5.10/lib/apipie/extractor/recorder.rb:136:in `call'
 | /home/vagrant/foreman/lib/middleware/telemetry.rb:9:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/apipie-rails-0.5.10/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 | /home/vagrant/foreman/lib/middleware/catch_json_parse_errors.rb:8:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/tempfile_reaper.rb:15:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/etag.rb:25:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/conditional_get.rb:25:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/head.rb:12:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
 | /home/vagrant/foreman/lib/middleware/logging_context.rb:23:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/session/abstract/id.rb:232:in `context'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/session/abstract/id.rb:226:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/cookies.rb:670:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.1/lib/active_record/migration.rb:559:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:98:in `run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/rack/logger.rb:38:in `call_app'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/rack/logger.rb:28:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/request_id.rb:27:in `call'
 | /home/vagrant/katello/lib/katello/prevent_json_parsing.rb:12:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/method_override.rb:22:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/runtime.rb:22:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/actionpack-5.2.1/lib/action_dispatch/middleware/static.rb:127:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/secure_headers-5.0.5/lib/secure_headers/middleware.rb:13:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/engine.rb:524:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `public_send'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/railties-5.2.1/lib/rails/railtie.rb:190:in `method_missing'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/urlmap.rb:68:in `block in call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/urlmap.rb:53:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/rack-2.0.5/lib/rack/urlmap.rb:53:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/puma-3.12.0/lib/puma/configuration.rb:225:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/puma-3.12.0/lib/puma/server.rb:658:in `handle_request'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/puma-3.12.0/lib/puma/server.rb:472:in `process_client'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/puma-3.12.0/lib/puma/server.rb:332:in `block in run'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/puma-3.12.0/lib/puma/thread_pool.rb:133:in `block in spawn_thread'
 | /home/vagrant/.rvm/gems/ruby-2.5.1/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2018-09-20T18:29:48 [I|app|9b8d5] Completed 500 Internal Server Error in 43ms (Views: 0.3ms | ActiveRecord: 16.7ms)
 |
 |
2018-09-20T18:29:48 [D|app|9b8d5] With body: {"displayMessage":"undefined method `path' for #\u003cClass:0x000000000923f880\u003e","errors":["undefined method `path' for #\u003cClass:0x000000000923f880\u003e"]}
 |

Associated revisions

Revision 1ec2aed1 (diff)
Added by John Mitsch almost 2 years ago

Fixes #24999 - Host add subs page not loading

History

#1 Updated by John Mitsch almost 2 years ago

  • Target version set to Katello 3.9.0
  • Assignee set to John Mitsch

#2 Updated by John Mitsch almost 2 years ago

  • Triaged changed from No to Yes

#3 Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7728 added

#4 Updated by John Mitsch almost 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF