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

🎨 reduce noisy logs in director-v2 #5300

Merged
Merged
Changes from 3 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
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,17 @@ async def service_free_reserved_disk_space(
app: FastAPI, node_id: NodeID, sidecars_client: SidecarsClient
) -> None:
scheduler_data: SchedulerData = _get_scheduler_data(app, node_id)
await sidecars_client.free_reserved_disk_space(scheduler_data.endpoint)
try:
await sidecars_client.free_reserved_disk_space(scheduler_data.endpoint)
except BaseHttpClientError as e:
_logger.warning(
GitHK marked this conversation as resolved.
Show resolved Hide resolved
(
"Could not free reserved disk space for "
"%s\n%s. Will continue to save the data from the service!"
),
scheduler_data.service_name,
f"{e}",
GitHK marked this conversation as resolved.
Show resolved Hide resolved
)


async def service_save_state(
Expand Down
Loading