proxmox-backup-client map critical issue

maximmonin

New Member
Dec 9, 2023
5
1
3
```
apt install proxmox-backup-client=3.2.6-1
proxmox-backup-client snapshot list
┌─────────────────────────────┬────────┬────────────────────────────────────────────────────────┐
│ snapshot │ size │ files │
╞═════════════════════════════╪════════╪════════════════════════════════════════════════════════╡
│ vm/100/2024-06-10T22:00:02Z │ 10 GiB │ client.log drive-scsi0.img index.json qemu-server.conf │
├─────────────────────────────┼────────┼────────────────────────────────────────────────────────┤
...
vm/101/2024-06-30T22:00:13Z │ 10 GiB │ client.log drive-scsi0.img index.json qemu-server.conf

proxmox-backup-client map vm/101/2024-06-30T22:00:13Z drive-scsi0.img
root@pbs1:/etc/apt# Error: manifest does not contain file 'drive-scsi0.img'
^C

apt install proxmox-backup-client=3.2.4-1
proxmox-backup-client map vm/101/2024-06-30T22:00:13Z drive-scsi0.img
Image 'restore@pbs!apitoken@localhost:8007:storage:vm/101/2024-06-30T22:00:13Z/drive-scsi0.img' mapped on /dev/loop0
```

Problem exists in version 3.2.5-1 3.2.6-1, but works ok in 3.2.4-1 or lower version of proxmox-backup-client. All other packages can be 3.2.6-1.
 
Thank you very much for reporting this!
This was a regression introduced by some changes made in order to make split pxar archives mountable, which shares some code with the fixed index mapping.

A patch fixing the regression is available on the developers mailing list: https://lists.proxmox.com/pipermail/pbs-devel/2024-July/010046.html
 
The fix has been packaged with version 3.2.7 of proxmox-backup-client and is available on the no-subscription repositories at the time of writing.
 
  • Like
Reactions: maximmonin