-
Notifications
You must be signed in to change notification settings - Fork 656
openEBS ISCSI Error #2435
Comments
I recommend you use the
You need to create a lock directory, and make sure to create this directory every boot:
|
Can I add the apt install --no-install-recommends open-iscsi inside the /opt/rancher/bin/start.sh? runcmd is executed before or after /etc/rc.local and before or after /opt/rancher/bin/start.sh? thank you! |
runcmd ---> /opt/rancher/bin/start.sh ----> /etc/rc.local |
It seems the error is gone but now appears another
|
If Ubuntu OS works fine with your case, I will check it out if there is a problem with RancherOS. |
Well the setup is so simple. rancher server create cluster using vsphere and loading custom cloud-init Then deploy openEBS from rancher catalog Then try to deploy a service with PVC on any storage class of openebs. |
@rootwuj Please help to confirm this issue when you have time. It's better to confirm if openebs(from rancher catalog) can work on Ubuntu. |
I added RKE cluster of Ubuntu OS on Rancher2 (the network is flannel), Then deploy openEBS from rancher catalog, and finally created the PVC using the storage class of the openebs. PVC was created successfully. |
well the problem is related with rancherOS not Ubuntu |
I came here from google...
But I don't know how to fix it. Stop using rancherOS? NINJA EDIT: I followed the commands here and it works. |
I will make dir If someone is running kubelet in a container, one thing to note: https://docs.openebs.io/docs/next/tsgiscsi.html |
Tested with RancherOS version- v1.5.0-rc2(Kernel Version: 4.14.85-rancher) with AWS. |
RancherOS Version: (ros os version)
1.4.0
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
vsphere 6.5
Running rancher2
OpenEBS from helm
I got this error
MountVolume.WaitForAttach failed for volume "pvc-5cc527d9-9a71-11e8-88ab-005056a69a74" : failed to get any path for iscsi disk, last err seen: iscsi: failed to sendtargets to portal 10.43.169.43:3260 output: iscsiadm: Could not open /run/lock/iscsi: No such file or directory iscsiadm: Could not open /run/lock/iscsi: No such file or directory iscsiadm: Could not open /run/lock/iscsi: No such file or directory iscsiadm: Could not add new discovery record. , err exit status 6 2 minutes ago
yes I executed ros service up open-iscsi
if I open a ssh connection to the VM and I execute command iscsid automatically openEBS volumes work
but If I execute ps aux | grep iscsid the new process apear as detached
Before / After
root@isaac-master1:/home/rancher# ps aux | grep iscsi root 6337 0.0 0.0 0 0 ? I< Aug06 0:00 [iscsi_eh] root 21170 0.0 0.0 24984 284 ? Ss 18:50 0:00 /sbin/iscsid root 21171 0.0 0.1 33928 5308 ? S<Ls 18:50 0:00 /sbin/iscsid root 25273 0.0 0.0 11284 964 pts/0 S+ 18:56 0:00 grep --color=auto iscsi root@isaac-master1:/home/rancher# iscsid root@isaac-master1:/home/rancher# ps aux | grep iscsi root 6337 0.0 0.0 0 0 ? I< Aug06 0:00 [iscsi_eh] root 21170 0.0 0.0 24984 284 ? Ss 18:50 0:00 /sbin/iscsid root 21171 0.0 0.1 33928 5308 ? S<Ls 18:50 0:00 /sbin/iscsid root 25331 0.0 0.0 0 0 ? Zs 18:56 0:00 [iscsid] <defunct> root 25332 0.0 0.0 0 0 ? Z 18:56 0:00 [iscsid] <defunct> root 25387 0.0 0.0 11284 976 pts/0 S+ 18:56 0:00 grep --color=auto iscsi
The text was updated successfully, but these errors were encountered: