not ensure default security group exists when filter by project_id
Bug #1875849 reported by
ZhouHeng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
ZhouHeng |
Bug Description
when we filter security groups by 'tenant_id', neutron will ensure this project has default security group.
when we filter by 'project_id', neutron not ensure this project has default security group.
if it is new project, filter by 'tenant_id' will return one security group. filter by 'project_id' will return empty list.
Changed in neutron: | |
assignee: | nobody → ZhouHeng (zhouhenglc) |
status: | New → In Progress |
description: | updated |
Changed in neutron: | |
importance: | Undecided → Medium |
tags: |
added: api sg-fw removed: api-ref |
To post a comment you must log in.
Hello Zhou:
Just one question: do you have [1] in your code? That was merged 9 weeks ago and cherry-picked to stable branches, but maybe you still don't have it. I think this is what you need.
Regards!
[1] https:/ /review. opendev. org/#/c/ 709070/ 2/neutron/ db/securitygrou ps_db.py