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

Cleanup agents from DR on REMOVE_HOST cms action #1583

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

komarevtsev-d
Copy link
Collaborator

@komarevtsev-d komarevtsev-d commented Jul 11, 2024

Первым шагом я начинаю удалять девайсы у агента из DR при вызове REMOVE_HOST. При этом, если на хосте есть диск со сломанным девайсом - поведение не изменится и ни один девайс не будет удалён.
Если все девайсы были удалены, то после выключения агента мы полностью сотрём его из памяти.

По умолчанию поведение также не меняется.

Далее по плану у меня:

  1. Удалять кеш у диск агента
  2. Перевозить диски в "чистилище"
  3. Удалять девайсы по REMOVE_DEVICE

@komarevtsev-d komarevtsev-d added large-tests Launch large tests for PR blockstore Add this label to run only cloud/blockstore build and tests on PR labels Jul 11, 2024
@komarevtsev-d komarevtsev-d force-pushed the users/komarevtsev-d/issue-1388/2 branch from aaf9083 to c37f309 Compare July 12, 2024 12:29
@komarevtsev-d komarevtsev-d marked this pull request as ready for review July 12, 2024 12:44
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 68aae65.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3271 3269 0 1 1 0

@komarevtsev-d komarevtsev-d force-pushed the users/komarevtsev-d/issue-1388/2 branch from 68aae65 to 61bfff6 Compare July 15, 2024 06:55
@ydb-platform ydb-platform deleted a comment from github-actions bot Jul 15, 2024
@ydb-platform ydb-platform deleted a comment from github-actions bot Jul 15, 2024
@ydb-platform ydb-platform deleted a comment from github-actions bot Jul 15, 2024
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 61bfff6.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3272 3271 0 0 1 0

@komarevtsev-d komarevtsev-d merged commit 94909e3 into main Jul 15, 2024
9 checks passed
@komarevtsev-d komarevtsev-d deleted the users/komarevtsev-d/issue-1388/2 branch July 15, 2024 09:01
komarevtsev-d added a commit that referenced this pull request Jul 15, 2024
* Cleanup agents from DR on REMOVE_HOST cms action

* review fixes
komarevtsev-d added a commit that referenced this pull request Jul 15, 2024
* Cleanup agents from DR on REMOVE_HOST cms action

* review fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blockstore Add this label to run only cloud/blockstore build and tests on PR large-tests Launch large tests for PR
Projects
None yet
3 participants