Commit Graph

41 Commits

Author SHA1 Message Date
David Gaster
e651a6a368 ability to specify platform arch for air gap install
Signed-off-by: David Gaster <dngaster@gmail.com>
(cherry picked from commit a601ecc468)
2023-06-19 15:53:18 +08:00
Derek Su
1191925c82 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>
(cherry picked from commit 975239ecc9)
2023-06-13 14:29:12 +08:00
Derek Su
c839128a9f spdk: nvme-cli should be between 1.12 and 1.16
Signed-off-by: Derek Su <derek.su@suse.com>
(cherry picked from commit 7cbb97100e)
2023-06-08 12:38:17 +08:00
Derek Su
227219229c spdk: update expected-nr-hugepages to 512 in environment_check.sh
Longhorn 5739

Signed-off-by: Derek Su <derek.su@suse.com>
(cherry picked from commit a5041e1cf3)
2023-06-06 12:24:00 +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
Ray Chang
c3095ee6e0 fix: modify parameter names , output-file and version, in help function
Longhorn 1521

Signed-off-by: Ray Chang <ray.chang@suse.com>
2022-11-01 16:09:24 +08:00
Ray Chang
704f6518ec improvement(restore): script for restoring from backup file
Longhorn 1521

Signed-off-by: Ray Chang <ray.chang@suse.com>
2022-10-20 23:27:01 +08:00
Phan Le
cc7a937188 Fix the document about the flags
There shouldn't have the = character

Longhorn-3714

Signed-off-by: Phan Le <phan.le@suse.com>
2022-09-02 13:15:54 +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
David Ko
91fa3bb642 Update manifests for 1.4.0 dev purpose and use master-head images
Signed-off-by: David Ko <dko@suse.com>
2022-07-22 16:41:20 +08:00
David Ko
0a275ab34f Add update-manifests-dev-version.sh
Signed-off-by: David Ko <dko@suse.com>
2022-07-22 16:41:20 +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
Phan Le
0614c55fc3 Add rancher chart migration script
The script helps to migrate Longhorn installed in the old Rancher
catalog UI to the new chart in Rancher app&marketplace UI

Longhorn-3714

Signed-off-by: Phan Le <phan.le@suse.com>
2022-07-07 09:54:18 +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
David Ko
2fcba12f67 Generate longhorn.yaml based on chart
longhorn #3716

Signed-off-by: David Ko <dko@suse.com>
2022-03-09 15:07:46 +08:00
Nisha K
184ad40584 Double quote array expansion
Double quote array expansions to avoid re-splitting elements.

Signed-off-by: Nisha K <nishak@vmware.com>
2021-11-24 15:24:14 +08:00
David Ko
7b8140ba2f Update to 1.2.1-rc1
Signed-off-by: David Ko <dko@suse.com>
2021-09-17 09:13:56 +08:00
jayonlau
a1359e90a6 Clean up extra spaces
Clean up extra spaces, although these errors are not important, they affect the code specification.

Signed-off-by: jayonlau <jayonlau@gmail.com>
2021-07-29 15:14:53 +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
Phan Le
c90ad4cf2b scripts: fix the scripts load-images.sh and save-images.sh in the case user provides invalid flags
When user provides an invalid flag, print out error message and
help menu instead of looping forever

Longhorn #1419

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-07-15 19:48:43 -07:00
Phan Le
13b2d0c84e deploy, scripts: change the save-images.sh and load-images.sh so by default they don't create/load a tar file
This option will make it faster for user who don't need the exported tar file

Longhorn #1419

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-07-15 17:38:02 -07:00
Phan Le
d2460a9819 deploy, scripts: provide list of images and script to pull and push all Longhorn component images to user provided registry
This help to remove the extra dependency on different container image
registry. Docker Hub now holds all Longhorn components' images.
Also, users can easily pull all the necessary images to their
air-gap environment

Longhorn #1419

Signed-off-by: Phan Le <phan.le@rancher.com>
2020-07-14 22:29:57 -07:00
Sheng Yang
85ab7c8d9d Sync with manager
commit 91bb47d8095238efc1249153341f8a57a4fd8f92
Author: Sheng Yang <sheng.yang@rancher.com>
Date:   Fri Apr 24 13:35:53 2020 -0700

    Longhorn v0.8.1-rc3 release

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2020-04-24 15:07:05 -07:00
Sheng Yang
c8d39afb58 Sync with manager:
commit 2ed3c8c76053c8df3fd418f6076c80c1ca49bf5b
Author: Sheng Yang <sheng.yang@rancher.com>
Date:   Mon Sep 16 18:47:54 2019 -0700

    Longhorn v0.6.0-rc1 release

Signed-off-by: Sheng Yang <sheng.yang@rancher.com>
2019-09-16 19:30:04 -07:00
Sheng Yang
dc338a28f3 Sync with Longhorn Manager
commit 84a789aa73369ce7af52d0a6b0cd6e1e53683eaf
	Author: Sheng Yang <sheng@yasker.org>
	Date:   Wed Nov 7 20:25:06 2018 -0800

	    Longhorn v0.3.2-rc1 release
2018-11-07 21:52:22 -08:00
James Oliver
581b54651a Update docs relevant to FlexVolume dirpath setting 2018-09-12 18:03:39 -07:00
Sheng Yang
a711494368 Sync with Longhorn manager
commit 7a292a02efd8844969202fa19d92802b19e16343
Author: Sheng Yang <sheng@yasker.org>
Date:   Wed Sep 12 10:52:59 2018 -0700

    deploy: update driver yaml for Flexvolume directory auto detection
2018-09-12 17:51:39 -07:00
Sheng Yang
d7b574acd6 Sync with Longhorn manager
commit 8e060dce288c4dfa054a4b0a188559e624aeb3c8
Author: James Oliver <joliver@rancher.com>
Date:   Fri Aug 31 16:09:06 2018 -0700

    Add script to tear down Longhorn system
2018-08-31 16:12:44 -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