Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v5.10.x] external-nfs mount failure #218

Open
winestein opened this issue May 5, 2020 · 0 comments
Open

[v5.10.x] external-nfs mount failure #218

winestein opened this issue May 5, 2020 · 0 comments

Comments

@winestein
Copy link

Description:

Hi all!

I found a problem when deploying the advanced chart with a cloudProvider of type "external-nfs".
image

The NFS (AWS EFS) volume fails to mount, since the defined paths in "sharedTenants" and "sharedUserstores" doesn't exist. Once I mounted the volume in an Ubuntu Pod and created the paths, everything worked normally.

The chart could be incremented to add a init check to see if the defined paths exist on the NFS?

Affected Product Version: Chart "advanced/is-pattern-1" - version 5.10.0-1

OS, DB, other environment details and versions:

Steps to reproduce: Deploy the helm chart with the value "wso2.persistentRuntimeArtifacts.cloudProvider" set to "external-nfs" pointing to an instance of EFS on AWS;

Used configuration:

persistentRuntimeArtifacts:
        # Persistent storage provider expected to be used for sharing persistent runtime artifacts
        # This can be one of the following.
        #   1. internal-nfs - Using the NFS dynamic provisioner for Kubernetes
        #   2. external-nfs - Using an externally configured NFS server
        cloudProvider: "external-nfs"
        # External NFS Server IP
        nfsServerIP: "<efs-domain>"
        # Exported location on external NFS Server to be mounted at <IS_HOME>/repository/tenants
        sharedTenants: "/tenants"
        # Exported location on external NFS Server to be mounted at <IS_HOME>/repository/deployment/server/userstores
        sharedUserstores: "/userstores"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants