mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-23 23:42:45 +00:00
5to6: add check for configured Sheepdog storages
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
8ec913c1cc
commit
68f0d1611b
@ -234,7 +234,9 @@ sub check_storage_health {
|
||||
foreach my $storeid (keys %$info) {
|
||||
my $d = $info->{$storeid};
|
||||
if ($d->{enabled}) {
|
||||
if ($d->{active}) {
|
||||
if ($d->{type} eq 'sheepdog') {
|
||||
log_fail("storage '$storeid' of type 'sheepdog' is enabled - Sheepdog is no longer supported in PVE 6.x!")
|
||||
} elsif ($d->{active}) {
|
||||
log_pass("storage '$storeid' enabled and active.");
|
||||
} else {
|
||||
log_warn("storage '$storeid' enabled but not active!");
|
||||
|
Loading…
Reference in New Issue
Block a user