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

Make rucio-init idempotent #283

Open
maxnoe opened this issue Jan 16, 2024 · 1 comment
Open

Make rucio-init idempotent #283

maxnoe opened this issue Jan 16, 2024 · 1 comment
Assignees

Comments

@maxnoe
Copy link
Contributor

maxnoe commented Jan 16, 2024

Running rucio-init a second time results in errors, i.e. "duplicate key value violates unique constraints VOS_PK".

It would be great for test setups if rucio-init would be idempotent

@bari12
Copy link
Member

bari12 commented Nov 27, 2024

Hi @maxnoe
Took us a while, but we are looking into this. Why are you running this init container multiple times? The idea is it sets up the environment once, and that's it? And if you could run it multiple times, what would be your expectation? Reset of the database and start at 0, or just do nothing?

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