Allocating of space on the root disk was done in kickstart, combined
with config_controller. Various checks for disk and volume group
space made it difficult to add new filesystem partitions.
To simplify this, all checks are now merged under disk size checks.
Kickstart files now create the partitions of the same size for
rootfs and log partitions, no matter the disk size, with the
only variable size being the cgts-vg size.
Thus, any future changes will only need to consider only this
size for ensuring enough space is present.
The limit between small and big disks is 240GB, with a minimum
disk size of 120GB.
Reviewed: https:/ /review. openstack. org/600745 /git.openstack. org/cgit/ openstack/ stx-metal/ commit/ ?id=103cccd786c e0a3ec6e5df421b 11739469a97db4
Committed: https:/
Submitter: Zuul
Branch: master
commit 103cccd786ce0a3 ec6e5df421b1173 9469a97db4
Author: Stefan Dinescu <email address hidden>
Date: Fri Sep 7 15:56:12 2018 +0300
Simplify disk space allocation
Allocating of space on the root disk was done in kickstart, combined
with config_controller. Various checks for disk and volume group
space made it difficult to add new filesystem partitions.
To simplify this, all checks are now merged under disk size checks.
Kickstart files now create the partitions of the same size for
rootfs and log partitions, no matter the disk size, with the
only variable size being the cgts-vg size.
Thus, any future changes will only need to consider only this
size for ensuring enough space is present.
The limit between small and big disks is 240GB, with a minimum
disk size of 120GB.
Depends-On: https:/ /review. openstack. org/#/c/ 600743/ 1d1ca3a71f8e2a0 629525e8fad
Change-Id: I37ecc8eb546881
Closes-bug: 1791170
Signed-off-by: Stefan Dinescu <email address hidden>