glance-cache-cleaner not run by default

Bug #1434740 reported by Dave Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Bartłomiej Piotrowski

Bug Description

On controller nodes the glance image-cache is part of the root partition. Over time this can fill up causing services to break.

This could be prevented by setting the image_cache_max_size in glance-cache.conf.

Also glance-cache-cleaner should be configured to run at regular intervals.

Alternatively the image-cache should be placed on a separate volume to avoid filling up the root partition.

Changed in fuel:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Bartlomiej Piotrowski (bpiotrowski)
milestone: none → 6.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/167204

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/167204
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=ade15f965be55072df5dabc236e1fd21ea79623c
Submitter: Jenkins
Branch: master

commit ade15f965be55072df5dabc236e1fd21ea79623c
Author: Bartłomiej Piotrowski <email address hidden>
Date: Tue Mar 24 10:57:18 2015 +0100

    Enable cronjobs for glance-cache-cleaner and glance-cache-pruner

    Currently we do not run neither, possibly leading to no free
    space on controllers or cinder nodes, taking them down.

    Change-Id: Ic1cb5d41cd1fc003eabc1212abeb6145b12936e5
    Closes-Bug: 1434740
    Closes-Bug: 1435185

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Alexander Nevenchannyy (anevenchannyy) wrote :

Verified on MOS 6.1 ISO #429
Steps to Verify:
root@node-1:/etc# crontab -u glance -l
# HEADER: This file was autogenerated at 2015-05-20 14:31:09 +0000 by puppet.
# HEADER: While it can still be managed manually, it is definitely not recommended.
# HEADER: Note particularly that the comments starting with 'Puppet Name' should
# HEADER: not be deleted, as doing so could cause duplicate cron jobs.
# Puppet Name: glance-cache-cleaner
PATH=/bin:/usr/bin:/usr/sbin
1 0 * * * glance-cache-cleaner
# Puppet Name: glance-cache-pruner
PATH=/bin:/usr/bin:/usr/sbin
*/30 * * * * glance-cache-pruner

Changed in fuel:
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.