UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

velero update to 5.0.2-bb.1

Merged Ghost User requested to merge update-velero-tag-5.0.2-bb.1 into master

Package Merge Request

Package Changes

Overview

These Changes are to support Velero's integration with Kopia. The Velero project is slowly moving away from restic to kopia for the file storage solution. On F35, we use EFS for a couple different applications and there is a known issue with being able to restore EFS volumes using Restic. Kopia does not have that same issue so I started testing Kopia with the bigbang deployment of velero.

There are two issues with the current BigBang Velero deployment:

  1. The velero container runs as nobody for the deployment. Kopia creates cache folders locally when running a backup or restore and the container does not have the permissions to create those folders as it runs as "nobody". Kopia tried to create two folders during a backup but it failed due to permission denied errors.

  2. The node-agent DaemonSet runs as root but does not have permissions to create the cache folders. Kopia also tried to create two folders in the node-agent container during a backup but it failed due to permission denied errors.

Changes

To fix this issue, I added both the required folders as emptyDir volumes and mounted them into the velero container in the Deployment and in the DaemonSet with the permissions set. This allowed the kopia process to create the cache and repo files as required in the container.

Tested

using this configuration applied to the helmchart, we were able to use Kopia to backup and restore an EFS Volume of Jira successfully.

Package MR

big-bang/product/packages/velero!93 (merged)

For Issue

N/A

Edited by Christopher O'Connell

Merge request reports

Merge request pipeline #2228105 passed with warnings

Merge request pipeline passed with warnings for fe16ae58

Approved by

Merged by Christopher O'ConnellChristopher O'Connell 1 year ago (Sep 19, 2023 4:24pm UTC)

Merge details

  • Changes merged into master with 460853a7 (commits were squashed).
  • Deleted the source branch.

Pipeline #2228529 passed with warnings

Pipeline passed with warnings for 460853a7 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading