← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1283281] [NEW] Volume snapshots do not count towards the storage usage in Create Volume / Create Snapshot modal

 

Public bug reported:

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 and Create 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.

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: horizon snapshots storage-usage

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1283281

Title:
  Volume snapshots do not count towards the storage usage in Create
  Volume / Create Snapshot modal

Status in OpenStack Dashboard (Horizon):
  New

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 and Create 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1283281/+subscriptions


Follow ups

References