Skip to content

Conversation

@sbskas
Copy link

@sbskas sbskas commented Oct 28, 2021

Add minimal support for running huawei csi on talos (talos OS.
This minimal OS has no shell and is mainly running GO controller to pilot the kernel.

We present here the minimal modification to make the huawei run on this env.
Those fixes are of different kind:
1- remove the nsenter sh -c command. Make the container privileged is enough. Use binaries in the container instead.
2- Use the go library instead of using shell commands to read hostname or Initiatorname
3- Different fixes preventing running the huawei csi

In this context the huawei csi node works with a sidecar container running the iscsid daemon.

doubletao318 and others added 17 commits November 14, 2020 20:09
…e we any of sh or awk.

Just parse the file and search for the right line =<initiatorname>
…ng iscsi cmds.

Those functions are there to not interfere with ExecShellCmds.
Remove nsenter execFunction since talos has not the minimal cmd to execute the commands in env.
Run all the cmds inside local container that must add the corresponding packages.
Fix a problem with blkdid inside a package.
@johanngyger johanngyger mentioned this pull request Aug 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants