]> git.proxmox.com Git - pve-manager.git/commit
pve6to7: storage content: ignore misconfigured unreferenced volumes
authorFabian Ebner <f.ebner@proxmox.com>
Wed, 7 Jul 2021 10:22:50 +0000 (12:22 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 7 Jul 2021 16:46:38 +0000 (18:46 +0200)
commit6234ee1f44d177dc2542299f00c519835381b00b
treee177073aa8c6f4fb624a2386c9408ccf1856231c
parent5f27a463a1db3a43130bf8640d2b615e9916ba03
pve6to7: storage content: ignore misconfigured unreferenced volumes

If the same local storage is configured twice with content type
separation, migration in PVE 6 would lead to the volumes being
duplicated. As that would happen for every migration, such an issue
would likely be noticed already, and in PVE 7 such configuration is
not problematic for migration anymore. Also, misconfigured
unreferenced volumes are not an issue with respect to the upgrade
itself, just drop the check.

It's not necessary to scan storages with either 'images' or 'rootdir'
anymore, as only the log_info() remains.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit 5dc51df910620a47459228e05675c2af81cbc46d)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/CLI/pve6to7.pm