TridentProtect バックアップが Kopia のアクセス許可拒否により失敗
環境
- NetApp TridentProtect(Kubernetes/OpenShift)
- Kopia Data Mover Pods
- SecurityContextConstraints(SCC)を使用するOpenShiftクラスター
- バックアップリポジトリとしてS3/Generic S3を使用する環境
問題
- TridentProtectバックアップジョブは、バックアップ前のWebhook、ボリュームスナップショット、およびPVCクローン操作が正常に完了しているにもかかわらず、Kopiaデータムーバー段階で失敗します。Kopiaポッドのログに以下のエラーが記録されています:
Unable to createlogs directory: mkdir /app/logs: permission denied
ERROR errorconnecting to repository: repository not initialized in the provided storage
write error: unableto open log file: open /app/logs/cli-logs/...: no such file or directory
ERROR unable toconnect to repository: unable to write config file: unable to create configdirectory: mkdir /app/config: permission denied
ERROR openrepository: repository is not connected. See https://kopia.io/docs/repositories/
- TridentProtectコントローラーのログには以下が表示されます:
failed to get kopiasnapshot ID from pod logs: summary line with snapshot_id not found in Kopia logoutput