Project

General

Profile

Actions

Bug #76980

closed
LF EZ

qa/workunits/mon/pg_autoscaler.sh: autoscaler test fails when pool does not reach target PG number in time

Bug #76980: qa/workunits/mon/pg_autoscaler.sh: autoscaler test fails when pool does not reach target PG number in time

Added by Laura Flores 6 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v21.0.0-2111-g6d92b5650e
Released In:
v21.2.0~254
Upkeep Timestamp:
2026-10-24T01:45:32+00:00

Description

description: rados/singleton/{all/pg-autoscaler mon_election/classic msgr-failures/few
msgr/async-v1only objectstore/{bluestore/{alloc$/{bitmap} base mem$/{normal-1} onode-segment$/{none}
write$/{random/{compr$/{no$/{no}} random}}}} rados supported-random-distro/{rpm_latest}}
/a/skanta-2026-05-27_06:21:57-rados-wip-bharath4-testing-2026-05-27-1003-distro-default-trial/239873

In this test, it appears that we are waiting for pool 'data0' to reach a target PG number of 128, but it never reaches this number:

2026-05-27T07:07:14.738 INFO:tasks.workunit.client.0.trial025.stderr:++ echo 'x=l(192)/l(2); scale=0; 2^(x/1)'
2026-05-27T07:07:14.738 INFO:tasks.workunit.client.0.trial025.stderr:++ bc -l
2026-05-27T07:07:14.739 INFO:tasks.workunit.client.0.trial025.stderr:+ TARGET_PG_2=128
2026-05-27T07:07:14.739 INFO:tasks.workunit.client.0.trial025.stderr:+ wait_for 300 'ceph osd pool get data0 pg_num | grep 128'
...
2026-05-27T07:13:27.153 INFO:tasks.workunit.client.0.trial025.stderr:+ sec=3
2026-05-27T07:13:27.153 INFO:tasks.workunit.client.0.trial025.stderr:+ '[' 3 -eq 0 ']'
2026-05-27T07:13:27.153 INFO:tasks.workunit.client.0.trial025.stderr:+ sleep 1 
2026-05-27T07:13:28.154 INFO:tasks.workunit.client.0.trial025.stderr:+ true
2026-05-27T07:13:28.154 INFO:tasks.workunit.client.0.trial025.stderr:+ bash -c 'ceph osd pool get data0 pg_num | grep 128'
2026-05-27T07:13:28.391 INFO:tasks.workunit.client.0.trial025.stderr:+ sec=2
2026-05-27T07:13:28.391 INFO:tasks.workunit.client.0.trial025.stderr:+ '[' 2 -eq 0 ']'
2026-05-27T07:13:28.391 INFO:tasks.workunit.client.0.trial025.stderr:+ sleep 1 
2026-05-27T07:13:29.392 INFO:tasks.workunit.client.0.trial025.stderr:+ true
2026-05-27T07:13:29.392 INFO:tasks.workunit.client.0.trial025.stderr:+ bash -c 'ceph osd pool get data0 pg_num | grep 128'
2026-05-27T07:13:29.631 INFO:tasks.workunit.client.0.trial025.stderr:+ sec=1
2026-05-27T07:13:29.631 INFO:tasks.workunit.client.0.trial025.stderr:+ '[' 1 -eq 0 ']'
2026-05-27T07:13:29.631 INFO:tasks.workunit.client.0.trial025.stderr:+ sleep 1 
2026-05-27T07:13:30.632 INFO:tasks.workunit.client.0.trial025.stderr:+ true
2026-05-27T07:13:30.632 INFO:tasks.workunit.client.0.trial025.stderr:+ bash -c 'ceph osd pool get data0 pg_num | grep 128'
2026-05-27T07:13:30.871 INFO:tasks.workunit.client.0.trial025.stderr:+ sec=0
2026-05-27T07:13:30.871 INFO:tasks.workunit.client.0.trial025.stderr:+ '[' 0 -eq 0 ']'
2026-05-27T07:13:30.871 INFO:tasks.workunit.client.0.trial025.stderr:+ echo failed 
2026-05-27T07:13:30.871 INFO:tasks.workunit.client.0.trial025.stderr:+ return 1
2026-05-27T07:13:30.872 DEBUG:teuthology.orchestra.run:got remote process result: 1
2026-05-27T07:13:30.873 INFO:tasks.workunit.client.0.trial025.stdout:failed 
2026-05-27T07:13:30.873 INFO:tasks.workunit:Stopping ['mon/pg_autoscaler.sh'] on client.0...

Looks connected to the changes in https://github.com/ceph/ceph/pull/67551. It was tested before merging, but this error was missed in the initial review.

LF Updated by Laura Flores 6 months ago Actions #1

  • Assignee set to Kamoltat (Junior) Sirivadhna

LF Updated by Laura Flores 6 months ago Actions #2

  • Assignee changed from Kamoltat (Junior) Sirivadhna to Eric Zhang

LF Updated by Laura Flores 6 months ago Actions #3

  • Description updated (diff)

LF Updated by Laura Flores 6 months ago ยท Edited Actions #4

Same symptom, but for a different pool:

/a/skanta-2026-05-27_06:21:57-rados-wip-bharath4-testing-2026-05-27-1003-distro-default-trial/239861

2026-05-27T07:02:20.088 INFO:tasks.workunit.client.0.trial035.stderr:+ sec=3
2026-05-27T07:02:20.088 INFO:tasks.workunit.client.0.trial035.stderr:+ '[' 3 -eq 0 ']'
2026-05-27T07:02:20.088 INFO:tasks.workunit.client.0.trial035.stderr:+ sleep 1
2026-05-27T07:02:21.088 INFO:tasks.workunit.client.0.trial035.stderr:+ true
2026-05-27T07:02:21.089 INFO:tasks.workunit.client.0.trial035.stderr:+ bash -c 'ceph osd pool get bulk0 pg_num | grep 128'
2026-05-27T07:02:21.333 INFO:tasks.workunit.client.0.trial035.stderr:+ sec=2
2026-05-27T07:02:21.333 INFO:tasks.workunit.client.0.trial035.stderr:+ '[' 2 -eq 0 ']'
2026-05-27T07:02:21.333 INFO:tasks.workunit.client.0.trial035.stderr:+ sleep 1
2026-05-27T07:02:22.334 INFO:tasks.workunit.client.0.trial035.stderr:+ true
2026-05-27T07:02:22.334 INFO:tasks.workunit.client.0.trial035.stderr:+ bash -c 'ceph osd pool get bulk0 pg_num | grep 128'
2026-05-27T07:02:22.584 INFO:tasks.workunit.client.0.trial035.stderr:+ sec=1
2026-05-27T07:02:22.584 INFO:tasks.workunit.client.0.trial035.stderr:+ '[' 1 -eq 0 ']'
2026-05-27T07:02:22.584 INFO:tasks.workunit.client.0.trial035.stderr:+ sleep 1
2026-05-27T07:02:23.584 INFO:tasks.workunit.client.0.trial035.stderr:+ true
2026-05-27T07:02:23.584 INFO:tasks.workunit.client.0.trial035.stderr:+ bash -c 'ceph osd pool get bulk0 pg_num | grep 128'
2026-05-27T07:02:23.831 INFO:tasks.workunit.client.0.trial035.stderr:+ sec=0
2026-05-27T07:02:23.831 INFO:tasks.workunit.client.0.trial035.stderr:+ '[' 0 -eq 0 ']'          
2026-05-27T07:02:23.831 INFO:tasks.workunit.client.0.trial035.stdout:failed
2026-05-27T07:02:23.831 DEBUG:teuthology.orchestra.run:got remote process result: 1
2026-05-27T07:02:23.831 INFO:tasks.workunit.client.0.trial035.stderr:+ echo failed
2026-05-27T07:02:23.831 INFO:tasks.workunit.client.0.trial035.stderr:+ return 1
2026-05-27T07:02:23.831 INFO:tasks.workunit:Stopping ['mon/pg_autoscaler.sh'] on client.0...
2026-05-27T07:02:23.832 DEBUG:teuthology.orchestra.run.trial035:> sudo rm -rf -- /home/ubuntu/cephtest/workunits.list.client.0 /home/ubuntu/cephtest/clone.client.0
2026-05-27T07:02:24.198 ERROR:teuthology.run_tasks:Saw exception from tasks.

EZ Updated by Eric Zhang 6 months ago Actions #5

  • Pull request ID set to 69176

LF Updated by Laura Flores 6 months ago Actions #6

  • Status changed from New to Fix Under Review

LF Updated by Laura Flores 6 months ago Actions #7

Fix is under review.

AM Updated by Aishwarya Mathuria 6 months ago Actions #8

/a/skanta-2026-06-02_04:58:02-rados-wip-bharath3-testing-2026-06-02-0837-distro-default-trial/253404
/a/skanta-2026-06-02_04:58:02-rados-wip-bharath3-testing-2026-06-02-0837-distro-default-trial/253416

JP Updated by Jaya Prakash 6 months ago Actions #9

/a/jayaprakash-2026-06-03_09:44:39-rados-wip-jaya-bs-faster-alloc-recovery-distro-default-trial
2 jobs: ['258902', '258911']

UB Updated by Upkeep Bot 6 months ago Actions #10

  • Status changed from Fix Under Review to Resolved
  • Merge Commit set to 6d92b5650ea212ef15176e52391e9457a3286206
  • Fixed In set to v21.0.0-2111-g6d92b5650e
  • Upkeep Timestamp set to 2026-06-08T19:13:47+00:00

LF Updated by Laura Flores 6 months ago Actions #11

/a/lflores-2026-06-05_19:26:14-rados-wip-lflores-testing-3-2026-06-05-1057-distro-default-trial/269103

(Run was scheduled before the fix was merged).

JP Updated by Jaya Prakash 6 months ago Actions #12

/a/jayaprakash-2026-06-05_10:50:55-rados-wip-jaya-bs-testing-03-06-2026-distro-default-trial
2 jobs: ['268307', '268298']
(Run was scheduled before the fix was merged).

CF Updated by Connor Fawcett 6 months ago Actions #13

/a/skanta-2026-06-04_09:53:35-rados-wip-bharath5-testing-2026-06-02-1032-distro-default-trial/263720
/a/skanta-2026-06-04_09:53:35-rados-wip-bharath5-testing-2026-06-02-1032-distro-default-trial/263732

UB Updated by Upkeep Bot about 1 month ago Actions #14

  • Released In set to v21.2.0~254
  • Upkeep Timestamp changed from 2026-06-08T19:13:47+00:00 to 2026-10-24T01:45:32+00:00
Actions

Also available in: PDF Atom