Project

General

Profile

Actions

Bug #55724

open

cephfs RWX in k8s

Added by zhang he almost 2 years ago. Updated almost 2 years ago.

Status:
Need More Info
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

our application using an RWX cephfs volume share files between POD in different NODE, and this application do `mount` operation in this volume subdirectory like `/share`,
the `mount` src is an hostpath file, after this operation, we can see the this file in the application NODE's kubelet volume directory `volumes/kubernetes.io~csi/pvc-f1f23430-de13-41ac-966d-4f972e22765e/mount`, but see nothing in other NODE! i have tested RWO local-path volume, ALL POD using this volume could see the `mount` operation effect, could you explain why cephfs volume is this behavior ?

Actions #1

Updated by Venky Shankar almost 2 years ago

  • Status changed from New to Need More Info

Hi Zhang,

Could you list the steps you perform and the contents of the mount file you see (`volumes/kubernetes.io~csi/pvc-f1f23430-de13-41ac-966d-4f972e22765e/mount`)?

Cheers,
Venky

Actions #2

Updated by zhang he almost 2 years ago

1. application POD do `mount` in cephfs `/share` directory, equvalent operation `mount t xxx /home/zhanghe/models /share`
2. in application POD node's volume path, `ls -l `
content :
`-rw-r--r-
1 root root 5333 May 25 07:46 md5.txt
rw-r--r- 1 root root 41400 May 25 07:43 trans_cminds.mdl
rw-r--r- 1 root root 146636 May 25 07:43 trans_kaldi.mdl
`
3. in other NODE, start an help POD, mount the same PV, but see nothing

Actions

Also available in: Atom PDF