Commit Graph
9052 Commits
Author SHA1 Message Date
Rakshith R 5e4d0490de csi: add NFS clone support
This commit reqired yaml and docs
changes too for NFS clone support.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit f8eb2a2fbc)
2022-09-09 15:44:06 +00:00
Rakshith R 20fda88add csi: add NFS snapshot support
This commit adds snapshotter sidecar to
NFS driver and required yamls and docs too.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 73042c7531)
2022-09-09 15:44:06 +00:00
Travis Nielsen 530049df2f Merge pull request #10938 from rook/mergify/bp/release-1.10/pr-10937
helm: Warn to upgrade to 1.9.10 before k8s 1.25 (backport #10937)
2022-09-08 11:05:49 -06:00
Travis Nielsen 60958cc9ce docs: warn to upgrade to 1.9.10 before k8s 1.25
The helm chart is blocked from upgrading to newer versions of Rook
if v1.9.10 is not installed before upgrading to K8s 1.25. The
helm chart is confused by the PSPs that still exist in the installed
chart and fails to upgrade to the new chart.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 9cad930b4d)
2022-09-08 16:58:00 +00:00
mergify[bot] e18213c5a5 Merge pull request #10921 from rook/mergify/bp/release-1.10/pr-10776
operator: improve ProbeHandler error message (backport #10776)
2022-09-07 21:29:42 +00:00
mergify[bot] 480b3d758d Merge pull request #10923 from rook/mergify/bp/release-1.10/pr-10908
ci: improve the log on intermittent build failure (backport #10908)
2022-09-07 19:49:11 +00:00
Satoru Takeuchi f859640997 ci: improve the log on intermittent build failure
The build process sometimes fails with intermittent problems. Some of them
are known problems and then we retry build process. However, there still
are unknown problems. In this case, it's hard to find the reason because
the build process exits immediately.

ref.
https://github.com/rook/rook/runs/8225144002?check_suite_focus=true#step:3:926

```
+ case "$o" in
+ exit 1
Error: Process completed with exit code 1.
```

To make debugging easier, let's print the output of `make`. This log won't be
too long since `make` prints most messages to stderr.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 47f7aefa20)
2022-09-07 19:18:18 +00:00
motorailgun 72946108e5 operator: improve ProbeHandler error message
This commit implements more diagnostic error for unsccessful
Liveness- and Readiness-Probe of Pods.

Added codes are expected to catch failures of
`ceph status` and `ceph mon_status`, and report it.

Closes: https://github.com/rook/rook/issues/9846
Closes: https://github.com/rook/rook/issues/9852

Signed-off-by: motorailgun <motoi_public@mail.aria-on-the-planet.es>
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit ff0951738f)
2022-09-07 17:50:48 +00:00
Travis Nielsen 278612d81f Merge pull request #10917 from rook/mergify/bp/release-1.10/pr-10904
helm: set OBC storageclass name to right namespace (backport #10904)
2022-09-07 10:35:10 -06:00
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
Blaine Gardner a9345c5e75 helm: set OBC storageclass name to right namespace
OBC storageclasses should have their names based on the cluster
namespace and not the operator namespace. Fix the chart to reflect this.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 5f00d291c9)
2022-09-07 14:28:37 +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