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

Talos fix #47

Open
wants to merge 17 commits into
base: V2.2.14
Choose a base branch
from
Open

Talos fix #47

wants to merge 17 commits into from

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.
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