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

metal_device module waits for timeout when provisioning fails #203

Closed ctreatma closed 3 weeks ago

ctreatma commented 3 months ago
SUMMARY

If provisioning fails or some other error happens that prevents the Equinix Metal device from becoming active, the metal_device module will continue to poll the API for 30 minutes before failing.

ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE

Create a device using the metal_device module and have the device fail during provisioning.

EXPECTED RESULTS

The metal_device module should fail as soon as it is clear that the device will never become active

ACTUAL RESULTS

The metal_device module polls the API for 30 minutes waiting for active status, and then inevitably fails after 30 minutes