old juju agent tools fill up disk space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Medium
|
Unassigned |
Bug Description
On a machine running juju agents 2.9.21, previous versions of juju tools were still present.
Total disk usage for /var/lib/juju/tools was over 2GB.
$ du -smx *-xenial-amd64 | sort -n
74 2.4.3-xenial-amd64
86 2.4.5-xenial-amd64
86 2.4.7-xenial-amd64
89 2.2.2-xenial-amd64
90 2.2.4-xenial-amd64
90 2.2.6-xenial-amd64
90 2.2.8-xenial-amd64
90 2.2.9-xenial-amd64
106 2.6.10-xenial-amd64
112 2.0.3-xenial-amd64
116 2.3.7-xenial-amd64
116 2.3.8-xenial-amd64
118 2.1.1-xenial-amd64
118 2.1.2-xenial-amd64
124 2.7.6-xenial-amd64
128 2.8.3-xenial-amd64
167 2.9.18-ubuntu-amd64
168 2.9.21-ubuntu-amd64
210 2.8.7-xenial-amd64
$ for file in unit-* machine-*; do readlink $file; done
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
juju should prune old dirs on upgrade and maybe keep up to one or two previous versions only, or maybe prune all previous major versions on minor upgrades.
Thank you,
Loïc
summary: |
- old juju agent tools filling up disk + old juju agent tools fill up disk space |
Changed in juju: | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: canonical-is |
Changed in juju: | |
importance: | Low → Medium |
This Medium-priority bug has not been updated in 60 days, so we're marking it Low importance. If you believe this is incorrect, please update the importance.