Backup shows VolumeSnapshot warnings during execution in OADP
Issue
When running backups with OADP 1.4.X, the backup completes successfully but displays warning messages related to VolumeSnapshot creation failures. The warnings indicate that the snapshot controller was unable to update the VolumeSnapshotContent object due to concurrent modifications.
Velero: message: /VolumeSnapshot has a temporary error Failed to create snapshot: error updating status for volume snapshot content snapcontent-3ded3cba-XXXXXXXXXXX: snapshot controller failed to update snapcontent-3ded3cba-XXXXXXXXXXXXX on API server: Operation cannot be fulfilled on volumesnapshotcontents.snapshot.storage.k8s.io "snapcontent-3ded3cba-XXXXXXXXXXXXX": the object has been modified; please apply your changes to the latest version and try again. Snapshot controller will retry later.
In some cases, the warning escalates into an error, causing the backup to fail
.
Velero: message: /Failed to create snapshot: error updating status for volume snapshot content snapcontent-XXXXXXXXXXXXX: snapshot controller failed to update snapcontent-0adc6db5-XXXXXXXXXXXXXX on API server: Operation cannot be fulfilled on volumesnapshotcontents.snapshot.storage.k8s.io "snapcontent-0adc6db5-XXXXXXXXXXXX": the object has been modified; please apply your changes to the latest version and try again, plugin: velero.io/csi-volumesnapshot-backup
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.x
- OpenShift APIs for Data Protection (OADP)
- 1.4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.