Skip to content

Commit

Permalink
Don't pass tenant_id for remote group in os_security_group_rule (#69726)
Browse files Browse the repository at this point in the history
  • Loading branch information
sshnaidm committed Jun 17, 2020
1 parent 307d86d commit bc550fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/69726-os-security-group-rule-fix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bugfixes:
- Fix the issue when OS secgroup rule couldn't be imported from
a different tenant https://github.com/ansible/ansible/issues/69673
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ def main():
secgroup = cloud.get_security_group(security_group, filters=filters)

if remote_group:
filters.pop('tenant_id')
remotegroup = cloud.get_security_group(remote_group,
filters=filters)
else:
Expand Down

0 comments on commit bc550fd

Please sign in to comment.