I’m having trouble creating a POD using Longhorn volume.
I do not know if the problem has already been solved,
I have the cluster configuration of Kubernetes 1.13.5 via RKE
I have set up Longhorn via:
helm upgrade longhorn ./longhorn/chart
The error posted is:
Readiness probe failed: ls: cannot access '/dev/longhorn/pvc-61f2e24b-9e00-11e9-8c4e-0242d8db6eb8': No such file or directory
The detailed log is:
time=“2019-07-04T02:06:56Z” level=info msg=“launcher: controller 9c1ce1fe-ed71-42fa-a538-e240ebc38fc6 started”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Starting with replicas [“tcp://10.42.1.15:9502” “tcp://10.42.2.15:9502” “tcp://10.42.0.14:9502”]”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Connecting to remote: 10.42.1.15:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Opening: 10.42.1.15:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Adding backend: tcp://10.42.1.15:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Set replica tcp://10.42.1.15:9502 to mode RW”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Connecting to remote: 10.42.2.15:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Start monitoring tcp://10.42.1.15:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Opening: 10.42.2.15:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Adding backend: tcp://10.42.2.15:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Set replica tcp://10.42.2.15:9502 to mode RW”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Connecting to remote: 10.42.0.14:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Start monitoring tcp://10.42.2.15:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Opening: 10.42.0.14:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Adding backend: tcp://10.42.0.14:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Set replica tcp://10.42.0.14:9502 to mode RW”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Start monitoring tcp://10.42.0.14:9502”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Get backend tcp://10.42.1.15:9502 revision counter 0”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Get backend tcp://10.42.2.15:9502 revision counter 0”
03/07/2019 23:06:56 time=“2019-07-04T02:06:56Z” level=info msg=“Get backend tcp://10.42.0.14:9502 revision counter 0”
03/07/2019 23:06:57 time=“2019-07-04T02:06:57Z” level=error msg=“Shutting down frontend due to failed to start up launcher: failed to start frontend: Failed to execute: longhorn-engine-launcher [–url 0.0.0.0:9510 frontend-start --id 9c1ce1fe-ed71-42fa-a538-e240ebc38fc6], output , stderr, time=“2019-07-04T02:06:57Z” level=fatal msg=“Error running frontend-start command: failed to start frontend: rpc error: code = Unknown desc = Fail to lock: Failed to lock, response: nsenter: failed to execute bash: No such file or directory, expected NSFileLock LOCKED.”\n, error exit status 1”
03/07/2019 23:06:57 2019/07/04 02:06:57 failed to start up launcher: failed to start frontend: Failed to execute: longhorn-engine-launcher [–url 0.0.0.0:9510 frontend-start --id 9c1ce1fe-ed71-42fa-a538-e240ebc38fc6], output , stderr, time=“2019-07-04T02:06:57Z” level=fatal msg=“Error running frontend-start command: failed to start frontend: rpc error: code = Unknown desc = Fail to lock: Failed to lock, response: nsenter: failed to execute bash: No such file or directory, expected NSFileLock LOCKED.”
03/07/2019 23:06:57 , error exit status 1