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

Unable to mount CephFS using Alluxio 2.9.4 in Kubernetes 1.28 (via Helm chart) #18717

Open
sky-tower opened this issue Dec 19, 2024 · 1 comment
Labels
type-bug This issue is about a bug

Comments

@sky-tower
Copy link

Description:

I'm facing an issue when trying to mount CephFS using Alluxio version 2.9.4 deployed on Kubernetes 1.28. The installation was done via the Alluxio Helm chart (integration/kubernetes/helm-chart/alluxio). When attempting to mount CephFS from the alluxio-master container using the following command, I receive the error "Unable to create an UnderFileSystem instance for path."

Steps to Reproduce:

  1. Deployed Alluxio on Kubernetes using the Helm chart.
  2. Using Alluxio version 2.9.4.
  3. Executed the following mount command inside the alluxio-master container:
    ./alluxio fs mount \
    --option name="***" \
    --option secret="***" \
    /mnt/cephfs/ cephfs://10.9.0.6:6789,10.9.0.7:6789,10.9.0.5:6789/
  4. The command returns the following error:
    mount command: alluxio fs mount /mnt/cephfs cephfs://10.9.0.6:6789,10.9.0.7:6789,10.9.0.5:6789/ option MountContext{ProtoOptions=readOnly: false
    properties {
      key: "name"
      value: "***"
    }
    properties {
      key: "secret"
      value: "***"
    }
    shared: false
    commonOptions {
      ttl: -1
      ttlAction: FREE
    }
    }
    Acquired mount ID for the new mount point: 470124985186816983
    Unable to create an UnderFileSystem instance for path: cephfs://10.9.0.6:6789,10.9.0.7:6789,10.9.0.5:6789/
    

Expected Behavior:

I expected the CephFS to be successfully mounted on Alluxio without any errors, allowing me to access it as a mounted file system within the Alluxio environment.

Actual Behavior:

The mount command fails with the message: "Unable to create an UnderFileSystem instance for path: cephfs://10.9.0.6:6789,10.9.0.7:6789,10.9.0.5:6789/"

Environment:

  • Alluxio version: 2.9.4
  • Kubernetes version: 1.28
  • Installation method: Deployed via Helm chart (integration/kubernetes/helm-chart/alluxio)
  • Running in Alluxio master container

Additional Information:

  • I have confirmed that the CephFS cluster is reachable and that the CephFS credentials are correct.

Potential Fix:

Could you please investigate why the CephFS mount fails, and provide any guidance on configuration or possible fixes? Thank you!

@sky-tower sky-tower added the type-bug This issue is about a bug label Dec 19, 2024
@YichuanSun
Copy link
Contributor

Please check whether ceph-related *.jar exists in ALLUXIO_WORK_DIRECTORY/lib/. By the way, it'd be better if any client side log is provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug This issue is about a bug
Projects
None yet
Development

No branches or pull requests

2 participants