]> git.proxmox.com Git - pve-storage.git/commitdiff
pbs: activate_storage: query status to ensure we can connect
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Jul 2020 09:54:13 +0000 (11:54 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Jul 2020 09:54:13 +0000 (11:54 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage/PBSPlugin.pm

index a334a8a192acd7df9fdf6351914db7d09c980634..b236f6c0bc6467868c161dd6a37537b27b9df2e2 100644 (file)
@@ -449,6 +449,9 @@ sub status {
 
 sub activate_storage {
     my ($class, $storeid, $scfg, $cache) = @_;
+
+    run_client_cmd($scfg, $storeid, "status");
+
     return 1;
 }