make sure sync cannot block reboot
The recent discussed improvement has the risk that if 'sync' hangs, the reboot
may be delayed in the same way as the 'reboot' command would do. To work
around, we're adding a 5 second timeout. If it cannot sync in 5 seconds, it
will not succeed anyway and we s
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 dela
write logfile just before rebooting the host
As discussed with @wido @pyr and @nuxro added an extra log line.
Tested it and it logs fine (tested to local disk) when syncing first:
Apr 3 15:31:23 mcctest2 heartbeat: kvmheartbeat.sh system because it was
unable to write the heartbeat to the stora
Repository: cloudstack
Updated Branches:
refs/heads/4.4 97623bb0d -> 14a3d2b62
make sure sync cannot block reboot
The recent discussed improvement has the risk that if 'sync' hangs, the reboot
may be delayed in the same way as the 'reboot' command would do. To work
around, we're adding a 5 s
Repository: cloudstack
Updated Branches:
refs/heads/master d8eb2e5e4 -> da233c7bf
make sure sync cannot block reboot
The recent discussed improvement has the risk that if 'sync' hangs, the reboot
may be delayed in the same way as the 'reboot' command would do. To work
around, we're adding a
Merge branch 'master' of https://github.com/remibergsma/cloudstack
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/da233c7b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/da233c7b
Diff: http://git-wip-u
write logfile just before rebooting the host
As discussed with @wido @pyr and @nuxro added an extra log line.
Tested it and it logs fine (tested to local disk) when syncing first:
Apr 3 15:31:23 mcctest2 heartbeat: kvmheartbeat.sh system because it was
unable to write the heartbeat to the stora
Repository: cloudstack
Updated Branches:
refs/heads/4.4 a79fd8816 -> 97623bb0d
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 dela