← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1769128] Re: Horizon does not report properly quota exceeded errors

 

Reviewed:  https://review.openstack.org/594330
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a24aa0c87cd61897ebe3c2983104dcd0a1ddee84
Submitter: Zuul
Branch:    master

commit a24aa0c87cd61897ebe3c2983104dcd0a1ddee84
Author: PrivateRookie <996514515@xxxxxx>
Date:   Tue Aug 21 23:51:47 2018 +0800

    fix incorrect quota exceeded error when creating snapshot
    
    Change-Id: Ib8b7e1bfe02641fd0ac7f50ab99093dc7c77d9bf
    Closes-Bug:#1769128


** Changed in: horizon
       Status: In Progress => Fix Released

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

Title:
  Horizon does not report properly quota exceeded errors

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  This bug is in Openstack Pike, I dont have the possibility to test in
  master at the moment.

  The user can have a instance that is booted from volume. The user is
  at the page horizon/project/instances/ and he clicks on create
  snapshot.

  In the Create Snapshot dialog he puts the name of the snapshot, and
  there is no other information available about this quota.

  When the user goes beyond quota to create cinder snapshots we observe
  this in the cinder backend:

  2018-05-04 13:43:13,172.172 24030 WARNING cinder.quota_utils [req-
  562b1787-837b-49fb-9882-f3053cbd395e 6c3d8d645b31444f998d054ce5a3d4cd
  ef11372569d145599dd9e62dbed6889a - default default] Quota exceeded for
  ef11372569d145599dd9e62dbed6889a, tried to create 160G snapshot (160G
  of 200G already consumed)

  However the user in Horizon gets this error message in a red window at
  the top right corner:

  Error: unable to create snapshot.

  It does not get any indication that the problem is the quota.

  Other workflows, like making a Cinder snapshot from the volume list,
  report correctly that it is a quota problem.

  This is a problem because the user does not understand that it is a
  problem with his quota, and he complains with the Openstack admins
  believing it is a backend error.

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


References