Closed WhitWaldo closed 2 months ago
Good to know that it works fine on your newer tenant.
Can you try using the templates option on your failing older tenant? Thinking it should also fail for non-Aspire scenarios too.
azd init Initializing an app to run on Azure (azd init) How do you want to initialize your app? Select a template Select a project template: todo-csharp [Use arrows to move, type to filter] React Web App with C# API and MongoDB (Azure-Samples/todo-csharp-cosmos-sql) React Web App with C# API and SQL Database (Azure-Samples/todo-csharp-sql) Static React Web App + Functions with C# API and SQL Database (Azure-Samples/todo-csharp-sql-swa-func)
@vhvb1989 @weikanglim seems related to multitenancy support. Anything else, we need from @WhitWaldo to triage?
I tried a deployment for the "todo-csharp-sql" and it worked without issue.
I tried again with something that specifically targeted Cosmos ("Blazor with Cosmos, Open AI" or something) and it failed for lack of sufficient OpenAI quota (my guess is the resource isn't actually provisioned as again, it's an old tenant/subscription).
Tried once more with a React project (only other one that mentioned Cosmos) - deployment went fine, so couldn't repro there either.
Still couldn't deploy my own Aspire-based project. Same error.
@rajeshkamal5050 No, we have what we need -- it's pretty clearly broken.
@weikanglim can you pick up this PR #3528? or create a new one?
Output from
azd version
Runazd version
and copy and paste the output here:Describe the bug I've got a very simple Aspire deployment that failed. You can see it adds Cosmos to my application and.. that's it.
I ran the following commands:
This successfully completed the step that reads "SUCCESS: Your application was provisioned in Azure in 2 minutes 6 seconds." and I see that it deployed a Container Registry, a Container Apps environment, Cosmos DB, Log Analytics, and a Managed Identity.
It failed upon attempting to deploy the services:
I haven't transferred anything on this tenant in months (years?) and this is my first attempt to ever try deploying anything to it. Notably weird here too is that I have this message only after successfully creating all the other resources. It's only when it attempts to get the connection strings from one of those deployed resources that it all comes apart.
It appears to be something wrong with this tenant, but it's unclear what. I tried deploying to another (much newer) tenant just for fun and it deployed without issue following an
azd logout
and anazd login
. No idea what the difference is between the two though.To Reproduce I can reproduce every time I attempt to deploy to any subscription on the older tenant. Let me know what you want done and I can pull logs for you. As I don't know what's different about that tenant and my newer one, I couldn't articulate how precisely to produce this.
Expected behavior Should have completed an end-to-end deployment without issue.
Environment Information on your environment:
Additional context Originally filed at https://github.com/dotnet/aspire/issues/2668 but refiling after being asked to.