cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jay (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-10312) keealived.log will end up filling ramdisk partition on RVR, As timestamp comparison is wrong
Date Tue, 20 Mar 2018 04:41:00 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-10312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

jay closed CLOUDSTACK-10312.
----------------------------
    Resolution: Fixed

duplicate hence closing the issue

> keealived.log will end up filling ramdisk partition on RVR, As timestamp comparison is
wrong 
> ---------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10312
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10312
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Virtual Router
>    Affects Versions: 4.6.0, 4.11.0.0
>            Reporter: jay
>            Priority: Major
>
> coding error in how the time stamp is compared in check_heartbeat.sh file .
> thistime=$(cat $ROUTER_BIN_PATH/keepalived.ts)
>  lasttime=$(cat $ROUTER_BIN_PATH/keepalived.ts2)
>  diff=$(($lasttime - $thistime))
> s=0
>  if  [ $diff -ge 10 ]
> lasttime will never be greater then current time and IF condition will always fail
> related commit ID :
> https://github.com/apache/cloudstack/pull/587/files#diff-002a85328505a
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message