When we detect insufficient space in /tmp, it should be logged

Bug #2044897 reported by James Simpson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Swoffsite
Fix Committed
Medium
Barry Price

Bug Description

https://bazaar.launchpad.net/~canonical-sysadmins/swoffsite/trunk/view/head:/swoffsite/mirror.py#L266

# Now we have the lock, wait until there is enough temp
# space to continue.
while not _has_tmp_space(size*1.5):
  time.sleep(10)

When the above loop is triggered, there is no external feedback indicating why the script has hung. We should at *least* log that at debug level, but "warn" feels warranted IMO

Related branches

Barry Price (barryprice)
Changed in swoffsite:
assignee: nobody → Barry Price (barryprice)
status: New → Fix Committed
importance: Undecided → Medium
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.