OADP installation issues
You might encounter issues caused by using invalid directories or incorrect credentials when you install the Data Protection Application (DPA).
Resolving invalid directories in backup storage
The object storage contains top-level directories that are not Velero directories. The Velero pod log displays the following error message:
Backup storage contains invalid top-level directories.
-
If the object storage is not dedicated to Velero, you must specify a prefix for the bucket by setting the
spec.backupLocations.velero.objectStorage.prefixparameter in theDataProtectionApplicationmanifest.
Resolving incorrect AWS credentials
If the credentials-velero file that is used to create the Secret object is incorrectly formatted, multiple errors might occur, including the following examples:
-
The
oadp-aws-registrypod log displays the following error message:`InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.` -
The
Veleropod log displays the following error message:NoCredentialProviders: no valid providers in chain.
-
Ensure that the
credentials-velerofile is correctly formatted, as shown in the following example:Examplecredentials-velerofile[default] aws_access_key_id=AKIAIOSFODNN7EXAMPLE aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
- AWS default profile.
- Do not enclose the values with quotation marks (
",').