Bug 1049915

Summary: Horizon no longer displays Security Groups related quotas.
Product: [Community] RDO Reporter: Nir Magnezi <nmagnezi>
Component: python-django-horizonAssignee: Julie Pichon <jpichon>
Status: CLOSED CANTFIX QA Contact: Ami Jeain <ajeain>
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, athomas, jpichon, mrunge, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-19 06:30:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nir Magnezi 2014-01-08 13:27:07 UTC
Description of problem:
=======================
In Havana, Horizon used to display: Security Groups and Security Groups Rules in Admin tab --> Defaults.
those quotas are no longer there for some reason, despite the fact that the output[1] of 'nova quota-defaults' still includes them.


[1]
# nova quota-defaults
+-----------------------------+-------+
| Quota                       | Limit |
+-----------------------------+-------+
| instances                   | 10    |
| cores                       | 20    |
| ram                         | 51200 |
| floating_ips                | 10    |
| fixed_ips                   | -1    |
| metadata_items              | 128   |
| injected_files              | 5     |
| injected_file_content_bytes | 10240 |
| injected_file_path_bytes    | 255   |
| key_pairs                   | 100   |
| security_groups             | 10    |
| security_group_rules        | 20    |
+-----------------------------+-------+



Version-Release number of selected component (if applicable):
=============================================================
Icehouse: python-django-horizon-2014.1-0.1b1.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Browse to Admin tab --> Defaults
2.
3.

Actual results:
===============
Security Groups related quotas are absent from 'Defaults' page.

Expected results:
=================
Security Groups related quotas should be present as they used to.

Comment 1 Julie Pichon 2014-01-08 14:47:51 UTC
Are you using the Neutron security groups? To avoid confusion, we do not display the Network / Security groups default quotas when using Neutron and these features, as they can be confusing and misleading: when using neutron security groups, the nova quotas are not in use. Unfortunately Neutron does not let you access the default quotas currently (see https://bugs.launchpad.net/neutron/+bug/1204956 ).

Comment 2 Nir Magnezi 2014-01-15 14:52:17 UTC
(In reply to Julie Pichon from comment #1)
> Are you using the Neutron security groups? To avoid confusion, we do not
> display the Network / Security groups default quotas when using Neutron and
> these features, as they can be confusing and misleading: when using neutron
> security groups, the nova quotas are not in use. Unfortunately Neutron does
> not let you access the default quotas currently (see
> https://bugs.launchpad.net/neutron/+bug/1204956 ).

Yes, I used Neutron.
If there is not solution for this manner (get access to default quotas in Neutron), I guess you may close this bug.

Perhaps this bug should be dependant on another Neutron related bug (so Neutron will allow the quota retrieval)?

Comment 3 Julie Pichon 2014-09-19 06:30:32 UTC
Closing based on last comment (there are no downstream bugs for the Neutron default quotas that I can find; someone is currently working on it upstream in the previously referenced LP bug and Horizon will follow up whenever it's ready).