Commit Graph

163190 Commits

Author SHA1 Message Date
Oguzhan Ozmen
014487f584
Merge pull request #70299 from BBoozmen/wip-oozmen-78364
rgw/admin: guard bilog autotrim on non-exporting (archive) zones
2026-07-22 11:48:03 -04:00
Oguzhan Ozmen
9e160aa8f1
Merge pull request #70003 from BBoozmen/wip-oozmen-70858
rgw: fix bilog autotrim of stale bucket.instance metadata after peer deletion
2026-07-22 11:47:39 -04:00
Nathan Hoad
0f3412d97e
Merge pull request #68574 from nhoad/gc-shard-id
rgw: add support for --shard-id in gc process and gc list commands
2026-07-22 10:39:47 -04:00
Yuval Lifshitz
4b5506816b
Merge pull request #69666 from ShreeJejurikar/wip-rgw-kafka-4x-support
rgw: support kafka 4.x brokers
2026-07-22 17:26:53 +03:00
Jesse Williamson
4fab556e12
Merge pull request #70266 from chardan/jfw-rgw-libfdb-fixup
fixups for (EXPERIMENTAL) libfdb FoundationDB support
2026-07-22 06:31:25 -07:00
Casey Bodley
5dac2a7669
Merge pull request #69642 from lumir-sliva/rgw-lc-expiration-header-current-version
rgw/lc: report x-amz-expiration only for the current version

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2026-07-22 08:53:36 -04:00
mohit84
95a007b9a0
Merge pull request #69824 from mohit84/backfill_stuck
crimson/osd: fix backfill deadlock in BackfillState::Waiting

BackfillState::Enqueuing unconditionally posts RequestWaiting{}
when budget available return false. Waiting can exit only via
ObjectPushed which requires an in-flight push. If the budget
is exhausted with no pushes in flight no objectPush will ever
arrive and the PG stalls permanently.

Solution: Introduce a dedicated BudgetBlocked state. When
budget_available() is false and tracked_objects_completed()==true
post RequestBudgetBlocked{} instead of RequestWaiting{}.
BudgetBlocked calls get_backfill_throttle() to suspend until a slots 
free up, then fires BudgetAvailable{} which transitions directly back
to Enqueuing to dispatch the next batch of pushes.

Fixes: https://tracker.ceph.com/issues/77804
2026-07-22 17:56:12 +05:30
Pedro Gonzalez Gomez
93703c3971
Merge pull request #69218 from rhcs-dashboard/77030-control-flow-fix-pool-creation-page
mgr/dashboard: Fixing control flow on submit button for pool creation page

Reviewed-by: Abhishek Desai <abhishek.desai1@ibm.com>
Reviewed-by: Puja Shahu <pshahu@redhat.com>
Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-22 12:57:22 +02:00
Afreen Misbah
8e12637e36
Merge pull request #70419 from rhcs-dashboard/replace-gherkin-lint
Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-22 16:01:28 +05:30
Afreen Misbah
191bc2ac95
Merge pull request #69958 from rhcs-dashboard/fix-access-denied-issue
Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-22 15:59:17 +05:30
ShreeJejurikar
efe54523a4 rgw: support kafka 4.x brokers
librdkafka submodule

Vendors librdkafka v2.12.1 as a submodule (default) and teaches the
notification teuthology task to set up Kafka 4.x KRaft brokers. The
distro-shipped librdkafka 1.6.1 cannot SCRAM-auth against Kafka 4.x
brokers (#75900); the bundled version fixes that. Build with
WITH_SYSTEM_RDKAFKA=ON to opt back into the distro library (floor 2.6.1).
follwinf changes needed with teh submodule:
* build kafka_stub only in case of system librdkafka
* use the same header location in submodule and system
* supress compilation warning to avoid -WError issues

2.12.1 matches Fedora(44)'s current librdkafka-devel, so the vendored copy
tracks a version that distro packagers have already vetted rather than
whichever release happens to be latest upstream.

The teuthology version matrix picks one of {3.9.2, 4.1, 4.2, 4.3} per run.
3.9.2 covers the last Zookeeper-based release for the migration cohort.
4.1/4.2/4.3 track Apache's current three supported minor lines and are
resolved to the latest patch at test time via dlcdn.apache.org/kafka/, so
new patches within a supported minor need no PR update. A new minor line
(4.4) requires renaming one YAML.
* new java version (17) is needed for kafka 4.2 and up (we wil use it on
  all version)
* kerberos task need to run before the kafka install task

After pulling this branch, fetch the new submodule:

    git submodule update --init src/librdkafka

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

Signed-off-by: ShreeJejurikar <shreemj8@gmail.com>
Co-authored-by: Yuval Lifshitz <ylifshit@ibm.com>
2026-07-22 10:29:04 +00:00
Jaya Prakash
091c0d01da
Merge pull request #70391 from Jayaprakash-ibm/wip-bluefs-spillover-config-validation
common/options: restrict spillover configuration options to valid ranges

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
2026-07-22 14:18:46 +05:30
Hezko
12f33ad77c
Merge pull request #70035 from Hezko/fix-rbd-application
mgr/nvmeof: change pool application to nvmeof-meta instead of rbd
2026-07-22 11:42:13 +03:00
Afreen Misbah
7b29dcc7e6
Merge pull request #68495 from rhcs-dashboard/76169-inconsistant-tooltip-timestamp-format-performance-chart
Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-22 13:25:57 +05:30
Afreen Misbah
d840b598ba
Merge pull request #69829 from rhcs-dashboard/77813-admin-user-permissions
mgr/dashboard: restricting admin user to revoke its own admin permissions

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Sagar Gopale <sagar.gopale@ibm.com>
2026-07-22 13:21:15 +05:30
Afreen Misbah
df499f3134
Merge pull request #66607 from rhcs-dashboard/carbonized-import-modal
mgr/dashboard: carbonized-import-modal

Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Devika Babrekar <devika.babrekar@ibm.com>
2026-07-22 13:20:35 +05:30
Afreen Misbah
37a9e87bfc
Merge pull request #70412 from rhcs-dashboard/disable-telemetry
mgr/dashboard: disable ibm telemetry on CI env

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-22 13:04:07 +05:30
Nizamudeen A
0cbf62c035 mgr/dashboard: replace gherkin-lint with prettier
I checked a couple of gherkin linters as an alternative but all of them
are not really well maintained. There are couple of new projeects but
even they are simply maintained by a single guy so i don't think it'll
get enough contributions later on. So instead, I am moving it to
prettier. Although we miss some functional validation, it'll take care
of some basic formatting.

Fixes: https://tracker.ceph.com/issues/78528
Signed-off-by: Nizamudeen A <nia@redhat.com>
2026-07-22 12:31:32 +05:30
Nizamudeen A
674605736a
Merge pull request #70361 from rhcs-dashboard/login-username-issue
mgr/dashboard: New dashboard user creation is successful with long characters > 256 but login fails


Reviewed-by: Nizamudeen A <nia@redhat.com>
2026-07-22 12:15:42 +05:30
Nizamudeen A
0690deaa34 mgr/dashboard: disable ibm telemetry on CI env
looks like ibm telemetry is being run when you do `npm install` on CI
env. here's disabling that

Signed-off-by: Nizamudeen A <nia@redhat.com>
2026-07-22 09:21:50 +05:30
Kefu Chai
57f86c05a0
Merge pull request #69964 from sunyuechi/fix-crimson-pg-recovery-exception-scope
crimson/osd/pg_recovery: fix exception handler scope in recover_missing

Reviewed-by: Kefu Chai <k.chai@proxmox.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
2026-07-22 09:04:46 +08:00
Yuri Weinstein
ccd0a90d4f
Merge pull request #70398 from yuriw/wip-yuriw-ptl-tool-auth-fail-fast
script/ptl-tool: fail fast and cleanly on invalid Redmine/GitHub credentials

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2026-07-21 16:56:30 -07:00
Yuri Weinstein
e04840b619
Merge pull request #70397 from yuriw/wip-yuriw-ptl-tool-new-qa-links
ptl-tool: add New QA Links to update-qa notification

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2026-07-21 16:39:59 -07:00
SrinivasaBharathKanta
4cb45f38b9
Merge pull request #70152 from sunyuechi/wip-osd-health-metrics-guard
osd: guard max_element end() deref in get_health_metrics
2026-07-22 04:41:48 +05:30
SrinivasaBharathKanta
d2003750cd
Merge pull request #70142 from sunyuechi/fix-ec-omap-iterator-invalidation
osd/ECBackend: fix iterator invalidation in omap_get
2026-07-22 04:41:04 +05:30
Tomer Haskalovitch
a2057e2ea0 mgr/nvmeof: change pool application to nvmeof-meta instead of rbd
Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
2026-07-21 23:04:58 +03:00
Yuri Weinstein
f65b96c097 script/ptl-tool: add unit tests for the credential fail-fast fix
Extract the Redmine auth check added in the previous commit into a
standalone verify_redmine_auth(R) function so it can be unit tested
in isolation, and add src/script/test_ptl_tool.py covering:

- verify_redmine_auth(): invalid key (AuthError), a key that
  authenticates but lacks permission (ForbiddenError), a valid key,
  and confirming unrelated Redmine errors (ServerError) still
  propagate normally rather than being misreported as a credentials
  problem.
- AuditReport.post_consolidated_review(): logs success on 2xx, logs
  an error (rather than failing silently) on a non-2xx GitHub
  response, never calls out to GitHub under --dry-run, and is a
  no-op when the report has no issues to post.

No behavior change to verify_redmine_auth() itself -- this is a pure
extraction plus tests. ptl-tool.py has no existing test suite, so
these are self-contained (mocked Redmine/requests, no network access,
no real git checkout needed) and run with plain pytest; see the
module docstring for the exact invocation.

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2026-07-21 09:58:00 -07:00
Yuri Weinstein
f7d688861a ptl-tool: use branch name as the QA link text, not a generic label
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2026-07-21 16:55:11 +00:00
Yuri Weinstein
8bb99f9aee script/ptl-tool: fail fast and cleanly on invalid Redmine/GitHub credentials
Invalid credentials were handled inconsistently:

- A missing GitHub/Redmine token was caught with a clear error at
  startup, but an invalid or expired one was not: the Redmine
  client is constructed lazily by python-redmine, so a bad
  ~/.redmine_key was never actually exercised until
  manage_qa_tracker() called R.project.get() -- which runs *after*
  PRs have been merged and the integration branch/tag has already
  been pushed to ceph-ci. The result was an unhandled traceback
  well after real side effects had already happened, with no
  actionable message.

- post_consolidated_review() posted the consolidated audit review
  to GitHub without checking the response status at all, so a bad
  or under-scoped token would fail silently there while every other
  GitHub write call in the file already checks status_code.

Fix both:

- Immediately after constructing the Redmine client, make a cheap
  R.user.get('current') call and catch AuthError/ForbiddenError,
  exiting with a clear message before any merging or pushing
  happens.
- Check the response status in post_consolidated_review() and log
  an error on failure, matching the pattern already used by the
  other GitHub POST call sites in this file.

Verified with py_compile plus live --dry-run runs against
tracker.ceph.com: a deliberately invalid PTL_TOOL_REDMINE_API_KEY
now exits 1 immediately with a clear message and no git side
effects, while a valid key proceeds exactly as before.

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2026-07-21 09:50:21 -07:00
Yuri Weinstein
7e5aa0a2c1 ptl-tool: add New QA Links to update-qa notification
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2026-07-21 16:39:20 +00:00
Afreen Misbah
04cea032ec
Merge pull request #68075 from syedali237/tests-rbd
mgr/dashboard (test) : RBD snapshot mirroring toggle test

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
2026-07-21 22:04:39 +05:30
Patrick Donnelly
091354ea59
Merge PR #70205 into main
* refs/pull/70205/head:
	script: s/Backports/Backport/

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2026-07-21 11:31:57 -04:00
Mykola Golub
ccd9d3e94b
Merge pull request #59902 from trociny/wip-68169
rgw_gc: don't fail when processing entry with nonexisting pool

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
2026-07-21 18:23:36 +03:00
Jaya Prakash
793b757d3d common/options: restrict spillover configuration options to valid ranges
Fixes: https://tracker.ceph.com/issues/78492

Signed-off-by: Jaya Prakash <jayaprakash@ibm.com>
2026-07-21 15:21:47 +00:00
Alex Ainscow
f0c13de500
Merge pull request #68939 from aainscow/zero_sized_object
test/osd: Fix event loop context violations in test fixtures

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
2026-07-21 16:13:58 +01:00
Yuri Weinstein
1cadb4cd14
Merge pull request #70350 from yuriw/wip-yuriw-ptl-tool-push-log
ptl-tool: log the ceph-ci push (and the equivalent git command)

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2026-07-21 07:48:50 -07:00
John Mulligan
d0bd301842
Merge pull request #70229 from Sodani/shsodani_exo_fix
mgr/smb: add support for RGW shares with external Ceph clusters

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Anoop C S <anoopcs@cryptolab.net>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2026-07-21 10:40:51 -04:00
Sridhar Seshasayee
b74a7f9db7
Merge pull request #70357 from sseshasa/wip-fix-ok-to-upgrade-min-pg-errmsg
mgr/DaemonServer: Make an ok-to-upgrade error message more generic

Reviewed-by: Nitzan Mordechai <nmordech@ibm.com>
2026-07-21 19:38:18 +05:30
Afreen Misbah
64e8dc794d
Merge pull request #69924 from syedali237/dashboard/notif-dest
mgr/dashboard : migrated notification destination tabs to resource pages

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Abhishek Desai <abhishek.desai1@ibm.com>
2026-07-21 19:13:29 +05:30
Afreen Misbah
0077832b38
Merge pull request #70244 from rhcs-dashboard/fix-e2e
Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-21 18:11:52 +05:30
Dnyaneshwari Talwekar
374e7a7796 mgr/dashboard: New dashboard user creation is successful with long characters > 256 but login fails
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>

Fixes: https://tracker.ceph.com/issues/78439
2026-07-21 17:42:50 +05:30
Afreen Misbah
e197383c91
Merge pull request #70214 from rhcs-dashboard/fix-78232-main
Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-21 17:24:27 +05:30
Sagar Gopale
2c133a33f5 mgr/dashboard: carbonized-import-modal
Fixes: https://tracker.ceph.com/issues/74162

Signed-off-by: Sagar Gopale <sagar.gopale@ibm.com>
2026-07-21 17:12:52 +05:30
Abhishek Desai
0d0a241ba7 mgr/dashboard: grant hosts read to block-manager role
Block-manager users were denied access to the NVMe/TCP page because
host listing APIs require hosts read permission.

Fixes: https://tracker.ceph.com/issues/77952
Signed-off-by: Abhishek Desai <adesai@redhat.com>
2026-07-21 17:08:56 +05:30
Afreen Misbah
dde3f89434
Merge pull request #70344 from rhcs-dashboard/fix-78423-main
mgr/dashboard: fix rgw service form realm/zg/zone selection

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-21 17:02:45 +05:30
Aashish Sharma
125bb2235e
Merge pull request #70216 from rhcs-dashboard/fix-78233-main
mgr/dashboard: set MOTD fails on FIPS enabled systems

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2026-07-21 15:03:15 +05:30
Syed Ali Ul Hasan
6db9394d1a mgr/dashboard: fix nfs toggle test
Fixes: https://tracker.ceph.com/issues/75986
Signed-off-by: Syed Ali Ul Hasan <syedaliulhasan19@gmail.com>
2026-07-21 14:51:47 +05:30
Afreen Misbah
8d446a82e1
Merge pull request #69830 from rhcs-dashboard/77815-smb-rate-limiting
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Sagar Gopale <sagar.gopale@ibm.com>
2026-07-21 14:41:23 +05:30
Afreen Misbah
8176a0ec08
Merge pull request #69430 from rhcs-dashboard/77369-ec-profile-creation-form-simplification
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Sagar Gopale <sagar.gopale@ibm.com>
2026-07-21 14:41:15 +05:30
Afreen Misbah
5f0c1234dc
Merge pull request #69639 from rhcs-dashboard/77570-disabling-multisite-actions-dropdown-for-readonly-user
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Sagar Gopale <sagar.gopale@ibm.com>
2026-07-21 14:41:07 +05:30