dcache icon indicating copy to clipboard operation
dcache copied to clipboard

Pinning via Rest-API/dcache-view and check pinnig status

Open christianvoss opened this issue 6 years ago • 4 comments

Dear dCache development team,

while discussing the possibilities of pinning files for a certain time frame we wondered whether support for this could be integrated either in the Rest-API, which we have not seen in case it is already in place, or directly via dCache-view.

Pinning whole directories and getting the remaining pinning time would be appreciated.

Thanks a lot, Christian

christianvoss avatar Jul 16 '19 13:07 christianvoss

Hi Christian,

I asked this recently to the dCache devs, and the answer was that there is no pinning lifetime when talking through the API. So users will have to change QoS to "tape-and-disk" to stage a dataset, then when they're done, they would need to change the QoS back to "tape".

Cheers, Onno

onnozweers avatar Oct 11 '19 09:10 onnozweers

dCache team: Since this has been marked as an open enhancement request, can we perhaps reopen a discussion about it? This is something, as Dmitry has mentioned, which our users here at FNAL wish to have as well (that is, a lifetime specification). I know there was some resistance to doing this via an additional parameter on the API in preference for a JSON policy object. While that object may need to be thought out, perhaps we could just start with it containing only the lifetime specification. That way, when it gets fully fleshed out, the API need not change.

alrossi avatar Oct 23 '19 13:10 alrossi

Also, pinning directories is something FNAL also wants, optionally recursively. I am ready to take over development of this feature.

alrossi avatar Oct 23 '19 13:10 alrossi

Can we close this issue? We have prototype Bulk PIN activity now, along with Bulk UPDATE-QOS, and also the ongoing WLCG discussion.

alrossi avatar Jun 03 '21 13:06 alrossi