Repository navigation
mgr/dashboard: fix listener add errors - #68745
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR changes the Dashboard NVMe-oF error handling path so that a gateway-side EREMOTE status from listener creation is no longer surfaced as a hard failure, and adds unit coverage around the shared NVMe-oF error decorator.
Changes:
- Treat
errno.EREMOTEas non-fatal insidehandle_nvmeof_error. - Add unit tests covering success, error, gRPC exception, and missing-status cases for the decorator.
- Extend test coverage with a listener-add regression scenario based on the reported hostname-mismatch warning.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
src/pybind/mgr/dashboard/services/nvmeof_client.py |
Broadens the shared NVMe-oF error decorator to allow EREMOTE responses through without raising DashboardException. |
src/pybind/mgr/dashboard/tests/test_nvmeof_client.py |
Adds new decorator-focused unit tests, including the listener-add EREMOTE regression case. |
Hezko
force-pushed
the
bugfix-13279
branch
3 times, most recently
from
May 5, 2026 10:01
5e69cdd to
d9548ac
Compare
Contributor
Author
|
jenkins test make check |
nizamial09
approved these changes
May 20, 2026
nizamial09
left a comment
Member
There was a problem hiding this comment.
make check failure might be real on lint and py3
https://jenkins.ceph.com/job/ceph-pull-requests/181504
[0m: [NON-XML-CHAR-0x1B][1;31mW293[NON-XML-CHAR-0x1B][0m blank line contains whitespace
1 E127 continuation line over-indented for visual indent
1 E303 too many blank lines (3)
8 W293 blank line contains whitespace
lint: exit 1 (1.13 seconds) /ceph/src/pybind/mgr/dashboard> flake8 pid=191460
lint: FAIL code 1 (32.91=setup[31.78]+cmd[1.13] seconds)
evaluation failed :( (33.07 seconds)
Hezko
force-pushed
the
bugfix-13279
branch
3 times, most recently
from
May 20, 2026 22:33
a330817 to
420537f
Compare
Contributor
Author
|
jenkins test make check |
…rom listerner add command fixes: https://tracker.ceph.com/issues/76418 Signed-off-by: Tomer Haskalovitch <[email protected]>
Contributor
Author
|
jenkins test make check arm64 |
1 similar comment
Contributor
Author
|
jenkins test make check arm64 |
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.
Some internal warnings were treated like errors
Before:
After:
Before
fixes: https://tracker.ceph.com/issues/76418
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.