Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot resize EBS pvc on bottlerocket nodes - resize2fs not found in $PATH #1518

Closed
samjo-nyang opened this issue Apr 23, 2021 · 1 comment · Fixed by #1519
Closed

Cannot resize EBS pvc on bottlerocket nodes - resize2fs not found in $PATH #1518

samjo-nyang opened this issue Apr 23, 2021 · 1 comment · Fixed by #1519
Labels
area/core Issues core to the OS (variant independent) type/enhancement New feature or request

Comments

@samjo-nyang
Copy link
Contributor

samjo-nyang commented Apr 23, 2021

Image I'm using:
v1.0.4, k8s-1.18 variants

What I expected to happen:

FileSystemResizeSuccessful MountVolume.NodeExpandVolume succeeded for volume "pvc-xxx"

What actually happened:

MountVolume.MountDevice failed while expanding volume for volume "pvc-xxx" : MountVolume.NodeExpandVolume failed : resize of device /dev/nvme5n1 failed: executable file not found in $PATH. resize2fs 

How to reproduce the problem:

  1. provision an ebs volume using ebs csi driver
  2. try to extend the volume

I made and tested a simple patch that resolve this issue - just add enable-resizer and resize2fs binary on packages/e2fsprogs/e2fsprogs.spec; can I make a PR?

@jhaynes jhaynes added area/core Issues core to the OS (variant independent) status/needs-triage Pending triage or re-evaluation type/enhancement New feature or request labels Apr 23, 2021
@bcressey
Copy link
Contributor

Sure, a PR would be great! Thanks for digging into this.

@bcressey bcressey removed the status/needs-triage Pending triage or re-evaluation label Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues core to the OS (variant independent) type/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants