Image Storage LVM volume is not needed when Ceph RBD is used for images storage

Bug #1262312 reported by Dmitry Borodaenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Dima Shulyak

Bug Description

Nailgun partitions manager allocates at least 5GB of disk space on controller nodes for Image Storage LVM volumes. When Ceph RBD storage backend is selected for Glance images, the Image Storage volume isn't used to store VM images, and the disk space allocated to it remains wasted.

Changed in fuel:
assignee: nobody → Vladimir Kozhukalov (kozhukalov)
status: New → Incomplete
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

We do not need to have /var/lib/glance partition on controllers when we install Ceph RBD driver. This should be fixed in provisioning serializer method generating disks partitioning.

Changed in fuel:
assignee: Vladimir Kozhukalov (kozhukalov) → Fuel Python Team (fuel-python)
status: Incomplete → Triaged
tags: added: low-hanging-fruit
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

It is supposed that glance is also have so called image cache. When you try to get image from glance it downloads it from the storage whatever it is and puts a copy into cache directory. We just need to look at this partition more carefully. Is it mounted? Does glance have something in its config about this directory? Does glance put something in this directory?

Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Good point. I think we should set image_cache_max_size to 0 when rbd backend for Glance is enabled.

Dima Shulyak (dshulyak)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Dima Shulyak (dshulyak)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
status: Triaged → In Progress
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: 4.1 → 5.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/75112
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=cfd762f2b9dc506697363a6974e50a2a1762463d
Submitter: Jenkins
Branch: master

commit cfd762f2b9dc506697363a6974e50a2a1762463d
Author: Dima Shulyak <email address hidden>
Date: Mon Mar 3 17:34:00 2014 +0200

    disable /var/lib/glance partition

    In case of using ceph-osd as image storage,
    dont send /var/lib/glance partition to provisioner
    and set max_image_cache_size to 0 in such case

    Change-Id: I337c7e3d7f6079a2999592729c9db355a13ed406
    Closes-Bug: #1262312

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on fuel_5_0_iso#29

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.