-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Panic on WaitAllPodVolumesProcessed in velero 1.15.2 #8657
Comments
First of all, the release is 1.15.1 instead of 1.15.2, see logs: Secondly, from the first glance, I don't think this problem is related to 1.15.1 or 1.15.2. In another word, this problem may be a legacy problem that also happens in previous releases. We need further checks, but I guess the cause of the problem is here:
PVB informer is established in @Gui13 Please let us know in which case you saw this panic, and whether it is consistent in your env. Please also share velero log bundle when the problem happened. |
@Gui13 Could you also share the velero debug bundle when the problem happens? |
@ywk253100 I'm adding this to v1.16 b/c it looks like a bug. |
Make sure WaitGroup.Add() is called before WaitGroup.Done() to avoid WaitGroup panic issue Fixes vmware-tanzu#8657 Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
Make sure WaitGroup.Add() is called before WaitGroup.Done() to avoid WaitGroup panic issue Fixes vmware-tanzu#8657 Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
Make sure WaitGroup.Add() is called before WaitGroup.Done() to avoid WaitGroup panic issue Fixes vmware-tanzu#8657 Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
What steps did you take and what happened:
During a scheduled backup, velero rebooted due to a panic waiting for all podVolumeBackups to be finished.
What did you expect to happen:
No panic ;-)
The following information will help us better understand what's going on:
If you are using velero v1.7.0+:
Please use
velero debug --backup <backupname> --restore <restorename>
to generate the support bundle, and attach to this issue, more options please refer tovelero debug --help
If you are using earlier versions:
Please provide the output of the following commands (Pasting long output into a GitHub gist or other pastebin is fine.)
kubectl logs deployment/velero -n velero
velero backup describe <backupname>
orkubectl get backup/<backupname> -n velero -o yaml
velero backup logs <backupname>
velero restore describe <restorename>
orkubectl get restore/<restorename> -n velero -o yaml
velero restore logs <restorename>
Here are the logs:
Anything else you would like to add:
Environment:
velero version
): 1.15.2velero client config get features
): DataMover is usedkubectl version
): 1.30/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: