-
Notifications
You must be signed in to change notification settings - Fork 86
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
Failed BackupSession is still marked as "running" #1488
Comments
@hmsayem and @piyush1146115 Please take a look when you are available. |
Hello @sgielen! |
Stash runs backup as a non-root user. Thus, Stash fails to read the targeted data, If the target data directory is not readable to all the users. Solution is to run the backup process as the same user as the targeted application or run the backup process as the root user. |
Yes, it was in the Running phase and got stuck.
It does not seem to me to be an access issue: the backup runs as root (securityContext runAsUser 0 and runAsGroup 0), has succeeded multiple times before, and only 2 out of the thousands of files could not be read this time. The files are on a remote volume, so it is more likely to me that a network issue caused the backup to fail. A failing backup would then be expected, but not one stuck in Running. In the meantime, the backup timeout expired so the Running backup was removed, but now backups are failing because the repository is locked ( |
Restic creates a lock at the beginning of its operation. Since the last backup couldn't get completed and failed due to timeout, Restic coudn't remove the lock. We need to check the BackupSession that failed due to timeout. Please share the BackupSession with us, if that happens again. |
When I created my issue here, Unfortunately indeed the timed out BackupSession has been removed from the cluster since then, but I will update this issue if it happens again. |
I have the following in my
stash
container logs:Inside the
stash
container, only/stash
is running, nothingrestic
.However, the BackupSession is still Phase: Running:
Could this be a bug?
The text was updated successfully, but these errors were encountered: