Bug #71701
closedPOOL_NEARFULL warning with fs:mirror (test_peer_commands_with_mirroring_disabled failure)
0%
Description
Also, another failure where the OSD crashes due to disk limit being hit: https://pulpito.ceph.com/vshankar-2025-06-16_05:20:32-fs-wip-vshankar-testing-20250604.145504-squid-debug-testing-default-smithi/8330502
Looks to me that this is only seen in squid.
VS Updated by Venky Shankar over 1 year ago
- Subject changed from squid: POOL_NEARFULL warning with fs:mirror to squid: POOL_NEARFULL warning with fs:mirror (test_cephfs_mirror_restart_sync_on_blocklist failure)
VS Updated by Venky Shankar over 1 year ago
- Subject changed from squid: POOL_NEARFULL warning with fs:mirror (test_cephfs_mirror_restart_sync_on_blocklist failure) to POOL_NEARFULL warning with fs:mirror (test_cephfs_mirror_restart_sync_on_blocklist failure)
- Backport set to tentacle,squid
Seen I main branch run: https://pulpito.ceph.com/vshankar-2025-06-19_03:28:57-fs-wip-vshankar-testing-20250618.123141-debug-testing-default-smithi/8335991
So, this is not squid only. @Jos Collin PTAL.
VS Updated by Venky Shankar over 1 year ago
- Component(FS) cephfs-mirror added
VS Updated by Venky Shankar over 1 year ago
- Target version set to v21.0.0
JC Updated by Jos Collin over 1 year ago
Venky Shankar wrote in #note-2:
Seen I main branch run: https://pulpito.ceph.com/vshankar-2025-06-19_03:28:57-fs-wip-vshankar-testing-20250618.123141-debug-testing-default-smithi/8335991
So, this is not squid only. @Jos Collin PTAL.
It should be the size of the files we create. But sometimes it's necessary to get the right status. I'll take a closer look.
VS Updated by Venky Shankar over 1 year ago
Jos Collin wrote in #note-5:
Venky Shankar wrote in #note-2:
Seen I main branch run: https://pulpito.ceph.com/vshankar-2025-06-19_03:28:57-fs-wip-vshankar-testing-20250618.123141-debug-testing-default-smithi/8335991
So, this is not squid only. @Jos Collin PTAL.
It should be the size of the files we create. But sometimes it's necessary to get the right status. I'll take a closer look.
OK. In that case maybe the mirror daemon test yamls should use a relatively larger cluster.
JC Updated by Jos Collin over 1 year ago ยท Edited
- Subject changed from POOL_NEARFULL warning with fs:mirror (test_cephfs_mirror_restart_sync_on_blocklist failure) to POOL_NEARFULL warning with fs:mirror (test_peer_commands_with_mirroring_disabled failure)
From the logs, this issue occurred in test_peer_commands_with_mirroring_disabled in squid and in main branch. Changing the Subject title.
This is the last test function in test_mirroring.py, which doesn't create any files. So probably, it's caused by one of the previous test functions.
@Venky Shankar WDYT?
JC Updated by Jos Collin over 1 year ago
From the ceph-mgr logs:
2025-06-19T05:32:28.331+0000 7fc79b891640 10 mon.a@0(leader).osd e196 encode_pending marking pool '.mgr's as nearfull 2025-06-19T05:32:28.331+0000 7fc79b891640 10 mon.a@0(leader).osd e196 encode_pending marking pool 'cephfs_metadata's as nearfull 2025-06-19T05:32:28.331+0000 7fc79b891640 10 mon.a@0(leader).osd e196 encode_pending marking pool 'cephfs_data's as nearfull 2025-06-19T05:32:28.331+0000 7fc79b891640 10 mon.a@0(leader).osd e196 encode_pending marking pool 'backup_fs_metadata's as nearfull 2025-06-19T05:32:28.331+0000 7fc79b891640 10 mon.a@0(leader).osd e196 encode_pending marking pool 'backup_fs_data's as nearfull 2025-06-19T05:32:28.331+0000 7fc79b891640 10 mon.a@0(leader).osd e196 encode_pending encoding full map with tentacle features 1081999158742690308 2025-06-19T05:32:28.331+0000 7fc79b891640 20 mon.a@0(leader).osd e196 encode_pending mon is running version: 20.3.0-980-gcb8d52a3 2025-06-19T05:32:28.331+0000 7fc79b891640 20 mon.a@0(leader).osd e196 full_crc 3352803881 inc_crc 3695646557 2025-06-19T05:32:28.331+0000 7fc79b891640 10 mon.a@0(leader) e1 log_health updated 2 previous 0 2025-06-19T05:32:28.331+0000 7fc79b891640 0 log_channel(cluster) log [WRN] : Health check failed: 1 nearfull osd(s) (OSD_NEARFULL) 2025-06-19T05:32:28.331+0000 7fc79b891640 1 -- [v2:172.21.15.32:3300/0,v1:172.21.15.32:6789/0] --> [v2:172.21.15.32:3300/0,v1:172.21.15.32:6789/0] -- log(1 entries from seq 1876 at 2025-06-19T05:32:28.333148+0000) -- 0x56296a229400 con 0x562968b09800 2025-06-19T05:32:28.331+0000 7fc79b891640 0 log_channel(cluster) log [WRN] : Health check failed: 5 pool(s) nearfull (POOL_NEARFULL)
VS Updated by Venky Shankar over 1 year ago
Jos Collin wrote in #note-7:
From the logs, this issue occurred in test_peer_commands_with_mirroring_disabled in squid and in main branch. Changing the Subject title.
This is the last test function in test_mirroring.py, which doesn't create any files. So probably, it's caused by one of the previous test functions.@Venky Shankar WDYT?
Yes, that is possible.
VS Updated by Venky Shankar over 1 year ago
The OSDs crash since it hits ENOSPC.
2025-07-01T09:08:12.248 INFO:tasks.ceph.osd.2.smithi070.stderr:2025-07-01T09:08:12.246+0000 7f96927e3640 -1 bdev(0x55e2e4c9ec00 /var/lib/ceph/osd/ceph-2/block) _aio_thread got r=-28 ((28) No space left on device)
2025-07-01T09:08:12.249 INFO:tasks.ceph.osd.2.smithi070.stderr:/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/19.2.2-1310-gbdcfe318/rpm/el9/BUILD/ceph-19.2.2-1310-gbdcfe318/src/blk/kernel/KernelDevice.cc: In function 'void KernelDevice::_aio_thread()' thread 7f96927e3640 time 2025-07-01T09:08:12.247815+0000
2025-07-01T09:08:12.249 INFO:tasks.ceph.osd.2.smithi070.stderr:/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/19.2.2-1310-gbdcfe318/rpm/el9/BUILD/ceph-19.2.2-1310-gbdcfe318/src/blk/kernel/KernelDevice.cc: 687: ceph_abort_msg("Unexpected IO error. This may suggest a hardware issue. Please check your kernel log!")
2025-07-01T09:08:12.249 INFO:tasks.ceph.osd.2.smithi070.stderr: ceph version 19.2.2-1310-gbdcfe318 (bdcfe31885c3158e763f936201d17415cd373935) squid (stable)
2025-07-01T09:08:12.249 INFO:tasks.ceph.osd.2.smithi070.stderr: 1: (ceph::__ceph_abort(char const*, int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xb6) [0x55e2e043d0e4]
2025-07-01T09:08:12.249 INFO:tasks.ceph.osd.2.smithi070.stderr: 2: (KernelDevice::_aio_thread()+0x11f9) [0x55e2e0e3b6b9]
2025-07-01T09:08:12.249 INFO:tasks.ceph.osd.2.smithi070.stderr: 3: ceph-osd(+0xe00831) [0x55e2e0e3b831]
2025-07-01T09:08:12.249 INFO:tasks.ceph.osd.2.smithi070.stderr: 4: /lib64/libc.so.6(+0x8a3b2) [0x7f969f68a3b2]
2025-07-01T09:08:12.250 INFO:tasks.ceph.osd.2.smithi070.stderr: 5: /lib64/libc.so.6(+0x10f430) [0x7f969f70f430]
2025-07-01T09:08:12.250 INFO:tasks.ceph.osd.2.smithi070.stderr:2025-07-01T09:08:12.247+0000 7f96927e3640 -1 /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/19.2.2-1310-gbdcfe318/rpm/el9/BUILD/ceph-19.2.2-1310-gbdcfe318/src/blk/kernel/KernelDevice.cc: In function 'void KernelDevice::_aio_thread()' thread 7f96927e3640 time 2025-07-01T09:08:12.247815+0000
2025-07-01T09:08:12.250 INFO:tasks.ceph.osd.2.smithi070.stderr:/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/19.2.2-1310-gbdcfe318/rpm/el9/BUILD/ceph-19.2.2-1310-gbdcfe318/src/blk/kernel/KernelDevice.cc: 687: ceph_abort_msg("Unexpected IO error. This may suggest a hardware issue. Please check your kernel log!")
JC Updated by Jos Collin about 1 year ago
Venky Shankar wrote in #note-10:
@Venky ShankarThe OSDs crash since it hits ENOSPC.
[...]
This error/warning should be due to the size of the files we create for testing.
There are 3 places in the qa test, where we create huge files:
- test_cephfs_mirror_cancel_sync - 100GB
- test_cephfs_mirror_restart_sync_on_blocklist - 8GB
- test_cephfs_mirror_cancel_mirroring_and_readd - 12 GB
Here the 100GB in test_cephfs_mirror_cancel_sync is completely unnecessary. 10GB would do the same to make self.check_peer_snap_in_progress pass.
The same thing for test_cephfs_mirror_restart_sync_on_blocklist also, but I think 8GB is fine.
JC Updated by Jos Collin about 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 65950
UB Updated by Upkeep Bot 6 months ago
- Status changed from Fix Under Review to Pending Backport
- Merge Commit set to b76b2c3b3d3893584f37d811b597afe499196506
- Fixed In set to v21.0.0-2083-gb76b2c3b3d
- Upkeep Timestamp set to 2026-06-08T04:37:08+00:00
UB Updated by Upkeep Bot 6 months ago
- Copied to Backport #77213: tentacle: POOL_NEARFULL warning with fs:mirror (test_peer_commands_with_mirroring_disabled failure) added
UB Updated by Upkeep Bot 6 months ago
- Copied to Backport #77214: squid: POOL_NEARFULL warning with fs:mirror (test_peer_commands_with_mirroring_disabled failure) added
UB Updated by Upkeep Bot 6 months ago
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Backporting
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-06-08T04:37:08+00:00 to 2026-08-27T18:33:46+00:00
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~266
- Upkeep Timestamp changed from 2026-08-27T18:33:46+00:00 to 2026-10-24T01:18:13+00:00
UB Updated by Upkeep Bot 29 days ago
- Released In changed from v21.2.0~266 to v21.2.0~267
- Upkeep Timestamp changed from 2026-10-24T01:18:13+00:00 to 2026-11-04T01:10:50+00:00