apache / apache/cloudstack

Snapshot Size Not Counted in Primary Storage Quota & Volumes Metrics Incorrect – ACS 4.20.0 (KVM + Ceph Reef)

Open
#11,433 7 comments 0 reactions 0 assignees View on GitHub
archive complexity:epic component:ceph
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

### problem

**Issue 1:**
Volume snapshots for clients are configured to be stored in Primary Storage. However, in the account’s Primary Storage quota, snapshot sizes are not reflected — only the volume size is counted toward the Primary Storage usage.

**Issue 2:**
The Primary Storage is configured with thin provisioning, but in ACS the created volumes show the same values for *Volume Utilization* and *Physical Size* but the actual used size is not showing.

Image

**Issue 3:**
For volume snapshots, only the *virtual size* is displayed; the *physical size* is not shown.

Image

We are currently using KVM (Ubuntu) hypervisors with Ceph as the Primary Storage. Is there any additional configuration required to address these issues.

### versions

Apache CloudStack: 4.20.0

Primary Storage: Ceph Reef

Hypervisors: KVM (Ubuntu)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the three reported behaviors in Apache CloudStack 4.20.0 with KVM on Ubuntu and Ceph Reef, comparing primary-storage quota usage with volume and snapshot metrics. Done means determining whether configuration or implementation changes are needed so snapshot sizes affect quota usage and physical usage is accurately shown for volumes and snapshots.

Written by the indexing model from the issue text.

Assessment

Tech stack
ubuntu
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.