Skip to content

[AspireE2E] Restarting a resource after clicking 'Pause incoming data' and selecting 'Remove for resource' will result in the following error: fail: Aspire.Hosting.Dcp.dcp.start-apiserver.api-server.Logstorage[0]. #11922

@vmykagapuz

Description

@vmykagapuz

REGRESSION INFO

  1. This issue is not reproduced in Aspire 9.5.1

INSTALL STEPS

  1. Clean machine: Win11 x64 24h2 ENU
  2. Install VS 18.0.0 Insiders 2
  3. Add feed for Aspire 13.0
  4. dotnet new install Aspire.ProjectTemplates::13.0.0 preview.1.25508.8 --force`

REPRO STEPS

  1. Open VS > Create a new project > Aspire Starter App [.NET 10.0, Aspire version 13.0] > Create
  2. Build and F5
  3. Navigate to Console >Select a resource > Click 'Pause incoming data' > Click dropdown button of remove data > Select 'remove for apiservice'
  4. Click 'Resource actions' > Restart > Open CMD

ACTUAL
Restarting a resource after clicking 'Pause incoming data' and selecting 'Remove for resource' will result to an error

ConsoleIssue1.mp4

Error message:

fail: Aspire.Hosting.Dcp.dcp.start-apiserver.api-server.Logstorage[0]
      Failed to initialize log stream   {"Kind": "usvc-dev.developer.microsoft.com/v1, Kind=Executable", "Name": "apiservice-vsnjrzpg", "UID": "71153c20-050f-44bd-9558-26e6e781b479", "Options": "{Source: system, Follow: true, Timestamps: true, Limit: (null), Skip: (null), Tail: (null), LineNumbers: false}", "error": "resource is being deleted"}

EXPECTED
No error will occur when restarting a resource after clicking the button to pause incoming data and selecting remove data for resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions