New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Non-existant coordinatorServerEdition in DBforPostgreSQL examnples #28826
Comments
@senatol Please help have a look, thank you. |
Hello @thomas11! The Azure CLI commands for working with the “Azure Cosmos DB for PostgreSQL” service, as you referred to, are For the example payloads, thank you for reporting the issue. I was able to reproduce the error with For the second example, the payload seems correct and worked for me. Could you please try again with |
Hello again @thomas11, Could you please share the request payload for which you've received the following error?
The reason I'm asking is the error I received while testing the
But I was not able to reproduce your error with coordinator server edition and I'd like to understand your steps. |
Hi @senatol! This is the exact payload we were sending: {
"location": "westus",
"properties": {
"administratorLoginPassword": "Fooooooo11",
"citusVersion": "11.3",
"coordinatorEnablePublicIpAccess": true,
"coordinatorServerEdition": "BurstableMemoryOptimized",
"coordinatorStorageQuotaInMb": 524288,
"coordinatorVCores": 2,
"enableHa": false,
"enableShardsOnCoordinator": true,
"nodeCount": 0,
"postgresqlVersion": "15",
"preferredPrimaryZone": "2"
}
} As a PUT request to /subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/laci-test-cluster?api-version=2022-11-08. I think it matches Azure's example exactly. |
Hello @thomas11 , The payload you provided has
Please note that when you try the option 1 I've pointed, unfortunately you'll receive the following error which I've currently fixed but waiting to be deployed:
Until then you may use Azure Portal to create the option 1, |
Ah, thank you. So there is a difference between our payload and the example, 1 vs 2 Thank you. |
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/postgresqlhsc/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-11-08/examples/ClusterCreateBurstablev2.json#L15
API Spec version
2022-11-08
Describe the bug
Examples
ClusterCreateBurstablev1.json
andClusterCreateBurstablev2.json
have the lineHowever, no such edition exists.
az postgres server list-skus --location westus
doesn't list it and the spec doesn't mention it anywhere.Expected behavior
The examples work out of the box.
Actual behavior
The examples fail with
Reproduction Steps
Make a request to create a Cluster with the
ClusterCreateBurstablev1.json
orClusterCreateBurstablev2.json
payloads.Environment
No response
The text was updated successfully, but these errors were encountered: