equinix / ansible-collection-equinix

Ansible content to help automate the management of Equinix resources
https://deploy.equinix.com/labs/ansible-collection-equinix/
GNU General Public License v3.0
1 stars 1 forks source link

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

Closed ctreatma closed 1 month ago

ctreatma commented 1 month ago
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
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
github-actions[bot] commented 1 month ago

This issue has been resolved in version 0.11.1 :tada: