Repository navigation
V19.2.6 tag - #71162
Merged
Merged
V19.2.6 tag#71162
Conversation
Signed-off-by: Max Kellermann <[email protected]> (cherry picked from commit cae1af3)
Signed-off-by: Max Kellermann <[email protected]> (cherry picked from commit a143844)
Signed-off-by: Max Kellermann <[email protected]> (cherry picked from commit 988705a)
This allows eliminating one lookup in `_get_next_outgoing()` because we can pass the iterator instead of the key to `erase()`. Signed-off-by: Max Kellermann <[email protected]> (cherry picked from commit 342a25b)
Signed-off-by: Max Kellermann <[email protected]> (cherry picked from commit 6597d77)
Signed-off-by: Max Kellermann <[email protected]> (cherry picked from commit 62ebf16)
Signed-off-by: Max Kellermann <[email protected]> (cherry picked from commit 7fcb8a8)
Signed-off-by: Max Kellermann <[email protected]> (cherry picked from commit 10a9914)
Since `std::function` is nullable and as an `operator bool()`, we can easily eliminate the `std::optional` overhead. Signed-off-by: Max Kellermann <[email protected]> (cherry picked from commit c72dae9)
Signed-off-by: Max Kellermann <[email protected]> (cherry picked from commit 425fc4d)
Add utility to fetch TCP_INFO for a socket and a variant that pushes the data to a Formatter. Signed-off-by: Marcel Lauhoff <[email protected]> (cherry picked from commit f33c970)
Add dump() methods to the async messenger protocol layer. Export cipher and compressor name from the respective handlers to be able to export a human understandable information here. Signed-off-by: Marcel Lauhoff <[email protected]> (cherry picked from commit b478ff8)
Signed-off-by: Marcel Lauhoff <[email protected]> (cherry picked from commit 2176ec2)
Allow a caller to filter the dumped data at query time. Use filter() function argument in Messenger to make future changes easy. Add a tcp_info switch to the connection dump. Signed-off-by: Marcel Lauhoff <[email protected]> (cherry picked from commit 1881cc8)
Create admin socket command `messenger dump <name> [filter] [--tcp-info]` on messenger initialization. `<name>` is the human readable messenger name (e.g "client", "ms_objecter"). The filter argument allows partial dumping. `tcp_info` controls inclusion of TCP_INFO stats. Calling `messenger dump` without a messenger name returns a list of messengers. Signed-off-by: Marcel Lauhoff <[email protected]> (cherry picked from commit 4b7d437)
Add tests for the ceph tool to ensure messenger dump command basic functionality. Signed-off-by: Marcel Lauhoff <[email protected]> (cherry picked from commit 75a02c2)
Briefly document `messenger dump` feature with examples. Signed-off-by: Marcel Lauhoff <[email protected]> (cherry picked from commit 1becca7)
Signed-off-by: Marcel Lauhoff <[email protected]> (cherry picked from commit 2dd0059)
With including AsyncMessenger.h for testing the admin socket hook, 'atomic' becomes ambiguous. Use it from 'std' explicitly like other instances in this file already do. Signed-off-by: Marcel Lauhoff <[email protected]> (cherry picked from commit 453c11f)
Handle name collisions during the messenger dump registration by appending the messenger nonce. Always append it to "radosclient". Multiple librados connections are common in applications. This avoids the first registered librados messenger to look special. Signed-off-by: Marcel Lauhoff <[email protected]> (cherry picked from commit 36f2ed5)
These configs may be set using:
ceph:
cluster-config:
entity:
foo: bar
same as the current:
ceph:
config:
entity:
foo: bar
The configs will be set in parallel using the `ceph config set` command.
The main benefit here is to avoid using the ceph.conf to set configs which
cannot be overriden using subsequent `ceph config` command. The only way to
override is to change the ceph.conf in the test (yuck) or the admin socket
(which gets reset when the daemon restarts).
Finally, we can now exploit the `ceph config reset` command will let us
trivially rollback config changes after a test completes. That is exposed
as the `ctx.config_epoch` variable.
Signed-off-by: Patrick Donnelly <[email protected]>
(cherry picked from commit 9d485ae)
Signed-off-by: Yehuda Sadeh <[email protected]> Change-Id: 3999706c-f5a7-4ffc-bafe-db1853bdda00 (cherry picked from commit 0b504a0)
Using the encryption standard set in RFC 8009. This is the encryption that is used in Kerberos 5, so naming this variation as AES256KRB5. Signed-off-by: Yehuda Sadeh <[email protected]> Change-Id: 124b2b4f-df5c-4480-9d92-6503cf9caa9a (cherry picked from commit ceabe08)
Also move the encryption handlers out of the ceph_context. Handlers are now returned as a shared_ptr, to support the creation of new handlers with different params (such as the usage param). Signed-off-by: Yehuda Sadeh <[email protected]> Change-Id: be46227d-f8f8-4c7d-85ae-8a924177d675 (cherry picked from commit b7fb6ae) Conflicts: src/common/ceph_context.cc: cpu tracer command conflict
This applies when using ciphers that are not the original AES-128 one. Use the hmac-sha256 hash now. With AES256KRB5 the original method of encrypting the combined challenges doesn't work as the confounder randomizes the result. Signed-off-by: Yehuda Sadeh <[email protected]> Change-Id: 4612ee35-a936-4798-9679-86bd67e309eb (cherry picked from commit a390de3)
Signed-off-by: Yehuda Sadeh <[email protected]> Change-Id: f47e9a03-5721-49af-94fb-e26e529f357f (cherry picked from commit 70e9972)
This ensures that the client supports the specific key type. Signed-off-by: Yehuda Sadeh <[email protected]> Change-Id: af143cd0-5d8b-42ad-b058-beb014089cb3 (cherry picked from commit f7bbc83)
auth_service_cipher: a mon configurable that determines what type of cipher the rotating keys are using. The configurable can change at runtime. Note that the change does not invalidate existing keys, these would expire based on their ttl. Signed-off-by: Yehuda Sadeh <[email protected]> Change-Id: f3148ff2-19cb-431b-98c9-c4eec1d35c3e (cherry picked from commit 8b55ccf)
Signed-off-by: Yehuda Sadeh <[email protected]> Change-Id: c39cb463-5eb9-4242-bc2a-567587f3b8f7 (cherry picked from commit 2f5af5b)
cephx allowed ciphers: a list of ciphers that sets what type of keys are allowed to be used to authenticate Signed-off-by: Yehuda Sadeh <[email protected]> Change-Id: d2de7067-e284-44f5-8b79-b41fe4cb7f4a (cherry picked from commit e410edb)
yuriw
approved these changes
Aug 19, 2026
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
idryomov
approved these changes
Aug 19, 2026
4 of 14 tasks
adamemerson
approved these changes
Aug 19, 2026
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are:
Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.