Job error while deploying on GCP

Comments

4 comments

  • Official comment
    Avatar
    Sebastian Insausti

    Hi Paulo,

    Please, can you create a Support Request in the following link? https://severalnines.zendesk.com/hc/en-us/requests/new

    And please, add an error report there. To create an error report, in case you don't have any cluster created, you can go to the ClusterControl command line, and run:

    $ s9s_error_reporter -i 0

    Then, attach the generated tar file to the ticket.

    Thank you.

    Regards,

    Sebastian.

    Comment actions Permalink
  • Avatar
    Paul Namuag

    Hi Paulo Souza

     

    Just to add since you are doing a deployment to the cloud, try to add also the role of "Compute Admin" and see if that makes any difference. On the other hand, as my colleague asked you the error report, maybe you can check if there are any outstanding errors and see if you can figure it out in the /var/log/cmon-cloud.log  and /var/log/cmon-clud.log, if that would be easier to fix by your end.

    Let us know how it goes.

     

    Thanks.

    0
    Comment actions Permalink
  • Avatar
    Paulo Souza

    Hi Paul and Sebastian, thank you for your prompt response.

    Looking at the `cmon-cloud.log` I could understand the error. The service account was created with "Compute Engine Admin" Role for a project (let's call `project-2`), so far so good. But in the ClusterControl I have 2 GCP keys stored, one for `project-1` and the second one for `project-2`.

    Even choosing the second credential, ClusterControl uses the first one (that doesn't have the "Compute Engine Admin") which causes the error.

    I deleted the first credential manually and started a now job, now I'm seeing new errors but with better descriptions.

    SERVICE_ACCOUNT_ACCESS_DENIED: The user does not have access to service account 'clustercontrol@project-2.iam.gserviceaccount.com'. User: 'clustercontrol@project-2.iam.gserviceaccount.com'. Ask a project owner to grant you the iam.serviceAccountUser role on the service account

    Will fix those new errors and keep trying if anything unusual happens again, will let you know.

    Again, thanks for the clues and have a good one!

    0
    Comment actions Permalink
  • Avatar
    Paul Namuag

    Hi Paulo Souza

    That's great to hear. Let us know or you can file a ticket as what Sebastian has requested to you initially in case you have found outstanding issues while using ClusterControl.

     

    Thank you.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk