Repository navigation
librbd/migration/NativeFormat: support specifying mon_host and key via spec - #67968
Conversation
bill-scales
left a comment
There was a problem hiding this comment.
Generally looks good, I think there's 1 bug and a couple of places where you probably shouldn't be logging the secret key plus a couple of nits.
86512cf to
9354b58
Compare
e502e88 to
29859e8
Compare
29859e8 to
844c4a9
Compare
7d34b9d to
94af871
Compare
94af871 to
faeae8a
Compare
faeae8a to
f7b32a7
Compare
|
@idryomov , I think that implemented all your last requests except the one that changes place of |
There is also one whitespace nit, I commented in that thread to bump it.
I commented in respective thread. Let's keep the discussion there so that it's clear which comments belong where and that the thread can be meaningfully resolved later. |
0ccf8b4 to
e0dbc2d
Compare
e0dbc2d to
47d74ac
Compare
|
I have addressed remaining whitespace nits, added some integration tests and updated documentation. |
|
|
jenkins test make check |
|
jenkins test windows |
…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]>
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]>
Signed-off-by: Ilya Dryomov <[email protected]>
… NativeFormat) Signed-off-by: Ilya Dryomov <[email protected]>
|
|
47d74ac to
c7fddec
Compare
|
|
|
jenkins test make check |
|
jenkins test windows |
migration:
-take secret_key from spec and store in KV
-take mon_host from the spec
-ignore source keyring, source ceph.conf - bypass them
-use random uuid as key for store secret key
-added validations of the schems in try_get_secret_key
TBC
-keyring-file, conf-file and cluster-name are excluded from the
spec for the new schema
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.