Project

Profile

Help

Story #8474

closed

Story #5132: [Epic] As a user, I can consume Pulp 3 from OperatorHub.io

pulp-operator should enable the backup of filesystem data when using RWM PVC

Added by chambridge over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Operator - Moved to Github Issues
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

As part of the pulp operator backup procedures you should be able to backup the contents if the operator is using a RWM PVC. Objectstorage will not be backed up and RWO is not intended for production usage (only single node development).

As part of the backup CRD you can backup the file system. The operator will create another RWM PVC (backup) and a management pod will be spun up. The management pod will mount both the current usage RWM PVC and the backup PVC. Data from the current PVC will be copied to the backup PVC.

After completion the management pod will be removed.

Actions #1

Updated by chambridge over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to chambridge

Added by chambridge over 3 years ago

Revision 46b66649 | View on GitHub

Enable backup of storage associated with Pulp custom resource

  • Add storage information to pulp status in CRD to enable backup
  • Add storage type to pulpbackup status in CRD to enable restore
  • Update CSV with new status items
  • Gather storage type from pulp CRD
  • Collect objectstorage secret or PVC name depending on storage type
  • Check PVC for RWM accessMode
  • Create management pod with mounted PVC if storage type is RWM file system
  • Write objectstorage secret to backup PVC
  • Add templated secrets
  • Add storage tasks to copy file contents when file storage is used
  • Update backup status with storage type
  • Don't use fqcn

fixes #8474 https://pulp.plan.io/issues/8474

Actions #2

Updated by pulpbot over 3 years ago

  • Status changed from ASSIGNED to POST
Actions #3

Updated by chambridge over 3 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #4

Updated by fao89 over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF