Skip to content
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

Reserved IP block throws an error if there are multiple blocks of the same type in the same metro #235

Closed
ctreatma opened this issue Oct 9, 2024 · 1 comment · Fixed by #240

Comments

@ctreatma
Copy link
Contributor

ctreatma commented Oct 9, 2024

SUMMARY

The metal_reserved_ip block accepts a project_id, metro, and type and attempts to find or create a matching IP reservation. If multiple reservations of the specified type exist in the specified project & metro, the module fails with the following error:

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Exception: found more than one metal_ip_reservation with name ['<type>', '<metro>']

This is a problem because VRFs can have multiple IP reservations, Metal will automatically add private IPv4 ranges to a project as needed, and customers can reserve multiple public IPv4 blocks.

ISSUE TYPE
  • Bug Report
COMPONENT NAME
ANSIBLE VERSION

CONFIGURATION

OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS

Copy link

This issue has been resolved in version 0.11.1 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant