equinixmetal-archive / csi-packet

Kubernetes CSI driver for Equnix Metal, formerly Packet
Apache License 2.0
25 stars 13 forks source link

Add fallback for detach timing #79

Closed deitch closed 4 years ago

deitch commented 4 years ago

We have an open issue wherein it can take a few seconds for the storage and/or Packet API to register that an iscsi session has been logged out. This means that the host detach returns an error to CSI, and it all fails.

This adds a fallback/retry of up to 5 seconds before giving up.

deitch commented 4 years ago

Integration tests are still running, I will post when complete.

deitch commented 4 years ago

This is as good as it will get. We now have a delay of up to 60 seconds.

deitch commented 4 years ago

Fixes #66