parameter passed to SecurityGroupRuleExists doesn't match expect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Wei Wang |
Bug Description
When we use db.securitygrou
security group rule exists, exception SecurityGroupRu
security rule id, which SecurityGroupRu
I think this is the exception's fault, if this is confirmed, I'll fix the exception ASAP.
def _check_
...
filters = self._make_
...
for db_rule in db_rules:
# need to remove id from db_rule for matching
id = db_rule.pop('id')
if (i['security_
class SecurityGroupRu
message = _("Security group rule already exists. Group id is %(id)s.")
Changed in neutron: | |
assignee: | nobody → Wei Wang (damon-devops) |
Changed in neutron: | |
status: | New → Confirmed |
Changed in neutron: | |
status: | Confirmed → In Progress |
Changed in neutron: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-3 → 2014.2 |
Why I think this is a exception's fault:
1. the duplicate item is rule, not group
2. even rules is same, if they don't belong to a same group, it is fine, so hint a group id means little.