Skip to content

[AspireE2E]Click "Stop resource" then click "start resource" in dashboard, error "Failed to initialize log stream {"Kind": "usvc-dev.developer.microsoft.com/v1, Kind=Executable", "Name": "apiservice-zmydhhjz" pop up" #12554

@Susie-1989

Description

@Susie-1989

REGRESSION INFO

This issue does not reproduce in Aspire 9.5.2

INSTALL STEPS**

  1. Clean machine: Win11 x64 24h2 ENU
  2. Install VS 18.3 Insiders 1
  3. Add feed for Aspire 13.0
  4. dotnet new install Aspire.ProjectTemplates::13.0.0-preview.1.25530.2 --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 to run the project.
3.On dashboard, click Console > select "apiservice" in Resource > Stop resource > start resource

Note: this issue works well use command to create project.

ACTUAL
An error“ Failed to initialize log stream {"Kind": "usvc-dev.developer.microsoft.com/v1, Kind=Executable", "Name": "apiservice-zmydhhjz"” occurred

Image

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-zmydhhjz", "UID": "75c88617-b3c6-443e-bb79-ca2ee69f1ebc", "Options": "{Source: system, Follow: true, Timestamps: true, Limit: (null), Skip: (null), Tail: (null), LineNumbers: false}", "error": "resource is being deleted"}

EXPECTED
No error pop up

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions