Comments (9)
v0.4.1 contains e09e88b
from csi-lvm.
Hi,
any context would be helpful:
- full logs of the controller and the provisioner
- kubernetes version
- what physical disks are configured (controller.yaml)
- how does your pv(c) and pod manifest look like
from csi-lvm.
sorry for late
k8s version: 1.16.2
controller logs:
I0210 00:58:32.458963 1 controller.go:1199] provision "elastic-cluster/elasticsearch-data-k8s-test-es-node-0" class "csi-lvm": started
I0210 00:58:32.462368 1 controller.go:86] start provision pvc-4deb473e-3bf4-41ea-9e1a-8adbd805c631 node:node1 devices:/dev/sd[b-z]
I0210 00:58:32.462383 1 controller.go:108] Creating volume pvc-4deb473e-3bf4-41ea-9e1a-8adbd805c631 at node1:/tmp/csi-lvm/pvc-4deb473e-3bf4-41ea-9e1a-8adbd805c631
I0210 00:58:32.462394 1 controller.go:234] start provisionerPod with args:[createlv --lvsize 1342177280000 --devices /dev/sd[b-z] --lvmtype mirror --lvname pvc-4deb473e-3bf4-41ea-9e1a-8adbd805c631 --vgname csi-lvm --directory /tmp/csi-lvm]
I0210 00:58:32.462459 1 event.go:274] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"elastic-cluster", Name:"elasticsearch-data-k8s-test-es-node-0", UID:"4deb473e-3bf4-41ea-9e1a-8adbd805c631", APIVersion:"v1", ResourceVersion:"29354729", FieldPath:""}): type: 'Normal' reason: 'Provisioning' External provisioner is provisioning volume for claim "elastic-cluster/elasticsearch-data-k8s-test-es-node-0"
I0210 00:58:32.469253 1 controller.go:346] provisioner pod status:Pending
I0210 00:58:51.516516 1 controller.go:346] provisioner pod status:Failed
E0210 00:58:52.521621 1 controller.go:135] error creating provisioner pod :create process timeout after 20 seconds
provisioner logs:
panic: Unrecognized command: createlv
goroutine 1 [running]:
main.cmdNotFound(0xc0002f6580, 0x7ffcab90cda0, 0x8)
/work/cmd/controller/main.go:39 +0xad
github.com/urfave/cli.ShowCommandHelp(0xc0002f6580, 0x7ffcab90cda0, 0x8, 0x0, 0x0)
/go/pkg/mod/github.com/urfave/[email protected]/help.go:213 +0x2c1
github.com/urfave/cli.glob..func1(0xc0002f6580, 0x0, 0x0)
/go/pkg/mod/github.com/urfave/[email protected]/help.go:21 +0x50
github.com/urfave/cli.HandleAction(0x136aa40, 0x15f74f0, 0xc0002f6580, 0x0, 0x0)
/go/pkg/mod/github.com/urfave/[email protected]/app.go:523 +0xbe
github.com/urfave/cli.(*App).Run(0xc00037c000, 0xc0000f6000, 0xe, 0xe, 0x0, 0x0)
/go/pkg/mod/github.com/urfave/[email protected]/app.go:285 +0x5ec
main.main()
/work/cmd/controller/main.go:184 +0x155
from csi-lvm.
Hi,
can you please show me the output of:
k get pods -n csi-lvm -o yaml
and
k get sc -o yaml
from csi-lvm.
Of course. sc:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{},"name":"csi-lvm"},"provisioner":"metal-pod.io/csi-lvm","reclaimPolicy":"Delete","volumeBindingMode":"WaitForFirstConsumer"}
creationTimestamp: "2020-02-07T02:16:10Z"
name: csi-lvm
resourceVersion: "28093433"
selfLink: /apis/storage.k8s.io/v1/storageclasses/csi-lvm
uid: f3a6be36-4d1e-4ad9-b5d2-876dfb343e7f
provisioner: metal-pod.io/csi-lvm
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
and pods info is here: https://del.dog/ogyllunita
from csi-lvm.
Can you please recreate the controller with the most recent manifest from https://github.com/metal-stack/csi-lvm/blob/master/deploy/controller.yaml to ensure you have the correct image versions deployed.
from csi-lvm.
We probably identified one possible reason for your problem: e09e88b
Can you please tell me what container runtime you are using ?
from csi-lvm.
Sorry I mistake the image, i'm using controller image as provisioner image. https://del.dog/ogyllunita.txt#L40
And v0.4.1 works well, thanks
from csi-lvm.
Thanks for reporting, closing.
from csi-lvm.
Related Issues (19)
- Check if kubernetes-csi is the correct way to implement HOT 2
- support thin volumes
- implement integration tests HOT 1
- Check if the usage of PriorityClasses will help to ensure that the reviver gets started before all other Pods HOT 1
- volume group backup file must be persisted
- periodically log vgs and lvs output, taint node if devices are unhealthy.
- Reboot of host leaves lvs unmounted HOT 3
- Use embedmd to keep deployment charts in README in sync with code
- block devices do not get fully unmounted
- Deploy on Production environments HOT 8
- Consider to support volume groups in controller HOT 15
- Provide BlockVolume support HOT 1
- Support custom filesystem type and mount options HOT 4
- Support multiple volume groups via storage classes HOT 4
- controller tries to provision deletion pods to non-existing workers
- Support arm64 and arm docker images HOT 4
- reviver didn't revive HOT 4
- pv-deletion fails, if lv does not exist anymore
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 csi-lvm.