src: remove showing traceback from assert_valid_host when it fails #60156
src: remove showing traceback from assert_valid_host when it fails #60156neesingh-rh wants to merge 1 commit intoceph:mainfrom
Conversation
|
Now the output in case of assertion error: |
96440db to
b8a0b49
Compare
b8a0b49 to
7f73c49
Compare
phlogistonjohn
left a comment
There was a problem hiding this comment.
I find this extremely confusing and am concerned about the approach given that this is library code.
Why are we converting a nice specific validation exception type and just reverting it to a generic assertion error. Why do we hack in a global side effect of sys.tracebacklimit in the middle of library code? This can easily impact every piece of code running this function!
Currently, we do have |
7f73c49 to
5347dc4
Compare
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
ce5298e to
f3bacea
Compare
|
PR got underlooked earlier! Pushed the updates. PTAL |
f3bacea to
1e357ec
Compare
|
@adk3798 @phlogistonjohn - @neesingh-rh updated the change. Mind having a look please? |
|
jenkins retest this please |
|
This PR is under test in https://tracker.ceph.com/issues/75334. |
* refs/pull/60156/head: Reviewed-by: Adam King <adking@redhat.com>
|
jenkins retest this please |
|
@neesingh-rh - can you rebase and push please? |
1e357ec to
cc0dd7e
Compare
Rebased |
|
jenkins retest this please |
Removed the stacktrace from command output in case of error Fixes: https://tracker.ceph.com/issues/68420 Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
cc0dd7e to
5a8488b
Compare
Removed the stacktrace from command output in case of error
Fixes: https://tracker.ceph.com/issues/68420
Signed-off-by: Neeraj Pratap Singh neesingh@redhat.com
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 retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e