Can't connect Google provider

Hello, Sorry again me …
I can’ connect Google provider on manageIQ : Ivanchuck-5

Credential validation was not successful: forbidden: Required ‘compute.regions.list’ permission for 'projects/sd-labo’

I m the owner of this project (sd-labo)

In evm.log :
[----] I, [2020-06-29T15:15:52.560588 #2286:7265f0] INFO – : Q-task_id([job_dispatcher]) MIQ(MiqQueue#delivered) Message id: [429384], State: [ok], Delivered in [0.074371409] seconds
[----] I, [2020-06-29T15:15:52.561170 #22437:7265f0] INFO – : MIQ(MiqGenericWorker::Runner#get_message_via_drb) Message id: [429383], MiqWorker id: [625], Zone: [default], Role: [ems_operations], Server: , MiqTask id: [846], Ident: [generic], Target id: , Instance id: , Task id: , Command: [ManageIQ::Providers::Google::CloudManager.raw_connect?], Timeout: [600], Priority: [100], State: [dequeue], Deliver On: , Data: , Args: [“sd-labo”, “********”, {:service=>“compute”}, nil, true], Dequeued in: [8.630710642] seconds
[----] I, [2020-06-29T15:15:52.561281 #22437:7265f0] INFO – : MIQ(MiqQueue#deliver) Message id: [429383], Delivering…
[----] I, [2020-06-29T15:15:52.562258 #22437:7265f0] INFO – : MIQ(MiqTask#update_status) Task: [846] [Active] [Ok] [Task starting]
[----] E, [2020-06-29T15:15:52.890316 #22437:7265f0] ERROR – : MIQ(MiqQueue#deliver) Message id: [429383], Error: [forbidden: Required ‘compute.regions.list’ permission for ‘projects/sd-labo’]
[----] I, [2020-06-29T15:15:52.890518 #22437:7265f0] INFO – : MIQ(MiqQueue#delivered) Message id: [429383], State: [error], Delivered in [0.329226969] seconds
[----] I, [2020-06-29T15:15:52.891750 #22437:7265f0] INFO – : MIQ(MiqQueue#m_callback) Message id: [429383], Invoking Callback with args: [“Finished”, “error”, “forbidden: Required ‘compute.regions.list’ permission for ‘projects/sd-labo’”, “nil”]
[----] I, [2020-06-29T15:15:52.891890 #22437:7265f0] INFO – : MIQ(MiqTask#update_status) Task: [846] [Finished] [Error] [forbidden: Required ‘compute.regions.list’ permission for ‘projects/sd-labo’]

Thanks for the help
Bruno

Hey Bruno, make sure that the service account that is being used has proper permissions. Even if you are the owner the service account that the provider is using might not.

Thanks i deleted the account et created an other one and it’s good
thanks

1 Like