Description of problem: Openstack provider refresh fails with below error. [----] E, [2018-03-02T08:23:26.802518 #24680:8c314c] ERROR -- : <Fog> excon.error #<Excon::Error::NotFound: Expected([200, 203]) <=> Actual(404 Not Found) excon.error.response :body => "{\"itemNotFound\": {\"message\": \"Flavor 67d80ab9-5f0d-4980-a5ff-38cc2c0c61c6 could not be found.\", \"code\": 404}}" :cookies => [ Version-Release number of selected component (if applicable): 5.8.3.4 How reproducible: At Customer's environment Steps to Reproduce: 1. Add openstack provider which has non public flavors 2. wait till next refresh 3. Actual results: OpenStack refresh fails Expected results: OpenStack provider should refresh Additional info:
Based on the error I see in the logs, I believe this should be fixed by the backport of https://github.com/ManageIQ/manageiq-providers-openstack/pull/156
https://github.com/ManageIQ/manageiq-providers-openstack/pull/156 is already included in 5.9.0 release. Changing this to be 5.8.z bug.
New commit detected on ManageIQ/manageiq/fine: https://github.com/ManageIQ/manageiq/commit/1c3fe51d3473674096a5da8c37a7852dbfc41327 commit 1c3fe51d3473674096a5da8c37a7852dbfc41327 Author: Marek Aufart <aufi.cz> AuthorDate: Wed Nov 15 03:14:36 2017 -0500 Commit: Marek Aufart <aufi.cz> CommitDate: Wed Nov 15 03:14:36 2017 -0500 Merge pull request #156 from mansam/safe_call_catch_fog_not_found_errors safe_call should catch Fog::Errors::NotFound (cherry picked from commit 84121cb85efa6d20d1121308529036914222484a) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1552135 app/models/manageiq/providers/openstack/refresh_parser_common/helper_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Verified on 5.8.4.2
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://access.redhat.com/errata/RHSA-2018:1972