Skip to content

vm list prints the libvirt domain name that vm destroy rejects (doubled charly- prefix) #1246

Open

Description

@aitrawog

Category

category:runtime

Type

type:fix

Remedy / files the remedy will touch

accept both spellings (strip a leading charly- when it is already there), or print the entity name in list alongside the domain name.

Cited design decision or org-rulebook rule (or none)

none

charly vm list and charly vm destroy disagree about the name of the same VM. Measured
evidence from the issue:

$ charly vm list
NAME                           BACKEND  STATE
charly-check-firecracker-host  libvirt  running

$ charly vm destroy charly-check-firecracker-host
charly: error: command "vm": no such VM "charly-charly-check-firecracker-host": no libvirt domain and no qemu state — nothing destroyed

$ charly vm destroy check-firecracker-host      # the ENTITY name, not what list printed
…destroyed

"list shows the libvirt domain name (the charly- prefix is added to the entity), while
destroy takes the entity name — so pasting what list shows is a guaranteed miss with a
confusing doubled-prefix error."

Ask: accept both spellings (strip a leading charly- when it is already there), or print
the entity name in list alongside the domain name.

Sibling: #1245
Split from #902

Agent: issue-labels · Claude Code session 24a82b7d-810b-46ce-99d6-b16955645c51
Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)

Activity

  1. added
    category:runtime
    type:fix
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:runtimetype:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions