RuntimeError: Provider failed last authentication check


#1

Hi there,

Using version gaprindashvili-4.20180710132129_9cf4f62

I have an orchestration stack which creates stack in Openstack using Heat template. When I request via service catalog the stack is getting successfully provisioned in Openstack but the manageiq reuest eventually fails:

[----] I, [2018-08-01T23:58:41.004103 #2077:f33130] INFO – : Q-task_id([service_template_provision_task_63]) Updated namespace [miqaedb:/Cloud/Orchestration/Provisioning/StateMachines/Methods/CheckProvisioned#create ManageIQ/Cloud/Orchestration/Provisioning/StateMachines]
[----] I, [2018-08-01T23:58:41.006376 #2077:f33130] INFO – : Q-task_id([service_template_provision_task_63]) Updated namespace [Cloud/Orchestration/Provisioning/StateMachines/Methods/check_provisioned ManageIQ/Cloud/Orchestration/Provisioning/StateMachines]
[----] I, [2018-08-01T23:58:41.014117 #2077:f33130] INFO – : Q-task_id([service_template_provision_task_63]) Invoking [inline] method [/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods/check_provisioned] with inputs [{}]
[----] I, [2018-08-01T23:58:41.014958 #2077:f33130] INFO – : Q-task_id([service_template_provision_task_63]) <AEMethod [/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods/check_provisioned]> Starting
[----] I, [2018-08-01T23:58:41.398775 #2077:f22128] INFO – : Check orchestration deployed
[----] I, [2018-08-01T23:58:43.843191 #2077:f22128] INFO – : Stack deployment finished. Status: ok, reason:
[----] I, [2018-08-01T23:58:43.854430 #2077:f22128] INFO – : Refreshing provider ‘openstack-rdo1’ and stack ‘manageiq2’
[----] E, [2018-08-01T23:58:43.868006 #2077:485385c] ERROR – : The following error occurred during method evaluation:
[----] E, [2018-08-01T23:58:43.868587 #2077:485385c] ERROR – : RuntimeError: Provider failed last authentication check
[----] E, [2018-08-01T23:58:43.869798 #2077:485385c] ERROR – : (druby://127.0.0.1:45293) /var/www/miq/vmdb/app/models/orchestration_stack.rb:162:in refresh_ems' (druby://127.0.0.1:45293) /usr/local/lib/ruby/gems/2.3.0/bundler/gems/manageiq-automation_engine-c2a1c86c4cdb/lib/miq_automation_engine/service_models/miq_ae_service_orchestration_stack.rb:31:inrefresh’
(druby://127.0.0.1:45293) /usr/local/lib/ruby/2.3.0/drb/drb.rb:1624:in perform_without_block' (druby://127.0.0.1:45293) /usr/local/lib/ruby/2.3.0/drb/drb.rb:1584:inperform’
(druby://127.0.0.1:45293) /usr/local/lib/ruby/2.3.0/drb/drb.rb:1657:in block (2 levels) in main_loop' (druby://127.0.0.1:45293) /usr/local/lib/ruby/2.3.0/drb/drb.rb:1653:inloop’
(druby://127.0.0.1:45293) /usr/local/lib/ruby/2.3.0/drb/drb.rb:1653:in block in main_loop' /ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods/check_provisioned:54:inrefresh_provider’
/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods/check_provisioned:42:in prepare_and_call_refresh_provider' /ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods/check_provisioned:83:incheck_deployed’
/ManageIQ/Cloud/Orchestration/Provisioning/StateMachines/Methods/check_provisioned:28:in main' [----] E, [2018-08-01T23:58:43.873960 #2077:485385c] ERROR -- : Method STDERR: (druby://127.0.0.1:45293) /var/www/miq/vmdb/app/models/orchestration_stack.rb:162:inrefresh_ems’: Provider failed last authentication check (RuntimeError)

Any idease?

Thanks,
Dan


#2

It looks like the automate method is waiting for the refresh of the provider before continuing. This refresh isn’t happening because the last time we checked the provider authentication, it failed. Check the authentication status of the provider. Verify you have provided username/password, it works and the authentication status shows a green checkmark.


#3

Hi there,

Each time I re-check the authentication status it passes. Also, I don’t understand how every time I get this error it has successfully sent the request to Openstack and the stack is deployed fine.

Cheers,
Daniel