Project

General

Profile

Actions

Bug #71701

closed
VS JC

POOL_NEARFULL warning with fs:mirror (test_peer_commands_with_mirroring_disabled failure)

Bug #71701: POOL_NEARFULL warning with fs:mirror (test_peer_commands_with_mirroring_disabled failure)

Added by Venky Shankar over 1 year ago. Updated 29 days ago.

Status:
Backporting
Priority:
Normal
Assignee:
Category:
Testing
Target version:
Due date:
% Done:

0%

Source:
Q/A
Backport:
tentacle,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-mirror
Labels (FS):
qa, qa-failure
Pull request ID:
Tags (freeform):
Fixed In:
v21.0.0-2083-gb76b2c3b3d
Released In:
v21.2.0~267
Upkeep Timestamp:
2026-11-04T01:10:50+00:00


Related issues 2 (2 open — 0 closed)

Copied to CephFS - Backport #77213: tentacle: POOL_NEARFULL warning with fs:mirror (test_peer_commands_with_mirroring_disabled failure)Fix Under ReviewJos Collin

Actions
Copied to CephFS - Backport #77214: squid: POOL_NEARFULL warning with fs:mirror (test_peer_commands_with_mirroring_disabled failure)Fix Under ReviewJos Collin

Actions

VS Updated by Venky Shankar over 1 year ago Actions #1

  • 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 Actions #2

  • 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

VS Updated by Venky Shankar over 1 year ago Actions #3

  • Component(FS) cephfs-mirror added

VS Updated by Venky Shankar over 1 year ago Actions #4

  • Target version set to v21.0.0

JC Updated by Jos Collin over 1 year ago Actions #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.

VS Updated by Venky Shankar over 1 year ago Actions #6

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 Actions #7

  • 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 Actions #8

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 Actions #9

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 Actions #10

Likely related: https://pulpito.ceph.com/yuriw-2025-06-30_19:30:22-fs-squid-release-distro-default-smithi/8359545/

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 Actions #11

Venky Shankar wrote in #note-10:

Likely related: https://pulpito.ceph.com/yuriw-2025-06-30_19:30:22-fs-squid-release-distro-default-smithi/8359545/

The OSDs crash since it hits ENOSPC.

[...]

@Venky Shankar
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 Actions #12

  • Status changed from New to Fix Under Review
  • Pull request ID set to 65950

UB Updated by Upkeep Bot 6 months ago Actions #13

  • 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 Actions #14

  • 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 Actions #15

  • 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 Actions #16

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #17

  • 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 Actions #18

  • 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 Actions #19

  • 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
Actions

Also available in: PDF Atom