gentle-actor-15883
06/06/2025, 6:26 AMInitiatorName
, but after the update, the IQN has changed.
Is it possible that the Harvester update caused this change, or is it something managed by Kubernetes? This change is causing issues with adding disks from our QSAN storage server, as the updated IQN no longer matches the expected configuration.
Thank you in advance for your time and support!
Best regards,Damyanfull-night-53442
06/06/2025, 3:27 PMgentle-actor-15883
06/06/2025, 3:30 PMiscsiadm
, not using a CSI driver.full-night-53442
06/06/2025, 3:32 PMbland-article-62755
06/06/2025, 3:35 PM/oem/90_custom.yaml
and write a script to get it iscsiadm to perform the actions after every reboot, but best practice would be to use the csi.ambitious-daybreak-95996
06/09/2025, 12:44 AMambitious-daybreak-95996
06/09/2025, 12:46 AM/etc/iscsi/initiatorname.iscsi
because those changes should now persist. For other versions as @bland-article-62755 said you can add yaml to /oem
to override it (see suggested workaround in the description of that issue).ambitious-daybreak-95996
06/09/2025, 12:46 AMgentle-actor-15883
06/09/2025, 12:52 PMambitious-daybreak-95996
06/10/2025, 6:49 AMgentle-actor-15883
06/10/2025, 9:26 AMambitious-daybreak-95996
06/11/2025, 1:20 AM/etc/iscsi/initiatorname.iscsi
on each host, so if you really need to you could set them all back to the same name, BUT each host really is meant to have a different name, so it would be best to have unique names for each host, and update the config on the storage server to allow connections from all hosts (not just the one name).
I haven't tried backing Longhorn with iSCSI myself, so I'm interested to hear how it works for youfull-night-53442
06/11/2025, 1:25 AMambitious-daybreak-95996
06/11/2025, 1:40 AMfull-night-53442
06/11/2025, 1:43 AMambitious-daybreak-95996
06/11/2025, 1:44 AMambitious-daybreak-95996
06/11/2025, 1:45 AMgentle-actor-15883
06/11/2025, 9:02 AMgentle-actor-15883
06/11/2025, 12:45 PMDISK_PATH=$(readlink -f /dev/disk/by-path/ip-192.168.70.10:3260-iscsi-iqn.2004-08.com.qsan:xs3216-000d47038:dev0.ctr1-lun-0)
mount "${DISK_PATH}" /var/lib/harvester/extra-disks/79de259774dce4983b72c9ddb950793c
It just doesn’t seem to work when I use a variable for the path, and I’m not sure why.
Do you have any idea what might be causing this? Or am I possibly doing something wrong in the way I'm using variables?