Corsinvest / cv4pve-barc

Backup And Restore Ceph for Proxmox VE
https://www.cv4pve-tools.com
GNU General Public License v3.0
82 stars 22 forks source link

vmid "storage-" broken on pve6 #67

Open Tatsu-Kishi opened 3 years ago

Tatsu-Kishi commented 3 years ago

Proxmox 6.1, barc 0.2.5-renew

When using the storage pool option for vmid it comes up with ridiculous VM IDs

ACTION: Backup
Start backup 2020-08-03 16:41:18
ERROR: VM 0 - Unknown technology
ERROR: VM 69793218560 - Unknown technology
ERROR: VM 12884901888 - Unknown technology
ERROR: VM 10737418240 - Unknown technology
ERROR: VM 32212254720 - Unknown technology
ERROR: VM 53687091200 - Unknown technology
ERROR: VM 16106127360 - Unknown technology
ERROR: VM 107374182400 - Unknown technology
ERROR: VM 34359738368 - Unknown technology
[... bunch of additional "IDs" ...]
End backup 2020-08-03 16:41:53

Example pvesm list output:

pvesm list ceph1-ec-2-1-isa-reed
Volid                                Format  Type                Size VMID
ceph1-ec-2-1-isa-reed:vm-100-disk-0  raw     images       69793218560 100
ceph1-ec-2-1-isa-reed:vm-1001-disk-0 raw     images       12884901888 1001
ceph1-ec-2-1-isa-reed:vm-1002-disk-0 raw     images       10737418240 1002
ceph1-ec-2-1-isa-reed:vm-1003-disk-0 raw     images       32212254720 1003
ceph1-ec-2-1-isa-reed:vm-1004-disk-0 raw     images       32212254720 1004
ceph1-ec-2-1-isa-reed:vm-1005-disk-0 raw     images       53687091200 1005

VMID is in position 5, in the code it's extracting position 4 (size)

franklupo commented 3 years ago

Hi, execute with --debug and attaach output.

Best regards