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 a better initial cluster state #352

Open
Krock21 opened this issue Oct 3, 2024 · 1 comment
Open

Make a better initial cluster state #352

Krock21 opened this issue Oct 3, 2024 · 1 comment

Comments

@Krock21
Copy link
Member

Krock21 commented Oct 3, 2024

The operator does not use init_cluster.py script, which leads to poorly configured cluster from the beginning

We need to analyse what is happening in that script and verify that operator does everything that is present there(and relevant)

One important part is configuring ACLs for cypress nodes. I created an issue for //sys nodes.

In this ticket I suggest covering everything else, like schemas, tmp, pool trees, accounts, users

@Krock21
Copy link
Member Author

Krock21 commented Oct 16, 2024

One more error that we found is caused by absence of //tmp/yt_wrapper/table_storage

Python SDK creates this directory inside a transaction, if needed, creating a bottleneck and leading to these errors:

yt.wrapper.errors.YtCypressTransactionLockConflict: Cannot take lock for child "table_storage" of node //tmp/yt_wrapper since this child is locked by concurrent transaction abcd-efgh

init_cluster.py creates this folder to avoid it. ytsaurus-k8s-operator does not

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

No branches or pull requests

1 participant