HomeClusterLabs Projects

fence_nutanix_ahv: Handle API rate limits (#604)

Description

fence_nutanix_ahv: Handle API rate limits (#604)

Nutanix Prism Central has rate limits set on
various API end points. The fence agent should
handle such rate limit errors and retry API requests
appropriately if it encounters any such errors. This
change adds retries for HTTP error 429 (rate limit),
and also for HTTP errors 500, and 503.

Details

Event Timeline

GitHub <noreply@github.com> committed rF03c599c9d2d5: fence_nutanix_ahv: Handle API rate limits (#604) (authored by Govindarajan Soundararajan <govindarajan.s@nutanix.com>).Thu, Jan 30, 5:01 AM