]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: fix port_in_use when IPv6 is disabled 39421/head
authorPatrick Seidensal <pseidensal@suse.com>
Thu, 11 Feb 2021 15:22:06 +0000 (16:22 +0100)
committerPatrick Seidensal <pseidensal@suse.com>
Thu, 18 Feb 2021 22:39:10 +0000 (23:39 +0100)
commita0ffcec4af7a6f464439023d3dd0ccb62c8a856c
tree7aa55ee71094ffe1a4d8502806111d96b177f644
parentf921598888744ca0ffaf25e1f1ad94b96e901b04
cephadm: fix port_in_use when IPv6 is disabled

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>
src/cephadm/cephadm
src/cephadm/tests/test_cephadm.py