I think you've indeed found a bug, please submit a PR against 4.11 changing the
difference (current - last, not last - current):
From: Jayakarteek Vasana <jayakarteek_vas...@accelerite.com>
Sent: Wednesday, February 14, 2018 7:49:23 AM
To: email@example.com; wilder.rodrig...@ekholabs.ai; Rohit Yadav
Cc: Jayapal Uradi
Subject: Reg CLOUDSTACK-8616
For CLOUDSTACK-8616(https://issues.apache.org/jira/browse/CLOUDSTACK-8616) ,
changes were made in check_heartbeat.sh.tmpl
Logic was changed on how the diff time is verified, with the changes the IF
condition ( last time will always be smaller than this time) will fail every
time and the ELSE log will fill the disk space.
So can someone check and confirm the logic for the change and whether the logs
are needed in the else part
This e-mail may contain privileged and confidential information which is the
property of Accelerite, a Persistent Systems business. It is intended only for
the use of the individual or entity to which it is addressed. If you are not
the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in
error, please notify the sender and delete all copies of this message.
Accelerite, a Persistent Systems business does not accept any liability for
virus infected mails.
53 Chandos Place, Covent Garden, London WC2N 4HSUK