dotnet / aspire-samples

MIT License
571 stars 158 forks source link

[WebToolsE2E][Aspire] After successfully deploying the solution Metrics, the `app` container app status is Failed:appContainerCrashing. #261

Closed v-sherryfan closed 2 months ago

v-sherryfan commented 2 months ago

REGRESSION INFO: Also repro on Aspire 8.0 P6

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.10 Preview 7 [ Includes Aspire 8.0.0-preview.7.24251.11 and SDK 8.0.300-preview.24203.14 ]
  3. Apply NuGet dotnet-tools Feed
  4. Install Docker Desktop for Windows
  5. Install latest azd [1.9.0-beta.1-daily.3760115]

REPRO STEPS

  1. Clone aspire-samples repo, checkout the release/8.0 branch
  2. Open samples\Metrics.sln
  3. Build
  4. Deploy using azd
    • Open the solution folder in a Command Prompt
    • Run azd init, select 'Use code in the current directory' > Confirm and continue initializing my app, type a new environment name, press enter
    • Run azd up to deploy to Azure
  5. After deployment successful, open the resource group, the app Container App status is Failed:appContainerCrashing.

ACTUAL image

EXPECTED

The app Container App status is successful after deployment successful.

vicperdana commented 2 months ago

@v-sherryfan See this suggestion from @davidfowl here

v-sherryfan commented 2 months ago

@vicperdana Thank you for your investigation. Verified this issue is not reproduced on release/8.0 branch using VS 17.10 GA FB + azd [1.10.0-beta.1-daily.3787247]