Project

General

Profile

Actions

Bug #15615

closed

Can't find host when host is deleted and re-registered

Added by John Mitsch about 8 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Hosts
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

To recreate:

1) register a host
2) delete the host
3) re-register the host
4) try to add a subscription to host using "subscriptions" tab

016-07-07T16:36:42 [app] [D]
2016-07-07T16:36:42 [app] [I] Started GET "/katello/api/v2/organizations/1/subscriptions?available_for=host&host_id=5&organization_id=1&page=1&search=&sort_order=ASC" for 127.0.0.1 at 2016-07-07 16:36:42 -0400
2016-07-07T16:36:42 [app] [I] Processing by Katello::Api::V2::SubscriptionsController#index as JSON
2016-07-07T16:36:42 [app] [I]   Parameters: {"available_for"=>"host", "host_id"=>"5", "organization_id"=>"1", "page"=>"1", "search"=>"", "sort_order"=>"ASC", "api_version"=>"v2"}
2016-07-07T16:36:42 [app] [D] Setting current user thread-local variable to admin
2016-07-07T16:36:42 [app] [E] ActiveRecord::RecordNotFound: Couldn't find Host::Managed with 'id'=5 [WHERE "hosts"."type" IN ('Host::Managed')]
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.6/lib/active_record/relation/finder_methods.rb:324:in `raise_record_not_found_exception!'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.6/lib/active_record/relation/finder_methods.rb:444:in `find_one'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.6/lib/active_record/relation/finder_methods.rb:423:in `find_with_ids'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.6/lib/active_record/relation/finder_methods.rb:71:in `find'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/friendly_id-5.1.0/lib/friendly_id/finder_methods.rb:22:in `find'
 | /home/vagrant/foreman/app/controllers/concerns/find_common.rb:14:in `resource_finder'
 | /home/vagrant/katello/app/controllers/katello/api/v2/api_controller.rb:159:in `find_host_with_subscriptions'
 | /home/vagrant/katello/app/controllers/katello/api/v2/subscriptions_controller.rb:154:in `find_host'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:432:in `block in make_lambda'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:145:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:145:in `block in halting_and_conditional'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in `block in call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:504:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:313:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/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.6/lib/active_support/callbacks.rb:432:in `block in make_lambda'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:312:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:312:in `block in halting'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `block in around'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:313:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/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.6/lib/active_support/callbacks.rb:455:in `public_send'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:455:in `block in make_lambda'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:312:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:312:in `block in halting'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `block in around'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:313:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting'
 | /home/vagrant/foreman/app/controllers/concerns/application_shared.rb:13:in `set_timezone'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:432:in `block in make_lambda'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:312:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:312:in `block in halting'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `block in around'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:313:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/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.6/lib/active_support/callbacks.rb:432:in `block in make_lambda'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:312:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:312:in `block in halting'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `block in around'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:313:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/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.6/lib/active_support/callbacks.rb:455:in `public_send'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:455:in `block in make_lambda'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:312:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:312:in `block in halting'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `block in around'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb:19:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_controller/metal/rescue.rb:29:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `block in instrument'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `instrument'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.6/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
 | /home/vagrant/katello/app/controllers/katello/concerns/api/api_controller.rb:39:in `process_action'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/abstract_controller/base.rb:137:in `process'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionview-4.2.6/lib/action_view/rendering.rb:30:in `process'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_controller/metal.rb:196:in `dispatch'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_controller/metal.rb:237:in `block in action'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:74:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:43:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:49:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:43:in `block in serve'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:30:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:30:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:817:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/railties-4.2.6/lib/rails/engine.rb:518:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/railties-4.2.6/lib/rails/railtie.rb:194:in `public_send'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/railties-4.2.6/lib/rails/railtie.rb:194:in `method_missing'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:51:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:43:in `block in serve'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:30:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:30:in `serve'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:817:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/static.rb:120:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/static.rb:120:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/apipie-rails-0.3.6/lib/apipie/static_dispatcher.rb:65:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/bullet-5.1.0/lib/bullet/rack.rb:12:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/apipie-rails-0.3.6/lib/apipie/extractor/recorder.rb:132:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/apipie-rails-0.3.6/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.4/lib/rack/etag.rb:24:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
 | /home/vagrant/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/flash.rb:260:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/cookies.rb:560:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.6/lib/active_record/query_cache.rb:36:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.2.6/lib/active_record/migration.rb:377:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/reloader.rb:73:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/railties-4.2.6/lib/rails/rack/logger.rb:38:in `call_app'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/railties-4.2.6/lib/rails/rack/logger.rb:22:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/quiet_assets-1.1.0/lib/quiet_assets.rb:27:in `call_with_quiet_assets'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/request_id.rb:21:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activesupport-4.2.6/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/actionpack-4.2.6/lib/action_dispatch/middleware/static.rb:120:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/railties-4.2.6/lib/rails/engine.rb:518:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/railties-4.2.6/lib/rails/application.rb:165:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/railties-4.2.6/lib/rails/railtie.rb:194:in `public_send'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/railties-4.2.6/lib/rails/railtie.rb:194:in `method_missing'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/puma-3.4.0/lib/puma/configuration.rb:224:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/puma-3.4.0/lib/puma/server.rb:569:in `handle_request'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/puma-3.4.0/lib/puma/server.rb:406:in `process_client'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/puma-3.4.0/lib/puma/server.rb:271:in `block in run'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/puma-3.4.0/lib/puma/thread_pool.rb:114:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/puma-3.4.0/lib/puma/thread_pool.rb:114:in `block in spawn_thread'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/logging-2.1.0/lib/logging/diagnostic_context.rb:450:in `call'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/logging-2.1.0/lib/logging/diagnostic_context.rb:450:in `block in create_with_logging_context'
2016-07-07T16:36:42 [app] [I] Completed 404 Not Found in 9ms (Views: 0.1ms | ActiveRecord: 1.0ms)
2016-07-07T16:36:42 [app] [D] With body: {"displayMessage":"Couldn't find Host::Managed with 'id'=5 [WHERE \"hosts\".\"type\" IN ('Host::Managed')]","errors":["Couldn't find Host::Managed with 'id'=5 [WHERE \"hosts\".\"type\" IN ('Host::Managed')]"]}

Actions #1

Updated by Justin Sherrill about 8 years ago

  • Status changed from New to Rejected
  • Translation missing: en.field_release set to 166

Did you refresh your browser and navigate to the new host? It would get a new id.

gonna close this, please re-open if you think its still a bug.

Actions

Also available in: Atom PDF