plugin-barman-cloud
plugin-barman-cloud copied to clipboard
docs: troubleshooting does not cover "cannot proceed with the backup as the cluster has no backup section"
After migrating to the plugin and removing .spec.backup from the Cluster (as
Step 2 of the migration guide says), any Backup or ScheduledBackup that
does not set method: plugin fails with:
cannot proceed with the backup as the cluster has no backup section
method defaults to barmanObjectStore in the Backup and ScheduledBackup
CRDs, and the operator then requires cluster.Spec.Backup
(internal/controller/backup_controller.go). #353 is the same report for
kubectl cnpg backup, answered with -m plugin --plugin-name ....
I hit this myself with a ScheduledBackup after the migration. The message is
not in troubleshooting.md, which is where users search for it. I'd like to
add it to "Backup job fails immediately" with the fix for the resources and
for kubectl cnpg backup.