Skip to content

Missing LD_LIBRARY_PATH in Velero pod deployed by OADP operator #64

@phuongatemc

Description

@phuongatemc

Velero's LB_LIBRARY_PATH is set to "/plugins" directory so if any plugin binary needs to load additional library during execution, it can put the library there. However, Velero installed by OADP missing this environment variable and therefore fail the plugins that needs to load libraries even though the library binaries are there in the /plugins directory.

Reproduce steps:

  • install OADP operator
  • create simple Velero with default csi, openshift plugins (see config below)
    apiVersion: konveyor.openshift.io/v1alpha1
    kind: Velero
    metadata:
    name: example-velero
    namespace: oadp-operator
    spec:
    olm_managed: true
    use_upstream_images: true
    default_velero_plugins:
    • csi
    • openshift
      enable_restic: true

then use "exec -it " to log into Velero pod and print out all evn

#oc get pod velero-7d9cd8489b-7v5cx -n oadp-operator bash
#env | grep LD_LIBRARY_PATH
==> found nothing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions