Skip to content

qa/tasks/dnsmasq: set no-resolv on the systemd-resolved path - #70449

Merged
BBoozmen merged 1 commit into
ceph:mainfrom
BBoozmen:wip-oozmen-78572
Jul 27, 2026
Merged

BBoozmen merged 1 commit into
ceph:mainfrom
BBoozmen:wip-oozmen-78572

Conversation

@BBoozmen

@BBoozmen BBoozmen commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

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

On the systemd-resolved (debian) path, dnsmasq has only address= records and no upstream, so queries it can't answer locally are forwarded via /etc/resolv.conf which points back at systemd-resolved, which routes the cname domains back to dnsmasq. The resulting loop burns a 5s resolver retry per round trip which manifests itself in rgw s3tests on Ubuntu running too slow hitting the job timeout.

Set no_resolv on that path so dnsmasq answers authoritatively and never forwards. The rpm/NetworkManager path is unchanged, as dnsmasq there is the system resolver and must forward upstream.

NOTE: I need to make sure rgw/s3control and rgw/website suites ran on Ubuntu nodes!!!

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.

On the systemd-resolved (debian) path, dnsmasq has only address= records
and no upstream, so queries it can't answer locally are forwarded via
/etc/resolv.conf which points back at systemd-resolved, which routes
the cname domains back to dnsmasq. The resulting loop burns a 5s
resolver retry per round trip which manifests itself in rgw s3tests
on Ubuntu running too slow hitting the job timeout.

Set no_resolv on that path so dnsmasq answers authoritatively and never
forwards. The rpm/NetworkManager path is unchanged, as dnsmasq there is
the system resolver and must forward upstream.

Fixes: https://tracker.ceph.com/issues/78572
Signed-off-by: Oguzhan Ozmen <[email protected]>
@BBoozmen
BBoozmen requested a review from cbodley July 22, 2026 15:07
@BBoozmen BBoozmen self-assigned this Jul 22, 2026
@github-actions github-actions Bot added the tests label Jul 22, 2026

@cbodley cbodley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tyvm!

@BBoozmen BBoozmen added needs-qa wip-oozmen-testing for teuthology integration testing to be used via build-integration-branch.sh labels Jul 22, 2026
@cbodley cbodley added the rgw label Jul 22, 2026
@bluikko

bluikko commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

jenkins test docs

@BBoozmen

Copy link
Copy Markdown
Contributor Author

QA Test results

ceph-ci branch: https://github.com/ceph/ceph-ci/tree/wip-oozmen-dnsmasq-testing-2026-07-22-1519
Teuthology runs: https://pulpito.ceph.com/?sha1=b83e9b271a481c4824f339412ae2a7a7f3aad2bb

  • 1x Full RGW Suite: 80 PASS; 1 FAIL
    • Failed one is a known issue -> rgw/d4n/ -> rocky_10 -> yum install (infra) issue
  • Also submitted some extra s3/website and s3control suites as this issue surfaces in these suites when run on Ubuntu
    • 3x s3control -- which has 2 tests: http & https flavors
    • 1x website -- which has a single test

s3control & website suites:

Including the main RGW suite run and sub-suites

  • s3control: 2 (http/https) x 4 => 8 runs
  • website: 1 x 2 => 2 runs

Below table summarizes them per-OS.

Job ID Suite Proto OS Duration Status
388104 rgw:website http ubuntu 24.04 0:12:17 pass
388107 rgw:s3control http ubuntu 22.04 0:16:32 pass
388012 rgw/s3control http ubuntu 22.04 0:16:51 pass
388051 rgw/s3control https ubuntu 24.04 0:22:35 pass
388095 rgw:s3control https ubuntu 22.04 0:24:02 pass
388085 rgw:s3control https ubuntu 22.04 0:24:05 pass
388108 rgw:s3control https ubuntu 22.04 0:24:35 pass
388021 rgw/website http rocky 10.1 0:12:15 pass
388084 rgw:s3control http rocky 10.1 0:15:14 pass
388094 rgw:s3control http centos 9.stream 0:17:17 pass
  • s3control both http/https ran on Ubuntu => completed < 20m
  • website ran on Ubuntu => completed < 20m
  • Both also ran on other OS flavors normally.

@BBoozmen BBoozmen added TESTED and removed wip-oozmen-testing for teuthology integration testing to be used via build-integration-branch.sh needs-qa labels Jul 27, 2026
@BBoozmen
BBoozmen merged commit 993f3f7 into ceph:main Jul 27, 2026
16 of 19 checks passed
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