Public bug reported:

When creating snapshot on the page of creating we can see count of used 
snapshot that is based on tenants quotas.
But now we see volumes' usage instead of snapshots'.
The reason - this line [0] always uses volumes data instead of snapshots data.
We already have necessary info in snapshot_limit template here [1], but we 
don't use it.

[0] -
https://github.com/openstack/horizon/blob/29a6ed4cc06ef9cbadee311c947fe19308a387ed/openstack_dashboard/dashboards/project/volumes/templates/volumes/_limits.html#L42

[1] -
https://github.com/openstack/horizon/blob/29a6ed4cc06ef9cbadee311c947fe19308a387ed/openstack_dashboard/dashboards/project/volumes/templates/volumes/_snapshot_limits.html#L24-L30

** Affects: horizon
     Importance: Undecided
     Assignee: Michael Dovgal (mdovgal)
         Status: In Progress

-- 
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/1703602

Title:
  Wrong snapshot usage info

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  When creating snapshot on the page of creating we can see count of used 
snapshot that is based on tenants quotas.
  But now we see volumes' usage instead of snapshots'.
  The reason - this line [0] always uses volumes data instead of snapshots data.
  We already have necessary info in snapshot_limit template here [1], but we 
don't use it.

  [0] -
  
https://github.com/openstack/horizon/blob/29a6ed4cc06ef9cbadee311c947fe19308a387ed/openstack_dashboard/dashboards/project/volumes/templates/volumes/_limits.html#L42

  [1] -
  
https://github.com/openstack/horizon/blob/29a6ed4cc06ef9cbadee311c947fe19308a387ed/openstack_dashboard/dashboards/project/volumes/templates/volumes/_snapshot_limits.html#L24-L30

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to