Commit Graph
9094 Commits
Author SHA1 Message Date
mergify[bot] 8d5b9fe45f Merge pull request #11003 from rook/mergify/bp/release-1.10/pr-10991
build: Fix intermittent gen-rbac failure (backport #10991)
2022-09-15 16:58:44 +00:00
Travis Nielsen 03f065d1ba build: fix intermittent gen-rbac failure
The crds generation for the helm crds is intermittently hitting a build
error due to multiple builds generating the crds at the same time.
We avoid this race condition by first writing the crds to a temp file
then move the file to the helm crd resources file.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 7863d3161c)
2022-09-15 16:14:15 +00:00
Satoru Takeuchi 370565ffa0 Merge pull request #10997 from rook/mergify/bp/release-1.10/pr-10992
docs: add logical volume to storage options (backport #10992)
2022-09-15 22:17:50 +09:00
Satoru Takeuchi 3a5d4c4e77 docs: add logical volume to storage options
Rook supports osd on logical volume in host-based clusters. Let's add it
to the list of valid device types.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit b52e6a0da8)
2022-09-15 12:34:01 +00:00
mergify[bot] d34737f843 Merge pull request #10988 from rook/mergify/bp/release-1.10/pr-10912
docs: add upgrade steps for multi-tenant custer (backport #10912)
2022-09-14 14:14:32 +00:00
parth-gr 4fd0ccdcce docs: add upgrade steps for multi-tenant custer
Currently for external clustr multitenancy is only applicable for new
deployments, but adding doc change so multi-tenancy can be achieved for
upgraded cluster also

Closes: https://github.com/rook/rook/issues/10678
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 0ad1b52005)
2022-09-14 13:45:00 +00:00
Travis Nielsen 33ca596246 Merge pull request #10987 from rook/mergify/bp/release-1.10/pr-10909
external: fix import errors for python2 (backport #10909)
2022-09-14 07:41:16 -06:00
subhamkrai 71bf886dab external: fix import errors for python2
remove duplicate import urllib.parse which is handled below
with try and except no need to import separately. Also, change
the way to get the python version.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 9a952df419)
2022-09-14 04:24:00 +00:00
Satoru Takeuchi 8e5435f977 Merge pull request #10985 from rook/mergify/bp/release-1.10/pr-10983
ci: Update arm host to pick up correct self-hosted machine (backport #10983)
2022-09-14 05:11:07 +09:00
Travis Nielsen 749f1f0599 Merge pull request #10982 from rook/mergify/bp/release-1.10/pr-10968
osd: disallow to create encrypted osd on partition (backport #10968)
2022-09-13 14:09:12 -06:00
Travis Nielsen a67d715513 Merge pull request #10980 from rook/mergify/bp/release-1.10/pr-10975
build: Stop printing verbose rbac generation details (backport #10975)
2022-09-13 14:08:23 -06:00
Travis Nielsen 0cd94677d8 Merge pull request #10977 from rook/mergify/bp/release-1.10/pr-10700
monitoring: fix pool growth warning grouping (backport #10700)
2022-09-13 14:07:36 -06:00
Travis Nielsen 4458d2968e Merge pull request #10974 from rook/mergify/bp/release-1.10/pr-10965
build: update goceph module to v0.17 (backport #10965)
2022-09-13 14:07:17 -06:00
Blaine Gardner 54200477da Merge pull request #10973 from rook/mergify/bp/release-1.10/pr-10950
nfs: add kerberos client security support (backport #10950)
2022-09-13 13:57:07 -06:00
Travis Nielsen 68bd66b193 ci: update arm host to pick up correct self-hosted machine
The self-hosted arm64 machine has a new label ubuntu-20.04-arm64 to
avoid the conflict with other ubuntu-20.04 labels from
general github actions. We only want the daily arm job
to use the self-hosted runner.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 55c72a3674)
2022-09-13 19:41:48 +00:00
Satoru Takeuchi 71a89b1621 osd: disallow to create encrypted osd on partition
Rook doesn't support encrypted osd on partition. So we should
skip partitions as candidates of the new encrypted osds.

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 591fc5f68b)
2022-09-13 19:27:23 +00:00
Blaine Gardner 487bed5eec nfs: add kerberos client security support
Add support for enabling kerberos for client authentication.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 005000212c)

# Conflicts:
#	design/ceph/ceph-nfs-ganesha.md
2022-09-13 13:18:50 -06:00
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
Jamison Lofthouse f1f631de63 monitoring: fix pool growth warning grouping
Predict linear will continue to predict on exporter data from old pods.
We can take the max value for every hour in the 2 day window before we
linearly predict to get the most conservative estimate. This will only
affect the hour in which a new mgr pod is started.

Fixes #10691

Signed-off-by: Jamison Lofthouse <jamison.lofthouse@gmail.com>
(cherry picked from commit f553034351)
2022-09-13 17:32:32 +00:00
Jiffin Tony Thottan c25f42028d build: update goceph module to v0.17
Updating go-ceph module into latest version v0.17

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit d3d760e901)
2022-09-13 16:56:52 +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