SCA charm hooks fire stale file during leadership elections

Bug #1706667 reported by Nick Moffitt
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Software Center Agent
Confirmed
Undecided
Unassigned

Bug Description

The file age alert for /srv/dashboard.snapcraft.io/production/var/run/store_kpi.state fired on scasnap's sca-app/3 today, and the file was a week old. It turned out sca-app/0 was the leader, so it at first appeared that somehow this check had been switched on in error.

The check soon resolved, because sca-app/3 had just won a leadership election and was taking over that job.

It seems that the check update happens a little too early in the leadership process, and should probably only flip on nearer the end or middle, once the new leader has had a chance to take over properly.

Changed in software-center-agent:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.