Skip to content

Deletion of AI App or Service causes uncaught exceptions #3494

@ScrewTSW

Description

@ScrewTSW

Bug description

Deleting any AI App or Service for a model causes console to flood with uncaught exceptions
Seems like it calls cleanup and delete actions right after one another

Operating system

any

Installation Method

from ghcr.io/containers/podman-desktop-extension-ai-lab container image

Version

next (development version)

Steps to reproduce

  • Create any AI App
  • Delete AI App
  • Delete model service
  • Observe console logs

Relevant log output

main ↪️ event is {status: cleanup, id: f5ff232af34fa4eb79a5145d68df5a10e56dc62aac58aa7c13c9800f5c93c311, from: quay.io/ramalama/ramalama-llama-server@sha256:4409…8f3bc08be1314754edaf2dfec1626f31974e34379bfeec41e, Type: container, Action: cleanup}
main ↪️ event is {status: remove, id: f5ff232af34fa4eb79a5145d68df5a10e56dc62aac58aa7c13c9800f5c93c311, from: quay.io/ramalama/ramalama-llama-server@sha256:4409…8f3bc08be1314754edaf2dfec1626f31974e34379bfeec41e, Type: container, Action: remove}
STDERR: [ai-lab] Something went wrong while trying to inspect container f5ff232af34fa4eb79a5145d68df5a10e56dc62aac58aa7c13c9800f5c93c311. Trying to refresh servers. Error: (HTTP code 404) no such container - no container with name or ID "f5ff232af34fa4eb79a5145d68df5a10e56dc62aac58aa7c13c9800f5c93c311" found: no such container 
    at /home/tdancs/Workspace/podman-desktop/dist/linux-unpacked/resources/app.asar/packages/main/dist/index.cjs:76:6938
    at It (/home/tdancs/Workspace/podman-desktop/dist/linux-unpacked/resources/app.asar/packages/main/dist/index.cjs:76:7364)
    at gt.buildPayload (/home/tdancs/Workspace/podman-desktop/dist/linux-unpacked/resources/app.asar/packages/main/dist/index.cjs:76:6878)
    at IncomingMessage.<anonymous> (/home/tdancs/Workspace/podman-desktop/dist/linux-unpacked/resources/app.asar/packages/main/dist/index.cjs:76:6378)
[90m    at IncomingMessage.emit (node:events:530:35)[39m
[90m    at endReadableNT (node:internal/streams/readable:1698:12)[39m
[90m    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)[39m {
  reason: [32m'no such container'[39m,
  statusCode: [33m404[39m,
  json: {
    cause: [32m'no such container'[39m,
    message: [32m'no container with name or ID "f5ff232af34fa4eb79a5145d68df5a10e56dc62aac58aa7c13c9800f5c93c311" found: no such container'[39m,
    response: [33m404[39m
  }
}

main ↪️ [ai-lab] Something went wrong while trying to inspect container f5ff232af34fa4eb79a5145d68df5a10e56dc62aac58aa7c13c9800f5c93c311. Trying to refresh servers. Error: (HTTP code 404) no such container - no container with name or ID "f5ff232af34fa4eb79a5145d68df5a10e56dc62aac58aa7c13c9800f5c93c311" found: no such container 
    at /home/tdancs/Workspace/podman-desktop/dist/linux-unpacked/resources/app.asar/packages/main/dist/index.cjs:76:6938
    at It (/home/tdancs/Workspace/podman-desktop/dist/linux-unpacked/resources/app.asar/packages/main/dist/index.cjs:76:7364)
    at gt.buildPayload (/home/tdancs/Workspace/podman-desktop/dist/linux-unpacked/resources/app.asar/packages/main/dist/index.cjs:76:6878)
    at IncomingMessage.<anonymous> (/home/tdancs/Workspace/podman-desktop/dist/linux-unpacked/resources/app.asar/packages/main/dist/index.cjs:76:6378)
    at IncomingMessage.emit (node:events:530:35)
    at endReadableNT (node:internal/streams/readable:1698:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions