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.
Change-Id: I0ac54d5b2ba72af9505881c5849bc4e76540b3f4
Closes-bug: 1791170
Signed-off-by: Stefan Dinescu <email address hidden>
Reviewed: https:/ /review. openstack. org/600743 /git.openstack. org/cgit/ openstack/ stx-config/ commit/ ?id=92cc2240cfb db99c249c229b94 568723d8b86897
Committed: https:/
Submitter: Zuul
Branch: master
commit 92cc2240cfbdb99 c249c229b945687 23d8b86897
Author: Stefan Dinescu <email address hidden>
Date: Fri Sep 7 15:44:49 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.
Change-Id: I0ac54d5b2ba72a f9505881c5849bc 4e76540b3f4
Closes-bug: 1791170
Signed-off-by: Stefan Dinescu <email address hidden>