-
Notifications
You must be signed in to change notification settings - Fork 367
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
After upgrading to 2.13.2 (1.5.1 velero) backup location not found error #168
Comments
This is definitely a confusing message, but does not indicate that there is an error with your setup. The messages comes from the BackupStorageLocation controller when it is verifying each of the backup locations. Each backup location has a frequency at which it should be verified and if enough time has passed since the last time it was verified, it will be verified again. While iterating over all the locations, if none of the locations needed to be verified, then the controller will print the message that no backup locations were ready to be verified. Although this looks like an error, the state is OK and the backup location will be verified at a later time. This frequency and wording of this log message is confusing and is something that we are tracking to fix in the velero project (vmware-tanzu/velero#2942). If you have any further comments or questions about this, it would be really helpful if you could direct them to the issue in the velero project. |
Given that the issue with the wording is being tracked in that project, I am going to close this issue. |
hi @zubron All backups stuck with progress status after removing helm chart 1.4.2 + crd and installing 1.5.2
log from velero pod
helm ls
No problem with version 1.4.2. |
@Slutzky could you please provides the helm install commands and the related values.yaml? Thank you. |
I'm using flux. Flux installs the velero by applying the following "HelmRelease"
|
@Slutzky, |
hi @jenting . It seems problem is in new CRD they added a check from velero pod so velero pod checks if it is up then it marks it as available but because of flux and the lifecycle hook this gcp backupstoragelocation was always synced from flux , this means it would set the flag available as empty when it synced next run and available is only set at beginning in velero so velero cannot recover. Issue has been solved. Thank you for your support. Best |
@Slutzky good to know the main root cause, although I did not know how you resolve the issue. If possible, could you please elaborate more on how you fix the issue? Thank you. |
sure, I'm using Flux to install velero, I added chart:
repository: https://vmware-tanzu.github.io/helm-charts
name: velero
version: 2.12.13
values:
image:
repository: velero/velero
tag: v1.5.2
configuration:
backupStorageLocation:
bucket: prod
useSecret: true
deployRestic: false
initContainers:
- image: velero/velero-plugin-for-gcp:v1.0.0
imagePullPolicy: IfNotPresent
name: velero-plugin-for-gcp
volumeMounts:
- mountPath: /target
name: plugins
enableHelmHooks: false |
Thank you, so this is related to #171
Thank you, so this is related to #171. |
Hey, I'm using latest helm release v2.14.12 and still seeing this error, |
Are you install Velero helm chart fresh install or perform the upgrade? |
I did the fresh install. |
Could you please provide more information? Like |
velero backup-location get -n openshift-velero
Velero Server logs
|
I've installed Velero for the first time and my logs are also filled with the following ouputs.
Here is the info from
|
Hey @patrickheinzelmann , I figured that this log message doesn't prevent velero from creating a backup. I'm having this log but my backups are being created successfully. |
As it pushed logs to the backupstorageLocation, so I'm sure this is not related to backupStorageLocation. I might be wrong. |
I looked into the error log of the backup creation and the Velero POD.
But I can't find any error message beside the backup location messages. |
@talha0324 I agree that the problems seems not related to the backup location, but this is the only message I can see in the log file. |
as your backup says: |
@talha0324 I know that the backup fails but I can't see any error when I execute "velero backup logs default-202103091015". I have attached the output in the file velero-default-202109031015.log. |
I did went through that file and I'm not sure about this. |
It looks like you're using the Azure plug-in. There was an issue where the Azure plug-in needed more memory than we were giving to the Velero containers by default. That was corrected in 1.5.3 and the amount of memory was increased to 512M but I don't see anything in the Helm charts that sets the amount of memory. There is some info in the PR about the error messages you would see. vmware-tanzu/velero#3234 You will see the messages in the Velero pod's log. They happen after the backup has finished but while uploading the data to the blob store, so they are not getting tracked properly. Check the amount of memory on your Velero pod with kubectl describe. It should be set to 512Mi for use with the Azure plug-in. |
@dsu-igeek The memory is limited to 256Mi.
I followed the installation guide for the Azure Plugin. https://github.com/vmware-tanzu/velero-plugin-for-microsoft-azure#setup. However the increasing of the memory wasn't mentioned. |
It's fixed in the main Velero install in rev 1.5.3. The Helm chart is not setting the resource limit properly. I added an issue for the Helm chart - #231 |
@patrickheinzelmann, is your issue been addressed after increase the memory limit? |
@jenting Yes, after increasing the memory the backup data will be uploaded to the Azure Storage. |
* Resync rules and dashboards Signed-off-by: Jesse Bye <[email protected]> * Bump chart version Signed-off-by: Jesse Bye <[email protected]> * resync again Signed-off-by: Jesse Bye <[email protected]>
What steps did you take and what happened:
Upgraded from helm chart version
2.12.17
to2.13.2
.Velero pod is now spitting out this into log:
Checked that backuplocations do exist in the cluster (and they were working just fine in previous release)
Tried to remove the chart, removed CRDs, re-install the chart. Checked that backuplocations were added back. And same error.
For some reason it no longer sees back up locations.
Environment:
helm version
):Version:"v3.3.1"
helm list -n <YOUR NAMESPACE>
):kubectl version
):1.17.3
/etc/os-release
):ubuntu 18.04
The text was updated successfully, but these errors were encountered: