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

task rclone Config file not found #373

Closed
Tracked by #362
DavidGOrtega opened this issue Jan 21, 2022 · 4 comments · Fixed by #466
Closed
Tracked by #362

task rclone Config file not found #373

DavidGOrtega opened this issue Jan 21, 2022 · 4 comments · Fixed by #466
Labels
p2-nice-to-have Low priority resource-task iterative_task TF resource

Comments

@DavidGOrtega
Copy link
Contributor

Found within the logs

NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
@DavidGOrtega DavidGOrtega added the resource-task iterative_task TF resource label Jan 21, 2022
@0x2b3bfa0
Copy link
Member

wontfix perhaps? 🤔 rclone/fs/config/config.go:359

@0x2b3bfa0
Copy link
Member

Happening because the ExecStop command includes a last call to rclone which also gets logged:

ExecStop=/bin/bash -c 'systemctl is-system-running | grep stopping || echo "{\\\\"result\\\\": \\\\"\$SERVICE_RESULT\\\\", \\\\"code\\\\": \\\\"\$EXIT_STATUS\\\\", \\\\"status\\\\": \\\\"\$EXIT_CODE\\\\"}" > "$TPI_LOG_DIRECTORY/status-$TPI_MACHINE_IDENTITY" && rclone copy "$TPI_LOG_DIRECTORY" "$RCLONE_REMOTE/reports"'

Better to have it than to miss possible errors?

@DavidGOrtega
Copy link
Contributor Author

Its not a very good logs I might say. Users reviewing their logs will scratch their heads

@0x2b3bfa0 0x2b3bfa0 added the p2-nice-to-have Low priority label Feb 11, 2022
@0x2b3bfa0
Copy link
Member

0x2b3bfa0 commented Feb 11, 2022

Let's keep the issue open. I'll eventually try to figure out if this message can be suppressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-nice-to-have Low priority resource-task iterative_task TF resource
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants