* This is a small commit to increase logging while chasing down a race condition issue with assembling storage groups.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 2 years ago
parent 895f1ec262
commit 9a58f4d1ff
  1. 2
      Anvil/Tools/Get.pm
  2. 2
      tools/anvil-manage-storage-groups

@ -527,7 +527,7 @@ sub available_resources
# This both loads storage group data and assembles ungrouped VGs into storage groups, when possible. # This both loads storage group data and assembles ungrouped VGs into storage groups, when possible.
$anvil->Cluster->assemble_storage_groups({ $anvil->Cluster->assemble_storage_groups({
debug => $debug, debug => 2,
anvil_uuid => $anvil_uuid, anvil_uuid => $anvil_uuid,
}); });

@ -32,6 +32,8 @@ if (($running_directory =~ /^\./) && ($ENV{PWD}))
$| = 1; $| = 1;
my $anvil = Anvil::Tools->new(); my $anvil = Anvil::Tools->new();
$anvil->Log->level({set => 2});
$anvil->Log->secure({set => 1});
$anvil->Get->switches({list => [ $anvil->Get->switches({list => [
"add", "add",

Loading…
Cancel
Save