You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some azure services require globally unique names across all of azure according to azure docs Naming rules and restrictions for Azure resources the Redis and postgres services must have globally unique names.
The ./azure/deploy.sh fails when it tries to create the redis cache because the name is not globally unique.
./deploy.sh -g demo -r germanywestcentral -s demo-asa-instance
Configure azure defaults resource group: demo and spring demo-asa-instance
Creating Azure Cache for Redis Instance fitness-cache in location eastus
(NameNotAvailable) An error occured when trying to reserve the DNS name for the cache instance. This may be a temporary issue if a cache instance of this name was recently deleted. Please choose a different name or try again later.
RequestID=ec628194-f0cb-47b5-b745-e26da796ee9d
Code: NameNotAvailable
Message: An error occured when trying to reserve the DNS name for the cache instance. This may be a temporary issue if a cache instance of this name was recently deleted. Please choose a different name or try again later.
RequestID=ec628194-f0cb-47b5-b745-e26da796ee9d
It seems that the azure redis service requires a unique dns name for each instance of redis under the .redis.cache.windows.net domain. The script should be modified to generate a unique name for the redis service.
Also the postgres service creation will fail with the same issue.
The text was updated successfully, but these errors were encountered:
asaikali
changed the title
deploy.sh script can't create redis instance
deploy.sh fails because it does not generate globally unique names for azure services
Aug 11, 2022
Some azure services require globally unique names across all of azure according to azure docs Naming rules and restrictions for Azure resources the Redis and postgres services must have globally unique names.
The
./azure/deploy.sh
fails when it tries to create the redis cache because the name is not globally unique.It seems that the azure redis service requires a unique dns name for each instance of redis under the
.redis.cache.windows.net
domain. The script should be modified to generate a unique name for the redis service.Also the postgres service creation will fail with the same issue.
The text was updated successfully, but these errors were encountered: