-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Functionsaz functionappaz functionappService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.
Description
CLI version
2.0.81
Describe the bug
When deploying a local function app content to Azure Functions on Linux, the deployment can possibly fails if it requires changes in app settings.
There's a race condition here:
- If the app settings are changed before the deployment is initiated, the build succeeds.
- If the app settings are changed at the same time as the deployment is initiated, the /deployments/latest endpoint will return 5xx errors due to KuduLite restart.
- If the app settings are changed after the deployment is started, the build will be interrupted and marked as failed deployment.
To Reproduce
- Create a Python Function App in Linux Premium Plan
- Prepare a simple Python app content, and compress it into a zip file.
- Run the command
az functionapp deployment source config-zip -g <resource_group> -n <app_name> --src <local_zip_file> - Wait a while and will see the deployment failure error
Expected behavior
The deployment should succeed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Functionsaz functionappaz functionappService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.