sdutil - problem uploading large file (token expiration)
Recent communication with @sacha . cc - @chad
Hi Debasis,
I did some digging, and this is likely to be an issue specific to each cloud provider. I tested on our system, and I can upload data beyond the expiry of the initial auth token. I uploaded 23Gb in 1h33, with the first token only valid for 1h. Sdutil refreshed the token before patching the dataset. Note that this is with our own internal auth provider.
Here's an example of the sdutil code for Azure, I see that it will not try to refresh the token if it is expired. That seems wrong. I'll inform the folks at Microsoft. https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/seismic/seismic-dms-suite/seismic-store-sdutil/-/blob/master/sdlib/auth/providers/azure/oauth2.py#L66