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 Jun 7, 2021. It is now read-only.
This is going to be an open tracking issue for a while. Specifically, we are constrained by the following elements:
iscsid and iscsiadmmust be the same version. There is no "standard" protocol for iscsid <-> iscsiadm communication, which is why there is no external go library or anything like it. Running .874 on the host and .878, e.g. (which was tried) leads to errors
the kernel modules must match the kernel version (obviously)
the iSCSI netlink code in the Linux kernel is not network namespace aware
This means that any of our options leads to a potential minefield.
Run iscsid and iscsiadm in containers. This can create problems with the Unix domain socket that iscsid listens on, which means uninstalling it from the host as part of deploying the DaemonSet (a difficult and potentially dangerous step) as well as creating issues with kernel modules that may not match the host.
Run iscsid on the host, and iscsiadm in a container. This can create version mismatch problems, as mentioned above.
Run iscsid on the host, and mount iscsiadm from the host into the container. This guarantees correct version match between iscsiadm and iscsid, and between kernel modules and kernel. However, it loses the ability to update to a newer version of open-iscsi to fix bugs.
For now, we are sticking with the last option, bind-mounting iscsiadm into the packet-driver container so we have the correct versions, but keeping an eye on developments to see if it becomes possible to run it all in containers in the future.
Should be included as another container in the existing DaemonSet.
Depends on completing the work in https://github.com/packethost/packet-block-storage:
The text was updated successfully, but these errors were encountered: