Phan Le
78fee8e05b
Fix bug: check script fails to perform all checks
...
When piping the script to bash (cat ./environment_check.sh | bash), the
part after `kubectl exec -i` will be interpreted as the input for the
command inside kubectl exec command. As the result, the env check script
doesn't perform the steps after that kubectl exec command. Removing the
`-i` flag fixed the issue.
Also, replacing `kubectl exec -t` by `kubectl exec` because the input of
kubectl exec command is not a terminal device
longhorn-5653
Signed-off-by: Phan Le <phan.le@suse.com>
2023-10-19 21:52:26 +08:00
Phan Le
d30a970ea8
Add kernel release check to environment_check.sh
...
longhorn-6854
Signed-off-by: Phan Le <phan.le@suse.com>
2023-10-11 15:23:49 -07:00
Derek Su
975239ecc9
spdk: nvme-cli should be equal to or greater than 1.12
...
go-spdk-helper can support nvme-cli v2.0+.
Signed-off-by: Derek Su <derek.su@suse.com>
2023-06-13 14:28:02 +08:00
Derek Su
7cbb97100e
spdk: nvme-cli should be between 1.12 and 1.16
...
Signed-off-by: Derek Su <derek.su@suse.com>
2023-06-08 12:31:49 +08:00
Derek Su
a5041e1cf3
spdk: update expected-nr-hugepages to 512 in environment_check.sh
...
Longhorn 5739
Signed-off-by: Derek Su <derek.su@suse.com>
2023-06-06 12:17:34 +08:00
Derek Su
cd461a9333
prerequisite: check SSE4.2 on x86-64 platform for SPDK feature
...
Longhorn 5738
Signed-off-by: Derek Su <derek.su@suse.com>
2023-05-10 11:17:32 +08:00
Derek Su
dab06c96e4
prerequisite: check uio_pci_generic instead of uio
...
Longhorn 5738
Signed-off-by: Derek Su <derek.su@suse.com>
2023-05-10 01:27:42 +08:00
Derek Su
9c7cfd7a53
prerequisite: fix old bash complains "delcare -A"
...
Longhorn 5738
Signed-off-by: Derek Su <derek.su@suse.com>
2023-05-10 01:27:42 +08:00
Derek Su
b15eac47a6
prerequisite: check the nvme-cli version
...
Old "nvme connect" does not support output format "-o" option.
Longhorn 5738
Signed-off-by: Derek Su <derek.su@suse.com>
2023-05-10 01:27:42 +08:00
Derek Su
73a8bda8bd
Environment check for SPDK support ( #5880 )
...
* Environment check for SPDK support
Longhorn 5738
Longhorn 5380
Signed-off-by: Derek Su <derek.su@suse.com>
Co-authored-by: David Ko <dko@suse.com>
2023-05-08 17:21:47 +08:00
achims311
94a23e5b05
Fix for bug #5304 (second version including POSIX way to call subroutine) ( #5314 )
...
* Fix for bug #5304 .
It uses the same technologie to get the kernel release as it was used
before to get the os of the node
Signed-off-by: Achim Schaefer <longhorn@schaefer-home.eu>
* used a lower case variable name as suggested by innobead
Signed-off-by: Achim Schaefer <longhorn@schaefer-home.eu>
---------
Signed-off-by: Achim Schaefer <longhorn@schaefer-home.eu>
Co-authored-by: David Ko <dko@suse.com>
2023-02-07 14:58:24 +08:00
Haribo112
5a071e502c
Made environment_check.sh POSIX compliant ( #5310 )
...
Made environment_check.sh POSIX compliant
Signed-off-by: Harold Holsappel <h.holsappel@iwink.nl>
Co-authored-by: Harold Holsappel <h.holsappel@iwink.nl>
2023-01-23 14:40:17 -08:00
Derek Su
62998adab2
environment check: precisely check kernel option
...
Longhorn 3157
Signed-off-by: Derek Su <derek.su@suse.com>
2022-12-26 20:22:58 +08:00
Derek Su
c83497b685
environment_check.sh: add nfs client kernel support
...
Longhorn 3157
Signed-off-by: Derek Su <derek.su@suse.com>
2022-12-26 16:09:24 +08:00
Derek Su
939ac11774
environment_check.sh: check the hostname uniqueness
...
Longhorn 5012
Signed-off-by: Derek Su <derek.su@suse.com>
2022-12-08 21:41:46 +08:00
Serge Tkatchouk
c1b93f5531
Add Gentoo support to environment_check.sh
...
This addition will allow Gentoo users to run this script and get sensible error messages in case they forgot to install required packages.
Signed-off-by: Serge Tkatchouk <sp1j3t@gmail.com>
2022-07-29 12:56:10 +08:00
Dante Foulke
edc1b83c5f
bugfix for issue #4216
...
Signed-off-by: Dante Foulke <flkdnt@gmail.com>
2022-07-13 16:28:16 +08:00
Max Hooton
b4fd827436
added arch support
...
Signed-off-by: Keloran <keloran@chewedfeed.com>
2022-05-08 12:07:19 +08:00
David Ko
f29d1da373
Release 1.3.0-preview1
...
Signed-off-by: David Ko <dko@suse.com>
2022-05-06 21:21:11 +08:00
Andrew Lavery
ae45a58c3d
environment check script should check all pods
...
instead of just the first pod that it finds
Signed-off-by: Andrew Lavery <laverya@umich.edu>
2021-06-04 14:41:34 +08:00
James Oliver
581b54651a
Update docs relevant to FlexVolume dirpath setting
2018-09-12 18:03:39 -07:00
Sheng Yang
d4d94cb82a
Sync with Longhorn manager
...
commit ad90204cc69512b1ed3c0b544d088fa22ebbb5ce
Author: Sheng Yang <sheng@yasker.org>
Date: Thu Aug 23 14:12:21 2018 -0700
Update image to rancher/longhorn-manager:v0.3.0
Engine image: rancher/longhorn-engine:v0.3.0
UI Image: rancher/longhorn-ui:v0.3.0
2018-08-23 14:24:05 -07:00
Sheng Yang
9098172019
Sync with Longhorn Manager
...
commit 7344e505df6d3b779d46c4fb153c3169316fe753
Author: James Oliver <joliver@rancher.com>
Date: Tue Aug 21 18:51:13 2018 -0700
Detect flexvolume path by inspecting host pid namespace
2018-08-21 20:11:33 -07:00
Sheng Yang
bb1ac25afd
Sync with Longhorn Manager
...
Manager commit:
commit 266f566783e47ce5e351f98491ea5b7b86a875d2
Author: Sheng Yang <sheng@yasker.org>
Date: Tue Aug 21 11:48:22 2018 -0700
Update images
Manager: rancher/longhorn-manager:2c17d9e
UI: rancher/longhorn-ui:72303d9
2018-08-21 16:10:53 -07:00