nutanix / calm-dsl

Keep Calm and DSL On!
https://nutanix.github.io/calm-dsl/
Apache License 2.0
33 stars 51 forks source link

Make retry_enablement as configurable parameter #190

Closed abhijeetkaurav1st closed 1 year ago

abhijeetkaurav1st commented 3 years ago

Right now retries_enabled is set to True. It doesn't exactly get the correct message of api breakage. Max retries exceeded with url: /api/nutanix/v3/services/nucalm/status (Caused by ResponseError('too many 503 error responses'))

Make it configurable calm set config --retries enable/disable. By default it will be enable.

abhijeetkaurav1st commented 2 years ago

Add retry_timeout, connection_timeout also