{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3976","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3976/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3976/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3976/events","html_url":"https://github.com/ManageIQ/manageiq/issues/3976","id":102243555,"number":3976,"title":"Error caught: [ArgumentError] MiqProvisionRequest Object expected, but received MiqProvisionRequest","user":{"login":"brandondunne","id":651659,"avatar_url":"https://avatars.githubusercontent.com/u/651659?v=3","gravatar_id":"","url":"https://api.github.com/users/brandondunne","html_url":"https://github.com/brandondunne","followers_url":"https://api.github.com/users/brandondunne/followers","following_url":"https://api.github.com/users/brandondunne/following{/other_user}","gists_url":"https://api.github.com/users/brandondunne/gists{/gist_id}","starred_url":"https://api.github.com/users/brandondunne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandondunne/subscriptions","organizations_url":"https://api.github.com/users/brandondunne/orgs","repos_url":"https://api.github.com/users/brandondunne/repos","events_url":"https://api.github.com/users/brandondunne/events{/privacy}","received_events_url":"https://api.github.com/users/brandondunne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-20T21:40:37Z","updated_at":"2015-08-21T13:26:45Z","closed_at":null,"body":"Seems to related to running rails server in dev mode, randomly appears.\r\n\r\nMaybe MiqProvisionRequest class gets reloaded and has a different object ID than it did before??\r\n\r\n```\r\n[----] I, [2015-08-20T17:32:56.709861 #8776:3fa5faf0f994]  INFO -- : Started POST \"/vm_infra/pre_prov_continue?button=submit\" for 127.0.0.1 at 2015-08-20 17:32:56 -0400\r\n[----] I, [2015-08-20T17:32:56.743826 #8776:3fa5faf0f994]  INFO -- : Processing by VmInfraController#pre_prov_continue as JS\r\n[----] I, [2015-08-20T17:32:56.743969 #8776:3fa5faf0f994]  INFO -- :   Parameters: {\"button\"=>\"submit\"}\r\n[----] F, [2015-08-20T17:32:57.040073 #8776:3fa5faf0f994] FATAL -- : Error caught: [ArgumentError] MiqProvisionRequest Object expected, but received MiqProvisionRequest\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:188:in `initialize'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:117:in `new'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:117:in `block in wrap_results'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:262:in `ar_method'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:108:in `wrap_results'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_service_model_base.rb:19:in `method_missing'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_object.rb:489:in `convert_value_based_on_datatype'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_object.rb:268:in `process_args_attribute'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_object.rb:251:in `block in process_args_as_attributes'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_object.rb:251:in `each'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_object.rb:251:in `process_args_as_attributes'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_workspace.rb:155:in `instantiate'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_workspace.rb:78:in `_instantiate'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_workspace.rb:73:in `instantiate'\r\n/home/bdunne/projects/redhat/manageiq/lib/miq_automation_engine/engine/miq_ae_engine.rb:310:in `resolve_automation_object'\r\n/home/bdunne/projects/redhat/manageiq/app/models/miq_provision/naming.rb:16:in `get_next_vm_name'\r\n/home/bdunne/projects/redhat/manageiq/app/models/miq_provision_request.rb:51:in `set_description'\r\n/home/bdunne/projects/redhat/manageiq/app/models/miq_request_workflow.rb:79:in `create_request'\r\n/home/bdunne/projects/redhat/manageiq/app/models/miq_provision_virt_workflow.rb:59:in `create_request'\r\n/home/bdunne/projects/redhat/manageiq/app/controllers/application_controller/miq_request_methods.rb:574:in `prov_req_submit'\r\n/home/bdunne/projects/redhat/manageiq/app/controllers/application_controller/miq_request_methods.rb:185:in `prov_edit'\r\n/home/bdunne/projects/redhat/manageiq/app/controllers/application_controller/miq_request_methods.rb:57:in `pre_prov_continue'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/abstract_controller/base.rb:198:in `process_action'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_controller/metal/rendering.rb:10:in `process_action'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:20:in `block in process_action'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:19:in `process_action'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_controller/metal/rescue.rb:29:in `process_action'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `block in instrument'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `instrument'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activerecord-4.2.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/abstract_controller/base.rb:137:in `process'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionview-4.2.3/lib/action_view/rendering.rb:30:in `process'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_controller/metal.rb:196:in `dispatch'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_controller/metal.rb:237:in `block in action'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:76:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:45:in `serve'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:43:in `block in serve'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `each'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `serve'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:821:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/middleware/params_parser.rb:27:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/middleware/flash.rb:260:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/middleware/cookies.rb:560:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activerecord-4.2.3/lib/active_record/query_cache.rb:36:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:84:in `run_callbacks'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:27:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/middleware/reloader.rb:73:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/railties-4.2.3/lib/rails/rack/logger.rb:38:in `call_app'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/railties-4.2.3/lib/rails/rack/logger.rb:22:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/middleware/request_id.rb:21:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/activesupport-4.2.3/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/actionpack-4.2.3/lib/action_dispatch/middleware/static.rb:116:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/railties-4.2.3/lib/rails/engine.rb:518:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/railties-4.2.3/lib/rails/application.rb:165:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/thin-1.6.3/lib/thin/connection.rb:86:in `block in pre_process'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/thin-1.6.3/lib/thin/connection.rb:84:in `catch'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/thin-1.6.3/lib/thin/connection.rb:84:in `pre_process'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/thin-1.6.3/lib/thin/connection.rb:53:in `process'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/thin-1.6.3/lib/thin/connection.rb:39:in `receive_data'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/eventmachine-1.0.7/lib/eventmachine.rb:187:in `run_machine'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/eventmachine-1.0.7/lib/eventmachine.rb:187:in `run'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/thin-1.6.3/lib/thin/backends/base.rb:73:in `start'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/thin-1.6.3/lib/thin/server.rb:162:in `start'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/handler/thin.rb:19:in `run'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/rack-1.6.4/lib/rack/server.rb:286:in `start'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/railties-4.2.3/lib/rails/commands/server.rb:80:in `start'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:80:in `block in server'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:75:in `tap'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:75:in `server'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/railties-4.2.3/lib/rails/commands/commands_tasks.rb:39:in `run_command!'\r\n/home/bdunne/.gem/ruby/2.2.2/gems/railties-4.2.3/lib/rails/commands.rb:17:in `<top (required)>'\r\nbin/rails:4:in `require'\r\nbin/rails:4:in `<main>'\r\n[----] I, [2015-08-20T17:32:57.041774 #8776:3fa5faf0f994]  INFO -- :   Rendered layouts/_exception_contents.html.haml (0.2ms)\r\n[----] I, [2015-08-20T17:32:57.042365 #8776:3fa5faf0f994]  INFO -- : Completed 200 OK in 298ms (Views: 1.6ms | ActiveRecord: 64.5ms)\r\n```"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/133424948","html_url":"https://github.com/ManageIQ/manageiq/issues/3976#issuecomment-133424948","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3976","id":133424948,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars.githubusercontent.com/u/7806257?v=3","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T13:26:45Z","updated_at":"2015-08-21T13:26:45Z","body":"@brandondunne @bdunne is an invalid user, ignoring..."}}