update-<timestamp> directories being left behind

Bug #1220269 reported by Sidnei da Silva
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Sidnei da Silva

Bug Description

Apparently the collectOrphans() might be failing silently. No visible signs in the log of what might have failed. One instance had:

  46G /var/lib/juju/agents/unit-u1-cl-dn-pub-0/state/deployer/

This instance is auto-upgraded every 20min as part of a CI environment, and the charm has a 260Mb tarball payload. There were 60+ update-<timestamp> dirs left behind, most with ~264Mb each.

Related branches

Sidnei da Silva (sidnei)
description: updated
Tom Haddon (mthaddon)
tags: added: canonical-webops
Revision history for this message
JuanJo Ciarlante (jjo) wrote :

Details from a (different charm's) unit, showing the same issue:
root@foo-machine-4:/var/lib/juju/agents/unit-foo-0/state/deployer# du -sch *
4.0K current
787M update-20130815-190344257582687
264M update-20130815-192344262960692
265M update-20130815-194339086464813
4.5M update-20130815-200434891456026
264M update-20130823-022039017985439
265M update-20130823-024104022903924
264M update-20130823-030044303670381
265M update-20130823-032050241864282
264M update-20130823-034120180909899
265M update-20130823-040045833427856
264M update-20130823-042045032793529
265M update-20130823-044040198995862
264M update-20130823-050110056499511
265M update-20130823-052045733940204
264M update-20130823-054055034454853
265M update-20130823-060055131687442
264M update-20130823-062056093227875
265M update-20130823-064051274967432
264M update-20130823-070046575347985
265M update-20130823-072046676001742
264M update-20130823-074046557291471
265M update-20130823-080051964571236
264M update-20130823-082051047332637
265M update-20130823-084057056244426
231M update-20130823-090052010815611
6.7G total

* can clearly see the one-per-20min update frequency (it's cron-ed to be so)
* directory size matches charm size (it carries a ~260M .tgz code payload)

Sidnei da Silva (sidnei)
Changed in juju-core:
assignee: nobody → Sidnei da Silva (sidnei)
importance: Undecided → High
status: New → In Progress
Go Bot (go-bot)
Changed in juju-core:
status: In Progress → Fix Committed
Sidnei da Silva (sidnei)
Changed in juju-core:
milestone: none → 1.15.0
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
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.