File system sync issues over Ganesha

Bug #1989273 reported by Liron Kuchlani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Triaged
Undecided
Unassigned

Bug Description

Description of problem:
When trying to create a file in attached manila share that was
created from snapshot, the file is created but it's not displayed
or saved or flushed to disk.

Version-Release number of selected component (if applicable):
cephadm-16.2.8-79.el9cp.noarch

How reproducible:
100%

Steps to Reproduce:
1. Launch an instance
2. Create share
3. Allow access
4. Create snapshot from the share
5. Create share from the snapshot
6. Allow access
6. Perform ssh to instance
7. Mount share
8. Try to create a file by touch command

[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ mount | grep 172.17.5.118
172.17.5.118:/volumes/_nogroup/ee22821d-217f-4448-9c0d-7affd8016c83/bbc37679-dbc0-415a-a94c-dc1b10303ec6 on /mnt/parent type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.17.5.193,local_lock=none,addr=172.17.5.118)
172.17.5.118:/volumes/_nogroup/55e5ae8b-8a0a-41b5-a6de-621d553a295f/5dde0706-e0e9-4067-a4c8-967e9520f617 on /mnt/child type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=172.17.5.193,local_lock=none,addr=172.17.5.118)
[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ ll
total 0
[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ sudo touch file1
[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ ll
total 0
[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ sudo touch file2
[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ ll
total 0
[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ sudo touch file3
[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ ll
total 0

9. Create file by vi command

[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ sudo vi file4
[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ ll
total 0
-rw-r--r--. 1 nobody nobody 0 Aug 15 05:19 file1
-rw-r--r--. 1 nobody nobody 0 Aug 15 05:19 file2
-rw-r--r--. 1 nobody nobody 0 Aug 15 05:19 file3
-rw-r--r--. 1 nobody nobody 0 Aug 15 05:20 file4

10. Now try again to create a file by touch command

[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ sudo touch file5

All created files are displayed

[manila@tempest-testsharebasicopsnfs-server-880731321 child]$ ll
total 0
-rw-r--r--. 1 nobody nobody 0 Aug 15 05:19 file1
-rw-r--r--. 1 nobody nobody 0 Aug 15 05:19 file2
-rw-r--r--. 1 nobody nobody 0 Aug 15 05:19 file3
-rw-r--r--. 1 nobody nobody 0 Aug 15 05:20 file4
-rw-r--r--. 1 nobody nobody 0 Aug 15 05:20 file5

Actual results:
The file is't displayed

Expected results:
The file should be displayed

Tags: ganesha
Vida Haririan (vhariria)
tags: added: ganesha
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

Reproducible without manila: https://tracker.ceph.com/issues/57210

Since the ceph community is working on this issue; we'll use this LP bug as a tracker.

Revision history for this message
Vida Haririan (vhariria) wrote :
Vida Haririan (vhariria)
Changed in manila:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.