/var/log/repository-sync does not exist on new leadership

Bug #1741590 reported by Ryan Finnie on 2018-01-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-repository-cache
Undecided
Unassigned

Bug Description

An environment's leadership changed, and the new leader started failing:

FileNotFoundError: [Errno 2] No such file or directory: '/var/log/repository-sync/repository-sync-cron.log'

This is because /var/log/repository-sync does not exist. I'm actually not sure how this worked at all since I believe /var/log/repository-sync/repository-sync-cron.log is part of a ~recent charm upgrade, and /var/log/repository-sync only appears to be created on the install hook.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers