Skip to content

qa: Fix nvmeof 'errors during thrashing' - #67804

Merged
VallariAg merged 3 commits into
ceph:mainfrom
VallariAg:wip-nvmeof-thrasher-fixes
Mar 23, 2026
Merged

VallariAg merged 3 commits into
ceph:mainfrom
VallariAg:wip-nvmeof-thrasher-fixes

Conversation

@VallariAg

Copy link
Copy Markdown
Member

This PR fixes 3 issues in teuthology nvmeof suite:

  1. Fixes: https://tracker.ceph.com/issues/75383

qa/tasks/nvmeof.py: Fix tharsher daemon_rm revival

Instead of "ceph orch daemon restart",
wait for daemon to come backup on it's own
during revival.
Also improve do_check retry logic.
And some logging improvements in nvmeof.thrasher task.

  1. Fixes: https://tracker.ceph.com/issues/75382

qa/tasks/nvmeof.py: retry do_check if gw in CREATED

In do_check(), ensure all the namespaces+listeners are
added in gateway (i.e. gateway not in CREATED state)
after gateway is restarted. This is to prevent going into
next iteration of thrashing while gateways are still being
updated.

  1. Fixes: https://tracker.ceph.com/issues/75179

qa: ignore NVMEOF_GATEWAY_DOWN in nvmeof_scalability.yaml

Sometimes during scale-up/scale-down, a gateway goes in
UNAVAILABLE state (which triggers NVMEOF_GATEWAY_DOWN warning)
for a couple of seconds and self-recovers.
In this, none of the scale test asserts fail.

So NVMEOF_GATEWAY_DOWN can be ignorelist, because scale test asserts
on expected gw count and checks if all expected gws are AVAILABLE
between each iteration of scale-up/scale-down.

  1. Improve some logging and timing of the thrasher tests. Jobs with 900 namespaces take time to redeploy/update and add all 900 namespaces again.

Result: https://pulpito.ceph.com/vallariag-2026-03-14_13:17:10-nvmeof-main-distro-default-trial/

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

Instead of "ceph orch daemon restart",
wait for daemon to come backup on it's own
during revival.
Also improve do_check retry logic.
And some logging improvements in nvmeof.thrasher task.

Fixes: https://tracker.ceph.com/issues/75383

Signed-off-by: Vallari Agrawal <[email protected]>
In do_check(), ensure all the namespaces+listeners are
added in gateway (i.e. gateway not in CREATED state)
after gateway is restarted. This is to prevent going into
next iteration of tharshing while gateways are still being
updated.

Fixes: https://tracker.ceph.com/issues/75382

Signed-off-by: Vallari Agrawal <[email protected]>
Sometimes during scale-up/scale-down, a gateway goes in
UNAVAILABLE state (which triggers NVMEOF_GATEWAY_DOWN warning)
for a couple of seconds and self-recovers.
In this, none of the scale test asserts fail.

So NVMEOF_GATEWAY_DOWN can be ignorelist, because scale test asserts
on expected gw count and checks if all expected gws are AVAILABLE
between each iteration of scale-up/scale-down.

Fixes: https://tracker.ceph.com/issues/75179

Signed-off-by: Vallari Agrawal <[email protected]>
@VallariAg
VallariAg merged commit 9b8a9d1 into ceph:main Mar 23, 2026
7 checks passed
@github-actions

Copy link
Copy Markdown
        This is an automated message by src/script/redmine-upkeep.py.

        I found one or more `Fixes:` tags in the commit messages in

        `git log 9b8a9d14da91e8e67dbc64f92110bd0ee1f1e4b4^..9b8a9d14da91e8e67dbc64f92110bd0ee1f1e4b4`

        The referenced tickets are:

        * https://tracker.ceph.com/issues/75179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants