-
Notifications
You must be signed in to change notification settings - Fork 268
Description
- Make sure you've installed the latest version using instructions in the wiki
Output from azd version
Run azd version and copy and paste the output here:
azd version 1.12.0 (commit dc37b93)
Describe the bug
Deploying multiple services with AZD up to azure appservice the second service (add likely 3rd) gets stuck on
Deploying service ServiceName
Deploying service ServiceName (Uploading deployment package)
Deploying service ServiceName (Running build process)
To Reproduce
use an azure.yaml like this
name: deployment
metadata:
template: azd-init@1.5.1
hooks:
predeploy:
shell: pwsh
run: ./infra/scripts/run_pre_deployment_scripts.ps1
interactive: true
services:
Service.One:
project: Src/Service.One/Service.One.csproj
host: appservice
language: csharp
Service.Two:
project: Src/Service.Two/Service.Two.csproj
host: appservice
language: csharp
Service.Three:
project: Src/Service.Three/Service.Three.csproj
host: appservice
language: csharp
Expected behavior
A clear and concise description of what you expected to happen.
Environment
Information on your environment:
* Language name and version: c#, sdk 9.0.200, OS Ubuntu 22.04
* IDE and version : No IDE, using CLI via Azure Devops Pipelines
Additional context
Add any other context about the problem here.
When splitting out the deployment from azd up to
azd provision
azd deploy Service.One
azd deploy Service.Two
azd deploy Service.Three
deployment succeeds.
Secondly this appears to be an azure api issue? as when I apply --debug the second service gets stuck in this loop
GET https://management.azure.com/subscriptions/id/resourceGroups/rg-name/providers/Microsoft.Web/sites/app-service-two/deploymentStatus/id?api-version=2023-01-01&c=REDACTED&h=REDACTED&s=REDACTED&t=REDACTED
Authorization: REDACTED
User-Agent: azsdk-go-armappservice/v2.3.0 (go1.23.0 X:loopvar; linux),azdev/1.12.0 (Go go1.23.0 X:loopvar; linux/amd64)
X-Ms-Correlation-Request-Id: c991d2fc466a494e01288331d5bc85b1
2025/02/25 13:00:58 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/338.11567ms, OpTime=338.139847ms) -- RESPONSE RECEIVED
GET https://management.azure.com/subscriptions/id/resourceGroups/rg-name/providers/Microsoft.Web/sites/app-service-two/deploymentStatus/id?api-version=2023-01-01&c=REDACTED&h=REDACTED&s=REDACTED&t=REDACTED
Authorization: REDACTED
User-Agent: azsdk-go-armappservice/v2.3.0 (go1.23.0 X:loopvar; linux),azdev/1.12.0 (Go go1.23.0 X:loopvar; linux/amd64)
X-Ms-Correlation-Request-Id: c991d2fc466a494e01288331d5bc85b1
--------------------------------------------------------------------------------
RESPONSE Status: 500 Internal Server Error
Cache-Control: no-cache
Content-Length: 199
Content-Type: application/json; charset=utf-8
Date: Tue, 25 Feb 2025 13:00:57 GMT
Etag: "1DB8782DE251A35"
Expires: -1
Pragma: no-cache
Strict-Transport-Security: REDACTED
X-Aspnet-Version: REDACTED
X-Cache: REDACTED
X-Content-Type-Options: REDACTED
X-Ms-Correlation-Request-Id: c991d2fc466a494e01288331d5bc85b1
X-Ms-Failure-Cause: REDACTED
X-Ms-Ratelimit-Remaining-Subscription-Global-Reads: REDACTED
X-Ms-Ratelimit-Remaining-Subscription-Reads: REDACTED
X-Ms-Request-Id: e9c64e61-9bde-4dc6-9ba0-1a6006ea6a00
X-Ms-Routing-Request-Id: REDACTED
X-Msedge-Ref: REDACTED
X-Powered-By: REDACTED
2025/02/25 13:00:58 main.go:50: Retry: response 500
2025/02/25 13:00:58 main.go:50: Retry: End Try #2, Delay=2.109470897s
2025/02/25 13:01:00 main.go:50: Retry: =====> Try=3 for GET https://management.azure.com/subscriptions/id/resourceGroups/rg-name/providers/Microsoft.Web/sites/app-service-two/deploymentStatus/id?api-version=2023-01-01&c=REDACTED&h=REDACTED&s=REDACTED&t=REDACTED
2025/02/25 13:01:00 main.go:50: Request: ==> OUTGOING REQUEST (Try=1)
GET https://management.azure.com/subscriptions/id/resourceGroups/rg-name/providers/Microsoft.Web/sites/app-service-two/deploymentStatus/id?api-version=2023-01-01&c=REDACTED&h=REDACTED&s=REDACTED&t=REDACTED
Authorization: REDACTED
User-Agent: azsdk-go-armappservice/v2.3.0 (go1.23.0 X:loopvar; linux),azdev/1.12.0 (Go go1.23.0 X:loopvar; linux/amd64)
X-Ms-Correlation-Request-Id: c991d2fc466a494e01288331d5bc85b1
2025/02/25 13:01:00 main.go:50: Response: ==> REQUEST/RESPONSE (Try=1/551.66293ms, OpTime=551.687081ms) -- RESPONSE RECEIVED
GET https://management.azure.com/subscriptions/id/resourceGroups/rg-name/providers/Microsoft.Web/sites/app-service-two/deploymentStatus/id?api-version=2023-01-01&c=REDACTED&h=REDACTED&s=REDACTED&t=REDACTED
Authorization: REDACTED
User-Agent: azsdk-go-armappservice/v2.3.0 (go1.23.0 X:loopvar; linux),azdev/1.12.0 (Go go1.23.0 X:loopvar; linux/amd64)
X-Ms-Correlation-Request-Id: c991d2fc466a494e01288331d5bc85b1
--------------------------------------------------------------------------------
RESPONSE Status: 500 Internal Server Error
Cache-Control: no-cache
Content-Length: 199
Content-Type: application/json; charset=utf-8
Date: Tue, 25 Feb 2025 13:00:59 GMT
Etag: "1DB8782DE251A35"
Expires: -1
Pragma: no-cache
Strict-Transport-Security: REDACTED
X-Aspnet-Version: REDACTED
X-Cache: REDACTED
X-Content-Type-Options: REDACTED
X-Ms-Correlation-Request-Id: c991d2fc466a494e01288331d5bc85b1
X-Ms-Failure-Cause: REDACTED
X-Ms-Ratelimit-Remaining-Subscription-Global-Reads: REDACTED
X-Ms-Ratelimit-Remaining-Subscription-Reads: REDACTED
X-Ms-Request-Id: e82d179a-081a-404d-aa2f-157b2b882d86
X-Ms-Routing-Request-Id: REDACTED
X-Msedge-Ref: REDACTED
X-Powered-By: REDACTED
2025/02/25 13:01:00 main.go:50: Retry: response 500
2025/02/25 13:01:00 main.go:50: Retry: End Try #3, Delay=4.725880328s