Matous, for QE testing you can only replicate that in the UI by running a refresh and immediately destroying the provider and hope that it runs into this race conditions.
New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/3968609f8cf7657e6833f4a9a49c2e809bf1ed97 commit 3968609f8cf7657e6833f4a9a49c2e809bf1ed97 Author: Chris Arcand <chrisarcand.github.com> AuthorDate: Thu Dec 1 10:42:31 2016 -0600 Commit: Satoe Imaishi <simaishi> CommitDate: Mon Jan 9 16:39:47 2017 -0500 Merge pull request #12878 from durandom/refactor/ensure_manager Add managers in before_create callback instead of before_validation (cherry picked from commit a579b0535ec82bde184e8cc523fc40b255e41880) https://bugzilla.redhat.com/show_bug.cgi?id=1411517 https://bugzilla.redhat.com/show_bug.cgi?id=1403011 app/models/manageiq/providers/foreman/provider.rb | 2 +- app/models/manageiq/providers/google/cloud_manager.rb | 2 +- app/models/manageiq/providers/openstack/cloud_manager.rb | 2 +- app/models/manageiq/providers/openstack/infra_manager.rb | 2 +- app/models/manageiq/providers/vmware/cloud_manager.rb | 2 +- spec/controllers/provider_foreman_controller_spec.rb | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/d52acf25e4950b9122e0659544534bfa02a882b9 commit d52acf25e4950b9122e0659544534bfa02a882b9 Author: Chris Arcand <chrisarcand.github.com> AuthorDate: Thu Dec 1 11:43:04 2016 -0600 Commit: Satoe Imaishi <simaishi> CommitDate: Mon Jan 9 16:42:44 2017 -0500 Merge pull request #13 from durandom/refactor/ensure_manager Add managers in before_create callback instead of before_validation (cherry picked from commit ec0418d46a2dbdf466f968476c4aaec3f98cbdf6) https://bugzilla.redhat.com/show_bug.cgi?id=1411517 https://bugzilla.redhat.com/show_bug.cgi?id=1403011 app/models/manageiq/providers/azure/cloud_manager.rb | 2 +- .../manageiq/providers/azure/cloud_manager_spec.rb | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-)
Verified in 5.7.1.0. Could see C&U configuration screen but on older version couldn't after refresh and provider delete.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2017-0320.html