Comment 25 for bug 1827080

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/685576
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=e6c862c99ab74ee40d9d8ae14681bf78b864aaa3
Submitter: Zuul
Branch: master

commit e6c862c99ab74ee40d9d8ae14681bf78b864aaa3
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
    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.

    Closes-Bug: 1827080
    Change-Id: Id4890e9f82177398f1fd4a6cda103d806458836a
    Signed-off-by: Chen, Tingjie <email address hidden>