Commit Graph

36 Commits

Author SHA1 Message Date
Meinhard Zhou
e351c0ef98
Merge pull request #29 from TerryHowe/prow-update-master
Prow update master
2025-01-16 15:49:44 +08:00
Terry Howe
b2a04b5291 release-tools: update
Commit summary:
1fbad65 Squashed 'release-tools/' changes from f9d5b9c..98f2307

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
2024-12-09 12:39:41 -07:00
Terry Howe
1fbad65d7f Squashed 'release-tools/' changes from f9d5b9c..98f2307
98f2307 Merge pull request #260 from TerryHowe/update-csi-driver-version
e9d8712 Merge pull request #259 from stmcginnis/deprecated-kind-kube-root
faf79ff Remove --kube-root deprecated kind argument
734c2b9 Merge pull request #265 from Rakshith-R/consider-main-branch
f95c855 Merge pull request #262 from huww98/golang-toolchain
3c8d966 Treat main branch as equivalent to master branch
e31de52 Merge pull request #261 from huww98/golang
fd153a9 Bump golang to 1.23.1
a8b3d05 pull-test.sh: fix "git subtree pull" errors
6b05f0f use new GOTOOLCHAIN env to manage go version
18b6ac6 chore: update CSI driver version to 1.15
227577e Merge pull request #258 from gnufied/enable-race-detection
e1ceee2 Always enable race detection while running tests
988496a Merge pull request #257 from jakobmoellerdev/csi-prow-sidecar-e2e-path
028f8c6 chore: bump to Go 1.22.5
69bd71e chore: add CSI_PROW_SIDECAR_E2E_PATH
f40f0cc Merge pull request #256 from solumath/master
cfa9210 Instruction update
379a1bb Merge pull request #255 from humblec/sidecar-md
a5667bb fix typo in sidecar release process
4967685 Merge pull request #254 from bells17/add-github-actions
d9bd160 Update skip list in codespell GitHub Action
adb3af9 Merge pull request #252 from bells17/update-go-version
f5aebfc Add GitHub Actions workflows
b82ee38 Merge pull request #253 from bells17/fix-typo
c317456 Fix typo
0a78505 Bump to Go 1.22.3
edd89ad Merge pull request #251 from jsafrane/add-logcheck
043fd09 Add test-logcheck target
d7535ae Merge pull request #250 from jsafrane/go-1.22
b52e7ad Update go to 1.22.2
14fdb6f Merge pull request #247 from msau42/prow
dc4d0ae Merge pull request #249 from jsafrane/use-go-version
e681b17 Use .go-version to get Kubernetes go version
9b4352e Update release playbook
c7bb972 Fix release notes script to use fixed tags
463a0e9 Add script to update specific go modules
b54c1ba Merge pull request #246 from xing-yang/go_1.21
5436c81 Change go version to 1.21.5
267b40e Merge pull request #244 from carlory/sig-storage
b42e5a2 nominate self (carlory) as kubernetes-csi reviewer
a17f536 Merge pull request #210 from sunnylovestiramisu/sidecar
011033d Use set -x instead of die
5deaf66 Add wrapper script for sidecar release
f8c8cc4 Merge pull request #237 from msau42/prow
b36b5bf Merge pull request #240 from dannawang0221/upgrade-go-version
adfddcc Merge pull request #243 from pohly/git-subtree-pull-fix
c465088 pull-test.sh: avoid "git subtree pull" error
7b175a1 Update csi-test version to v5.2.0
987c90c Update go version to 1.21 to match k/k
2c625d4 Add script to generate patch release notes

git-subtree-dir: release-tools
git-subtree-split: 98f23071d946dd3de3188a7e1f84679067003162
2024-12-09 12:39:31 -07:00
Meinhard Zhou
18f1d04dff
Merge pull request #25 from MeinhardZhou/feat/add_rdma_support
feat: add rdma support
2023-11-28 14:33:16 +08:00
Meinhard Zhou
b002568227 feat: add rdma support
Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
2023-11-21 20:43:13 +08:00
Meinhard Zhou
998801c53d
Merge pull request #21 from MeinhardZhou/chore/update_release
Construct: make release as sub-tree
2023-11-20 20:53:15 +08:00
Meinhard Zhou
4199ec0739 Squashed 'release-tools/' content from commit f9d5b9c
git-subtree-dir: release-tools
git-subtree-split: f9d5b9c05ef730f191dd31f2a012d6161d98bff6
2023-11-20 20:43:12 +08:00
Meinhard Zhou
f5b09e4c5a Merge commit '4199ec073959cd9997ea6393576c35f6e608a357' as 'release-tools' 2023-11-20 20:43:12 +08:00
Meinhard Zhou
ab0594a5a9 chore: remove manual created release-tools
Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
2023-11-20 19:36:41 +08:00
Meinhard Zhou
a70ce3cecd
Merge pull request #17 from MeinhardZhou/chore/update_go_mod
Construct: update go mod
2023-11-20 19:34:04 +08:00
Meinhard Zhou
576dccb738 fix: update go mod
1. upgrade go version from v1.14 to v.1.19
2. upgrade csi_spec from v1.5.0 to v1.7.0
3. upgrade golang.org/x/net from v0.4.0 to v0.5.0
4. upgrade google.golang.org/grpc from v1.49.0 to v1.51.0
5. upgrade klog from v1.0 to v2.80.1
6. upgrade k8s.io/utils from 2022 to 2023
7. remove logrus

Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
2023-11-20 19:23:31 +08:00
Kubernetes Prow Robot
ea5c2acba7
Merge pull request #24 from testwill/string
chore: use String() instead of fmt.Sprintf
2023-06-27 01:12:31 -07:00
guoguangwu
7129ec591b chore: use String() instead of fmt.Sprintf 2023-06-27 13:32:05 +08:00
haruband
41bbaf9cfb
Fix multiple connections problems to one same nqn in a single node (#23)
* fix: make multiple connections to one same nqn possible in a single node

Multiple connections to one same nqn in a single node return -EALREADY error.
So, we should use a hostnqn to make every connections seperate. It is appropriate
to use a target path from a volume request as a hostnqn.

* fix: make ro and rw mounts for one same nqn possible in a single node

ReadOnly and ReadWrite mounts for one same nqn in a single node return -EBUSY error.
So, we should remove readonly and readwrite options when mounting a block device in a
csi driver. A cri runtime makes a mount as readonly inside containers if needed.

* fix: add fallback supports for no hostnqn sysfs file supports

Directories per each nqn will be created in /run/nvmf and files per each hostnqn
will be created in /run/nvmf/{nqn}. If linux kernel has no hostnqn sysfs file
supports, we will disconnect all connections for a nqn at once when a directory for
the nqn is empty.

* refactor: rename sysfs_nqn_path to sysfs_subsysnqn_path

* refactor: use filepath.Join instead of strings.Join

* fix: add explicitly UnsupportedHostnqnError for fallback supports

If linux kernel has no hostnqn sysfs file supports, return UnsupportedHostnqnError
and switch to fallback mode which will disconnect all connections at once when
a last controller in a nqn is disconnected.

* fix: return directly after fallback mode

* fix: mount the host's /run/nvmf directory to csi-node-driver
2023-05-04 11:20:38 +08:00
Meinhard Zhou
0bf764e9e2
Merge pull request #20 from MeinhardZhou/chore/components
Example: update componments to the latest version.
2023-03-30 17:51:08 +08:00
Meinhard Zhou
d888332416
Merge pull request #16 from MeinhardZhou/fix/attacher
Example: add va/status to rbac role's rule
2023-03-30 17:48:00 +08:00
Meinhard Zhou
bfea0e8ade chore: update componments to latest version.
Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
2023-02-17 11:08:06 +08:00
Meinhard Zhou
e122809913 fix: add volumeattachments/status to rbac role's rule
Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
2023-02-17 11:05:31 +08:00
Kubernetes Prow Robot
caa1f81133
Merge pull request #14 from lajiao117/master
Fix some problems
2022-10-23 20:22:24 -07:00
zhangdi
305dddba10 Fix some problems
1.fix path error in deploy/kubernetes/csi-nvmf-node.yaml
2.delete glog from the code
3.check vol uuid param before attach nvmf volume
2022-10-21 21:17:34 +08:00
Kubernetes Prow Robot
9864cbfc93
Merge pull request #13 from MeinhardZhou/docs/fix_setup
chore: fix some error in setup
2022-09-28 10:34:35 -07:00
Meinhard Zhou
996d83f3b3 chore: fix some error in setup
1. add SPDK target setup in README.
2. fix setup_kernel_nvmf_target command error.
3. fix pv.yaml's storageclass name.

Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
2022-09-28 15:24:01 +08:00
Kubernetes Prow Robot
a2c52a6e60
Merge pull request #11 from MeinhardZhou/fix/mount_nvmf_error
fix: make example available
2022-08-20 01:35:35 -07:00
Meinhard Zhou
411117889a fix: make example available
1. fix path error in pkg/nvmf/fabrics.go
2. add nvmf kernel target setup guide
3. update example and deploy yaml

Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
2022-08-19 18:04:40 +08:00
Kubernetes Prow Robot
430f2e209b
Merge pull request #7 from MeinhardZhou/PR_TEMPLATE
docs: add PR and ISSUE TEMPLATE.
2022-05-09 05:15:19 -07:00
Meinhard Zhou
4b5491d86f docs: add PR and ISSUE TEMPLATE.
Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
2022-04-27 18:27:35 +08:00
Kubernetes Prow Robot
c7af172f36
Merge pull request #5 from MeinhardZhou/refactor_backup
refactor: refactor some code to make it more readable
2022-03-17 23:17:16 -07:00
Meinhard Zhou
f770bb3802 refactor: refactor some code to make it more readable
1. modify go.mod module name.
2. move disk.go and mounter.go into nvmf.go
3. make Connector as an objective

Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
2022-03-17 13:48:06 +08:00
Kubernetes Prow Robot
7d1d0e2ec9
Merge pull request #4 from MeinhardZhou/master
add release-tools into master.
2022-03-16 05:23:49 -07:00
Meinhard Zhou
3e07ae4e60 style&chore: modity Makefile and some code style
1. add .prow.sh
2. add a symlink in Makefile related to release-tools.
3. modify some code style to pass fmt test.

Signed-off-by: Meinhard Zhou <zhouenhua@bytedance.com>
2022-03-16 12:43:44 +08:00
Meinhard Zhou
a62f221f93 Merge commit 'd8b4be456d22eb649bde2924982cee54ee3ee20e' as 'release-tools' 2022-02-21 16:39:02 +08:00
Meinhard Zhou
d8b4be456d Squashed 'release-tools/' content from commit 335339f
git-subtree-dir: release-tools
git-subtree-split: 335339f059da0b8b1947794a8c75d9e5b973cb79
2022-02-21 16:39:02 +08:00
Meinhard Zhou
7c3fb06bb0
Merge pull request #3 from MeinhardZhou/master
chorei&docs: optim Makefile and README
2021-11-12 17:46:58 +08:00
zhouenhua
2792dd2391 chorei&docs: optim Makefile and README
1. add container image build in Makefile
2. reorganized test guide
3. renamed csi-driver yaml.

Signed-off-by: zhouenhua <zhouenhua@bytedance.com>
2021-11-12 17:29:39 +08:00
zhouenhua
847c06d6c6 Update boilerplate text and OWNER_ALIASES
Signed-off-by: zhouenhua <zhouenhua@bytedance.com>
2021-10-27 17:54:52 +08:00
zhouenhua
6a6ac61e01 init csi-driver-nvmf
Signed-off-by: zhouenhua <zhouenhua@bytedance.com>
2021-09-10 11:50:07 +08:00