Cannot clone template from shared storage to local storage on different node

Aug 19, 2019
31
3
13
Dear,

After further experimentation with the software utility Proxmox Virtual Environment, I have encountered an issue which I would like to enquire on the forums about.

A thread with the same issue can be found here, however, regrettably, the thread is neglected and I do not wish to disturb it. https://forum.proxmox.com/threads/u...oning-a-template-from-a-shared-storage.56508/

To describe the issue with fresh light, I have created this diagram.

Code:
PVE1
    100 VM (local-lvm)
    101 VM (local-lvm)
    9000 Template (nfs-shared)
    local-lvm
    nfs-shared

PVE2
    103 VM (local-lvm)
    104 VM (local-lvm)
    local-lvm
    nfs-shared

PVE3
    105 VM (local-lvm)

    local-lvm
    nfs-shared

...

Template 9000 can be cloned to:
local-lvm only to PVE1 - Full clone
nfs-shared on all hosts - Full clone

We require the cloning of template 9000 to local-lvm on all nodes from nfs-shared. The storage nfs-shared is available to all nodes. Proxmox is updated fully to 6.4-6.

Please elaborate on my mistake so I can accomplish the goal.

Kindly
 
  • Like
Reactions: farmox
Why not clone it locally then and migrate it afterwards?
Dear

The deploy server for our dearest customers will identify the Proxmox node with reduced load, as which the same as the link from the other forum post.

Storage of templates is available on all Proxmox nodes. My question to the people within the community is why I cannot clone directly without migrate? If I migrate the template to a different node, it can only clone to local storage on the node the template is, despite the disk image being presented on the shared NFS storage.

Kindly
 
Dear

To the despair of my Proxmox cluster, this still is not possible within the release of Proxmox 7.1. Please advise if there is any way to clone a VM template from shared storage (NFS) to local storage (LVM) on a different node.

Kindly
 
Same here. Having to copy every template to all nodes eats disk space. For completeness, error when trying to create VM from template is "vm: 500 can't clone to non-shared storage 'my_lvm'". Bug is here: https://bugzilla.proxmox.com/show_bug.cgi?id=2059
Makes no sense if template is on NFS/shared storage available to all nodes.

"having a guest 'owned' by the whole cluster would be a pretty big change in our architecture" - strikes me that PVE needs a new construct for this that is a subset of a guest. This type of template could be a "gold_template" or something that can never be started on any node, only cloned for guest creation.