-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ec2_vpc_peer creates new peering connection when Accepter and Requester are reversed #580
Comments
ansibullbot
added
bug
This issue/PR relates to a bug
has_pr
module
module
plugins
plugin (any type)
python3
labels
Jul 11, 2022
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
Jul 12, 2022
…1346) ec2_vpc_peer - Fix idempotency when accepter/requester is reversed SUMMARY fixes: #580 Fixes a bug where a new peering request would be created when the accepter/requester is reversed ISSUE TYPE Bugfix Pull Request COMPONENT NAME plugins/modules/ec2_vpc_peer.py ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis <None>
patchback bot
pushed a commit
that referenced
this issue
Jul 12, 2022
…1346) ec2_vpc_peer - Fix idempotency when accepter/requester is reversed SUMMARY fixes: #580 Fixes a bug where a new peering request would be created when the accepter/requester is reversed ISSUE TYPE Bugfix Pull Request COMPONENT NAME plugins/modules/ec2_vpc_peer.py ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis <None> (cherry picked from commit 1c3ad28)
patchback bot
pushed a commit
that referenced
this issue
Jul 12, 2022
…1346) ec2_vpc_peer - Fix idempotency when accepter/requester is reversed SUMMARY fixes: #580 Fixes a bug where a new peering request would be created when the accepter/requester is reversed ISSUE TYPE Bugfix Pull Request COMPONENT NAME plugins/modules/ec2_vpc_peer.py ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis <None> (cherry picked from commit 1c3ad28)
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
Jul 12, 2022
…1346) (#1350) [PR #1346/1c3ad281 backport][stable-3] ec2_vpc_peer - Fix idempotency when accepter/requester is reversed This is a backport of PR #1346 as merged into main (1c3ad28). SUMMARY fixes: #580 Fixes a bug where a new peering request would be created when the accepter/requester is reversed ISSUE TYPE Bugfix Pull Request COMPONENT NAME plugins/modules/ec2_vpc_peer.py ADDITIONAL INFORMATION Reviewed-by: Mark Chappell <None>
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
Jul 12, 2022
…1346) (#1351) [PR #1346/1c3ad281 backport][stable-4] ec2_vpc_peer - Fix idempotency when accepter/requester is reversed This is a backport of PR #1346 as merged into main (1c3ad28). SUMMARY fixes: #580 Fixes a bug where a new peering request would be created when the accepter/requester is reversed ISSUE TYPE Bugfix Pull Request COMPONENT NAME plugins/modules/ec2_vpc_peer.py ADDITIONAL INFORMATION Reviewed-by: Mark Chappell <None>
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
When the Requester and Accepter are reversed, the module is creating a new VPC peering connection. There is no way to accept this connection because it already exists.
The issue appeared in version
1.5.0
, and before this version, it worked fine.ISSUE TYPE
COMPONENT NAME
ec2_vpc_peer
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
My OS is MacOS Bug Sur 11.2.1
STEPS TO REPRODUCE
Note: Module in a version before
1.5.0
are also creating new peering connection when in AWS exists deleted connection with the order like specified in the task, so to test it, you need to request connection which doesn't have deleted connections.EXPECTED RESULTS
First task is creating a peering connection, and the second task is failing because the connection already exists
ACTUAL RESULTS
All two tasks passes without any changes
The text was updated successfully, but these errors were encountered: