]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: When device size contains the decimal, it can not match size exactly.
authorjianglong01 <jianglong01@qianxin.com>
Fri, 12 Mar 2021 03:03:10 +0000 (11:03 +0800)
committerjianglong01 <jianglong01@qianxin.com>
Fri, 12 Mar 2021 03:03:10 +0000 (11:03 +0800)
commitfd30aff672a1908a37163472f9c6478eca4e98e2
tree45c0b5d5dd1ed98710db3a8443707095628bc37f
parent1d590a07a27b5fa28049c107b639cada99ef1998
mgr/cephadm: When device size contains the decimal, it can not match size exactly.

for example, osd.yaml:
service_type: osd
service_name: test
placement:
  host_pattern: '*'
spec:
  data_devices:
    size: 3.6TB

Signed-off-by: jianglong01 <jianglong01@qianxin.com>
src/python-common/ceph/deployment/drive_selection/matchers.py