Rework check_node_ceph_mon_growth with ceph-mon-lv reservation
Since there are lvg reserve for ceph-mon 20GB by default in
Worker/Controller, which is the same with default ceph_mon_gib value.
There are 2 cases:
1/ Create new ceph-mon for worker(for example), since it has reserved,
we can get cgtsvg_growth_gib by minus reserve gib: constants.SB_CEPH_MON_GIB
2. Modify ceph-mon gib, it is the same with previous process, directly
minus mon.ceph_mon_gib.
Reviewed: https:/ /review. opendev. org/685576 /git.openstack. org/cgit/ starlingx/ config/ commit/ ?id=e6c862c99ab 74ee40d9d8ae146 81bf78b864aaa3
Committed: https:/
Submitter: Zuul
Branch: master
commit e6c862c99ab74ee 40d9d8ae14681bf 78b864aaa3
Author: Chen, Tingjie <email address hidden>
Date: Sun Sep 29 10:52:47 2019 +0800
Rework check_node_ ceph_mon_ growth with ceph-mon-lv reservation
Since there are lvg reserve for ceph-mon 20GB by default in Controller, which is the same with default ceph_mon_gib value.
Worker/
There are 2 cases: SB_CEPH_ MON_GIB
1/ Create new ceph-mon for worker(for example), since it has reserved,
we can get cgtsvg_growth_gib by minus reserve gib: constants.
2. Modify ceph-mon gib, it is the same with previous process, directly
minus mon.ceph_mon_gib.
Closes-Bug: 1827080 98f1fd4a6cda103 d806458836a
Change-Id: Id4890e9f821773
Signed-off-by: Chen, Tingjie <email address hidden>