You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ek...@apache.org on 2015/04/02 16:24:45 UTC

[1/3] git commit: updated refs/heads/master to c6416cb

Repository: cloudstack
Updated Branches:
  refs/heads/master bbdec1c8d -> c6416cb76


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/2b41f983
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2b41f983
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2b41f983

Branch: refs/heads/master
Commit: 2b41f98346eaae981238c41f8cc7092ef72492d9
Parents: c05e37b
Author: Remi Bergsma <gi...@remi.nl>
Authored: Wed Apr 1 19:45:16 2015 +0200
Committer: Remi Bergsma <gi...@remi.nl>
Committed: Wed Apr 1 19:45:16 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2b41f983/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 


[3/3] git commit: updated refs/heads/master to c6416cb

Posted by ek...@apache.org.
This closes #140

Sebastian and Lucian gave input about the change. I also talked to Remi about it.


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

Branch: refs/heads/master
Commit: c6416cb7662d21a4f44df714ea1809d6474b9390
Parents: bbdec1c fe53329
Author: wilderrodrigues <wr...@schubergphilis.com>
Authored: Thu Apr 2 16:23:51 2015 +0200
Committer: wilderrodrigues <wr...@schubergphilis.com>
Committed: Thu Apr 2 16:23:51 2015 +0200

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



[2/3] git commit: updated refs/heads/master to c6416cb

Posted by ek...@apache.org.
Merge pull request #1 from remibergsma/remibergsma-kvmheartbeat

reboot much faster in case of storage failure

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

Branch: refs/heads/master
Commit: fe53329958e3d835d1b2c24cf78bc1c409cb7ee3
Parents: c05e37b 2b41f98
Author: Remi Bergsma <gi...@remi.nl>
Authored: Wed Apr 1 20:04:44 2015 +0200
Committer: Remi Bergsma <gi...@remi.nl>
Committed: Wed Apr 1 20:04:44 2015 +0200

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