[BUG][v1.6.0-rc2] rwx volume failed to execute trim filesystem #7768
Labels
area/volume-rwx
Volume RWX related
component/longhorn-share-manager
Longhorn share manager (control plane for NFS server, RWX)
kind/bug
reproduce/always
100% reproducible
require/auto-e2e-test
Require adding/updating auto e2e test cases if they can be automated
require/backport
Require backport. Only used when the specific versions to backport have not been definied.
require/qa-review-coverage
Require QA to review coverage
severity/1
Function broken (a critical incident with very high impact (ex: data corruption, failed upgrade)
Milestone
Describe the bug
The rwx volume failed to execute trim filesystem and received an error as shown in the message and screenshot.
unable to trim filesystem for volume pvc-156966f3-daab-4e2e-a1f8-3531c8e233c8: rpc error: code = Internal desc = failed to execute: /usr/bin/nsenter [nsenter --mount=/host/proc/1446380/ns/mnt --net=/host/proc/1446380/ns/net fstrim /export/pvc-156966f3-daab-4e2e-a1f8-3531c8e233c8], output , stderr fstrim: cannot get realpath: /export/pvc-156966f3-daab-4e2e-a1f8-3531c8e233c8: No such file or directory : exit status 1
To Reproduce
trim filesystem
Expected behavior
rwx volume should be executed
trim filesystem
without error.Support bundle for troubleshooting
supportbundle_afef4354-d6b0-4877-b5c7-0bcb93bb31b4_2024-01-24T04-46-52Z.zip
Additional context
The text was updated successfully, but these errors were encountered: