]> git.proxmox.com Git - pve-manager.git/commitdiff
pve7to8: nvidia vGPU: downgrad report for active service to warning
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Jun 2023 15:07:00 +0000 (17:07 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 12 Jun 2023 15:09:05 +0000 (17:09 +0200)
While it would be a failure now (and I thus have recommended Dominik
to use a fail here), we cannot really predict how this
evolves. If NVIDIA fixes the issue in newer driver/tooling we cannot
detect this and telling users to ignore a failure can lead to them
getting condition on that and start ignoring any failure.

So, let's ignore my initial error-level hunch and use a warning,
which is quite prominent too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/CLI/pve7to8.pm

index 9cb2881de33a3b4736e089997c09176e6fbddce4..c91547eb9867186f8ab124e6574605733a2e4dec 100644 (file)
@@ -1227,7 +1227,7 @@ sub check_nvidia_vgpu_service {
 
     my $state = $get_systemd_unit_state->("nvidia-vgpu-mgr.service", 1);
     if ($state && $state eq 'active') {
-       log_fail("Running $msg");
+       log_warn("Running $msg");
     } elsif ($state && $state ne 'unknown') {
        log_warn($msg);
     } else {