summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/__init__.py
diff options
context:
space:
mode:
authorkshithijiyer <kshithij.ki@gmail.com>2020-06-17 13:37:38 +0530
committerkshithijiyer <kshithij.ki@gmail.com>2020-06-17 17:52:10 +0530
commit7a33280b5ef65edb8845a19332938c69e1fea003 (patch)
tree8f6641182e9649d8efc6c56d93220995987183dc /glustolibs-gluster/glustolibs/__init__.py
parentd5e3ddbb0b16e4143d6b2cb772d485bb044abfcd (diff)
[Libfix] Add retry logic to restart_glusterd()
Problem: Patch [1] and [2] sent to glusterfs where changes are made to glusterd.service.in to not allow glusterd restart for more than 6 times within an hour, due this glusterd restarts present in testcases may fail as there is no way to figure out when we reach the 6 restart limit. Fix: Add code to check if glusterd restart has failed if true then call reset_failed_glusterd(), and redo the restart. Links: [1] https://review.gluster.org/#/c/glusterfs/+/23751/ [2] https://review.gluster.org/#/c/glusterfs/+/23970/ Change-Id: I041a019f9a8757d8fead00302e6bbcd6563dc74e Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/__init__.py')
0 files changed, 0 insertions, 0 deletions