Closed pdvian closed 7 years ago
Even if glusterd's uptime is more than 24 hours, we are still getting below warning:
[WARNING] Glusterd uptime is less than 24 hours uptime_sec=278646
Here 278646 sec converts to 3 days 22 hours
278649
Good catch. Thanks for the patch.
We seems to have been comparing uptime in seconds to str "86400" seconds. It should be compared with int value of glusterd uptime to 86400 seconds (24 hr).
Signed-off-by: Prashant D pdhange@redhat.com