hep-gc/dynafed_storagestats

Avoid multiple queries for same Endpoint

Closed this issue · 3 comments

There are situations in which one endpoint (bucket and all) will/could be mounted multiple times in Dynafed. This will look like different ID's in the UGR's configuration files.

Since it is the same endpoint, the script should look for these duplicates, query only once and copy the information across them.

Added new functions to deal when multiple configured endpoints share the same URL, making them actually a unique physical endpoint, to avoid multiple queries. Also added the ability to use the "-e flag" to specify a single endpoint from the CLI to check.

This is now on dev as version 0.11.0

To do:

  • Log as INFO when an endpoint that shares a URL is not being checked and getting the results copied. Specifying from which it came from.

Added logging info and also a check to keep any manually setup quotas for endpoints that share URL.
v0.11.1 in dev.