]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: fix remapping of hosts and services
authorSage Weil <sage@redhat.com>
Tue, 17 Dec 2019 13:54:15 +0000 (07:54 -0600)
committerSage Weil <sage@redhat.com>
Sun, 22 Dec 2019 17:00:33 +0000 (11:00 -0600)
commitb12aa3a8388dcae41b0f7eb3f54305adabce6837
tree99f227e18ca6d460377e27b8bec34643ffa2801e
parente07330c08473ef0c57e19c10bff0baffdc0c020a
mgr/cephadm: fix remapping of hosts and services

This was nondeterministically remapping services to different hosts
depending on which hosts had stale caches because the 'hosts' list order
didn't match 'results' + 'in_cache'.

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