Search code examples
google-cloud-platformmarketplace

Unable to Deploy from GCP Marketplace - Missing Valid Default Service Account


I receive an error message while attempting to deploy anything from the marketplace into a specific GCP project.

You must have a valid default service account in order to create a deployment, but this account could not be detected. Contact support for help restoring the account.

Things I've Tried:

  • Every VM from the marketplace shows the same error message
  • I can deploy regular VM instance
  • I can see there is an enabled service account for the project with the name "Compute Engine default service account".
  • I am able to deploy VM's from the marketplace into other projects under the same organization
  • I've contacted GCP Billing support and they cannot find anything wrong from a billing perspective

Researching online shows that others that have had this issue have just rebuilt the project. It appears that service account is created by default when the project is spun up.

I'm hoping there is another way around it as this project is a host for a shared VPC deployment. There are already other projects with deployed VM's that are utilizing the host projects networks.

Thank you!


Solution

  • The service account was intact and had the same permissions as other service accounts for working projects.

    We purchased and opened a case with GCP technical support. After a little more than a week of them troubleshooting the issues, they determined there was no way to correct the problem. Their root cause was that something happened during the initial project deployment that caused some backend configuration issues. For what its worth, the project was deployed using Terraform, but its uncertain if that was a factor.

    After recreating the host project, we were able to deploy from the marketplace again successfully.

    If you run into this problem, save yourself the hassle and time and just recreate the project.