Friday, 2019-05-10

*** whoami-rajat has joined #openstack-manila01:18
*** baojg has joined #openstack-manila01:34
*** lseki has joined #openstack-manila02:58
*** enriquetaso has joined #openstack-manila03:54
*** enriquetaso has quit IRC03:59
*** enriquetaso has joined #openstack-manila04:26
*** lseki has quit IRC05:08
*** rwadolowski has joined #openstack-manila05:14
*** enriquetaso has quit IRC05:44
*** kopecmartin|off is now known as kopecmartin06:26
rwadolowskitbarron, are you alive ? :)08:52
tbarronrwadolowski: barely, just had my first sip of morning coffee. 'sup?09:43
rwadolowskiI am looking into: https://bugs.launchpad.net/manila/+bug/180657609:52
openstackLaunchpad bug 1806576 in Manila "CEPHFS/NFS driver fails with error code 108" [Undecided,Triaged] - Assigned to Tom Barron (tpb)09:52
rwadolowskiit's occured in my env09:52
rwadolowskiso if you have some time, we can try to debug-fix it09:53
tbarronrwadolowski: are you running two ganesha servers against the same ceph cluster?09:55
rwadolowskiyep, exactly09:55
rwadolowskii changed cephfs_volume_path_prefix09:55
rwadolowskistill same09:55
tbarrondo they use the same CepFS file system and metadata and data pools or separate filesystems?09:56
rwadolowskimy setup is using manila-share in container (kolla) and nfs-ganesha on this same host, but outside container09:56
rwadolowskithis same09:56
tbarroni saw in the backlog your discussion w/ gouthamr regarding the dbus socket09:58
tbarrondo goth ganesha instances use the same socket path?09:59
tbarronboth09:59
rwadolowskiyes, so i decided to go outside docker with ganesha09:59
rwadolowskihttp://paste.openstack.org/show/751221/ this is config for backend. On each compute there is different ip and path10:00
tbarronoutside docker, inside docker are both fine but I would worry about using the same socket path10:00
* tbarron looks10:00
rwadolowskiI have each ganesha on different controler10:00
tbarronah10:01
tbarronand you are using different cephfs_volume_pat_prefix for each backend I guess?10:02
rwadolowskiexactly, hostname of each controller, example /{{controller_hostname}}10:03
tbarronlooks like we have an incidental logging issue in that traceback in the bug: Share instance information in exception can not be written to db because it contains {} and it is not a dictionary10:05
tbarrondo you have that error too?10:05
rwadolowskiyes, i will paste my error, sec10:06
tbarronwith the main issue being a stat failure?10:06
rwadolowskihttp://paste.openstack.org/show/751222/10:07
rwadolowskiyes10:08
*** carloss has joined #openstack-manila10:09
tbarronand this works with the first ganesha bacj end even when two are configured?10:09
tbarronback10:10
* tbarron broke right hand so typing is awkward10:10
rwadolowskiyes, only one manila(ganesha) can create shares, the other one are throwing errors10:12
tbarronso as you see the error is from the ceph volume library which is part of ceph rather than manila itself (not even in the manila driver code)10:12
tbarronnot trying to dump the prob elsewhere by saying that btw10:13
tbarronit'a a python libraru though10:13
tbarronif you would take a minute to put those pastebins as well as that for the working back end in the bug that will be great10:15
tbarronalso manila, ganesha, and ceph versions you are using10:15
rwadolowskiyeah, no problem10:15
rwadolowskii will try to debug it deeper, maybe ceph-devs will help me :)10:16
tbarronrwadolowski: https://github.com/ceph/ceph/blob/master/src/pybind/ceph_volume_client.py#L62510:17
tbarronit's catching ObjectNotFound but not error code 108 mebbe ...10:20
rwadolowskiprobably this error we're facing https://github.com/ceph/ceph/blob/ae4f94c868e87e7a60d35b7832db7988fd60ab53/src/common/freebsd_errno.cc#L10010:21
openstackgerritmelissaml proposed openstack/manila master: Replace git.openstack.org URLs with opendev.org URLs  https://review.opendev.org/65832510:21
tbarronrwadolowski: if you fix this you'll get your name on the ceph t-shirt for the next release :)10:22
tbarronbatrick: ^^^^^^^10:23
tbarronrwadolowski: he's on the west coast US so won't be looking now but may know right off10:23
tbarronalso gregsfortytwo ^^^^10:24
tbarronrwadolowski: you can also ask in freenode #ceph or on <ceph-users@lists.ceph.com>10:26
tbarronrwadolowski: btw does the working back end also have ceph_volume_path_prefix configured?  or is it using the default?10:32
tbarroncephfs_volume_path_prefix10:32
*** lpetrut has joined #openstack-manila10:35
rwadolowskiconfigured, each of backends have different path10:35
tbarronrwadolowski: k10:37
tbarronrwadolowski: and at driver init time there aren't errors showing up in manila share service log around this code (for the second back end?) -10:38
tbarronhttps://github.com/openstack/manila/blob/master/manila/share/drivers/cephfs/driver.py#L20410:39
*** baojg has quit IRC10:41
* tbarron wonders if it's an auth/caps/client keys issue10:44
rwadolowskii can generate seperate keypairs and try to do it10:44
tbarronrwadolowski: just thinking out loud ..., the ceph guys will know better10:45
tbarron108 is pretty obscure10:46
rwadolowskino errors at startup10:55
tbarronrwadolowski: ack11:08
rwadolowskitbarron, got it11:17
* tbarron is all ears11:18
rwadolowskicaps11:18
tbarrondo you need a separate client key for each back end?11:19
rwadolowskidifferent caps for each and it is working like a charm11:19
rwadolowskifor each manila :)11:19
tbarronrwadolowski: yeah i guess that makes sense11:20
tbarronnice work!11:21
rwadolowskinew question is if we can change something on the ceph side11:22
rwadolowskiso probably tools like kolla should generate caps for each endpoint, but this sounds more like a workaround11:23
tbarronit may be a security feature, how does the cluster know both subtrees are being managed by the same admin?11:25
tbarronrwadolowski: but it's a reasonable question for the ceph folks11:25
rwadolowskigood point11:25
rwadolowskii am thinking about this: https://github.com/openstack/manila/blob/2609950d1e8d0b57c01fead23101ee7b419dbfb7/manila/share/drivers/cephfs/driver.py#L20811:29
rwadolowskiwhat are cons of disabling eviction at all11:29
tbarronrwadolowski: that's a Q for the ceph devs but i'm thinking it's a cleanup stale client sessions thing11:35
tbarronhttp://docs.ceph.com/docs/mimic/cephfs/eviction/11:35
*** rwadolowski has quit IRC11:38
*** enriquetaso has joined #openstack-manila12:22
*** enriquetaso has quit IRC12:23
*** enriquetaso has joined #openstack-manila12:23
*** lseki has joined #openstack-manila12:57
*** rwadolowski has joined #openstack-manila13:08
*** ianychoi_ is now known as ianychoi14:00
*** lpetrut has quit IRC14:43
*** lpetrut has joined #openstack-manila14:47
*** lpetrut has quit IRC14:57
*** josecastroleon has quit IRC15:32
*** lpetrut has joined #openstack-manila16:06
*** s0ru has joined #openstack-manila16:12
openstackgerritSoledad Kuczala proposed openstack/manila master: Adding documentation for User Messages in Manila Documentation  https://review.opendev.org/64501016:23
*** s0ru has quit IRC16:47
*** enriquetaso has quit IRC16:50
*** enriquetaso has joined #openstack-manila16:55
*** whoami-rajat has quit IRC16:58
*** kopecmartin is now known as kopecmartin|off17:04
*** lpetrut has quit IRC17:17
batrickrwadolowski: are you using freebsd?17:45
batrickon Linux that's just ESHUTDOWN17:45
batrickif you look at src/include/rados.h that's also EBLACKLIST (ceph specific errno)17:46
batrickso it's possible your ganesha got blacklisted somehow17:46
batrickthese errors are happening during setup or after using it for some time?17:46
*** whoami-rajat has joined #openstack-manila18:09
*** dviroel has quit IRC21:52
*** carloss has quit IRC21:57
openstackgerritGoutham Pacha Ravi proposed openstack/manila-specs master: Move unimplemented specifications to separate folder  https://review.opendev.org/65789422:20
openstackgerritGoutham Pacha Ravi proposed openstack/manila-specs master: Move unimplemented specifications to separate folder  https://review.opendev.org/65789422:20
*** whoami-rajat has quit IRC22:39
*** enriquetaso has quit IRC23:39
*** enriquetaso has joined #openstack-manila23:41
*** lseki has quit IRC23:46

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!