简体   繁体   中英

Issues creating AlloyDB

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

在此处输入图像描述

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

Any suggestions?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM