Skip to content

grpc: use "network mask" in err msg#1833

Open
VallariAg wants to merge 1 commit intoceph:develfrom
VallariAg:network-mask-log-fix
Open

grpc: use "network mask" in err msg#1833
VallariAg wants to merge 1 commit intoceph:develfrom
VallariAg:network-mask-log-fix

Conversation

@VallariAg
Copy link
Copy Markdown
Member

Use "network mask" in error message instead
of "network_mask".

Fixes: #1832 (comment)

(cherry picked from commit e737040)

Copilot AI review requested due to automatic review settings March 24, 2026 08:56
@github-project-automation github-project-automation bot moved this to 🆕 New in NVMe-oF Mar 24, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR standardizes gRPC-facing error message wording by using the human-readable phrase “network mask” instead of the proto field name “network_mask”, and updates the related tests to match.

Changes:

  • Update control/grpc.py error strings to say “network mask” in subnet/parameter validation failures.
  • Update tests/test_auto_listeners.py assertions to match the revised error messages.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
control/grpc.py Adjusts user-visible error messages for network mask validation and missing-parameter cases.
tests/test_auto_listeners.py Updates caplog-based assertions to expect the new wording.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@VallariAg VallariAg force-pushed the network-mask-log-fix branch from e57f87c to a5f69e9 Compare March 24, 2026 10:33
Use "network mask" in error message instead
of "network_mask".

Fixes: ceph#1832 (comment)

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
(cherry picked from commit e737040)
@VallariAg VallariAg force-pushed the network-mask-log-fix branch from a5f69e9 to d769ba0 Compare March 25, 2026 08:58
Copilot AI review requested due to automatic review settings March 25, 2026 08:58
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@VallariAg VallariAg requested review from gbregman March 25, 2026 16:02
@github-project-automation github-project-automation bot moved this from 🆕 New to 👍 Ready to merge in NVMe-oF Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👍 Ready to merge

Development

Successfully merging this pull request may close these issues.

3 participants