sshopts authorized_keys known_hosts
cfg_tftp_di_version controller_ipaddr
remote_perl_script_open remote_perl_script_done
- host_reboot target_reboot target_reboot_hard
+ host_reboot target_reboot target_reboot_force
target_choose_vg target_umount_lv target_await_down
host_get_free_memory
await_tcp(get_timeout($ho,'reboot',$timeout{RebootUp}), 5,$ho);
}
-sub target_reboot_hard ($) {
+sub target_reboot_force ($) {
my ($ho) = @_;
power_cycle($ho);
await_tcp(get_timeout($ho,'reboot',$timeout{HardRebootUp}), 5, $ho);
if (!try_fetch_logs($ho, $logs)) {
logm("log fetching failed, trying hard host reboot...");
if (!eval {
- target_reboot_hard($ho);
+ target_reboot_force($ho);
1;
}) {
logm("host reboot failed, abandoning log fetches: $@");