You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.
# kubectl get pod
NAME READY STATUS RESTARTS AGE
nginx 0/1 ContainerCreating 0 2m
journal log output mkfs: failed to execute mkfs.foo: No such file or directory.
# journalctl --no-pager |grep foo
Nov 19 08:10:54 torus1 torus[9227]: mkfs: failed to execute mkfs.foo: No such file or directory
Actual result
Even though torus failed to execute flexprepvol, it keeps tring to attach the volume.
# kubectl get event -w
...
2016-11-19 08:10:54 +0000 UTC 2016-11-19 08:10:54 +0000 UTC 1 nginx Pod Warning FailedSync {kubelet fed-node} Error syncing pod, skipping: mount command failed, status: Failure, reason: failed
2016-11-19 08:11:08 +0000 UTC 2016-11-19 08:14:37 +0000 UTC 16 nginx Pod Warning FailedMount {kubelet fed-node} Unable to mount volumes for pod "nginx2_default(b0ea44f1-ae2f-11e6-9746-5254007c7544)": attach command failed, status: Failure, reason: Couldn't attach
2016-11-19 08:11:08 +0000 UTC 2016-11-19 08:14:37 +0000 UTC 16 nginx Pod Warning FailedSync {kubelet fed-node} Error syncing pod, skipping: attach command failed, status: Failure, reason: Couldn't attach
Expect result
torus doesn't try to attach volume, when it failed pre device format process.
The text was updated successfully, but these errors were encountered:
nak3
changed the title
torusblk.flex doesn't say why it failed to attach volume
After flexprepvol failed to execute, torus keeps trying to attach the volume
Nov 19, 2016
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
version
issue
flexprepvol
failed to execute, flex volume keeps trying to attach the volume.step to reproduce (just an example step)
1. Create volume with wrong fsType.
fsType
has wrong valuefoo
.2. Check log
ContainerCreating
.mkfs: failed to execute mkfs.foo: No such file or directory
.Actual result
flexprepvol
, it keeps tring to attach the volume.Expect result
The text was updated successfully, but these errors were encountered: