Description of problem: ----------------------- When 'poolmetadatasize' is provided when creating the thinpool, then we need to allocate the space explicitly in addition to the sum of size of LVs. To avoid this situation, let gdeploy manipulate the size of poolmetadatasize and that removes the space required for poolmetadatasize from the total available size. Version-Release number of selected component (if applicable): -------------------------------------------------------------- cockpit-ovirt-dashboard-0.10.7-0.0.11 How reproducible: ----------------- Often Steps to Reproduce: -------------------- 1. Provide LVs sizes for 2 LVs Actual results: --------------- Thinpool is created with the size which is the sum of sizes of 2 lvs, ignoring the size of 'poolmetadatasize' ( 16GB ) Expected results: ----------------- thin_pool size = (sum of lv size ) - (poolmetadatasize) Additional info: ---------------- When 'poolmetadatasize' attribute/key is removed from gdeploy config file, then gdeploy takes the size of thinpool with removing the size of 'poolmetadatasize'
Tested with cockpit-ovirt-0.10.7-0.0.13 'poolmetadatasize' is removed from thinpool creation step