Project

General

Profile

Bug #18649

scoped search errors when searching on content hosts in Katello

Added by John Mitsch about 5 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

2017-02-23T15:47:13 e33661ee [app] [D]
2017-02-23T15:47:13 e33661ee [app] [I] Started GET "/api/v2/hosts/auto_complete_search?organization_id=1&page=4&search=na&sort_by=name&sort_order=ASC" for 192.168.121.1 at 2017-02-23 15:47:13 +0000
2017-02-23T15:47:13 e33661ee [app] [I] Processing by Katello::Api::V2::HostAutocompleteController#auto_complete_search as JSON
2017-02-23T15:47:13 e33661ee [app] [I] Parameters: {"organization_id"=>"1", "page"=>"4", "search"=>"na", "sort_by"=>"name", "sort_order"=>"ASC", "api_version"=>"v2"}
2017-02-23T15:47:13 e33661ee [app] [D] Setting current user thread-local variable to admin
2017-02-23T15:47:13 e33661ee [app] [D] Setting current organization thread-local variable to Default Organization
2017-02-23T15:47:13 e33661ee [app] [W] Action failed | ActiveRecord::UnknownAttributeError: unknown attribute 'hypervisor' for Class. | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/definition.rb:117:in `column' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/definition.rb:124:in `type' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/definition.rb:240:in `block in default_fields_for' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/definition.rb:240:in `select' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/definition.rb:240:in `default_fields_for' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/query_builder.rb:419:in `to_sql' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/query_builder.rb:54:in `build_find_params' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/query_builder.rb:22:in `build_query' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/auto_complete_builder.rb:87:in `is_query_valid' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/auto_complete_builder.rb:37:in `build_autocomplete_options' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/auto_complete_builder.rb:21:in `auto_complete' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/scoped_search-4.0.0/lib/scoped_search/definition.rb:301:in `complete_for' | /home/vagrant/foreman/app/models/host/managed.rb:26:in `complete_for' | /home/vagrant/foreman/app/controllers/concerns/foreman/controller/auto_complete_search.rb:12:in `auto_complete_search' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:198:in `process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_controller/metal/rendering.rb:10:in `process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:117:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting' | /home/vagrant/foreman/app/controllers/api/v2/base_controller.rb:152:in `disable_json_root' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `block in halting' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rails-observers-0.1.2/lib/rails/observers/action_controller/caching/sweeping.rb:73:in `around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:455:in `public_send' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:455:in `block in make_lambda' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `block in halting' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting' | /home/vagrant/foreman/app/controllers/concerns/application_shared.rb:14:in `set_timezone' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `block in halting' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting' | /home/vagrant/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:432:in `block in make_lambda' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `block in halting' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/audited-4.3.0/lib/audited/sweeper.rb:10:in `around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:455:in `public_send' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:455:in `block in make_lambda' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:312:in `block in halting' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:497:in `block in around' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:505:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/callbacks.rb:81:in `run_callbacks' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/abstract_controller/callbacks.rb:19:in `process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_controller/metal/rescue.rb:29:in `process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `block in instrument' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.7.1/lib/active_support/notifications.rb:164:in `instrument' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.7.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/abstract_controller/base.rb:137:in `process' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionview-4.2.7.1/lib/action_view/rendering.rb:30:in `process' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:196:in `dispatch' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_controller/metal.rb:237:in `block in action' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:43:in `serve' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/mapper.rb:49:in `serve' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:43:in `block in serve' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in `each' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/journey/router.rb:30:in `serve' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/routing/route_set.rb:817:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/static.rb:120:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/apipie-rails-0.3.7/lib/apipie/static_dispatcher.rb:65:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/bullet-5.5.0/lib/bullet/rack.rb:12:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/apipie-rails-0.3.7/lib/apipie/extractor/recorder.rb:132:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/apipie-rails-0.3.7/lib/apipie/middleware/checksum_in_headers.rb:27:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-openid-1.4.2/lib/rack/openid.rb:98:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.5/lib/rack/etag.rb:24:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.5/lib/rack/conditionalget.rb:25:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.5/lib/rack/head.rb:13:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call' | /home/vagrant/foreman/lib/middleware/catch_json_parse_errors.rb:8:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/flash.rb:260:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.5/lib/rack/session/abstract/id.rb:225:in `context' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.5/lib/rack/session/abstract/id.rb:220:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/cookies.rb:560:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.7.1/lib/active_record/query_cache.rb:36:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.7.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.7.1/lib/active_record/migration.rb:377:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.7.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call

History

#1 Updated by John Mitsch about 5 years ago

  • Status changed from New to Rejected

Dummy who filed it didn't migrate :)

#2 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF