Commit Graph
13292 Commits
Author SHA1 Message Date
Blaine Gardner 2b0eaa974f Merge pull request #10909 from subhamkrai/remove-import-error
external: fix import errors for python2
2022-09-13 08:49:12 -06:00
Blaine Gardner 005000212c nfs: add kerberos client security support
Add support for enabling kerberos for client authentication.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-09-13 08:46:52 -06:00
Travis Nielsen c057c41aee Merge pull request #10963 from Rakshith-R/init-only-rbd-pool
pool: initialize only rbd application pools
2022-09-13 07:52:48 -06:00
Satoru Takeuchi 39cc6059f1 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>
2022-09-13 13:21:31 +00:00
Rakshith R c02f3194d1 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>
2022-09-13 18:18:26 +05:30
Satoru Takeuchi 7969450589 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>
2022-09-13 12:44:53 +00:00
Satoru Takeuchi 591fc5f68b 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>
2022-09-13 12:04:14 +00:00
Jiffin Tony Thottan d3d760e901 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>
2022-09-13 15:29:53 +05:30
subhamkrai 9a952df419 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>
2022-09-13 10:59:18 +05:30
Travis Nielsen e5fe5e7081 Merge pull request #10948 from ideepika/wip-add-debug
ci: add debug flag to identify any failing yaml origin
2022-09-12 15:16:55 -06:00
Travis Nielsen 384fc4ab92 Merge pull request #10931 from parth-gr/rgw-fix-ceph-version
external: do not add info=read cap if ceph version doesn't support it
2022-09-12 15:15:47 -06:00
Travis Nielsen ef3f55460c Merge pull request #10728 from thotz/multisite-delete-zone-pools
rgw: delete zone/pools for multisite configuation
2022-09-12 13:42:42 -06:00
Travis Nielsen 671261d8ce Merge pull request #10943 from Rakshith-R/add-topo-prov-support
csi: add topology provisioning support
2022-09-12 11:19:48 -06:00
Jiffin Tony Thottan c98628eb0f 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>
2022-09-12 21:44:55 +05:30
Rakshith R 3c5a2f4142 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>
2022-09-12 16:10:18 +05:30
Satoru Takeuchi 576900eeea Merge pull request #10951 from travisn/quickstart-prereq
docs: Clarify storage prereqs in quickstart guide
2022-09-12 08:07:43 +09:00
Travis Nielsen d5f100def1 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>
2022-09-09 15:23:58 -06:00
Travis Nielsen 91ede0279e Merge pull request #10889 from Rakshith-R/add-kmip-support
osd: add kmip encryption support
2022-09-09 14:23:19 -06:00
Deepika Upadhyay ccbff1be95 ci: add debug flag to identify any failing yaml origin
Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
2022-09-09 23:30:51 +05:30
Blaine Gardner 8363e0dc6c Merge pull request #10892 from Rakshith-R/add-nfs-snap-resize
csi: add support for NFS snap, restore clone & resize
2022-09-09 09:43:30 -06:00
parth-gr 54425803b6 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>
2022-09-09 15:46:18 +05:30
Rakshith R 0ba2ab1206 docs: add doc for kmip encryption support
Signed-off-by: Rakshith R <rar@redhat.com>
2022-09-09 11:39:33 +05:30
Rakshith R f21c12234d 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>
2022-09-09 11:39:33 +05:30
Travis Nielsen f167271d31 Merge pull request #10937 from travisn/upgrade-k8s-1.25
helm: Warn to upgrade to 1.9.10 before k8s 1.25
2022-09-08 10:57:22 -06:00
Travis Nielsen 9cad930b4d 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>
2022-09-08 10:52:18 -06:00
Rakshith R 9c4592720c 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>
2022-09-08 16:15:37 +05:30
Rakshith R f8eb2a2fbc 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>
2022-09-08 16:15:37 +05:30
Rakshith R 73042c7531 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>
2022-09-08 16:15:37 +05:30
Travis Nielsen 7395821512 docs: simplify code owners for ceph provider
The storage providers have long since been split to their own repo,
so there is no need to define the code owners for different
storage providers in this repo. The owners for cassandra and
nfs are therefore removed, and the list simplified.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-07 16:39:10 -06:00
Blaine Gardner 270579e144 Merge pull request #10776 from motorailgun/better-healthcheck-message
operator: improve ProbeHandler error message
2022-09-07 11:49:59 -06:00
Travis Nielsen c6f45545bd Merge pull request #10908 from cybozu-go/ci-print-unknown-reason-of-intermittent-build-failure
ci: improve the log on intermittent build failure
2022-09-07 10:31:09 -06:00
Travis Nielsen 80e80ffeb2 Merge pull request #10906 from Madhu-1/fix-csi-config
csi: remove findCSIChange from predicate
2022-09-07 09:10:55 -06:00
Travis Nielsen e7f767cd38 Merge pull request #10904 from BlaineEXE/obc-controller-namespace-helm-fix
helm: set OBC storageclass name to right namespace
2022-09-07 08:28:11 -06:00
Travis Nielsen 08c787e8d6 Merge pull request #10777 from yati1998/remove-vol-rep
rbd-mirror: remove volume replication sidecar
2022-09-07 08:27:07 -06:00
Travis Nielsen 46a832fe98 Merge pull request #10899 from khrisrichardson/found-unexpected-end-of-stream
manifest: fix unexpected end of stream
2022-09-07 07:41:32 -06:00
Satoru Takeuchi 47f7aefa20 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>
2022-09-07 10:48:21 +00:00
yati1998 69a233be4e 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>
2022-09-07 14:49:32 +05:30
yati1998 cc4fd0c547 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>
2022-09-07 14:49:32 +05:30
yati1998 9b4361b379 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>
2022-09-07 14:49:19 +05:30
Madhu Rajanna 5b843a17a1 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>
2022-09-07 13:08:56 +05:30
motorailgun ff0951738f 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>
2022-09-07 07:35:33 +00:00
Khris Richardson 9614428f54 manifest: fix unexpected end of stream
Signed-off-by: Khris Richardson <khris.richardson@gmail.com>
2022-09-06 15:04:06 -07:00
Blaine Gardner 5f00d291c9 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>
2022-09-06 11:37:58 -06:00
Travis Nielsen 69ccd11b97 Merge pull request #10903 from travisn/mergify-1.10-automerge
bot: Fix automerge for 1.10 backports
2022-09-06 11:35:18 -06:00
Travis Nielsen eab01f8821 bot: fix automerge for 1.10 backports
The success of all the CI actions must exactly match the
list for the mergify config. The config was missing a
paren, so the merges were not happening automatically.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-06 11:27:42 -06:00
Travis Nielsen 1bbf8f7a43 Merge pull request #10791 from Rakshith-R/use-cephcsi-nfsnodeplugin
csi: use cephcsi image for nfs nodeserver + holder design
2022-09-06 10:52:30 -06:00
Blaine Gardner 551f0870d0 Merge pull request #10732 from BlaineEXE/nfs-kerberos-design
docs: add kerberos to nfs-ganesha design
2022-09-06 09:22:04 -06:00
Travis Nielsen cdc2a5e8a5 Merge pull request #10893 from subhamkrai/fix-working-dir
ci: no need to copy working dir to GOPATH
2022-09-06 09:15:05 -06:00
Travis Nielsen 8468c23efe Merge pull request #10900 from travisn/release-notes-4.11
docs: Reset pending release notes for 4.11
2022-09-06 09:09:12 -06:00
Travis Nielsen 7548c18f50 docs: reset pending release notes for 4.11
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-06 09:05:46 -06:00