diff --git a/app/models/manageiq/providers/embedded_ansible/crud_common.rb b/app/models/manageiq/providers/embedded_ansible/crud_common.rb index 2b684a1494b..376d178c4be 100644 --- a/app/models/manageiq/providers/embedded_ansible/crud_common.rb +++ b/app/models/manageiq/providers/embedded_ansible/crud_common.rb @@ -50,6 +50,7 @@ def encrypt_queue_params(params) end def create_in_provider_queue(manager_id, params, auth_user = nil) + parent.find(manager_id) # validation that the manager ID is from EmbeddedAnsible action = "Creating #{self::FRIENDLY_NAME}" action << " (name=#{params[:name]})" if params[:name] queue(nil, "create_in_provider", [manager_id, encrypt_queue_params(params)], action, auth_user)