Cloning VMs appends name to cloned server name

jayecin

Explorer
Joined
Oct 12, 2020
Messages
79
So ive found that if you clone a VM, instead of the unique name being what you set it to, it appends it to the name of the server you cloned. For example I created a basic ubuntu server called "python_sandbox" that i figured anytime I want to spin up a new server to test something, ill just clone that one. However i ran into an issue where i got an error message about the name of the server being more than 63 characters. Upon further inspection I realized that even though it lets you enter a name for the cloned server, it only appends the new name to the existing name on the vdev where the server is installed.

Here i tried to clone the VM "python_sandbox" with "1234567891011121314151617181920" which resulted in a VM path of /dev/zvol/vm-hosts/python_sandbox-vyb8bi_1234567891011121314151617181920 and an error message that the path name is too long.

[ENOENT] vm_create.devices.1.attributes.path: Disk path /dev/zvol/vm-hosts/python_sandbox-vyb8bi_1234567891011121314151617181920 does not exist. [ENAMETOOLONG] vm_create.devices.1.attributes.path: Disk path /dev/zvol/vm-hosts/python_sandbox-vyb8bi_1234567891011121314151617181920 is too long, reduce to less than 63 characters

and this continues for clones of clones. So if I clone "123456789101112131415161718192" and name the new server "abcdef" it will add the "abcdef" after "1234567891011121314151617181920" and after "python_sandbox".
 
Last edited:
Top