Project

General

Profile

Actions

Bug #48756

closed

qa: kclient does not synchronously write with O_DIRECT

Added by Patrick Donnelly over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
% Done:

0%

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

Description

796,v1:172.21.15.129:6801/31796] -- osd_op(unknown.0.0:1 4.4 4:321b7b00:::1000000025f.00000000:head [read 0~4194304] snapc 0=[] ondisk+read+known_if_redirected e31) v8 -- 0x55b4f4f38860 con 0x55b4f4f4db20
2020-12-24T23:40:51.054 INFO:tasks.workunit.client.0.smithi146.stderr:2020-12-24T23:40:51.040+0000 7f9e5d0b9700  1 --2- 172.21.15.146:0/2262435655 >> [v2:172.21.15.129:6800/31796,v1:172.21.15.129:6801/31796] conn(0x55b4f4f4db20 0x55b4f4f4df00 unknown :-1 s=BANNER_CONNECTING pgs=0 cs=0 l=1 rev1=0 rx=0 tx=0)._handle_peer_banner_payload supported=1 required=0
2020-12-24T23:40:51.055 INFO:tasks.workunit.client.0.smithi146.stderr:2020-12-24T23:40:51.041+0000 7f9e5d0b9700  1 --2- 172.21.15.146:0/2262435655 >> [v2:172.21.15.129:6800/31796,v1:172.21.15.129:6801/31796] conn(0x55b4f4f4db20 0x55b4f4f4df00 crc :-1 s=READY pgs=7 cs=0 l=1 rev1=1 rx=0 tx=0).ready entity=osd.1 client_cookie=0 server_cookie=0 in_seq=0 out_seq=0
2020-12-24T23:40:51.055 INFO:tasks.workunit.client.0.smithi146.stderr:2020-12-24T23:40:51.041+0000 7f9e5d0b9700  1 -- 172.21.15.146:0/2262435655 <== osd.1 v2:172.21.15.129:6800/31796 1 ==== osd_op_reply(1 1000000025f.00000000 [read 0~4194304] v0'0 uv0 ondisk = -2 ((2) No such file or directory)) v8 ==== 164+0+0 (crc 0 0 0) 0x7f9e58001a30 con 0x55b4f4f4db20
2020-12-24T23:40:51.055 INFO:tasks.workunit.client.0.smithi146.stderr:error getting cephfs_data/1000000025f.00000000: (2) No such file or directory
...
2020-12-24T23:40:51.058 INFO:tasks.workunit.client.0.smithi146.stderr:elraceback (most recent call last):
2020-12-24T23:40:51.058 INFO:tasks.workunit.client.0.smithi146.stderr:  File "/home/ubuntu/cephtest/clone.client.0/qa/workunits/fs/misc/direct_io.py", line 50, in <module>
2020-12-24T23:40:51.058 INFO:tasks.workunit.client.0.smithi146.stderr:    main()
2020-12-24T23:40:51.058 INFO:tasks.workunit.client.0.smithi146.stderr:  File "/home/ubuntu/cephtest/clone.client.0/qa/workunits/fs/misc/direct_io.py", line 33, in main
2020-12-24T23:40:51.058 INFO:tasks.workunit.client.0.smithi146.stderr:    raise RuntimeError("data were not written to object store directly")
2020-12-24T23:40:51.059 INFO:tasks.workunit.client.0.smithi146.stderr:RuntimeError: data were not written to object store directly
2020-12-24T23:40:51.059 DEBUG:teuthology.orchestra.run:got remote process result: 1

From: /ceph/teuthology-archive/pdonnell-2020-12-24_22:49:03-fs:workload-wip-pdonnell-testing-20201224.195406-distro-basic-smithi/5735662/teuthology.log

Haven't seen this in master yet. The test should probably be testing O_SYNC in any case as O_DIRECT does not normally imply O_SYNC.

Actions #2

Updated by Patrick Donnelly over 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 38776
Actions #3

Updated by Patrick Donnelly over 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF