Skip to content

Fix ydbd_slice format drives call #3814

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

Merged
merged 2 commits into from
Apr 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions ydb/tools/ydbd_slice/kube/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from collections import defaultdict
from kubernetes.client import Configuration

from ydb.tools.ydbd_slice import nodes, handlers
from ydb.tools.ydbd_slice import nodes
from ydb.tools.ydbd_slice.kube import api, kubectl, yaml, generate, cms, dynconfig


Expand Down Expand Up @@ -230,10 +230,9 @@ def slice_nodeclaim_format(api_client, project_path, manifests):
logger.info('no nodes found, nothing to format.')
return
node_list = nodes.Nodes(node_list)
handlers.format_drivers(node_list)
cmd = r"sudo find /dev/disk/ -path '*/by-partlabel/kikimr_*' " \
r"-exec dd if=/dev/zero of={} bs=1M count=1 status=none \;"
nodes.execute_async(cmd)
node_list.execute_async(cmd)


def slice_nodeclaim_delete(api_client, project_path, manifests):
Expand Down