Repository navigation
Conversation
…resent On NFS we write a heartbeat, but without those we can not safely fence off a host. If we fence without knowing about a heartbeat we can cause a split-brain situation. Signed-off-by: Wido den Hollander <wido@widodh.nl>
|
cloudstack-pull-rats #38 ABORTED |
|
cloudstack-pull-requests #734 SUCCESS |
|
Hi @wido Could you please add an extra test to cover the "if (pools.size() == 0) { ..."? Cheers, |
There was a problem hiding this comment.
maybe add an alert for admin here, _alertMgr.sendAlert?
|
@wido any news on this PR? |
|
Working on a additional commit which brings in more logging and a unit test. |
|
cloudstack-pull-rats #69 SUCCESS |
|
cloudstack-pull-requests #766 UNSTABLE |
|
cloudstack-pull-analysis #2 ABORTED |
|
Travis failed due to NPE: Tests in error: |
|
Indeed, I noticed that to late. Fixing the tests. |
Also change the logging a bit so that you get useful logs when not running on DEBUG level
|
cloudstack-pull-rats #77 SUCCESS |
|
The tests have been fixed, Mocking issue in the test. |
|
LGTM, how about the alert @bhaisaab asked for? |
|
@DaanHoogland It is in the KVMFencer in the MGMT server. The Agent can't send an alert, so I had to do this in the mgmt server. |
|
cloudstack-pull-requests #775 SUCCESS |
|
@wido thanks for the clarification. as said LGTM |
|
cloudstack-pull-analysis #10 ABORTED |
Also change the logging a bit so that you get useful logs when not running on DEBUG level Signed-off-by: Wido den Hollander <wido@widodh.nl> This closes apache#580
Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
…resent
On NFS we write a heartbeat, but without those we can not safely
fence off a host.
If we fence without knowing about a heartbeat we can cause a split-brain situation.
Signed-off-by: Wido den Hollander wido@widodh.nl