Virtual Storage LVM volume is not needed when Ceph RBD is used for ephemeral volumes

Bug #1262313 reported by Dmitry Borodaenko
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Fuel Sustaining
Newton
Confirmed
Medium
Fuel Sustaining

Bug Description

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

Revision history for this message
Arminder Singh Girgla (arminder) wrote :

I think it uses it for caching the images.

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

It's not supposed to do that anymore, it doesn't need to cache the images when QEMU can access them directly via RBD. The only case left that I'm aware of is https://bugs.launchpad.net/nova/+bug/1262914 (image is still downloaded from Ceph when a snapshot is created from an instance).

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

Ok. It is not about caching. It is about storing ephemeral VM images.

Changed in fuel:
status: Incomplete → Triaged
assignee: Vladimir Kozhukalov (kozhukalov) → Fuel Python Team (fuel-python)
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: 4.1 → 5.0
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 5.0 → 5.1
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

This bug has to be postponed to 5.1: it cannot be resolved until the bug mentioned in comment #2 above is addressed in Nova, and it wasn't addressed in Icehouse so far.

Dima Shulyak (dshulyak)
tags: added: volumes
Revision history for this message
Dima Shulyak (dshulyak) wrote :

Bug in comment #2 still not resolved in nova, so i am postponing it till 6.0.

Changed in fuel:
milestone: 5.1 → 6.0
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: Triaged → Won't Fix
Mike Scherbakov (mihgen)
Changed in fuel:
status: Won't Fix → Confirmed
Revision history for this message
Dima Shulyak (dshulyak) wrote :

Bug is not fixed in upstream yet, i am posponing this bug for later

Changed in fuel:
milestone: 6.0 → next
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: next → 7.0
Dmitry Pyzhov (dpyzhov)
tags: added: module-volumes
removed: ui volumes
tags: added: qa-agree-7.0
tags: added: feature
Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

Can be safely moving to 8.0 as known-issue

tags: added: know-issue
tags: added: known-issue
removed: know-issue
Changed in fuel:
status: Confirmed → Won't Fix
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
no longer affects: fuel/8.0.x
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

I think wasting 5Gb of disk space is a bug, not a feature. And it is not a high priority.

no longer affects: fuel/mitaka
Changed in fuel:
importance: High → Medium
tags: removed: feature
Revision history for this message
Anton Samoylov (asamoylov) wrote :

Can't be fixed at the moment.

Nova image cache still uses /var/lib/nova/instances/_base/ dir for converting and uploading images to ceph.

root@node-2:~# nova-compute --version
13.0.0

During instance boot process:

1. downloading qcow2 image from glance to /var/lib/nova/instances/_base/
2. converting qcow2 image to raw
3. uploading raw image to ceph
4. image resizing in ceph according to instance's flavor.

There is a bug also related to this issue:
https://bugs.launchpad.net/nova/+bug/1420274

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.