You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible for runBackup function, which is the only place that updates
Backup.Status.CSIVolumeSnapshotsCompleted
backup.Status.VolumeSnapshotsCompleted
to finish and move Phase towards and including completion without waiting for XSnapshotsCompleted to all be completed first.
What did you expect to happen:
Backup to eventually (even after completion phase is ok) update its backup.Status.VolumeSnapshotsCompleted
Solutions:
another controller in the background to update XCompleted status for snapshots
copy following into other backup_x_controller.go and don't stop processing until backup.Status.VolumeSnapshotsCompleted == backup.Status.VolumeSnapshotsAttempted or timeout
Velero features (use velero client config get features):
Kubernetes version (use kubectl version):
Kubernetes installer & version:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
👍 for "I would like to see this bug fixed as soon as possible"
👎 for "There are more important bugs to focus on right now"
The text was updated successfully, but these errors were encountered:
This is a regression from 1.11 because in 1.11, CSI snapshotting was synchronous, so it was all complete at end of backup_controller processing. Now that waiting for ReadyToUse is done asynchronously, in many cases none of the snapshots are complete when we calculate the number of complete snapshots. Recalculating this one more time in the finalizer controller is probably the easiest way to fix this.
What steps did you take and what happened:
It is possible for runBackup function, which is the only place that updates
to finish and move Phase towards and including completion without waiting for XSnapshotsCompleted to all be completed first.
What did you expect to happen:
Solutions:
velero/pkg/controller/backup_controller.go
Line 719 in 886e074
Anything else you would like to add:
Original issue: https://issues.redhat.com/browse/OADP-3005
Environment:
velero version
):velero client config get features
):kubectl version
):/etc/os-release
):Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: