/[Apache-SVN]
ViewVC logotype

Revision 1804679


Jump to revision: Previous Next
Author: arkurth
Date: Thu Aug 10 15:30:53 2017 UTC (6 years, 8 months ago)
Changed paths: 1
Log Message:
VCL-1073
Added '&' after call to shutdown in Linux.pm::reboot and Linux.pm::shutdown so that they doesn't wait for the command to complete. Added 'max_attempts' = 1 argument to execute call so that multiple attempts aren't tried if the connection is quickly broken after the reboot starts. Removed error checking on the result of executing this command. Later on, the code waits for the computer to either shut down or not respond to ping and monitors the reboot. If the shutdown command failed for some reason, the code would still attempt a hard reset or power off.

Other
Moved activate_interfaces call to earlier in Linux.pm::post_load. It was being called after update_public_ip_address, synchronize_time, and possibly other steps that would require the interfaces to be up. Replaced duplicated code calling ifup in Linux.pm::activate_interfaces with call to start_network_interface.

Changed paths

Path Details
Directoryvcl/trunk/managementnode/lib/VCL/Module/OS/Linux.pm modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26