Open esimest opened 1 year ago
Make sure that when you run the command lvs, lvm corresponds to the PV which is doing the resize error, has the status "-wi-ao----"
If the status is: "-wi-a-----" means that the pv is generated but not used by any container at all. This also results in resize failure (since kubelet doesn't trigger NodeExpandVolume event to lvm node )
@esimest Thanks for reporting the issue. Can you please let us know how did you reproduce this?
Would be helpful to get some more clear details about the reproducing the problem so that we can look into it. Please share the user action details to help better. Also, as mentioned by @dung-tien-nguyen , the filesystem will not expand until the volume is published i.e. used by an application.
Further investigation needed. Investigation scoped for v4.2.
Description
As https://github.com/openebs/lvm-localpv/blob/v0.8.x/design/lvm/images/resize_sequence_diagram.jpg show If happen:
But when executing this process for the second time, it will happen:
Conclusion
So In above case, it will happen pvc updated finsihed but lv didn't resize
Describe
lv can resize normally even if above case happen.