]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: get --osd-uuid deploy arg from osdmap 32812/head
authorSage Weil <sage@redhat.com>
Thu, 23 Jan 2020 19:43:58 +0000 (13:43 -0600)
committerSage Weil <sage@redhat.com>
Sat, 25 Jan 2020 19:57:11 +0000 (13:57 -0600)
commitb305796a1252374dccb7bd2d98b2224f8a8fed8f
tree26c3e9674b84555fab512934a24428a19ad33f9a
parentb575e40f235fbc9fdad6c936b2910b295becc8be
mgr/cephadm: get --osd-uuid deploy arg from osdmap

During the initial OSD creation, we had the osd_uuid handy.  However, on
reconfig/redeploy, we don't.

Refactor a bit so that this is extracted from the osdmap by the
_create_daemon() method.  While we're at it, make the deployment case
verify that the deployed OSD uuid matches the one in the osdmap.

Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/cephadm/module.py