"time-since-last-update" does not change between updates

Steps to reproduce

Matterhorn checks when was the last CA update to know its state (online/offline), this value is persisted in the DB.

After committing the fix for MH-9885, this value is only updated when the CA state changes. However, this prevents the UI from properly reporting the "online/offline" state of the agent, since it uses the value of the "time-since-last-update" to determine whether an update has been made.

The "time-since-last-update" property should be update everytime the agent sends a status report to the core, even though the agent state doesn't really change.

Status

Assignee

Unassigned

Reporter

RubenG

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

Components

Affects versions

1.5.0
1.4.3

Priority

Major
Configure