Add auto listeners with --network-mask#1381
Merged
VallariAg merged 10 commits intoceph:develfrom Dec 17, 2025
Merged
Conversation
a87d303 to
de6e51c
Compare
14 tasks
de6e51c to
2fbcf5e
Compare
de6ee71 to
2677ca0
Compare
6 tasks
2677ca0 to
50b5440
Compare
50b5440 to
be38703
Compare
6 tasks
be38703 to
81c6dae
Compare
Member
Author
|
auto-listeners: secure listeners: During update, auto-listeners are created after normal listeners are created, preserving the order of subsystem -> host -> namespaces -> listeners. |
c83f863 to
c5d1004
Compare
14 tasks
gbregman
requested changes
Nov 19, 2025
Collaborator
gbregman
left a comment
There was a problem hiding this comment.
Seems OK but there are some minor comments.
c362b16 to
180335a
Compare
gbregman
requested changes
Dec 8, 2025
473a53c to
af03176
Compare
gbregman
approved these changes
Dec 15, 2025
af03176 to
53f9a06
Compare
Return result of new 'nvme-gw listeners' mon command. Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
This method picks IP address from host which belong to 'subnet' which would be in CIDR notation. Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
Optional '--network-mask' param accepts CIDR subnet input. This automatically add listeners for that subsystem on each host, by picking IPs within the given subnet. Optional boolean '--secure-listeners' param means that all auto-listeners created would be secure listeners. This commit also ensures "listeners list" and "nvme discover" also display these auto-listeners. Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
Show listeners form OMAP, if "nvme-gw listeners" cmd fails. To add backport compatibility. Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
And fix host_name for auto-listeners in "list_listeners" grpc method. Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
During updates, ensure the auto-listeners are created after namespaces like normal listeners. Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
Also in gateway.proto, add 'custom' to listener_info Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
9f3f4b4 to
4569bb8
Compare
Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
4569bb8 to
6e9dd5f
Compare
This was referenced Dec 29, 2025
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.
Fixes: https://tracker.ceph.com/issues/71860
ceph PR: ceph/ceph#64210