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

adds cmsvoc accounting scripts #266

Merged
merged 3 commits into from
Apr 19, 2024

Conversation

Germano0
Copy link
Contributor

@Germano0 Germano0 commented Mar 7, 2024

Adds:

  1. for EOS accounting: the Python backend script that is run by the CMS VOC on acrontab on his personal account on lxplus.
    This script populates the JSON which provides the data shown at https://cmsdatapop.web.cern.ch/cmsdatapop/eos-path-size/size.html

  2. for Openstack accounting: the Python backend script that is run by the CMS VOC on acrontab on his personal account on lxplus.
    This script populates the JSON which provides the data shown at
    https://cmsdatapop.web.cern.ch/cmsdatapop/eos_openstack/openstack_accounting.html

@Germano0 Germano0 changed the title adds eos_accounting_cmsvoc.py adds cmsvoc accounting scripts Mar 8, 2024
@nikodemas nikodemas requested review from brij01 and leggerf March 8, 2024 10:14
Copy link
Contributor

@leggerf leggerf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, so are we taking ownership of this? Do we have all the rights needed to run it? Where are we going to run this script?

@Germano0
Copy link
Contributor Author

Germano0 commented Mar 8, 2024

Do we have all the rights needed to run it? Where are we going to run this script?

# This script is running in acrontab in lxplus under the personal account
(not 'cmsvoc' service account) of the CMS VOC, because such account
has full permissions.

@leggerf
Copy link
Contributor

leggerf commented Mar 8, 2024

yes, I understand this is how this runs now. I am asking how it will run in the future, since I understand Germano is leaving. Is the idea to pass it over to the next VOC, and he/she will run it from his personal account?

I am asking this because this script is filling one of our data sources, but we typically do not own these codes (apart from HTCondor jobs and data management, which are we however trying to pass over to DM group). This part of the data flow is normally responsibility of the team that injects the data (in this case VOC), because they have the expertise to run it and maintain it.

@Germano0
Copy link
Contributor Author

Germano0 commented Mar 8, 2024

Is the idea to pass it over to the next VOC, and he/she will run it from his personal account?

Yes. The reason to save such scripts here is because:

  1. archival purposes;
  2. the scripts are the backend of the frontend part that is already in this repository, so for consistency purposes I think they should be saved here

@leggerf
Copy link
Contributor

leggerf commented Mar 8, 2024

great, thanks for the clarfication

@nikodemas nikodemas merged commit 81378d8 into dmwm:master Apr 19, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants