Skip to content

az webapp traffic-routing set restarts deployment slot #29147

@deivydas321

Description

@deivydas321

Describe the bug

After deploying application to staging deployment slot I run command:
az webapp traffic-routing set --resource-group $1 --name $2 --distribution staging=0
It succedes but causes production slot restart. I can reproduce it from my machine.
This command is crucial to me because I need to access staging slot by using ?x-ms-routing-name=staging param.

Related command

az webapp traffic-routing set --resource-group $1 --name $2 --distribution staging=0

Errors

Deployment slot: production restarts.

Issue script & Debug output

[
{
"actionHostName": "xxxxxxxx.azurewebsites.net",
"changeDecisionCallbackUrl": null,
"changeIntervalInMinutes": null,
"changeStep": null,
"maxReroutePercentage": null,
"minReroutePercentage": null,
"name": "staging",
"reroutePercentage": 0.0
}
]

Deployment slot: production restarts.

Expected behavior

This command should not cause deployments slots restarts.

Environment Summary

azure-cli 2.47.0 *

core 2.47.0 *
telemetry 1.0.8 *

Extensions:
front-door 1.0.17

Dependencies:
msal 1.20.0
azure-mgmt-resource 22.0.0

Additional context

No response

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAuto-ResolveAuto resolve by botService AttentionThis issue is responsible by Azure service team.Web Appsaz webappact-observability-squadapp-service-slotsbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions