Problem with new compute provider

Hi,
I'am trying to create foreman plug in fore new provider. In new compute
resource i can chose it but then i try connection with him i get error:

"ArgumentError ("new_provider" is not a recognized compute provider):
app/controllers/compute_resources_controller.rb:97:in test_connection' app/controllers/concerns/application_shared.rb:13:inset_timezone'
app/models/concerns/foreman/thread_session.rb:32:in clear_thread' lib/middleware/catch_json_parse_errors.rb:9:incall'"

any idies how to fix it?