Commit Graph
10988 Commits
Author SHA1 Message Date
subham rai d416643f24 Merge pull request #13966 from parth-gr/csi-disbable
csi: add a new flag to disable csi driver
2024-03-26 14:28:37 +05:30
parth-gr a72e029459 csi: add a new flag to disable csi driver
added a new flag ROOK_CSI_DISABLE_DRIVER
to disable csi controller.

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-03-22 18:22:51 +05:30
subham rai b3b6775cf9 Merge pull request #13906 from subhamkrai/remove-csv-files
build: remove csv related files
2024-03-20 19:01:48 +05:30
Santosh Pillai 20d24613a5 Merge pull request #13905 from sp98/remove-stale-cluster-peers
core: disable mirroring on pool with "image" mode
2024-03-19 20:12:00 +05:30
sp98 a37c47641f core: disable mirroring in image mode
For image mode mirroring, if cephBlockPool.Pool.Spec.Mirroring.Enable
is set to false, then remove the peer cluster and disable mirroring on
all the pool if the user has disabled mirroring on all the pool images.

If mirroring is not disabled on all the pool images, then reconcile will
fail asking the users to manually disable mirroring on those images.

Signed-off-by: sp98 <sapillai@redhat.com>
2024-03-19 14:20:51 +05:30
Travis Nielsen a536b363ce Merge pull request #13936 from travisn/default-serviceaccount-scc
security: Operator and Toolbox SCC for default service account on OpenShift
2024-03-18 12:39:41 -06:00
Travis Nielsen 3e54055ae9 security: operator and toolbox scc for default service account
The default service account access is needed for the operator
and the toolbox to run on openshift. This is a follow-up from
PR 13362 that created a new default service account to use with
all ceph or rook components that were relying on the default
service account.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-03-18 11:40:32 -06:00
Travis Nielsen 3a7bbe52ae Merge pull request #13821 from parth-gr/replica-1-external
external: add topologyconstraintpool support for rbd storageclass
2024-03-18 11:40:25 -06:00
parth-gr 0aa431c7e1 external: add ci and design documet
Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-03-18 22:17:25 +05:30
Santosh Pillai b8ee8a46ec Merge pull request #13852 from sp98/support-azure-kms
core: azure kms support
2024-03-18 14:44:11 +05:30
Travis Nielsen 9c0d795e24 Merge pull request #13761 from rkachach/fix_issue_13760
mgr: enable rook orchestrator mgr module by default
2024-03-15 09:31:52 -06:00
Redouane Kachach 308236d841 manifest: adding some missing RBAC roles to secondary cluster
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2024-03-15 15:48:29 +01:00
sp98 4efe3982b0 core: azure kms support
Add support for store OSD encryption Keys in Azure KMS

Signed-off-by: sp98 <sapillai@redhat.com>
2024-03-15 11:23:25 +05:30
Travis Nielsen a4ccb819cd Merge pull request #13931 from hhk7734/discovery/affinity
helm: use toYaml for discovery nodeAffinity
2024-03-14 23:29:46 -06:00
Hyeonki Hong 2e0c015d42 helm: use toYaml for discovery nodeAffinity
this commit allow user to use requiredDuringSchedulingIgnoredDuringExecution map

Signed-off-by: Hyeonki Hong <hhk7734@gmail.com>
2024-03-15 12:04:55 +09:00
Blaine Gardner e41366bbcd Merge pull request #13890 from BlaineEXE/csi-disable-holder
csi: allow force disabling holder pods
2024-03-14 10:27:06 -06:00
Travis Nielsen 86dae9c260 Merge pull request #13923 from rkachach/fix_issue_13883
monitoring: increasing default metrics scraping interval from 5s to 10s
2024-03-14 10:02:58 -06:00
Blaine Gardner 4f555dbbcb csi: allow force disabling holder pods
Add new CSI_DISABLE_HOLDER_PODS option for rook-ceph-operator.
This option will disable holder pods when set to "true".

In the long term, Rook plans to deprecate the holder pods entirely.
This new option will allow users to choose to migrate their clusters to
non-holder clusters when they are ready and able, giving them time to
gracefully migrate before the holders are permanently removed.

This option is set to "false" by default so that upgrading users don't
have their CSI pods modified unexpectedly.
Example manifests are modified to set this value to true so that new
clusters will not deploy holder pods.

Migrating users are provided with documentation to instruct them about
the new requirements they need to satisfy to successfully remove holder
pods, a procedure for migrating pods from holder to non-holder mounts,
and a way to delete holder pods once they are no longer in use.

When users set CSI_DISABLE_HOLDER_PODS="true", the CSI controller will
no longer deploy or update the holder pod Daemonsets, but it does not
delete any existing Daemonsets. This allows already-attached PVCs to
continue operating normally with their network connection continuing to
exist in the current holder pod. This is critical to avoid causing
ia cluster-wide storage outage.

More info: https://github.com/rook/rook/issues/13055

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-03-14 09:53:08 -06:00
Redouane Kachach 4b9e77af1e monitoring: set metrics scraping interval to 10s in examples files
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2024-03-14 16:17:08 +01:00
Redouane Kachach d262bf7149 mgr: enable rook orchestrator mgr module by default
previously, we had kept the Rook orchestrator manager module disabled
so far because it was causing a bunch of issues and errors on the
dashboard. But with the recent changes made in the cephv v18.2.1
release, we've fixed those issues and made some overall improvements
to the dashboard user experience when Rook is enabled. With all that
in mind, it's time to switch on the Rook orchestrator by default.

Fixes: https://github.com/rook/rook/issues/13760

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2024-03-13 17:03:11 +01:00
Travis Nielsen c409a6ae46 Merge pull request #13902 from rkachach/fix_issue_13774
exporter: applying labels from monitoring section to ceph-exporter
2024-03-13 08:07:58 -06:00
Redouane Kachach daec93eaaa monitoring: increasing metrics scraping interval from 5s to 10s
let's increase the monitoring interval to match the default interval
used by Prometheus when deployed by Ceph: 10s

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

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2024-03-13 13:29:01 +01:00
Travis Nielsen 15f92a175d Merge pull request #13703 from thotz/prefix-provisioner-obc
object: provisoner prefix support
2024-03-12 12:16:45 -06:00
Travis Nielsen 0296a0f23f Merge pull request #13919 from travisn/doc-object-format
doc: Add space for object store formatting
2024-03-12 10:28:15 -06:00
Redouane Kachach ab5b269bc4 doc: adding a doc example for ceph-exporter labels
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2024-03-12 17:25:46 +01:00
Travis Nielsen a67d742195 Merge pull request #13913 from travisn/reef-18.2.2
core: Set default ceph version to v18.2.2
2024-03-12 10:07:45 -06:00
Travis Nielsen 9e55d0e02d doc: add space for object store formatting
The description of the object store types was improperly
formatted due to a missing newline before the bullet points.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-03-12 07:59:05 -06:00
Travis Nielsen b6b5628125 Merge pull request #13849 from travisn/rgw-rados-namespaces
object: Create an object store based on shared pools
2024-03-12 07:37:01 -06:00
Travis Nielsen fdacfd51c5 object: create an object store based on shared pools
Until now, an object store would create all the necessary
metadata pools and the data pool that were exclusively
for its own object store. When isolation between object
stores is necessary, this would cause many pools and
PGs to be created in the cluster, which was not
manageable.

Now one set of pools can be created to be shared
by any number of object stores. The metadata and data
between each object store is isolated by
RADOS namespaces, which by design will keep the
data safe for multi-tenancy.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-03-11 11:20:57 -06:00
Travis Nielsen 026d745f8a core: set default ceph version to v18.2.2
With the release of Reef v18.2.2 we update the default
recommended version of Ceph to fix the prometheus issues
seen with v18.2.1

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-03-11 11:06:59 -06:00
subhamkrai dd8c3c9974 build: remove csv related files
remove csv related files/content which are not used/required for
upstream uses.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-03-11 21:01:53 +05:30
Travis Nielsen b35b27e1d5 Merge pull request #13912 from subhamkrai/update-go-dep-jose
build: update go dep go-jose
2024-03-11 07:26:20 -06:00
subhamkrai 4836ede41a build: update go dep go-jose
synk security check is failing and it requires
go-jose v3.0.3 or later version.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-03-11 18:15:34 +05:30
subham rai a09abd5298 Merge pull request #13910 from rook/dependabot/go_modules/github-dependencies-3976c3a1b8
build(deps): bump the github-dependencies group with 3 updates
2024-03-11 18:08:29 +05:30
dependabot[bot] eb7acca57b build(deps): bump the github-dependencies group with 3 updates
Bumps the github-dependencies group with 3 updates: [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go), [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator) and [github.com/prometheus-operator/prometheus-operator/pkg/client](https://github.com/prometheus-operator/prometheus-operator).


Updates `github.com/aws/aws-sdk-go` from 1.50.31 to 1.50.35
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.50.31...v1.50.35)

Updates `github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring` from 0.71.2 to 0.72.0
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.71.2...v0.72.0)

Updates `github.com/prometheus-operator/prometheus-operator/pkg/client` from 0.71.2 to 0.72.0
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases)
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.71.2...v0.72.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/client
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 12:08:24 +00:00
Jiffin Tony Thottan e0768f5e5f object: provisoner prefix support
add an option to set prefix for the name of obc provisioner instead of
ceph cluster namespace.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2024-03-11 13:42:11 +05:30
parth-gr 812a9c02b0 external: add replicated 3 pool for the rbd sc
till the csi pr get fix
https://github.com/ceph/ceph-csi/pull/4459
we can still make
use of topology by adding the replicated 3 pool
once the pr gets merged will revert this commit

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-03-11 12:47:41 +05:30
parth-gr 04b71cf63e external: add toplogyconstraintpool support for rbd storageclass
with topologyconstrain pool we can enable any
replica pool usage and also can store data at any
topology

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-03-11 12:47:41 +05:30
subham rai 571f47f73f Merge pull request #13857 from parth-gr/external-creation-flow
external: restructure the external install steps
2024-03-11 12:45:35 +05:30
subham rai b857a37dc1 Merge pull request #13858 from parth-gr/admin-keyring
doc: add steps to configure external mode with admin privileges
2024-03-11 12:44:08 +05:30
Travis Nielsen dc09ad5f37 Merge pull request #13900 from travisn/upgrade-from-1.13
core: Upgrade test from 1.13 to master
2024-03-08 10:12:08 -07:00
Blaine Gardner 9028d270a8 Merge pull request #13326 from thotz/rgw-dns-name-support
object: add rgw dns names
2024-03-08 10:10:41 -07:00
Redouane Kachach 10e26709c4 exporter: applying labels from monitoring section to ceph-exporter
the labels listed under the 'monitoring' section are currently only
being applied to the rook-ceph-mgr ServiceMonitor. This change extends
those labels to also include the rook-ceph-exporter ServiceMonitor.

Fixes: https://github.com/rook/rook/issues/13774

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2024-03-08 14:38:27 +01:00
parth-gr c00982ae48 external: restructure the external install steps
Updating the installation steps of external cluster
to make it more user friendly

part-of: https://github.com/rook/rook/discussions/13831

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-03-08 18:31:17 +05:30
parth-gr 51302c9dcb doc: add steps to configure external mode with admin privileges
sometimes user want to use the admin ower to create some resources
in the external ceph cluster, so adding a way to use the admin
privilege

part-of: https://github.com/rook/rook/issues/13827

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-03-08 18:25:53 +05:30
Jiffin Tony Thottan b0989ee1d2 object: add rgw dns names
The virtual hosting for bucket is provided with help of `rgw_dns_name`

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2024-03-08 13:43:25 +05:30
Travis Nielsen 2e8468a47c core: upgrade test from 1.13 to master
The upgrade test should always upgrade from the
previous minor release to the latest master. With 1.14
releasing soon, now we upgrade from 1.13 to master,
to confirm if there are any upgrade issues to 1.14.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-03-07 16:31:09 -07:00
Travis Nielsen 4817a0442c Merge pull request #13896 from parth-gr/k8s-1.25
ci: upgrade min k8s supported version to 1.25 combiner
2024-03-07 10:29:36 -07:00
parth-gr ed6fb58bd1 ci: upgrade min k8s supported version to 1.25 combiner
upgrading minimum kubernetes supported version to v1.25.16
and max to k8s 1.29.2

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-03-07 21:59:04 +05:30
Travis Nielsen 96c54fd7c0 Merge pull request #13824 from pluser/doc-support-encryption-for-current-cluster
docs: note that changing encryption option settings for existing clusters is not dangerous
2024-03-07 07:56:09 -07:00