Bug #68640
openquincy: fsstress.sh workunit timeout with ceph-fuse
0%
Description
Seen in quincy run: /a/yuriw-2024-10-17_13:52:02-fs-wip-yuri12-testing-2024-10-16-1152-quincy-distro-default-smithi/7953768
From teuthology.log
2024-10-17T19:08:26.841 INFO:tasks.workunit.client.0.smithi083.stdout:5/890: dread d14/f16 [4194304,4194304] 0 2024-10-17T19:08:26.869 INFO:tasks.workunit.client.0.smithi083.stdout:5/891: dread f5 [0,4194304] 0 2024-10-17T19:08:26.902 INFO:tasks.ceph.osd.1.smithi083.stderr:2024-10-17T19:08:26.897+0000 7f9fe30ca700 -1 received signal: Hangup from /usr/bin/python3 /usr/bin/daemon-helper kill ceph-osd -f --cluster ceph -i 1 (PID: 24752) UID: 0 2024-10-17T19:08:26.904 INFO:tasks.workunit.client.0.smithi083.stdout:5/892: dread d14/d20/d22/d4a/d36/d5d/f62 [0,4194304] 0 2024-10-17T19:08:26.924 INFO:teuthology.orchestra.run.smithi083.stdout:ERROR: (22) Invalid argument
From the client log: remote/smithi083/log/ceph-client.0.33039.log.gz
2024-10-17T19:08:26.901+0000 7f5ee8ff9700 8 client.4908 _ll_forget 0x50000000252 1 2024-10-17T19:08:26.901+0000 7f5ee8ff9700 20 client.4908 _ll_put 0x7f5f31586a10 0x50000000252 1 -> 89 2024-10-17T19:08:27.593+0000 7f5f367fc700 20 client.4908 tick 2024-10-17T19:08:27.593+0000 7f5f367fc700 20 client.4908 collect_and_send_metrics 2024-10-17T19:08:27.593+0000 7f5f367fc700 20 client.4908 collect_and_send_global_metrics 2024-10-17T19:08:27.593+0000 7f5f367fc700 1 -- 192.168.0.1:0/2681935303 --> [v2:172.21.15.89:6838/2032943031,v1:172.21.15.89:6839/2032943031] -- client_metrics [client_metric_type: READ_LATENCY latency: 435.345736, avg_latency: 0.027584, sq_sum: 106802525161853856, count=15780][client_metric_type: WRITE_LATENCY latency: 27.421634, avg_latency: 0.000497, sq_sum: 285444657238328928, count=53741][client_metric_type: METADATA_LATENCY latency: 154.622867, avg_latency: 0.007681, sq_sum: 11064437044434354176, count=20117][client_metric_type: CAP_INFO cap_hits: 671194 cap_misses: 6354 num_caps: 0][client_metric_type: DENTRY_LEASE dlease_hits: 5462 dlease_misses: 110222 num_dentries: 13919][client_metric_type: OPENED_FILES opened_files: 1 total_inodes: 13737][client_metric_type: PINNED_ICAPS pinned_icaps: 13816 total_inodes: 13737][client_metric_type: OPENED_INODES opened_inodes: 1 total_inodes: 13737][client_metric_type: READ_IO_SIZES total_ops: 19295 total_size: 3092144579][client_metric_type: WRITE_IO_SIZES total_ops: 53741 total_size: 3984092381] v1 -- 0x7f5f28064000 con 0x55bfd60f1460
Not sure where EINVAL is coming from and the failure is actually a workunit timeout (the EINVAL might not be related then). Needs RCA.
VS Updated by Venky Shankar about 2 years ago
- Status changed from New to Triaged
- Assignee set to Milind Changire
Milind, please have a look.
MC Updated by Milind Changire about 2 years ago · Edited
this is happening during test unwinding
seems like the dir permissions for mnt.0 have become 000 ?
2024-10-18T01:43:15.747 DEBUG:teuthology.orchestra.run.smithi089:> find /home/ubuntu/cephtest -ls ; rmdir -- /home/ubuntu/cephtest
2024-10-18T01:43:15.753 INFO:teuthology.orchestra.run.smithi083.stdout: 1048601 4 drwxr-xr-x 3 ubuntu ubuntu 4096 Oct 18 01:43 /home/ubuntu/cephtest
2024-10-18T01:43:15.753 INFO:teuthology.orchestra.run.smithi083.stdout: 1182288 4 d--------- 2 ubuntu ubuntu 4096 Oct 17 19:02 /home/ubuntu/cephtest/mnt.0
2024-10-18T01:43:15.754 INFO:teuthology.orchestra.run.smithi083.stderr:find: '/home/ubuntu/cephtest/mnt.0': Permission denied
2024-10-18T01:43:15.755 INFO:teuthology.orchestra.run.smithi083.stderr:rmdir: failed to remove '/home/ubuntu/cephtest': Directory not empty
2024-10-18T01:43:15.755 DEBUG:teuthology.orchestra.run:got remote process result: 1
2024-10-18T01:43:15.756 ERROR:teuthology.run_tasks:Manager failed: internal.base
Traceback (most recent call last):
File "/home/teuthworker/src/git.ceph.com_teuthology_e2eb3a97c43341ca720d42f59fa1648ddab2267a/teuthology/task/internal/__init__.py", line 48, in base
yield
File "/home/teuthworker/src/git.ceph.com_teuthology_e2eb3a97c43341ca720d42f59fa1648ddab2267a/teuthology/run_tasks.py", line 160, in run_tasks
suppress = manager.__exit__(*exc_info)
File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__
next(self.gen)
File "/home/teuthworker/src/github.com_ceph_ceph-c_3e35f523895ca71fba36a26a406d03b7dec27b70/qa/tasks/ceph_fuse.py", line 173, in task
mount.umount_wait()
File "/home/teuthworker/src/github.com_ceph_ceph-c_3e35f523895ca71fba36a26a406d03b7dec27b70/qa/tasks/cephfs/fuse_mount.py", line 394, in umount_wait
run.wait([self.fuse_daemon], timeout)
File "/home/teuthworker/src/git.ceph.com_teuthology_e2eb3a97c43341ca720d42f59fa1648ddab2267a/teuthology/orchestra/run.py", line 473, in wait
check_time()
File "/home/teuthworker/src/git.ceph.com_teuthology_e2eb3a97c43341ca720d42f59fa1648ddab2267a/teuthology/contextutil.py", line 134, in __call__
raise MaxWhileTries(error_msg)
teuthology.exceptions.MaxWhileTries: reached maximum tries (150) after waiting for 900 seconds
MC Updated by Milind Changire about 2 years ago · Edited
2024-10-17T19:02:55.003 DEBUG:teuthology.orchestra.run.smithi083:> chmod 0000 /home/ubuntu/cephtest/mnt.0 2024-10-17T19:02:56.784 DEBUG:teuthology.orchestra.run.smithi083:> sudo chmod 1777 /home/ubuntu/cephtest/mnt.0
MC Updated by Milind Changire about 2 years ago
okay, this needs more investigation about why the fsstress.sh took 6 hours for the run
VS Updated by Venky Shankar about 2 years ago
Milind Changire wrote in #note-2:
this is happening during test unwinding
seems like the dir permissions formnt.0have become000?
That's done by I think mount.py in qa suite (last time I looked at it). So, the find (for removing snapshots I think) fails due to perm denied and then rmdir would fail since the directory is not empty.
[...]
VS Updated by Venky Shankar about 2 years ago
This is the tracker for the perm denied issue: https://tracker.ceph.com/issues/65766
VS Updated by Venky Shankar about 2 years ago
- Related to Bug #65766: qa: perm denied for runing find on cephtest dir added
MC Updated by Milind Changire about 2 years ago
Venky Shankar wrote in #note-5:
Milind Changire wrote in #note-2:
this is happening during test unwinding
seems like the dir permissions formnt.0have become000?That's done by I think mount.py in qa suite (last time I looked at it). So, the
find(for removing snapshots I think) fails due to perm denied and thenrmdirwould fail since the directory is not empty.
The find should run before the unmount i.e. before the 000 perms get restored
[...]
MC Updated by Milind Changire about 2 years ago
So this particular job (w/ec pools + thrash osds + fsstress) has been executed only once in the last year.
I probably need to look up more into the past to get comparative numbers. But, so far, it looks like this particular config has caused the job execution time to go beyond the normal 6h limit.
Also, I don't know if looking for comparative numbers further in the past would give us sensible data.
KS Updated by Konstantin Shalygin almost 2 years ago
- Backport changed from quincy,reef,squid to reef,squid
PD Updated by Patrick Donnelly over 1 year ago
- Target version deleted (
v20.0.0)
VS Updated by Venky Shankar 10 months ago
- Assignee changed from Milind Changire to Mahesh Mohan
- Tags (freeform) set to temp-assign
KS Updated by Konstantin Shalygin 8 months ago
- Backport changed from reef,squid to squid