Commit Graph
9042 Commits
Author SHA1 Message Date
Travis Nielsen bf754bce70 Merge pull request #10913 from rook/mergify/bp/release-1.10/pr-10899
manifest: fix unexpected end of stream (backport #10899)
2022-09-07 10:34:23 -06:00
Travis Nielsen 2311a46b06 Merge pull request #10915 from rook/mergify/bp/release-1.10/pr-10777
rbd-mirror: remove volume replication sidecar (backport #10777)
2022-09-07 10:33:22 -06:00
mergify[bot] c795454356 Merge pull request #10919 from rook/mergify/bp/release-1.10/pr-10906
csi: remove findCSIChange from predicate (backport #10906)
2022-09-07 15:58:11 +00:00
Madhu Rajanna 4d1b5801f1 csi: remove findCSIChange from predicate
findCSIChange will work only for single
line values/configration in the configmap,
If the value is multiline the regex will not
be able to indentify the change because of this
one no configurations will be applied to the
csi driver. Removing this check so that if there
is any update on the configmap we will
reconcile the csi driver.

Note:- This might looks heavy but updating of config
map is not a frequent event.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 5b843a17a1)
2022-09-07 15:11:58 +00:00
yati1998 736d25399c build: remove volume replication crd from build
This commit removes the creation of volume
replication crds from build.

Signed-off-by: yati1998 <ypadia@redhat.com>
(cherry picked from commit 69a233be4e)
2022-09-07 14:27:48 +00:00
yati1998 9b1ae35cbb csi: remove controller-ip from csi-addons
This commit removes controller-ip parameter from
csi-addons sidecar as it is no longer required to be
passed.

Signed-off-by: yati1998 <ypadia@redhat.com>
(cherry picked from commit cc4fd0c547)
2022-09-07 14:27:47 +00:00
yati1998 72706176e0 rbdmirror: remove volume replication sidecar
The volume replication operator is being moved to
kubernetes-csi-addons. This commit hence, removes
the volume replication sidecar and updates the
related documentation.
It will also update the csi-addons sidecar version
to the latest one.

Closes: #10655

Signed-off-by: yati1998 <ypadia@redhat.com>
(cherry picked from commit 9b4361b379)
2022-09-07 14:27:47 +00:00
Khris Richardson 91061cc05f manifest: fix unexpected end of stream
Signed-off-by: Khris Richardson <khris.richardson@gmail.com>
(cherry picked from commit 9614428f54)
2022-09-07 13:42:45 +00:00
Travis Nielsen 17123745e3 Merge pull request #10902 from rook/mergify/bp/release-1.10/pr-10791
csi: use cephcsi image for nfs nodeserver + holder design (backport #10791)
2022-09-06 13:46:06 -06:00
mergify[bot] 1e56c4beb4 Merge pull request #10886 from rook/mergify/bp/release-1.10/pr-10858
osd: refactor code (backport #10858)
2022-09-06 17:47:08 +00:00
Rakshith R dd9d5076e0 ci: add e2e for csi-nfsplugin restart
This commit adds e2e for csi-nfsplugin restart
when it is not on host-networking.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 07aac106df)
2022-09-06 11:45:10 -06:00
Travis Nielsen a3ed827ae4 Merge pull request #10897 from rook/mergify/bp/release-1.10/pr-10854
csi: change the default fsgroup policy for CSI driver object (backport #10854)
2022-09-06 11:37:04 -06:00
Travis Nielsen cf5cd99c8c Merge pull request #10901 from rook/mergify/bp/release-1.10/pr-10893
ci: no need to copy working dir to GOPATH (backport #10893)
2022-09-06 11:23:29 -06:00
Rakshith R cc19356068 csi: remove nfs image
This commit remove nfs image
since it is no longer needed.
Cephcsi itself will act as nfs
nodeserver.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 7722226521)

# Conflicts:
#	deploy/examples/images.txt
2022-09-06 16:52:46 +00:00
Rakshith R b10f56ddaa csi: add holder pod support for nfs
This commit adds holder pod support
for nfs to be able to work in non-host
networking scenario, without being
affected by restarts of csi-nfsplugin.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 7c6e4d71bc)
2022-09-06 16:52:44 +00:00
Rakshith R 092e761478 csi: use cephcsi image for nfs nodeserver
Cephcsi v3.7 now supports nfs nodeserver.
This commit changes nfs nodeserver image to
cephcsi image and makes other necessary
modifications to template.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 9405b59ff4)
2022-09-06 16:52:43 +00:00
subhamkrai aa76cf9013 ci: no need to copy working dir to GOPATH
this commits remove using working-dire and copying
files to GOPATH since they are not required anymore.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit c2cc8d3a66)
2022-09-06 15:15:39 +00:00
Humble Chirammal bb066a4a78 csi: change the default fsgroup policy for CSI driver object
This commit change the default fsgroup policy for csi driver object
to "File" type which is the better/correct setting for the CSI volumes
We have been using default value which is "ReadWriteOnceWithFSType".
with this change backward compatibility should be preserved.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 32ecc37d37)
2022-09-06 13:23:35 +00:00
Satoru Takeuchi 8d7dce6e5d osd: refactor code
Simplify osd management code.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 00b3d0f323)
2022-09-02 21:26:14 +00:00
Travis Nielsen 960389eaac Merge pull request #10884 from rook/mergify/bp/release-1.10/pr-10882
test: Wait for resource deletion during helm uninstall (backport #10882)
2022-09-02 13:53:00 -06:00
Travis Nielsen 2d5448f410 Merge pull request #10880 from rook/mergify/bp/release-1.10/pr-10875
csi: fix holder pod creation in openshift multus cluster (backport #10875)
2022-09-02 10:16:55 -06:00
Travis Nielsen 9f7f83b719 test: wait for resource deletion during helm uninstall
The helm integration test was immediately removing both the cluster
and the operator charts, without waiting for any resource deletion
between the deletions. This causes intermittent failures in the
test since the cluster CR and mon secret and configmap to never
be deleted because the operator will be stopped before their
finalizers can be removed. Now we wait for their finalizers
to be removed before removing the operator chart.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 5c478e5e04)
2022-09-02 16:16:53 +00:00
Madhu Rajanna fa3eeef9dc csi: add missing serviceAccoutName to holder
Add missing serviceAccountName for the holder
daemonset to create the pods with required
access.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 32943b64e3)
2022-09-02 14:14:05 +00:00
Madhu Rajanna e9f001a8f9 csi: set daemonset set name as template name
Currently daemonset template.metadata.name is
empty and the way we are setting is not correct
use the daemonset name as the template.metadata.name

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 2dae7f6778)
2022-09-02 14:14:05 +00:00
Travis Nielsen 34e461693a Merge pull request #10878 from rook/mergify/bp/release-1.10/pr-10874
ci: fix release tests configuration (backport #10874)
2022-09-02 07:56:25 -06:00
subhamkrai 33c770d949 ci: fix release tests configuration
I missed to remove older config for release
tests yaml.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit bfa78b7ea2)
2022-09-02 13:49:47 +00:00
Travis Nielsen 4015c7bbe5 Merge pull request #10870 from rook/mergify/bp/release-1.10/pr-10856
ci: remove older k8s config since we moved to 1.19 (backport #10856)
2022-09-01 14:48:26 -06:00
Travis Nielsen 1c74bf537e Merge pull request #10873 from rook/mergify/bp/release-1.10/pr-10871
docs: Update the latest-release docs to 1.10 (backport #10871)
2022-09-01 14:23:03 -06:00
Travis Nielsen b1a4851df7 docs: update the latest-release docs to 1.10
With the v1.10.0 release out, the latest-release docs need
to point to the 1.10 release. With each release we will
update to the next release branch when we have shipped.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit c4304e4b92)
2022-09-01 20:21:34 +00:00
Travis Nielsen f455efade5 Merge pull request #10862 from rook/mergify/bp/release-1.10/pr-10381
doc: add documentation for sharing a CephFS PVC across namespaces (backport #10381)
2022-09-01 12:09:14 -06:00
Travis Nielsen 00b21f4807 Merge pull request #10863 from rook/mergify/bp/release-1.10/pr-10781
docs/storage-config: add yaml way of configuring pg_num and pgp_num (backport #10781)
2022-09-01 12:09:02 -06:00
Travis Nielsen 3c6db35a4d Merge pull request #10865 from rook/mergify/bp/release-1.10/pr-10857
ci: ignore body-max-line-length (backport #10857)
2022-09-01 12:08:39 -06:00
Travis Nielsen 5449dd09e1 Merge pull request #10867 from rook/mergify/bp/release-1.10/pr-10855
osd: disallow to create osd on lv with metadata device (backport #10855)
2022-09-01 12:08:06 -06:00
subhamkrai f393379a9d ci: remove older k8s config since we moved to 1.19
no need of using older config to setup older k8s
since we moved to 1.19 as min k8s version.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 80be5b5fc0)
2022-09-01 10:46:26 -06:00
Blaine Gardner 321ff4803a Merge pull request #10868 from rook/mergify/bp/release-1.10/pr-10861
docs: add missed sssdConfigFile params for NFS CRD (backport #10861)
2022-09-01 09:40:22 -06:00
Blaine Gardner 2101fa5494 docs: add missed sssdConfigFile params for NFS CRD
Initial commit of NFS CRD docs missed two params, causing some users to
experience problems setting it up.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit f027140a97)
2022-09-01 15:39:42 +00:00
Satoru Takeuchi 16fffe09f7 osd: disallow to create osd on lv with metadata device
OSD on logical volume is raw mode. This mode can'set metadata device.
We should not mark a logical volume as available in this case.

Closes: https://github.com/rook/rook/issues/10747

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 8b513a4a74)
2022-09-01 15:31:28 +00:00
Satoru Takeuchi 0e5a247ad1 ci: ignore body-max-line-length
We don't care the line length of commit message.

ref.
https://github.com/rook/rook/pull/10445

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 2f66e7d15b)
2022-09-01 15:27:02 +00:00
Deepika Upadhyay 674bdfd89b docs: add yaml way of configuring pg_num and pgp_num
- adds description on how to configure default pg_num and pgp_num
  parameters on per pool basis while deploying rook based ceph cluster.
- advices user to declare them during initial startup.

uptil now, docs only covered cli way of configuring them.

Closes: https://github.com/rook/rook/issues/10361

Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
(cherry picked from commit 5a27780e91)
2022-09-01 15:06:56 +00:00
Guillaume Moutier 7c547e583a docs: add documentation for sharing a CephFS PVC across namespaces
Signed-off-by: Guillaume Moutier <guillaume.moutier@gmail.com>

various corrections following reviews

Signed-off-by: Guillaume Moutier <guillaume.moutier@gmail.com>
(cherry picked from commit 85244d187a)
2022-09-01 14:23:06 +00:00
Travis Nielsen 78be3b3252 Merge pull request #10850 from travisn/release-1.10.0
build: Update the release version to v1.10.0
v1.10.0
2022-08-31 15:41:41 -06:00
Travis Nielsen 9f852ac798 build: update the release version to v1.10.0
For the minor release update the docs and examples to
v1.10.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-31 14:49:21 -06:00
Travis Nielsen dd85997fb6 Merge pull request #10771 from rook/mergify/bp/release-1.10/pr-10736
CSI: provide a way to supply `--setmetadata` and `--clustername` to the csi driver (backport #10736)
2022-08-31 14:40:16 -06:00
Travis Nielsen 1eb9c81176 Merge pull request #10770 from rook/mergify/bp/release-1.10/pr-10503
csi: change the fsgrouppolicy for CephFS driver to "File" mode (backport #10503)
2022-08-31 14:39:20 -06:00
Travis Nielsen 77b61034a1 Merge pull request #10849 from rook/mergify/bp/release-1.10/pr-10848
ci: Revert ibm canary test to ubuntu 18 (backport #10848)
2022-08-31 12:44:32 -06:00
Travis Nielsen b4d1b92104 ci: setup helm upgrade test on the latest config
The older k8s version config is not setup properly for the
helm upgrade test, and also is not necessary.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 109c685961)
2022-08-31 18:25:18 +00:00
Travis Nielsen abebb786cc ci: revert ibm canary test to ubuntu 18
The ibm test has been failing since the move to ubuntu 20
was merged a couple days ago. Reverting back to 18 for now.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 5677587133)
2022-08-31 18:25:18 +00:00
Travis Nielsen 228b2858ff Merge pull request #10800 from rook/mergify/bp/release-1.10/pr-10795
docs: fix html rendering of nested list items -- "because markdown" (backport #10795)
2022-08-31 10:39:57 -06:00
Travis Nielsen eba9343c21 Merge pull request #10843 from rook/mergify/bp/release-1.10/pr-10834
build: Update min version to k8s 1.19 (backport #10834)
2022-08-31 10:35:08 -06:00
Travis Nielsen adb5b66f1c Merge pull request #10844 from rook/mergify/bp/release-1.10/pr-10840
csi: use the latest sidecars for ceph csi driver (backport #10840)
2022-08-31 10:34:16 -06:00