chef-gluster icon indicating copy to clipboard operation
chef-gluster copied to clipboard

Using a size attribute with percentage value bombs volume_extend

Open donovanmuller opened this issue 9 years ago • 1 comments

If you configure a volume size attribute using the percentage of the size of the volume group. I.e. 50%VG

it bombs volume_extend recipe because there's no regex match.

donovanmuller avatar Feb 09 '16 09:02 donovanmuller

Hmm, I didn't really plan on having percentage functionality, especially as the volume groups could theoretically be different sizes. This also is why we rely on the user to ensure there is enough free space available in the volume group for their logical volumes.

I'll have a think about how this could be implemented, thanks for the feature request :)

andyrepton avatar Feb 11 '16 14:02 andyrepton