Cloudinit drive pool

Nov 26, 2019
13
3
8
I'd like to keep cloudinit drives separate from vm primary drives so created a new ceph pool called "ceph-cloudinit". I have a template (based on centos7) which has the cloud init drive created in this pool as per the attached screenshot.

When I clone this VM (full clone) to create a new VM, the cloudinit drive is cloned/created to our primary pool, called "ceph-vm" as shown in the second screenshot.

Is there a setting somewhere for me to specify that cloned templates should have the cloudinit drive cloned to the same pool as in the template?

Versions as follows:

proxmox-ve: 6.1-2 (running kernel: 5.3.13-1-pve)
pve-manager: 6.1-5 (running version: 6.1-5/9bf06119)
pve-kernel-5.3: 6.1-1
pve-kernel-helper: 6.1-1
pve-kernel-5.0: 6.0-11
pve-kernel-5.3.13-1-pve: 5.3.13-1
pve-kernel-5.3.10-1-pve: 5.3.10-1
pve-kernel-5.0.21-5-pve: 5.0.21-10
pve-kernel-5.0.21-4-pve: 5.0.21-9
pve-kernel-5.0.15-1-pve: 5.0.15-1
ceph: 14.2.6-pve1
ceph-fuse: 14.2.6-pve1
corosync: 3.0.2-pve4
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: not correctly installed
ifupdown2: 1.2.8-1+pve4
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.13-pve1
libpve-access-control: 6.0-5
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-9
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-3
libpve-storage-perl: 6.1-3
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve3
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-2
pve-cluster: 6.1-2
pve-container: 3.0-16
pve-docs: 6.1-3
pve-edk2-firmware: 2.20191127-1
pve-firewall: 4.0-9
pve-firmware: 3.0-4
pve-ha-manager: 3.0-8
pve-i18n: 2.0-3
pve-qemu-kvm: 4.1.1-2
pve-xtermjs: 3.13.2-1
qemu-server: 6.1-4
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.2-pve2
 

Attachments

  • Annotation 2020-01-22 194536.png
    Annotation 2020-01-22 194536.png
    7.7 KB · Views: 7
  • Annotation 2020-01-22 194710.png
    Annotation 2020-01-22 194710.png
    11.4 KB · Views: 7
Is there a setting somewhere for me to specify that cloned templates should have the cloudinit drive cloned to the same pool as in the template?

If you do not select any target storage and keep that as "like source" that will happen, as long as those storage is available on the target node - which ceph highly probably always is.

If you specify a target storage PVE will clone all disks to that one, independent if they were on different disks or not.
In that case PVE is a bit lacking as no "storage to storage mapping" for multiple disks can be specified yet.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!