Skip to content

squid: librbd/migration/NativeFormat: support specifying mon_host and key via spec - #70284

Merged
batrick merged 4 commits into
ceph:squidfrom
idryomov:wip-68177-squid
Jul 27, 2026
Merged

batrick merged 4 commits into
ceph:squidfrom
idryomov:wip-68177-squid

Conversation

@idryomov

Copy link
Copy Markdown
Contributor

leonidc and others added 4 commits July 17, 2026 15:26
…a spec

migration:
           -take  secret_key from spec
           -take  mon_host from the spec
           -ignore source keyring, source ceph.conf - bypass them
           -added validations of the new way schema
           -get key from the KV DB if key in spec  is actually key-ref

Fixes: https://tracker.ceph.com/issues/68177
Signed-off-by: Leonid Chernin <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
(cherry picked from commit 705d865)
Currently client.admin is passed for client_name and that doesn't
exercise client_name handling much as client.admin is the default.

When deploying multiple clusters the ceph task distributes keyrings
with only the key for the initial monitor and client.admin key.  Other
keys (e.g. client.0) are present only on their respective clusters, so
client.0's key for cluster2 needs to be obtained on cluster1 explicitly
with "ceph auth get".

Signed-off-by: Ilya Dryomov <[email protected]>
(cherry picked from commit 047bbbf)
… NativeFormat)

Signed-off-by: Ilya Dryomov <[email protected]>
(cherry picked from commit c7fddec)

Conflicts:
	PendingReleaseNotes [ created >=19.2.6 section and moved there ]
@idryomov idryomov added this to the squid milestone Jul 17, 2026
@idryomov
idryomov requested review from a team as code owners July 17, 2026 13:44

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ceph Release Engineering Audit Report

Commit Parity Visualizer

BACKPORT PR #70284 SOURCE PR SOURCE STATUS
d11afe6 librbd/migration/NativeFormat: support specifying mon_host and key via spec PR #67968 705d865 librbd/migration/NativeFormat: support specifying mon_host and key via spec
f4a50c4 qa/suites/rbd: use client.0 entity in migration-external tests 047bbbf qa/suites/rbd: use client.0 entity in migration-external tests
7db08bd qa/suites/rbd: add mon_host + key[-ref] coverage to migration-external e246fad qa/suites/rbd: add mon_host + key[-ref] coverage to migration-external
d34955a doc/rbd: elaborate on key-ref syntax (existing in S3Stream and new in NativeFormat) c7fddec doc/rbd: elaborate on key-ref syntax (existing in S3Stream and new in NativeFormat)

Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.

This does not necessarily indicate an issue but a maintainer should review.

**Click to expand conflict summaries.**

Deviation in Backport d34955a (cherry-pick of c7fddec)

Affected File(s)

Range Diff

Click to expand
--- Original (c7fddec1)
+++ Backport (d34955a1)
@@ -1,3 +1,7 @@
 doc/rbd: elaborate on key-ref syntax (existing in S3Stream and new in NativeFormat)
 
 Signed-off-by: Ilya Dryomov <[email protected]>
+(cherry picked from commit c7fddec189e8c6eac08820b73ce44dbd795a28ae)
+
+Conflicts:
+	PendingReleaseNotes [ created >=19.2.6 section and moved there ]

================================================================================
RANGE DIFF
================================================================================

1:  c7fddec189e ! 1:  d34955a17aa doc/rbd: elaborate on key-ref syntax (existing in S3Stream and new in NativeFormat)
    @@ Commit message
         doc/rbd: elaborate on key-ref syntax (existing in S3Stream and new in NativeFormat)
     
         Signed-off-by: Ilya Dryomov <[email protected]>
    +    (cherry picked from commit c7fddec189e8c6eac08820b73ce44dbd795a28ae)
    +
    +    Conflicts:
    +            PendingReleaseNotes [ created >=19.2.6 section and moved there ]
     
      ## PendingReleaseNotes ##
     @@
    -   state and a subsequent redundancy loss occurs. Used in conjunction with
    -   ``last_clean``, the ``last_degraded`` timestamp enables the calculation of
    -   data vulnerability and durability scores.
    ++>=19.2.6
    ++
     +* RBD: It's possible to specify source cluster's ``mon_host`` and ``key`` for
     +  ``native`` format migration via the migration spec now.  This eliminates the
     +  dependency on ``<cluster-name>.conf`` file in a known location which is

How to proceed:

  • Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git Conflicts: block intact) and include an explanation for changes.
  • Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
  • Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting /audit override.

Be familiar with the rules and guidelines for writing backports.


🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 17, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 17, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @idryomov.

View workflow run

@idryomov idryomov added needs-qa releng-audit-fail Release engineering: failed backport verification audit. labels Jul 17, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 17, 2026
@yuriw

yuriw commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to wip-yuri9-testing-20260720.140823-squid.

@idryomov idryomov modified the milestones: squid, v19.2.6 Jul 20, 2026
@NitzanMordhai

Copy link
Copy Markdown
Contributor

@batrick
batrick merged commit 5c38919 into ceph:squid Jul 27, 2026
15 of 16 checks passed
@idryomov
idryomov deleted the wip-68177-squid branch July 27, 2026 17:29
yuriw added a commit to yuriw/ceph that referenced this pull request Oct 6, 2026
Use the full release note from the backport (ceph#70284) for the
librbd/migration native-format mon_host/key change, per review feedback.

Assisted-by: Claude
Signed-off-by: Yuri Weinstein <[email protected]>
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.

6 participants