Comment 4 for bug 1901570

Revision history for this message
David Coronel (davecore) wrote :

With the chmod 777 workaround in place, I can now create shares with manila create, but I can't allow access to an IP:

$ manila access-allow newtestdavid9 ip 172.24.4.229

$ manila access-list newtestdavid9
| id | access_type | access_to | access_level | state | access_key | created_at | updated_at |
| e1c4b913-913f-448b-9973-b497341d7314 | ip | 172.24.4.229 | rw | error | None | 2020-10-26T18:35:47.000000 | None |

I see this log in /var/log/manila/manila-share.log on manila-ganesha-az1/0:

2020-10-26 18:35:47.580 55344 ERROR oslo_messaging.rpc.server [req-38244b91-5fe2-475c-a693-128beb25057d f2ee9e8060e54d058060d220fab84088 86fcc0b3839b45029dd325641ddc2a09 - - -] Exception during message handling: cephfs.OSError: error in open /volumes/$ganesha-bfdb2ddf-c089-4947-a8b5-4245757e8794.meta: Permission denied [Errno 13]

When I mount the NFS root, here is what I see in volumes:

# df -h /mnt/volumes/
Filesystem Size Used Avail Use% Mounted on
172.31.250.17:6789:/ 332T 0 332T 0% /mnt

# ls -lan /mnt/volumes/
total 1
drwxr-xr-x 1 111 115 6 Oct 26 15:52 .
drwxrwxrwx 1 111 115 1 Oct 26 14:27 ..
-rwxr-xr-x 1 111 115 0 Oct 26 14:44 _:3b232b7e-1949-49c3-a742-7ca689f34f46.meta
-rwxr-xr-x 1 111 115 0 Oct 26 15:52 _:bfdb2ddf-c089-4947-a8b5-4245757e8794.meta
drwxr-xr-x 1 111 115 0 Oct 26 14:50 _deleting
---------- 1 111 115 196 Oct 26 15:52 '$ganesha-bfdb2ddf-c089-4947-a8b5-4245757e8794.meta'
drwxr-xr-x 1 111 115 2 Oct 26 14:50 _nogroup
-rwxr-xr-x 1 111 115 0 Oct 26 15:15 _None:bfdb2ddf-c089-4947-a8b5-4245757e8794.meta