Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a list of storage elements with DMSHelpers #5221

Open
martynia opened this issue Jun 22, 2021 · 1 comment
Open

Getting a list of storage elements with DMSHelpers #5221

martynia opened this issue Jun 22, 2021 · 1 comment
Assignees

Comments

@martynia
Copy link
Contributor

There isn't an easy way to get a list of storage elements filtered by VO they support. The DMSHelpers __init__() takes a VO parameter, however it is only used to access a VO specific section in Operations. The SEs are taken from Site description and then eventually from Resources (where the VO information is kept). Is it an intended functionality, that the VO is not taken into account when obtaining SEs ?

It is possible, of course get a whole list, get the relevant option out from Resources and search for a VO in question, but shouldn’t it be done in DMSHelpers ? There might be of course some code which relies on getting all SEs, regardless of the VO name passed in ...

@chaen
Copy link
Contributor

chaen commented Jun 23, 2021

@andresailer is best suited to comment on that, but I think the behavior you describe is correct, the VO should be taken into account.

Mind two things:

  • There may indeed be places where we want all the SEs (maybe RSS ?)
  • The behavior should of course remain the same for single VO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants