cephadm: fix port_in_use when IPv6 is disabled#39421
cephadm: fix port_in_use when IPv6 is disabled#39421sebastian-philipp merged 1 commit intoceph:masterfrom
Conversation
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
b451274 to
eecef03
Compare
sebastian-philipp
left a comment
There was a problem hiding this comment.
lgrm, but unrelated whitespace changes
eecef03 to
6c0e059
Compare
8ecdee9 to
512f899
Compare
|
jenkins retest this please |
|
jenkins test make check |
|
Building remotely on irvingi03 However, running the tests locally seems to work: |
|
jenkins test make check |
I think we need to mock |
What I haven't understood yet is why this test, all of a sudden, starts making problems and hasn't done so before. I wonder if that's due to the machine or the test (maybe being canceled at the wrong moment?). But in any case, adapting the test should get us going. |
cause we are no longer hiding those exceptions from the caller. which is a good thing, but now some tests did call that function and are now throwing errors. |
512f899 to
03d2262
Compare
Do not return "port is in use" when the protocol family tested is not supported (due to being deactivated). Fixes: https://tracker.ceph.com/issues/49273 Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
03d2262 to
a0ffcec
Compare
Turns out the code was faulty. Fixed it and created some tests to ensure it works as expected. |
I'm waiting for https://pulpito.ceph.com/swagner-2021-02-22_13:54:50-rados:cephadm-wip-swagner4-testing-2021-02-22-1119-distro-basic-smithi/ to be scheduled. |
|
NOTE: this was backported to octopus via #41602 |
Do not return "port is in use" when the protocol family tested is not
supported (due to being deactivated).
Differentiates between
and
Signed-off-by: Patrick Seidensal pseidensal@suse.com
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 apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox