Comments (4)
Hi @phan,
Folloing the test steps in a fresh cluster, the cloning-pod still stuck at ContainerCreating
with below error from pod description
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfulAttachVolume 2m4s attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-b92d09c3-efd5-45e6-8975-5b403bd5c360"
Warning FailedMount 59s (x8 over 2m4s) kubelet MountVolume.MountDevice failed for volume "pvc-b92d09c3-efd5-45e6-8975-5b403bd5c360" : rpc error: code = Internal desc = mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t ext4 -o defaults /dev/longhorn/pvc-b92d09c3-efd5-45e6-8975-5b403bd5c360 /var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/662595354daadf86e810af45ab0ee036f7fe6efe8735f6b30211c523f458afee/globalmount
Output: mount: /var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/662595354daadf86e810af45ab0ee036f7fe6efe8735f6b30211c523f458afee/globalmount: wrong fs type, bad option, bad superblock on /dev/longhorn/pvc-b92d09c3-efd5-45e6-8975-5b403bd5c360, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
supportbundle_be5f346a-23ef-42dd-91dd-868deac32094_2024-06-25T09-07-21Z.zip
My env:
- SUSE Linux Enterprise Server 15 SP5 with k3s v1.29.2+k3s1
Could you take a look on this? thank you.
from longhorn.
Test plan:
Run the reproducing steps in the issue description make make sure that cloning-pod can become running. Also double check the data to make sure cloned data has same checksum as in source-pvc
Repeat the steps with backup restore instead of volume cloning
from longhorn.
@chriscchien Thank you for reporting. There was a typo. The cloned-pvc
should use longhorn-xfs
StorageClass instead of longhorn
StorageClass . I fixed the repoducing steps. Could you retry? Thank you
from longhorn.
Verified pass on longhorn master (longhorn-manager 77ac26
) with test steps
Mounting XFS volume by PVC clone and by backup restore all successed.
from longhorn.
Related Issues (20)
- [TEST][BUG][v1.7.x] V2 volume cannot detach after upgrade if a recurring job was set before the upgrade
- [BACKPORT][v1.6.3][BUG]filesystem trim RecurringJob times out (volumes where files are frequently created and deleted)
- [BUG] Imposible to use an storage network HOT 5
- [BUG] replicas infinitely rebuilding HOT 4
- [BACKPORT][v1.6.3][BUG] Longhorn thinks node is unschedulable
- [BUG] Can not revert V2 volume snapshot after upgrade from v1.6.2 to v1.7.0-dev HOT 31
- [BUG][v1.7.x-head] Test case `test_support_bundle_should_not_timeout` support bundle cleanup failed HOT 3
- [FEATURE] Differentiate disk space (`filesystem`) usage by v1 data engine
- [UI][FEATURE] Differentiate disk space (`filesystem`) usage by v1 data engine
- [TEST][FEATURE] Differentiate disk space (`filesystem`) usage by v1 data engine
- [BUG] StorageClass parameters not saved when editing longhorn-storageclass configMap HOT 6
- [TEST][BUG] Can not revert V2 volume snapshot after upgrade from v1.6.2 to v1.7.0-dev
- [IMPROVEMENT] Make RWX volume fast failover settings adjustable HOT 2
- [BUG] Can not delete the parent of volume head snapshot of a v2 volume HOT 5
- [BUG] Remove Snapshots During Filesystem Trim not work on V2 volume HOT 3
- [BACKPORT][v1.6.3][BUG] Can not revert V2 volume snapshot after upgrade from v1.6.2 to v1.7.0-dev
- [BUG] UI network policy is too open HOT 12
- [BACKPORT][v1.6.3][BUG] UI network policy is too open
- [BACKPORT][v1.5.6][BUG] UI network policy is too open
- [BUG] FailedAttachVolume from v1.5.5~v1.6.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from longhorn.