]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: fall back to service spec port if none on DaemonDescription 39931/head
authorSage Weil <sage@newdream.net>
Mon, 15 Mar 2021 22:58:15 +0000 (18:58 -0400)
committerSage Weil <sage@newdream.net>
Mon, 15 Mar 2021 22:58:15 +0000 (18:58 -0400)
commit1bf8a2dacf0b38c8a12c84390b5b7be9f301eff2
tree8c8c65a6ea48f49db35eea8f7b86d7601d767f23
parent91490385d61b37c2e463e3d80dd873724f55d63a
mgr/cephadm: fall back to service spec port if none on DaemonDescription

For an RGW instance that is deployed in an older version, we won't have
IP or port metadata in the DaemonDescription.  In that case, fall back
to the port in the ServiceSpec.  This should be safe since any such
instance will only have 1 daemon per host.

Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/cephadm/services/cephadmservice.py