Volume snapshots do not count towards the storage usage in Create Volume / Extend Volume / Create Volume Snapshot modal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
In Progress
|
Undecided
|
Kieran Spear |
Bug Description
There is a single storage quota value for both volumes and volume snapshots. This is reflected in Project Overview panel where the total sizes of all volumes and volume snapshots is displayed on the pie chart.
However, in Create Volume, Extend Volume, and Create Volume Snapshot modals only the total sizes of all volumes is displayed. Even though the actual used storage includes snapshot usage as well. Storage quota applies to the total sizes of volumes and volume snapshots.
To reproduce the issue within one project:
1. Set project quota for Gigabytes to 5
2. Create a volume "vol1" of size 2 GB
3. Create a snapshot of "vol1" called "snap1"
4. Create a volume "vol2" of size 2 GB. You'll notice the "Create Volume" modal shows 2 / 5 GB storage is used. But the volume creation fails. (if you change the quota to 6 volume creation succeeds).
5. Similarly create a second snapshot of "vol1" called "snap2". Again the "Create Volume Snapshot" modal shows 2 / 5 GB storage is used. But snapshot creation fails. (if you change the quota to 6 snapshot creation succeeds).
Suggestion is to show the total sizes of all volumes and volume snapshots in those modals.
Changed in horizon: | |
assignee: | nobody → Vahid Hashemian (vahidhashemian) |
summary: |
Volume snapshots do not count towards the storage usage in Create Volume - / Create Snapshot modal + / Extend Volume / Create Volume Snapshot modal |
description: | updated |
tags: |
added: volume removed: horizon snapshots storage-usage |
Changed in horizon: | |
assignee: | Vahid Hashemian (vahidhashemian) → Kieran Spear (kspear) |
Fix proposed to branch: master /review. openstack. org/75547
Review: https:/