You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2014/07/03 18:18:26 UTC

svn commit: r1607688 - /vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VIM_SSH.pm

Author: arkurth
Date: Thu Jul  3 16:18:25 2014
New Revision: 1607688

URL: http://svn.apache.org/r1607688
Log:
VCL-769
Added critical message when _services_restart is called.

Modified:
    vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VIM_SSH.pm

Modified: vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VIM_SSH.pm
URL: http://svn.apache.org/viewvc/vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VIM_SSH.pm?rev=1607688&r1=1607687&r2=1607688&view=diff
==============================================================================
--- vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VIM_SSH.pm (original)
+++ vcl/trunk/managementnode/lib/VCL/Module/Provisioning/VMware/VIM_SSH.pm Thu Jul  3 16:18:25 2014
@@ -213,6 +213,7 @@ sub _run_vim_cmd {
 			
 			# If 3 connection reset errors occured, attempt to run services.sh restart
 			if ($connection_reset_errors == 3) {
+				notify($ERRORS{'CRITICAL'}, 0, "calling 'services.sh restart', encountered $connection_reset_errors connection reset on VM host $vmhost_computer_name, output:\n" . join("\n", @$output));
 				$self->_services_restart();
 			}
 		}