Cannot resize CentOS7 LVM on node

Hello, I have CentOS7 setup as a template that is used for nodes in a Rancher cluster (version 2.4.5) and have found that while the overall disk, /dev/sda, is resized the LVM partitions are not. Checking the cloud-init logs on the nodes show that it claims to have done this, but the partitions are not.

Example log:

However, the root LVM partition is still the original 35GB of the template.

I have solved this issue. I rebuilt the template and completely removed swap, disabled LVM and changed to ext4. After that the CentOS7 node template builds to the correct disk size.