1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/oadp-installation-issues.adoc
2022-02-02 09:53:19 +00:00

47 lines
1.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * backup_and_restore/application_backup_and_restore/troubleshooting.adoc
:_content-type: CONCEPT
[id="oadp-installation-issues_{context}"]
= Installation issues
You might encounter issues caused by using invalid directories or incorrect credentials when you install the Data Protection Application.
[id="oadp-backup-location-contains-invalid-directories_{context}"]
== Backup storage contains invalid directories
The `Velero` pod log displays the error message, `Backup storage contains invalid top-level directories`.
.Cause
The object storage contains top-level directories that are not Velero directories.
.Solution
If the object storage is not dedicated to Velero, you must specify a prefix for the bucket by setting the `spec.backupLocations.velero.objectStorage.prefix` parameter in the `DataProtectionApplication` manifest.
[id="oadp-incorrect-aws-credentials_{context}"]
== Incorrect AWS credentials
The `oadp-aws-registry` pod log displays the error message, `InvalidAccessKeyId: The AWS Access Key Id you provided does not exist in our records.`
The `Velero` pod log displays the error message, `NoCredentialProviders: no valid providers in chain`.
.Cause
The `credentials-velero` file used to create the `Secret` object is incorrectly formatted.
.Solution
Ensure that the `credentials-velero` file is correctly formatted, as in the following example:
.Example `credentials-velero` file
----
[default] <1>
aws_access_key_id=AKIAIOSFODNN7EXAMPLE <2>
aws_secret_access_key=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
----
<1> AWS default profile.
<2> Do not enclose the values with quotation marks (`"`, `'`).