Repository navigation
squid: librbd/migration/NativeFormat: support specifying mon_host and key via spec - #70284
Conversation
…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)
Signed-off-by: Ilya Dryomov <[email protected]> (cherry picked from commit e246fad)
… NativeFormat) Signed-off-by: Ilya Dryomov <[email protected]> (cherry picked from commit c7fddec) Conflicts: PendingReleaseNotes [ created >=19.2.6 section and moved there ]
There was a problem hiding this comment.
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
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)
PendingReleaseNotes
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 isHow 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.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
✅ Audit Override Applied by @idryomov. |
|
This PR has been added to wip-yuri9-testing-20260720.140823-squid. |
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]>
backport tracker: https://tracker.ceph.com/issues/77907
backport of #67968
parent tracker: https://tracker.ceph.com/issues/68177