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

WMAgent: Move the creation of the metadata table wma_init under WMCore #11721

Open
todor-ivanov opened this issue Sep 14, 2023 · 0 comments
Open

Comments

@todor-ivanov
Copy link
Contributor

Impact of the new feature
WMAgent

Is your feature request related to a problem? Please describe.

While refactoring the process of WMAgent initialization, we introduced one new table with metadata called wma_init, which is to be filled in with data collected at init time. Currently the table is created by the run.sh, which is the default entrypoint for the docker container, but the proper place for the table to be defined is inside the WMCore code, where all other parts of the SQL schema are set - i.e. at: https://github.com/dmwm/WMCore/tree/master/src/python/WMCore/Agent/Database

Describe the solution you'd like

Move the the wma_init table definition and creation inside the WMCore code, while letting the initialization scripts only fill in the appropriate data.

Describe alternatives you've considered
leave it as it is.

Additional context
This issue is a followup on:

And is part of the following meta issue:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant