45Drives / cockpit-file-sharing

A Cockpit plugin to easily manage samba and NFS file sharing.
GNU General Public License v3.0
596 stars 32 forks source link

Failed to initialize iSCSI Driver #109

Open Omoinemie opened 3 months ago

Omoinemie commented 3 months ago

Bug Info

/sys/kernel/scst_tgt was not found. Is SCST installed?

OS : Debian GNU/Linux 12 Arch : x86_64 (64 Bit) Kernel : 6.8.8-4-pve

cdav0031 commented 3 weeks ago

I have the same issue

image

bkelly16 commented 3 weeks ago

Do you have the iSCSI kernel modules SCST packages installed ?

i do not believe Proxmox maintains SCST packages.

We build and maintain deb and rpms for the SCST kernel modules and userspace packages. Here is the three deb packages:

After install you can load kernel modules with:

modprobe scst
modprobe iscsi-scst
modprobe scst-vdisk

To load at boot create this file: /etc/modules-load.d/scst.conf

With this content

scst_vdisk
iscsi_scst
scst
AlBundy33 commented 3 weeks ago

iscsi-scst seems to be missing for rhel. 🤔

$ cat /etc/os-release
NAME="Rocky Linux"
VERSION="9.4 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.4"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.4 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.4"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.4"
$ uname -a
Linux rocky-vm 5.14.0-427.40.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 16 14:57:47 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Omoinemie commented 3 weeks ago

Do you have the iSCSI kernel modules SCST packages installed ?-----------谷歌翻译mobile-----------您是否安装了 iSCSI 内核模块 SCST 包?

i do not believe Proxmox maintains SCST packages.-----------谷歌翻译mobile-----------我不相信 Proxmox 维护 SCST 包。

We build 和 maintain deb 和 rpms for the SCST kernel modules 和 userspace packages. Here is the three deb packages:-----------谷歌翻译mobile-----------我们为 SCST 内核模块和用户空间包构建并维护 deb 和 rpm。以下是三个 deb 包:

After install you can load kernel modules with:-----------谷歌翻译mobile-----------安装后,你可以使用以下命令加载内核模块:

modprobe scst
modprobe iscsi-scst
modprobe scst-vdisk

To load at boot create this file: /etc/modules-load.d/scst.conf-----------谷歌翻译mobile-----------要在启动时加载,请创建此文件:/etc/modules-load.d/scst.conf

With this content-----------谷歌翻译mobile-----------有了这个内容

scst_vdisk
iscsi_scst
scst

after install modules, now report an error

localhost: /usr/bin/env: 
error: Could not connect to launcher: Connection refused
crm_mon: Connection to cluster failed: Connection refused
cdav0031 commented 2 weeks ago

I have the same issue with the new file sharing update. I am using a prebuilt full burned in HL15 that I purchased in July. It is running the rocky Linux. If I down grade to cockpit-file-sharing-3.3.7-1.el8.noarch.rpm the errors go away. Any thing past that throw the following error.

image

I have already installed the following 3 SCST packages that are in e18 stable repo:

scst-dkms-3.9.0.aa2c92542-1.el8.x86_64.rpm scst-dkms-userspace-3.9.0.aa2c92542-1.el8.x86_64.rpm scstadmin-1.0.0aa2c92542-1.x86_64.rpm

Here is the output for the version of Linux I am running.

Linux version 4.18.0-553.22.1.el8_10.x86_64 (mockbuild@iad1-prod-build001.bld.equ.rockylinux.org) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-22) (GCC)) #1 SMP Wed Sep 25 09:20:43 UTC 2024