[SOLVED] WARNING: Combining activation change with other commands is not advised.

Hello everyone,

I am currently working on my automatic template creator/updater.
When I change the VM into a template I get the warning:

WARNING: Combining activation change with other commands is not advised.

Does anyone know why I get this warning and how can I fix it? (Or is it safe to ignore?)

Console output:
root@proxmox:~# qm create 903 --name test --ostype l26
root@proxmox:~# qm set 903 --net0 virtio,bridge=vmbr0
update VM 903: -net0 virtio,bridge=vmbr0
root@proxmox:~# qm set 903 --serial0 socket --vga serial0
update VM 903: -serial0 socket -vga serial0
root@proxmox:~# qm set 903 --memory 16384 --cores 4 --cpu host
update VM 903: -cores 4 -cpu host -memory 16384
root@proxmox:~# qm set 903 --scsi0 local-lvm:0,import-from="/root/proxmox-ve-scripts/cache/debian-12-generic-amd64.qcow2",discard=on,ssd=1
update VM 903: -scsi0 local-lvm:0,import-from=/root/proxmox-ve-scripts/cache/debian-12-generic-amd64.qcow2,discard=on,ssd=1
Logical volume "vm-903-disk-0" created.
transferred 0.0 B of 2.0 GiB (0.00%)
transferred 20.5 MiB of 2.0 GiB (1.00%)
transferred 41.0 MiB of 2.0 GiB (2.00%)
transferred 61.6 MiB of 2.0 GiB (3.01%)
transferred 82.1 MiB of 2.0 GiB (4.01%)
transferred 102.6 MiB of 2.0 GiB (5.01%)
transferred 123.1 MiB of 2.0 GiB (6.01%)
transferred 143.6 MiB of 2.0 GiB (7.01%)
transferred 164.2 MiB of 2.0 GiB (8.02%)
transferred 184.7 MiB of 2.0 GiB (9.02%)
transferred 205.2 MiB of 2.0 GiB (10.02%)
transferred 225.9 MiB of 2.0 GiB (11.03%)
transferred 246.4 MiB of 2.0 GiB (12.03%)
transferred 266.9 MiB of 2.0 GiB (13.03%)
transferred 287.3 MiB of 2.0 GiB (14.03%)
transferred 307.8 MiB of 2.0 GiB (15.03%)
transferred 328.5 MiB of 2.0 GiB (16.04%)
transferred 349.0 MiB of 2.0 GiB (17.04%)
transferred 369.5 MiB of 2.0 GiB (18.04%)
transferred 389.9 MiB of 2.0 GiB (19.04%)
transferred 410.4 MiB of 2.0 GiB (20.04%)
transferred 431.1 MiB of 2.0 GiB (21.05%)
transferred 451.6 MiB of 2.0 GiB (22.05%)
transferred 472.1 MiB of 2.0 GiB (23.05%)
transferred 492.5 MiB of 2.0 GiB (24.05%)
transferred 513.0 MiB of 2.0 GiB (25.05%)
transferred 533.5 MiB of 2.0 GiB (26.05%)
transferred 554.2 MiB of 2.0 GiB (27.06%)
transferred 574.7 MiB of 2.0 GiB (28.06%)
transferred 595.1 MiB of 2.0 GiB (29.06%)
transferred 615.6 MiB of 2.0 GiB (30.06%)
transferred 636.1 MiB of 2.0 GiB (31.06%)
transferred 656.8 MiB of 2.0 GiB (32.07%)
transferred 677.3 MiB of 2.0 GiB (33.07%)
transferred 697.8 MiB of 2.0 GiB (34.07%)
transferred 718.2 MiB of 2.0 GiB (35.07%)
transferred 738.7 MiB of 2.0 GiB (36.07%)
transferred 759.4 MiB of 2.0 GiB (37.08%)
transferred 779.9 MiB of 2.0 GiB (38.08%)
transferred 800.4 MiB of 2.0 GiB (39.08%)
transferred 820.8 MiB of 2.0 GiB (40.08%)
transferred 841.3 MiB of 2.0 GiB (41.08%)
transferred 862.0 MiB of 2.0 GiB (42.09%)
transferred 882.5 MiB of 2.0 GiB (43.09%)
transferred 903.0 MiB of 2.0 GiB (44.09%)
transferred 923.4 MiB of 2.0 GiB (45.09%)
transferred 943.9 MiB of 2.0 GiB (46.09%)
transferred 964.4 MiB of 2.0 GiB (47.09%)
transferred 985.1 MiB of 2.0 GiB (48.10%)
transferred 1005.6 MiB of 2.0 GiB (49.10%)
transferred 1.0 GiB of 2.0 GiB (50.10%)
transferred 1.0 GiB of 2.0 GiB (51.10%)
transferred 1.0 GiB of 2.0 GiB (52.10%)
transferred 1.1 GiB of 2.0 GiB (53.11%)
transferred 1.1 GiB of 2.0 GiB (54.11%)
transferred 1.1 GiB of 2.0 GiB (55.11%)
transferred 1.1 GiB of 2.0 GiB (56.11%)
transferred 1.1 GiB of 2.0 GiB (57.11%)
transferred 1.2 GiB of 2.0 GiB (58.12%)
transferred 1.2 GiB of 2.0 GiB (59.12%)
transferred 1.2 GiB of 2.0 GiB (60.12%)
transferred 1.2 GiB of 2.0 GiB (61.12%)
transferred 1.2 GiB of 2.0 GiB (62.12%)
transferred 1.3 GiB of 2.0 GiB (63.12%)
transferred 1.3 GiB of 2.0 GiB (64.13%)
transferred 1.3 GiB of 2.0 GiB (65.13%)
transferred 1.3 GiB of 2.0 GiB (66.13%)
transferred 1.3 GiB of 2.0 GiB (67.13%)
transferred 1.4 GiB of 2.0 GiB (68.13%)
transferred 1.4 GiB of 2.0 GiB (69.14%)
transferred 1.4 GiB of 2.0 GiB (70.14%)
transferred 1.4 GiB of 2.0 GiB (71.14%)
transferred 1.4 GiB of 2.0 GiB (72.14%)
transferred 1.5 GiB of 2.0 GiB (73.14%)
transferred 1.5 GiB of 2.0 GiB (74.15%)
transferred 1.5 GiB of 2.0 GiB (75.15%)
transferred 1.5 GiB of 2.0 GiB (76.15%)
transferred 1.5 GiB of 2.0 GiB (77.15%)
transferred 1.6 GiB of 2.0 GiB (78.15%)
transferred 1.6 GiB of 2.0 GiB (79.16%)
transferred 1.6 GiB of 2.0 GiB (80.16%)
transferred 1.6 GiB of 2.0 GiB (81.16%)
transferred 1.6 GiB of 2.0 GiB (82.16%)
transferred 1.7 GiB of 2.0 GiB (83.16%)
transferred 1.7 GiB of 2.0 GiB (84.16%)
transferred 1.7 GiB of 2.0 GiB (85.17%)
transferred 1.7 GiB of 2.0 GiB (86.17%)
transferred 1.7 GiB of 2.0 GiB (87.17%)
transferred 1.8 GiB of 2.0 GiB (88.17%)
transferred 1.8 GiB of 2.0 GiB (89.17%)
transferred 1.8 GiB of 2.0 GiB (90.18%)
transferred 1.8 GiB of 2.0 GiB (91.18%)
transferred 1.8 GiB of 2.0 GiB (92.18%)
transferred 1.9 GiB of 2.0 GiB (93.18%)
transferred 1.9 GiB of 2.0 GiB (94.18%)
transferred 1.9 GiB of 2.0 GiB (95.26%)
transferred 1.9 GiB of 2.0 GiB (96.26%)
transferred 1.9 GiB of 2.0 GiB (97.26%)
transferred 2.0 GiB of 2.0 GiB (98.26%)
transferred 2.0 GiB of 2.0 GiB (99.28%)
transferred 2.0 GiB of 2.0 GiB (100.00%)
transferred 2.0 GiB of 2.0 GiB (100.00%)
scsi0: successfully created disk 'local-lvm:vm-903-disk-0,discard=on,size=2G,ssd=1'
root@proxmox:~# qm set 903 --boot order=scsi0 --scsihw virtio-scsi-single
update VM 903: -boot order=scsi0 -scsihw virtio-scsi-single
root@proxmox:~# qm set 903 --onboot 1
update VM 903: -onboot 1
root@proxmox:~# qm set 903 --agent enabled=1,fstrim_cloned_disks=1
update VM 903: -agent enabled=1,fstrim_cloned_disks=1
root@proxmox:~# qm set 903 --ide2 local-lvm:cloudinit
update VM 903: -ide2 local-lvm:cloudinit
Logical volume "vm-903-cloudinit" created.
ide2: successfully created disk 'local-lvm:vm-903-cloudinit,media=cdrom'
generating cloud-init ISO
root@proxmox:~# qm set 903 --cicustom "user=local:snippets/standard.yaml"
update VM 903: -cicustom user=local:snippets/standard.yaml
root@proxmox:~# qm disk resize 903 scsi0 50G
Size of logical volume pve/vm-903-disk-0 changed from 2.00 GiB (512 extents) to 50.00 GiB (12800 extents).
WARNING: You have not turned on protection against thin pools running out of space.
WARNING: Set activation/thin_pool_autoextend_threshold below 100 to trigger automatic extension of thin pools before they get full.
Logical volume pve/vm-903-disk-0 successfully resized.
WARNING: Sum of all thin volume sizes (150.01 GiB) exceeds the size of thin pool pve/data and the amount of free space in volume group (16.00 GiB).
root@proxmox:~# qm template 903
Renamed "vm-903-disk-0" to "base-903-disk-0" in volume group "pve"
Logical volume pve/base-903-disk-0 changed.
WARNING: Combining activation change with other commands is not advised.
root@proxmox:~#
 
WARNING: Combining activation change with other commands is not advised.

Does anyone know why I get this warning and how can I fix it? (Or is it safe to ignore?)
A warning is a caution that should be paid attention to, but it does not (usually) mean there is a problem.
This particular warning comes from LVM, a non-PVE specific technology. There are multiple articles online describing it, i.e.:
https://listman.redhat.com/archives/linux-lvm/2018-October/024864.html
https://codingpackets.com/blog/proxmox-import-and-use-cloud-images/
https://bugzilla.redhat.com/show_bug.cgi?id=1814022


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: Daniel_Dog

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!