Bumped debug logging.

Signed-off-by: digimer <mkelly@alteeve.ca>
main
digimer 11 months ago
parent b85e38d20d
commit bb78d65c77
  1. 8
      tools/striker-collect-debug

@ -353,6 +353,7 @@ sub collect_remote_data
# Copying the file # Copying the file
print "Done! Copying to here... "; print "Done! Copying to here... ";
$anvil->Storage->rsync({ $anvil->Storage->rsync({
debug => 2,
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/journalctl-previous-boot.log", source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/journalctl-previous-boot.log",
destination => $target_directory."/", destination => $target_directory."/",
}); });
@ -392,6 +393,7 @@ sub collect_remote_data
# Copying the file # Copying the file
print "Done! Copying to here... "; print "Done! Copying to here... ";
$anvil->Storage->rsync({ $anvil->Storage->rsync({
debug => 2,
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/journalctl-current-boot.log", source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/journalctl-current-boot.log",
destination => $target_directory."/", destination => $target_directory."/",
}); });
@ -431,6 +433,7 @@ sub collect_remote_data
{ {
print "- Grabbing cloud-init logs... "; print "- Grabbing cloud-init logs... ";
$anvil->Storage->rsync({ $anvil->Storage->rsync({
debug => 2,
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/var/log/cloud-init*", source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/var/log/cloud-init*",
destination => $target_directory."/", destination => $target_directory."/",
}); });
@ -499,6 +502,7 @@ sub collect_remote_data
print "- Grabbing hosts file... "; print "- Grabbing hosts file... ";
$anvil->Storage->rsync({ $anvil->Storage->rsync({
debug => 2,
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/etc/hosts", source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/etc/hosts",
destination => $target_directory."/", destination => $target_directory."/",
}); });
@ -522,6 +526,7 @@ sub collect_remote_data
print "- Grabbing Anvil! log... "; print "- Grabbing Anvil! log... ";
$anvil->Storage->rsync({ $anvil->Storage->rsync({
debug => 2,
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/var/log/anvil.log", source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/var/log/anvil.log",
destination => $target_directory."/", destination => $target_directory."/",
}); });
@ -559,6 +564,7 @@ sub collect_remote_data
# Copying the file # Copying the file
print "Done! Copying to here... "; print "Done! Copying to here... ";
$anvil->Storage->rsync({ $anvil->Storage->rsync({
debug => 2,
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/cib.xml", source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/cib.xml",
destination => $target_directory."/", destination => $target_directory."/",
}); });
@ -586,6 +592,7 @@ sub collect_remote_data
{ {
print "- Collecting server definitions... "; print "- Collecting server definitions... ";
$anvil->Storage->rsync({ $anvil->Storage->rsync({
debug => 2,
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/mnt/shared/definitions", source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/mnt/shared/definitions",
destination => $target_directory."/", destination => $target_directory."/",
}); });
@ -593,6 +600,7 @@ sub collect_remote_data
print "- Collecting replicated storage config... "; print "- Collecting replicated storage config... ";
$anvil->Storage->rsync({ $anvil->Storage->rsync({
debug => 2,
source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/etc/drbd.d", source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/etc/drbd.d",
destination => $target_directory."/", destination => $target_directory."/",
}); });

Loading…
Cancel
Save