← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2067239] [NEW] Security group rule quota is not working well with default security group rule.

 

Public bug reported:

OpenStack Version: 2023.2

How to reproduce :
1. Remove all of default-security-group-rules.
2. Create a new project and set the quota of security-group-rules to 5.
3. Create a new security-group, and create 4 security-group-rules in this security-group.
4. Create another new security-group.

Expected :
At step 4, the security-group will be created without any security-group-rules since I removed all of default-security-group-rules at step 1.
There will be no problem with the security-group-rules quota. (I have 4 rules, and the quota is 5.)

Actual :
Failed to create the security-group at step 4 with the message below.
- Error: Unable to create security group: %s Details
- Quota exceeded for resources: ['security_group_rule'].

It seems the security-group-rules quota validation logic in the security
group creation code has to be modified.

** Affects: neutron
     Importance: Undecided
     Assignee: Kyuyeong Lee (kyu0)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kyuyeong Lee (kyu0)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2067239

Title:
  Security group rule quota is not working well with default security
  group rule.

Status in neutron:
  New

Bug description:
  OpenStack Version: 2023.2

  How to reproduce :
  1. Remove all of default-security-group-rules.
  2. Create a new project and set the quota of security-group-rules to 5.
  3. Create a new security-group, and create 4 security-group-rules in this security-group.
  4. Create another new security-group.

  Expected :
  At step 4, the security-group will be created without any security-group-rules since I removed all of default-security-group-rules at step 1.
  There will be no problem with the security-group-rules quota. (I have 4 rules, and the quota is 5.)

  Actual :
  Failed to create the security-group at step 4 with the message below.
  - Error: Unable to create security group: %s Details
  - Quota exceeded for resources: ['security_group_rule'].

  It seems the security-group-rules quota validation logic in the
  security group creation code has to be modified.

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



Follow ups