]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common: count-per-host must be combined with label or hosts or host_pattern
authorSage Weil <sage@newdream.net>
Wed, 10 Mar 2021 22:31:31 +0000 (17:31 -0500)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:18 +0000 (07:56 -0500)
commit931a454673fc3249726fb7784affa57533fdada4
treedf85475fbb3162481c130b0bb74b654181fba39f
parent8b2be954736662ee20021d9a0c2d708261bfb22d
python-common: count-per-host must be combined with label or hosts or host_pattern

I think this is better for the same reason we made PlacementSpec() not
mean 'all hosts' by default.  If you really want N daemons for every host
in the cluster, be specific with 'count-per-host:2 *'.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit c7e0fb1e8e7cb06097c23d9e1643b6ba852f0eb0)
src/python-common/ceph/deployment/service_spec.py
src/python-common/ceph/tests/test_service_spec.py