Skip to content

Edit the aliases of an image #117

Open

Description

@l-nmch

Context

An image can be created with aliases, and read with them, but not changed: the API says an image can only be deleted and pulled again. The Incus provider adds and removes the aliases of an image in place (its update does), and the XRD does not forbid it, so it is technically possible.

Scope

PATCH /v1/tenants/{t}/images/{name} with aliases; the checks of an alias (a name an alias of the project may have, not taken); OpenAPI, documentation, tests. Measure first on the platform that changing aliases on the Image leaves the image and its instances alone.

Activity

  1. added this to the 2027-Q1 milestone on Nov 9, 2026
  2. self-assigned this
    on Nov 9, 2026
  3. added
    area/api
    on Nov 9, 2026
  4. added theissue type on Nov 9, 2026
  5. l-nmch commented on Nov 11, 2026

    @l-nmch
    MemberAuthor

    Measured for this issue (see the new Hangar issue for the details): adding an alias to an Image works live and leaves the image and its VMs alone; removing or replacing one fails with Permission denied from the provider. This issue depends on that one (phorge-fr/Hangar#457) before the API can offer the edit in both directions.

  6. l-nmch commented on Nov 11, 2026

    @l-nmch
    MemberAuthor

    /time 1h measured the alias edit on the live cluster, estimated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/api

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions