lvm thin pool create can not set chunksize or poolmetadatasize

Bug #1871577 reported by HYSong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

In same cases, the size of thin pool metadata is insufficient,
and the initialize of cinder volume LVM Thin Provisioning will create a thin pool
by 'lvcreate -T -L size_str vg_pool_name '.

The param of chunksize is related to thin_pool_chunk_size in lvm.conf if it is config,
and the param of poolmetadatasize is calculate by the formula 'Pool_LV_size / Pool_LV_chunk_size * 64b'.

I think the chunksize can be set in cinder.conf and decouple with lvm.conf, and the value should be set in command
'lvcreate -T -L size_str vg_pool_name' like 'lvcreate -T -L <size_str> --poolmetadatasize <poolmetadatasizestr> --chunsize <chunksize> vg_pool_name '.

And I find that the poolmetadatasize is not calculate by the formula in some compute host if the param not set in the
command 'lvcreate -T -L size_str vg_pool_name '.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.