Insufficient storage error when restoring an online backup to a different cluster

Restoring an online backup is unsuccessful because of an insufficient storage error.

Symptoms

After the restore process is completed, the status of the Cloud Pak for Data control plane is InProgress. In the log file, you see an error message such as in the following example:

Error: saving pool.bin for pool index 0 failed with: Storage resources are insufficient for the write operation .minio.sys/tmp/xxxx...

Causes

The size of zen-minio PVCs is insufficient.

Environment

This problem occurs in Cloud Pak for Data 5.0.2.

Diagnosing the problem

Run the following command to get the status of the Cloud Pak for Data control plane:

oc get ZenService lite-cr  -n ${PROJECT_CPD_INST_OPERATORS} -o yaml

In the output of the command, zenStatus shows InProgress.

Resolving the problem

Do the following steps:

  1. Increase the size of the following PVCs to 20Gi:
    • export-zen-minio-0
    • export-zen-minio-1
    • export-zen-minio-2
  2. Run the following restore posthooks command:
    cpd-cli oadp restore posthooks \
    --tenant-operator-namespace=${PROJECT_CPD_INST_OPERATORS} \
    --hook-kind=checkpoint \
    --log-level=debug \
    --verbose