0

Creating new AlloyDB instances has been failing for the past 24 hours. It was working fine a few days ago

# creating the cluster works
gcloud beta alloydb clusters create dev-cluster \
    --password=$PG_RAND_PW \
    --network=$PRIVATE_NETWORK_NAME \
    --region=us-east4 \
    --project=${PROJECT_ID}

# creating primary instance fails
gcloud beta alloydb instances create devdb \
    --instance-type=PRIMARY \
    --cpu-count=2 \
    --region=us-east4 \
    --cluster=dev-cluster \
    --project=${PROJECT_ID}

Error message is

Operation ID: operation-1660168834702-5e5ea2da8dcd1-d96bdabb-4c686076
Creating instance...failed.   
ERROR: (gcloud.beta.alloydb.instances.create) an internal error has occurred

Creating from the console fails also

enter image description here

I have tried from a complete new project also and it still fails.

Any suggestions?

rossco
  • 593
  • 12
  • 22
  • 1
    This appears to be a Google issue. You'll need to contact Google Cloud support or file an issue on Google's public [Issue Tracker](https://issuetracker.google.com) – DazWilkin Aug 11 '22 at 02:34
  • Hey rossco, just checking in to confirm if this resolved itself. AlloyDB being a preview product isn't always fully provisioned in all our regions, so I think you may have hit a stock out issue, which should have resolved itself (you could also test this by trying to create a cluster in other regions, but of course this may be an issue in multiple regions until we fully stock it up when we're out of preview). – Gabe Weiss Aug 25 '22 at 15:55
  • Hi @GabeWeiss Confirming I can create the cluster and DB in us-east4 again now – rossco Aug 26 '22 at 02:43
  • Woo! Glad to hear. Thanks for confirming rossco. – Gabe Weiss Aug 26 '22 at 19:10

1 Answers1

1

I've managed to replicate your issue and it seems that this is due to AlloyDB for PostgreSQL is still in preview and we may encounter some bugs and errors according to this documentation:

This product is covered by the Pre-GA Offerings Terms of the Google Cloud Terms of Service. Pre-GA products might have limited support, and changes to pre-GA products might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.

What worked on my end is following this documentation on creating a cluster and its primary instance using the console. This step will create both the cluster and its primary instance at the same time. Please see my screenshot below for your reference:

5

As you can see the instance under the cluster my-cluster has an error and was not created however the instance devdb was created following the link that I provided above.

It would also be best to raise this as an issue as per @DazWilkin's comment if this issue would still persist in the future.

Robert G
  • 1,583
  • 3
  • 13