cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [1/3] git commit: updated refs/heads/4.5 to 43a9eb4
Date Fri, 10 Apr 2015 20:15:03 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.5 bf3a0d608 -> 43a9eb40b


reboot much faster in case of storage failure

When storage cannot be reached, it does not make sense to reboot as it will try to flush buffers,
umount NFS mounts, etc. This will not work and thus cause a long delay. With this change,
the box will reboot immediately (like pressing the reset button).


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a92315f2
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a92315f2
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a92315f2

Branch: refs/heads/4.5
Commit: a92315f28c75df02b05368ca8cc87ad0832a4f97
Parents: bf3a0d6
Author: Remi Bergsma <github@remi.nl>
Authored: Wed Apr 1 19:45:16 2015 +0200
Committer: Daan Hoogland <dhoogland@schubergphilis.com>
Committed: Fri Apr 10 15:13:27 2015 -0500

----------------------------------------------------------------------
 scripts/vm/hypervisor/kvm/kvmheartbeat.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a92315f2/scripts/vm/hypervisor/kvm/kvmheartbeat.sh
----------------------------------------------------------------------
diff --git a/scripts/vm/hypervisor/kvm/kvmheartbeat.sh b/scripts/vm/hypervisor/kvm/kvmheartbeat.sh
index 7293b14..0c07ffa 100755
--- a/scripts/vm/hypervisor/kvm/kvmheartbeat.sh
+++ b/scripts/vm/hypervisor/kvm/kvmheartbeat.sh
@@ -155,7 +155,7 @@ then
   exit 0
 elif [ "$cflag" == "1" ]
 then
-  reboot
+  echo b > /proc/sysrq-trigger
   exit $?
 else
   write_hbLog 


Mime
View raw message