Bug 26692 - Rename virtual machine name
Rename virtual machine name
Product: UCS
Classification: Unclassified
Component: UMC - Virtual machines (UVMM)
UCS 4.2
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: UMC maintainers
Depends on: 24711
  Show dependency treegraph
Reported: 2012-04-02 16:38 CEST by Jan Christoph Ebersbach
Modified: 2020-07-03 20:52 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Jan Christoph Ebersbach univentionstaff 2012-04-02 16:38:36 CEST
Es wäre wünschenswert, wenn der Name einer VM nachträglich editierbar wäre. Bei den administrativen Aufgaben in einem Unternehmen werden die VMs häufiger mal umbenannt und an die aktuell geltenden Konventionen angepasst. Da alle vergleichbaren Lösungen diese Funktionalität ebenfalls bieten, wäre es schön, wenn UVMM diese ebenfalls bereitstellen würde.

+++ This bug was initially created as a clone of Bug #24711 +++

Mit der aktuellen Version von UVMM auf laiva kann man in den Eigenschaften
einer virtuellen Maschine im Reiter "Allgemein" den Namen der virtuellen
Maschine editieren. Das wird bei KVM zu Problemen führen, da min. Snapshots
nicht mehr gefunden werden werden.
Comment 1 Philipp Hahn univentionstaff 2012-04-03 09:29:15 CEST
Die Funktionalität wird von libvirt noch nicht direkt unterstützt:
2009 gab es mal einen ersten Patch, leider dann ohne Follow-Up:
Die Funktionalität steht aber 2011 immer noch auf der Wunschliste:
Comment 2 Stefan Gohmann univentionstaff 2017-06-16 20:39:25 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 3 Philipp Hahn univentionstaff 2017-07-27 16:28:15 CEST
As renaming VMs in libvirt is not possible (for qemu it would required renaming lots of files, as VMs are indexed by $NAME and not by $UUID).
As a compromise libvirt has the /domain/title element <https://libvirt.org/formatdomain.html#elementsMetadata> to configure a title for displaying - at least virt-manager implements this. The VM keeps it physical name on Disk, but the displayed name can be edited.
Comment 4 Philipp Hahn univentionstaff 2018-08-13 12:48:18 CEST
`virsh domrename` can nowadays renames virtual machine, but it has certain restrictions/limitations:
- no snapshot must exist
- storage volumes are not renamed
- ...
Comment 5 Ingo Steuwer univentionstaff 2020-07-03 20:52:34 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.