New Feature Request: User configurable weight to adjust squid cache directory size
Bug #1642119 reported by
Thomas Cuthbert
This bug affects 6 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Repository Cache Charm |
Fix Released
|
Undecided
|
Haw Loeung | ||
ubuntu-repository-cache (Juju Charms Collection) |
Fix Released
|
Medium
|
Haw Loeung |
Bug Description
Currently the aufs squid cache sizing is dynamically evaluated by the charm. We have had instances where this generated value causes our disks to creep above our OK baseline in Nagios. It would be great if we could skew this value with a user configurable weighting in the charm config.
Related branches
lp:~hloeung/ubuntu-repository-cache/allow-override-squid-cache-storage
- Tom Haddon: Approve
- Haw Loeung: Needs Resubmitting
- Canonical IS Reviewers: Pending requested
-
Diff: 93 lines (+42/-3)5 files modifiedconfig.yaml (+6/-0)
lib/ubuntu_repository_cache/squid.py (+5/-1)
lib/ubuntu_repository_cache/storage.py (+1/-1)
lib/ubuntu_repository_cache/tests/test_squid.py (+29/-0)
tox.ini (+1/-1)
lp:~hloeung/ubuntu-repository-cache/bump-metadata-storage-reserve
- Paul Collins: Approve (lgtm)
- Canonical IS Reviewers: Pending requested
-
Diff: 15 lines (+3/-2)1 file modifiedlib/ubuntu_repository_cache/storage.py (+3/-2)
tags: | added: canonical-is |
Changed in ubuntu-repository-cache (Juju Charms Collection): | |
importance: | Undecided → Medium |
no longer affects: | ubuntu-repository-cache |
Changed in ubuntu-repository-cache (Juju Charms Collection): | |
status: | New → Fix Committed |
assignee: | nobody → Haw Loeung (hloeung) |
Changed in ubuntu-repository-cache: | |
status: | New → Fix Committed |
assignee: | nobody → Haw Loeung (hloeung) |
Changed in ubuntu-repository-cache: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-repository-cache (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
FWIW: this is impacting us in production as the alerts are coming through as CRITICAL.