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
Describe the solution you'd like:
Longhorn has the following dependencies:
Make sure bash, curl, findmnt, grep, awk and blkid has been installed in all nodes of the Kubernetes cluster.
Make sure open-iscsi has been installed, and the iscsid daemon is running on all nodes of the Kubernetes cluster.
All of these except open-iscsi are included in SLE Micro, and given Longhorn is part of the Rancher family it feels appropriate to include this package so that when building a seed image via Elemental, we can use Elemental nodes as storage nodes with Longhorn in our cluster.
Anything else you would like to add:
I tested a deployment of Longhorn on cluster nodes that didn't have this dependency and can confirm the deployment fails
Environment:
Elemental release version (use cat /etc/os-release): v2.0.2
Rancher version: v2.8.4
Kubernetes version (use kubectl version): v1.28.9+k3s1
Cloud provider or hardware configuration: Harvester
The text was updated successfully, but these errors were encountered:
Just to note that although not explicitly mentioned, the iscsi_tcp kernel module is also a requirement. Without it volumes will fail to attach to nodes and longhorn instance-manager logs will show: libkmod: kmod_module_insert_module: could not find module by name='iscsi_tcp'\niscsiadm: Could not insert module tcp. Kmod error -2\niscsiadm: iSCSI driver tcp is not loaded. Load the module then retry the command.\niscsiadm: Could not perform SendTargets discovery: iSCSI driver not found. Please make sure it is loaded, and retry the operation\n: exit status 12"
Another gottcha - If you want to use a Longhorn volume with the access mode of ReadWriteMany (RWX) then nfs-utils or nfs-common is also required, else you'll run into errors along the lines of: [MountVolume.MountDevice failed for volume pvc-foo : rpc error: code = Internal desc = mount failed: exit status 32 Mounting command: /usr/local/sbin/nsmounter Mounting arguments: mount -t nfs -o :/pvc /var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/globalmount Output: mount: /var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/ globalmount bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.]
Describe the solution you'd like:
Longhorn has the following dependencies:
All of these except open-iscsi are included in SLE Micro, and given Longhorn is part of the Rancher family it feels appropriate to include this package so that when building a seed image via Elemental, we can use Elemental nodes as storage nodes with Longhorn in our cluster.
Anything else you would like to add:
I tested a deployment of Longhorn on cluster nodes that didn't have this dependency and can confirm the deployment fails
Environment:
cat /etc/os-release
): v2.0.2kubectl version
): v1.28.9+k3s1The text was updated successfully, but these errors were encountered: