Description of problem: ----------------------- I'm running into this error in 5.9.z(latest build). I thought the Fog google upgrade to 1.3.3 made through the following PR would take care of this issue. https://github.com/ManageIQ/manageiq-providers-google/pull/54 Also, see https://bugzilla.redhat.com/show_bug.cgi?id=1585821 Snippet from evm.log 2018-06-13 06:46:01,981 [E] Cannot validate the provider. Error occured: accessNotConfigured: Access Not Configured. Compute Engine API has not been used in project 25xxxxxxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=25xxxxxx then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry. Version-Release number of selected component (if applicable): ------------------------------------------------------ 5.9.3.1 How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1.Attempt to validate GCE provider in CFME Actual results: -------------- Unable to validate GCE provider Expected results: ---------------- It should be possible to validate GCE provider Additional info: ----------------
For the record: After meeting with Nandini, we discovered this issue is present only when the provider is being added via API - QE uses an automated test execution, I'll try to reproduce this behavior locally and if that proves to be the point of failure we'll forward this to the API people.
Hi, I've located the issue. It's caused by Google. I've prepared a PR fixing it upstream [1] but we might need a quick fix for MIQ. I'm looking into that right now. [1] https://github.com/fog/fog-google/pull/356
MIQ hotfix is ready to review https://github.com/ManageIQ/manageiq-providers-google/pull/63
Also for the record the full story: The issue is not caused by adding a provider but it's rather a result of initial refresh. When adding a provider, the provider entity in MIQ database is created just fine. Also credentials validation passes. Both via UI and via API. The error appears after initial refresh is processed. The error message appears as an result of the refresh. It's caused because Google removed a project from public images listing, so our refresh fails when we try to pull images from this nonexistent project. Provider addition works just fine. The refresh is failing.
*** Bug 1592216 has been marked as a duplicate of this bug. ***
Fixed by: https://github.com/ManageIQ/manageiq-providers-google/pull/64 Merged, requires backporting
verified in 5.10.0.4