-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed deletes should not prevent volume creation #126
Comments
Trident doesn't hang if it fails to create or delete a volume. After a failed ZAPI, Trident moves on to process the next request. Upon such failures, Trident reattempts the operation after one minute. If the cause of the failure is an out-of-bound replication, then subsequent reattempts are bound to fail as Trident has no knowledge of the mirroring relationship. These failures shouldn't not prevent provisioning of new volumes unless the failure results in panics. |
If snapmirror is configured in a Trident-controlled volume and that volume is deleted, Trident initialization will fail thus failing to provision a new volume (since it can't delete the original one) eg:
|
Thanks, this makes sense. If Trident has bootstrapped successfully, the failure in deleting a volume shouldn't have any impact on Trident. However, once Trident is restarted, the failed deletion causes Trident not to bootstrap successfully. The source of the problem is that the |
When Trident attempts to delete a storage volume, and fails, that should not cause it to ignore other operations until successful. An example scenario:
At this point, Trident will "hang" attempting to delete the volume until it's resolved. Having it do something similar to Kubernetes' "CrashLoopBackoff" and continue to perform other create/delete actions would be desirable.
The text was updated successfully, but these errors were encountered: