Bug 259364 - SRM space-tokens support
Summary: SRM space-tokens support
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Geclipse (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Szymon Mueller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 08:53 EST by Ariel Garcia CLA
Modified: 2014-01-09 16:01 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ariel Garcia CLA 2008-12-19 08:53:54 EST
gLite storage elements implement a (new in SRMv2.1 AFAIK) feature called "space tokens".
They are a way of reserving space on a storage element. Actually some LCG VOs now do NOT allow writing on a SE if you do not have a space token! (ie, 0 reserved space if you come without such token). 

So we should evaluate how to handle space tokens in our implementations...

Some info about Atlas use of space tokens:
   https://twiki.cern.ch/twiki/bin/view/Atlas/SpaceTokens

As cross reference see the discussion in Bug #246484

Sander's usecase:
------------------
I'm not a specialist, but here is what I understand so far:
- Atlas has assigned space tokens to all VO disk space.
- All SRM storage operations need: -s ${SPACETOKEN}
- I know what the space token is, or at least I can find out.
- In case I try to do a storage operation without the above it will fail.
- The failure message is: "no space left on device".

The consequences are that my job fails because:
- I have the following items in my stage-out:
    myJob.sterr, myJob.stout, myNTuple.root
- These files can only be copied to an SE (right?).
- I need these files, otherwise my jobs are useless.
- The SE expects a space token, but I can't provide it.
  * Options that come to mind are:
    - Provide it during the SE mount and propagate from there.
    - Provide it in myJob.jsdl
- As a result, my job hangs in the running state.
  * It infinitely tries to copy the files out.
  * The SE returns "no space left on device".

Those are the details of my use case.
--------------------------