← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1743589] Re: openstack_dashboard.api.nova.QuotaSet does not exclude nova-network quotas

 

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

commit 986e90248b462b1e8c8e2033caee68ebd50e0bf8
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date:   Mon Jan 15 06:09:09 2018 +0900

    Exclude nova-network quotas properly
    
    openstack_dashboard.api.nova.QuotaSet was introduced to exclude
    nova-network properly, but it did not work because QuotaSet does
    not support 'in' and 'del' operations.
    This commit fixes the logic and add a unit test.
    
    Closes-Bug: #1743589
    Change-Id: I8c3bfe985cccdf53fd555bf185c293806c14b6f6


** 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/1743589

Title:
  openstack_dashboard.api.nova.QuotaSet  does not exclude nova-network
  quotas

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  ignore_quotas of openstack_dashboard.api.nova.QuotaSet [1] was
  introduced to exclude nova-network quotas, but it turns out it does
  not work.

  [2] is a session example. It is expected that
  api_nova.QuotaSet(quotas) does not include nova-network related quotas
  but actually nova-network related quotas are included.

  [1] https://github.com/openstack/horizon/blob/e129ba919260e85881a08ab33f0b142c6603c988/openstack_dashboard/api/nova.py#L242-L247
  [2] http://paste.openstack.org/show/645735/

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


References