Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rework iscsi-tools #577

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

frezbo
Copy link
Member

@frezbo frezbo commented Jan 5, 2025

  • tgtd is only needed if exposing iSCSI targets from the host, not needed when using as a client.
  • Use /system/etc as writable homedir for open-iscsi
  • Drop isns since we never ran isns daemon

We could also split the iscsid-wrapper into two services, will do after what comes out of
siderolabs/talos#10009.

* `tgtd` is only needed if exposing `iSCSI` targets from the host, not
needed when using as a client.
* Use `/system/etc` as writable homedir for open-iscsi
* Drop `isns` since we never ran `isns` daemon

We could also split the `iscsid-wrapper` into two services, will do
after what comes out of
siderolabs/talos#10009.

Signed-off-by: Noel Georgi <[email protected]>
frezbo added a commit to frezbo/talos that referenced this pull request Jan 5, 2025
Rework `iscsi-tools` extensions tested based on siderolabs/extensions#577

Signed-off-by: Noel Georgi <[email protected]>
@@ -23,18 +23,19 @@ func main() {

cmd.Stdout = &cmdOut

if _, err := os.Stat("/etc/iscsi/initiatorname.iscsi"); err != nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how would this work on upgrades? if there already was a name provided?

@runningman84
Copy link

Please test this with longhorn...

@frezbo
Copy link
Member Author

frezbo commented Jan 8, 2025

Please test this with longhorn...

already here siderolabs/talos#10087

@voxxit
Copy link

voxxit commented Jan 8, 2025

And Synology CSI, which frankly needs docs revisions. I have a Synology NAS I can use to help test, if necessary.

@frezbo
Copy link
Member Author

frezbo commented Jan 9, 2025

And Synology CSI, which frankly needs docs revisions. I have a Synology NAS I can use to help test, if necessary.

this is not something we can test here, so if possible that would be great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants