Closed dm-tran closed 6 years ago
Thank you for submitting this @dm-tran! Your changes look good to me.
This PR also fixes the following error, which is raised when a cluster is launched or when slaves are added:
To be clear, do you mean this error is raised if you call flintrock describe
while another instance of Flintrock is launching or expanding a cluster? Or do you mean that flintrock launch
is sometimes throwing this error directly?
@nchammas: TypeError: 'NoneType' object is not iterable
is raised if I call flintrock describe
while another instance of Flintrock is launching or expanding a cluster.
OK, thanks for clarifying.
This PR makes the following change:
I tested this PR by
For each tested command, I ran "flintrock describe" using two standalone Flintrocks (one with the fix and one without).
This PR partially fixes
Exception: Could not extract cluster name from instance: when a cluster is destroyed or when slaves are removed
(#236): this exception will be raised during the first seconds instead of being raised during 30 seconds / a minute.This PR also fixes the following error, which is raised when a cluster is launched or when slaves are added:
Instead of raising this error,
flintrock describe
will now display :