Open mbegoc opened 1 week ago
@mbegoc could you tell what is the region you're trying to create this PostgreSQL instance in?
Additionally, just to check whether issue is related to Ansible or something else, could you try following Azure CLI command?
az postgres flexible-server create --resource-group ${resource_group_name} --name ${postgresql_server_name} --admin-user ${postgresql_server_username} --admin-password ${postgresql_server_password} --sku-name Standard_B1ms --tier Burstable --version 16
@mbegoc This may be due to subscription failure due to region limit, is currently being processed, thank you!
@mbegoc could you tell what is the region you're trying to create this PostgreSQL instance in?
Canada East.
Additionally, just to check whether issue is related to Ansible or something else, could you try following Azure CLI command?
az postgres flexible-server create --resource-group ${resource_group_name} --name ${postgresql_server_name} --admin-user ${postgresql_server_username} --admin-password ${postgresql_server_password} --sku-name Standard_B1ms --tier Burstable --version 16
The CLI command works. I used it as a workaround with ansible error management. Once the server is created, the ansible module work well to update the existing server.
So, it feels like something need to be fixed on the API side, but maybe some parameters or something can be updated on the module side as well since the CLI works as expected.
SUMMARY
When trying to create a postgresqlflexibleserver with ansible, I end up with a fatal server error and absolutely no output to understand what's happening. It works fine with postgresqlserver though.
ISSUE TYPE
COMPONENT NAME
azure.azcollection.azure_rm_postgresqlflexibledatabase
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Linux Mint 22 Wilma
STEPS TO REPRODUCE
EXPECTED RESULTS
Database creation, or at least an error saying what's going on.
ACTUAL RESULTS