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

Allow mounting two different subdirectories on the same pod #328

Closed
colearendt opened this issue Jun 8, 2023 · 6 comments
Closed

Allow mounting two different subdirectories on the same pod #328

colearendt opened this issue Jun 8, 2023 · 6 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@colearendt
Copy link

colearendt commented Jun 8, 2023

/kind bug

What happened?

Mounting two different subdirectories (/one and /two) of the same lustre filesystem onto the same pod fails, never resolves.

What you expected to happen?

Mounting two different subdirectories of the same lustre filesystem should succeed (without making other directories, e.g. /three and /four, available)

How to reproduce it (as minimally and precisely as possible)?

  • Create two PVs referencing the same Lustre filesystem at different subdirectories
  • Create two PVCs referencing these PVs
  • Create two volumes / volumeMounts on the same pod that reference these PVCs and mount at different locations
  • Notice that ContainerCreating never succeeds
  Type     Reason       Age    From     Message
  ----     ------       ----   ----     -------
  Warning  FailedMount  2m36s  kubelet  Unable to attach or mount volumes: unmounted volumes=[storage2], unattached volumes=[storage3 kube-api-access-8tsdh storage2]: timed out waiting for the condition
  Warning  FailedMount  20s    kubelet  Unable to attach or mount volumes: unmounted volumes=[storage2], unattached volumes=[storage2 storage3 kube-api-access-8tsdh]: timed out waiting for the condition

Anything else we need to know?:

Related to #247

Environment

  • Kubernetes version (use kubectl version):
  • Driver version:
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jun 8, 2023
@DevSusu
Copy link

DevSusu commented Jun 15, 2023

+1 for the issue

Since Lustre storage can only be provisioned in unit of 1200GiBs, it is important that the volume can be distributed across namespaces, which needs multiple static PVs in 1 FSx volume.

@jacobwolfaws
Copy link
Contributor

jacobwolfaws commented Jun 21, 2023

Hi @colearendt, I tried reproducing with your steps and didn't experience any issues. Can you share your pv.yaml's, pvc.yaml's, and pod.yaml (excluding any sensitive information)?

Edit: Can you also speak a little more about your use case here, where you want to mount multiple different subdirectories to a single pod? If you feel this is something multiple other users might hit we can add an example for future ref

@jacobwolfaws
Copy link
Contributor

jacobwolfaws commented Jul 7, 2023

@colearendt Following up on this, are you still having this issue?

@colearendt
Copy link
Author

colearendt commented Jul 8, 2023 via email

@jacobwolfaws
Copy link
Contributor

Going to close out this issue since I wasn't able to repro and it doesn't seem like it's continuing to have impact, feel free to reopen with more details and/or this continues causing issues. Thanks!
/close

@k8s-ci-robot
Copy link
Contributor

@jacobwolfaws: Closing this issue.

In response to this:

Going to close out this issue since I wasn't able to repro and it doesn't seem like it's continuing to have impact, feel free to reopen with more details and/or this continues causing issues. Thanks!
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants