Skip to content

argocdexport fails on Openshift 4.5 #208

Open
@u849296

Description

@u849296

Describe the bug

When running the argocd export the job fails to run with permission issues to the /backups folder on local storage PV in Openshift 4.5.

Logs from argocdexport pod:
exporting argo-cd
creating argo-cd backup
encrypting argo-cd backup
Can't open /backups/argocd-backup.yaml for writing, Permission denied
139760326087808:error:0200100D:system library:fopen:Permission denied:../crypto/bio/bss_file.c:69:fopen('/backups/argocd-backup.yaml','wb')
139760326087808:error:2006D002:BIO routines:BIO_new_file:system lib:../crypto/bio/bss_file.c:78:

Pod event log:
example-argocdexport-1606933560-zjgcg
NamespaceNSargocd
2 minutes ago
Generated from kubelet on fzeu2openshiftsbtst-r-hmw98-worker-eastus21-mt7jz
8 times in the last 3 minutes
Back-off restarting failed container

To Reproduce

Create any export using openshift 4.5 and local storage RWO

Expected behavior

Backups should be able to write to the PV and execute a normal backup

Screenshots

If applicable, add screenshots to help explain your problem.

Version

Installed with ArgoCD Operator 0.0.14

Logs

See Above

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions