Skip to content
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

[release/8.0] Support multiple deployments per cognitive service (#3448) #4022

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

eerhardt
Copy link
Member

@eerhardt eerhardt commented Apr 29, 2024

Customer Impact

When customers try to deploy an Azure OpenAI resource with more than 1 "deployment" model (i.e. chat gpt and a text embedding), it fails during deploy:

Deployment Error Details:
RequestConflict: Another operation is being performed on the parent resource '/subscriptions/39efd248-7fd1-467e-9de3-cc501e6609d8/resourceGroups/rg-vslivechi2/providers/Microsoft.CognitiveServices/accounts/openaix6ts4xybeo5ws'. Please try again later.

This fixes the issue so multiple models can be deployed in 1 AppHost Azure OpenAI resource.

Note that multiple deployment models are used in dotnet/eShop

Testing

Automated tests passing in the repo. I have manually run eshop with a local build and provisioning worked. Also verified azd init/up works correctly as well.

Risk

Low to medium. The change tells Azure deployment that each deployment model is dependent on the previous, so they get deployed 1 at a time, which is how Azure OpenAI needs it to be.

Regression?

Yes - when we moved from manual bicep to Azure Provisioning.

Microsoft Reviewers: Open in CodeFlow

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-components Issues pertaining to Aspire Component packages label Apr 29, 2024
@dotnet-policy-service dotnet-policy-service bot added the Servicing-consider Issue for next servicing release review label Apr 29, 2024
@danmoseley danmoseley added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Apr 29, 2024
Copy link
Member

@joperezr joperezr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching that this was missing and for backporting, Eric.

@RussKie RussKie enabled auto-merge (squash) April 30, 2024 01:06
@RussKie RussKie merged commit d4d6d52 into dotnet:release/8.0 Apr 30, 2024
8 checks passed
@eerhardt eerhardt deleted the Port3448 branch April 30, 2024 12:48
@github-actions github-actions bot locked and limited conversation to collaborators Jun 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-components Issues pertaining to Aspire Component packages Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants