← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1271381] Re: Incorrect number of security groups in Project Overview

 

Modified the scope to nova as this sounds like a nova defect.

In a fresh devstack environment the table "nova.security_groups" is
empty. As soon as I add a new security group 'sg1' to a project, two
records are added to the table; one for 'sg1' and one for 'default'.

Expected behavior is: the record for 'default' security group should
exist by default.

** Project changed: horizon => nova

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1271381

Title:
  Incorrect number of security groups in Project Overview

Status in OpenStack Compute (Nova):
  Confirmed

Bug description:
  Security Groups of a fresh project is reported as 0 (default: "Used 0
  of 10") even though the "default" security group is the default
  security group of the project. So it should report as 1 ("Used 1 of
  10").

  Steps to reproduce:
  1. Using an admin user create a new project 'proj1' and add any user to it (role doesn't matter)
  2. Login as the user you just added to 'proj1'
  3. In Project tab select 'proj1', and then click on Overview. Security Groups under 'Limit Summary' report "Used 0 of 10"
  4. Click on "Access & Security". "default" security group is listed.

  5. Now create a new security group.
  6. Go back to Overview. Now Security Groups report "Used 2 of 10" (which is correct)

  7. If you go back and remove the security group created and come back
  to Overview it would show "Used 1 of 10" (which is correct)

  NOTE: Neutron should not be enabled to reproduce this bug

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


References