Commit Graph
9075 Commits
Author SHA1 Message Date
Travis Nielsen 9f4e0a4b19 build: stop printing verbose rbac generation details
The rbac generation prints a lot of info that is not necessary
unless troubleshooting the rbac build, so we can comment it
out by default.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 839920ff80)
2022-09-13 18:27:26 +00:00
mergify[bot] e5cfd812d8 Merge pull request #10979 from rook/mergify/bp/release-1.10/pr-10969
ci:  disallow to create encrypted osd on lv and osd on lv with metadata device (backport #10969)
2022-09-13 18:18:52 +00:00
Satoru Takeuchi 514c75d9b5 ci: disallow to create osd on lv with metadata by accident
OSD on LV with metadata device is not supported. So we once we made
a fix to disallow this configuration. However, it's insuffucient
because we forgot to reset `matched` flag.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 39cc6059f1)
2022-09-13 17:36:54 +00:00
Satoru Takeuchi 5dd063750e ci: disallow to create encrypted osd on lv
Rook doesn't support encrypted OSD on LV. Without disallowing
this configuration, ceph-volume results in failure.

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 7969450589)
2022-09-13 17:36:53 +00:00
Travis Nielsen 2c9751e5b7 Merge pull request #10970 from rook/mergify/bp/release-1.10/pr-10963
pool: initialize only rbd application pools (backport #10963)
2022-09-13 08:24:22 -06:00
Travis Nielsen efb69973e2 Merge pull request #10955 from rook/mergify/bp/release-1.10/pr-10943
csi: add topology provisioning support (backport #10943)
2022-09-13 08:23:36 -06:00
Rakshith R e7df1deb53 pool: initialize only rbd application pools
`rbd pool init` cmd initializes pool for rbd images.
This commit makes modification to init only
rbd application pools, since it is not required
by other pools like ".nfs",".mgr" & "mgr_devicehealth".

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit c02f3194d1)
2022-09-13 13:54:02 +00:00
mergify[bot] 3fd2db3152 Merge pull request #10961 from rook/mergify/bp/release-1.10/pr-10948
ci: add debug flag to identify any failing yaml origin (backport #10948)
2022-09-13 02:59:28 +00:00
mergify[bot] fbf9caf31d Merge pull request #10960 from rook/mergify/bp/release-1.10/pr-10931
external: do not add info=read cap if ceph version doesn't support it (backport #10931)
2022-09-12 21:49:06 +00:00
Deepika Upadhyay 507d037da8 ci: add debug flag to identify any failing yaml origin
Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
(cherry picked from commit ccbff1be95)
2022-09-12 21:17:34 +00:00
parth-gr 77aef59108 external: do not add info=read cap if ceph version doesn't support it
The rgw ip validation feature was needing to update the rgw user
cap to add info=read permission, but this permission is only backported
till ceph pacific, so we added a check that only add this cap
when ceph version support it,
But this cap was also adding with the other caps, so removed it from there
Now it will only add this cap if ceph version support it

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 54425803b6)
2022-09-12 21:16:35 +00:00
mergify[bot] 5dcfeca428 Merge pull request #10957 from rook/mergify/bp/release-1.10/pr-10728
rgw: delete zone/pools for multisite configuation (backport #10728)
2022-09-12 20:16:55 +00:00
Jiffin Tony Thottan 8f30d8d6df rgw: delete zone/pools for multisite configuation
Allow option to delete the zone/pools created by ceph object zone CR.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit c98628eb0f)
2022-09-12 19:43:25 +00:00
Rakshith R a58c949e73 csi: add topology provisioning support
This commit adds topology provisioning
support. This makes modification to rbac,
csi deployment and daemonset.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 3c5a2f4142)
2022-09-12 17:20:25 +00:00
Satoru Takeuchi 05ced32e36 Merge pull request #10952 from rook/mergify/bp/release-1.10/pr-10951
docs: Clarify storage prereqs in quickstart guide (backport #10951)
2022-09-12 14:36:18 +09:00
Travis Nielsen fed8b74310 docs: clarify storage prereqs in quickstart guide
The quickstart guide prerequisites have diverged from the storage
requirements on the prereqs doc page, now they are in sync again.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit d5f100def1)
2022-09-11 23:08:14 +00:00
Travis Nielsen f10084725e Merge pull request #10949 from rook/mergify/bp/release-1.10/pr-10889
osd: add kmip encryption support (backport #10889)
2022-09-09 15:56:46 -06:00
Rakshith R 666793fd7e docs: add doc for kmip encryption support
Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 0ba2ab1206)
2022-09-09 20:23:57 +00:00
Rakshith R d58d5313f4 osd: add kmip encryption support
The cluster-wide encryption feature now
supports KMIP (Key Management Interoperability Protocol)
kms.
KMIP is an extensible communication protocol that defines
message formats for the manipulation of cryptographic keys
on a key management server.

For more information, refer:
https://en.wikipedia.org/wiki/Key_Management_Interoperability_Protocol

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit f21c12234d)
2022-09-09 20:23:56 +00:00
Travis Nielsen 492786404c Merge pull request #10946 from travisn/release-1.10.1
build: Update the release version to v1.10.1
v1.10.1
2022-09-09 13:10:58 -06:00
Travis Nielsen 3ee3925ef6 build: update the release version to v1.10.1
For the patch release update the documentation and manifests
to v1.10.1

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-09 10:36:27 -06:00
Travis Nielsen 6604f3ce7e Merge pull request #10945 from rook/mergify/bp/release-1.10/pr-10892
csi: add support for NFS snap, restore clone & resize (backport #10892)
2022-09-09 10:31:40 -06:00
Rakshith R 6fb66afa88 csi: add NFS expansion support
This commit adds resizer sidecar to
NFS driver and required storageclass
and rbac changes.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 9c4592720c)
2022-09-09 15:44:06 +00:00
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