Commit Graph
1873 Commits
Author SHA1 Message Date
Satoru Takeuchi 0a9f469f2f doc: update the table of supported configurations for OSD creation
In some cases, it's desired to use `must` than `should`.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 2059a04fbd)
2023-12-05 20:42:38 +00:00
Satoru Takeuchi 5264215763 doc: describe pgHealthCheckTimeout pgHealthyRegex
Add the missing explanation of pgHealthCheckTimeout and pgHealthyRegex
in the CephCluster' CRD doc. In addition, remove a verbose sentence
from the explanation of `osdMaintenanceTimeout`.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit ab1f1d97ac)
2023-12-05 20:42:38 +00:00
travisn 95c92b2562 build: update the release version to v1.12.9
For the patch release update the manifests and docs to
v1.12.9

Signed-off-by: travisn <tnielsen@redhat.com>
2023-11-30 12:51:24 -07:00
Ryotaro Banno 19b6c6d540 core: add pgHealthyRegex to DisruptionManagementSpec
This patch adds `pgHealthyRegex` field to DisruptionManagementSpec.
`pgHealthyRegex` is a regular expression that is used to determine which
PG states should be considered healthy. The default value of
`pgHealthyRegex` is:

        ^(active\+clean|active\+clean\+scrubbing|active\+clean\+scrubbing\+deep)$

which is effectively the same as before.

Signed-off-by: Ryotaro Banno <ryotaro.banno@gmail.com>
(cherry picked from commit 0ad88e9d68)
2023-11-27 21:24:13 +00:00
Madhu Rajanna 0218359fde doc: correct csi ceph.conf path
correct the csi ceph.conf path
in the documentation.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit d1613af35d)
2023-11-17 16:49:42 +00:00
travisn a3c6ffab37 build: update the release version to v1.12.8
For the patch release update the examples and manifests
to v1.12.8

Signed-off-by: travisn <tnielsen@redhat.com>
2023-11-16 12:13:51 -07:00
Shachar Sharon f2420162bc nfs: add optional LivenessProbe to GaneshaServerSpec
Allow end-user to have full control on NFS-Ganesha liveness probe:

  - Disabled
  - Enabled, using user-provided definition
  - Enabled, using Rook's default liveness probe for Ganesha.

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
(cherry picked from commit 7c3e91390e)
2023-11-13 19:45:28 +00:00
Alexander Gil 56294263f9 docs: fix user capability name in object store user
Signed-off-by: Alexander Gil <pando855@gmail.com>
(cherry picked from commit d6edc3bba4)
2023-11-03 13:14:47 +00:00
Mateus Valgueiro e1c9018617 docs: add namespace on delete webhook command
The only command on the page that did not have a namespace directly set was this one.

Signed-off-by: Mateus Valgueiro <mateusvalgueiro@gmail.com>
(cherry picked from commit 85401f87ea)
2023-10-31 19:18:45 +00:00
Travis Nielsen b615308b97 Merge pull request #13112 from travisn/release-1.12.7
build: Update release version to v1.12.7
2023-10-27 10:03:00 -06:00
travisn 20f4b62475 build: update release version to v1.12.7
For the patch release update the examples and docs
to v1.12.7

Signed-off-by: travisn <tnielsen@redhat.com>
2023-10-26 14:13:15 -06:00
Satoru Takeuchi 72b9070d61 doc: add the table to know supported osd configuration
It's convenient to visualize the supported OSD configurations.
In addition, remove the reference to the common issue section
about OSD on LV-backed PVC because this issue doesn't happen anymore
for new OSDs.

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit bab6e01d37)
2023-10-25 20:16:46 +00:00
Travis Nielsen 489b9b4e61 Merge pull request #13104 from rook/mergify/bp/release-1.12/pr-13089
docs: unifying namespaces handling for the second cluster creation (backport #13089)
2023-10-25 10:42:09 -06:00
sp98 6f7147f765 doc: update lvm prerequisites
lvm packages should be required if `osdPerDevice` is set
to greater than 1.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 8854497d00)
2023-10-25 15:11:26 +00:00
Redouane Kachach b8cdc4a3a8 docs: unifying namespaces handling for the second cluster creation
Let's use the same technique based on 'sed' while employing two
different namespaces for the cluster and the operator when creating
the second cluster.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 13654d3c3d)
2023-10-25 14:02:11 +00:00
jxlwqq e58e6214fb docs: fix install command
Signed-off-by: jxlwqq <jxlwqq@gmail.com>
(cherry picked from commit 67759f0fea)
2023-10-24 21:00:35 +00:00
Redouane Kachach be707e5f95 docs: adding specific instructions to create operator namespace
When a user attempts to adhere to the current documentation to use alternative
namespaces for both the operator and the cluster, they fail because
our common YAML file only has a single namespace for the cluster. This
change adds specific instructions to create operator namespace.

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

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 745d6dc86f)
2023-10-24 14:30:25 +00:00
travisn b75cc71a92 build: update release version to v1.12.6
For the patch release update the docs and examples to
v1.12.6

Signed-off-by: travisn <tnielsen@redhat.com>
2023-10-19 11:25:26 -06:00
Redouane Kachach 734a7bcdbf docs: adding specific instructions to upgrade Rook toolbox
Closes: https://github.com/rook/rook/issues/13010

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 0e132f45a6)
2023-10-18 15:07:55 +00:00
Bin Wang 86a0e65352 doc: fix document about viewing dashboard outside of cluster
https://github.com/rook/rook/pull/11845 added dynamic label `mgr_role`.
The example yaml files are updated but this doc is missed.

I think it would be better to refer to `deploy/examples` but I find all
other places are not doing that. So keep it inlined to be consistent.

Signed-off-by: Bin Wang <bin.wang@mail.binwang.me>
(cherry picked from commit 25d89d2b68)
2023-10-16 17:11:50 +00:00
sp98 2a9f6bfcc6 osd: use bash script if restart interval is > 0
If `FlappingRestartIntervalHours` for OSD is > 0 in the cephCluster CR,
then start OSD inside a bash script.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit ffd69291f1)
2023-10-12 13:13:04 +00:00
sp98 e1811a89a7 osd: revert: make osd pod to sleep when osds are flapping"
This reverts commit 0e53c9ec61.

Signed-off-by: sp98 <sapillai@redhat.com>
2023-10-12 12:28:40 +05:30
travisn 42f6984339 build: update the release version to v1.12.5
For the patch release update the examples and docs
to v1.12.5.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-10-06 12:37:15 -06:00
Redouane Kachach 09f6d66b08 docs: fixing typos
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit e32ece275c)
2023-10-06 18:29:22 +00:00
Travis Nielsen e040b293c4 Merge pull request #13005 from sp98/revert-12715
osd: Revert: make osd pod to sleep when osds are flapping
2023-10-05 11:09:54 -06:00
sp98 0e53c9ec61 osd: revert: make osd pod to sleep when osds are flapping
This reverts commit 4eb9f62205.

Signed-off-by: sp98 <sapillai@redhat.com>
2023-10-05 21:26:35 +05:30
Redouane Kachach 231b6d0d97 docs: improving minikube setup documentation
Adding some detailed instructions on how to use the local
built Rook image on minikube cluster

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 5f4fae4f3b)
2023-10-05 13:20:55 +00:00
Travis Nielsen 320795292d Merge pull request #12995 from rook/mergify/bp/release-1.12/pr-12633
object: create cosi user for each object store (backport #12633)
2023-10-04 13:48:57 -06:00
Jiffin Tony Thottan c92bf401ab object: create cosi user for each object store
Create each cosi user for each object store and secret which holds
credentials.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit a941b3c33f)
2023-10-04 16:10:52 +00:00
Redouane Kachach 5f8c552b91 docs: fixing some spelling issues
closes: https://github.com/rook/rook/issues/12987

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit b3dd74ea20)
2023-10-03 14:06:59 +00:00
Travis Nielsen b46dd7e78a Merge pull request #12960 from rook/mergify/bp/release-1.12/pr-12926
mgr: adding support for prometheus endpoint configuration (backport #12926)
2023-09-28 07:16:41 -06:00
subhamkrai 9ac3442847 external: update healthchecker caps for rbd command
when creating networkFence CR, it requires IP's to block
which we get from running `rbd status ...` command. But,
the client.healthchecker user didn't had the right caps
to run hence it was giving error. Now, adding the required
caps `profile rbd-read-only` to osd so that rbd command can
be executed.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit c78bd1cbc6)
2023-09-28 04:56:33 +00:00
subhamkrai ff4902d330 docs: krew is wrong word use kubectl instead
krew is itself a plugin and it is wrong wording
to use krew plugin intead it should be kubectl
pluging.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 47c0038136)
2023-09-27 16:23:10 +00:00
Redouane Kachach 14c46b8000 mgr: adding support for prometheus endpoint configuration
Using the new configuration parameters prometheusEndpoint and
prometheusEndpointSSLVerify users can configure dashboard to
point to their prometheus instance.

closes: #12876

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit c763935436)
2023-09-27 14:10:23 +00:00
travisn 9fbd192799 docs: review the teardown guide for updated guidelines
The teardown guide is updated with the guidelines to use
third person wording and be more concise. Also, remove
the list of CRDs from the example that easily becomes
outdated as the list changes from release to release.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 40d4eedb83)
2023-09-22 16:09:33 +00:00
Cyril Jouve 7796295a91 helm: obc rbac aggregation to user facing roles
add view & edit ClusterRole for obc.

the roles are added to the default user facing roles
view / edit / admin respectively using k8s ClusterRole aggregation.

feature disabled for backward compatibility
and controlled with rbacAggregate.enableOBCs.

Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
(cherry picked from commit 45d897b8b3)
2023-09-19 18:13:17 +00:00
sp98 639b1ae25a osd: make osd pod to sleep when osds are flapping
When OSDs flap, ceph stops the OSD daemon if its marked down greater than
5 times in 600 seconds. But OSD pod restarts and marks the OSD `up` again.
This causes the PGs mapped to these OSDs to peer. While the PGs are peering,
IO to these PGs are blocked.

So we need to ensure that if ceph is marking OSD `down` due to flapping, OSD pod
should not restart to mark the OSDs `up` again.

This PR adds a sleep to the OSD pod if the container returned with a 0 exit code
Default behavior is to sleep for 6 hrs. But user can configure it from the
ceph cluster spec.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 4eb9f62205)
2023-09-15 18:24:50 +00:00
mergify[bot] c1d25e71e7 Merge pull request #12906 from rook/mergify/bp/release-1.12/pr-12895
mgr: Allow more than two mgrs (backport #12895)
2023-09-14 23:17:13 +00:00
travisn 3eb06d1f05 build: update the release version to v1.12.4
For the patch release update the docs and examples
to v1.12.4.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-09-14 16:01:40 -06:00
travisn 19ffd749e0 mgr: allow more than two mgrs
While two mgrs is considered sufficient, more mgr daemons are
now allowed in case the admin wants even more fault tolerance
to the active mgr going down, in case multiple mgrs go down.
Up to five mgr pods will be allowed. All mgrs will be in
standby mode except one active mgr. All mgr pods have a sidecar
that will update their respective pod specs with the active
or passive label.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 66547d27be)
2023-09-14 21:03:43 +00:00
Micah Nagel 60170feb83 helm: update docs to reflect reef support
some helm comments incorrectly indicate ceph v18 is not supported

Signed-off-by: Micah Nagel <micah.nagel@defenseunicorns.com>
(cherry picked from commit 0ff224d453)
2023-09-08 18:51:27 +00:00
Blaine Gardner 8b72dfa020 multus: detect network CIDRs via canary
Change how Rook detects network CIDRs for Multus networks. The IPAM
configuration is only defined as an arbitrary string JSON blob with a
"type" field and nothing more. Rook's detection of CIDRs for whereabouts
had already grown out of date since the initial implementation.
Additionally, Rook did not support DHCP IPAM, which is a reasonable
choice for users. And more, Rook did not support CNI plugin chaining,
which further complicates NADs. Based on the CNI spec, network chaning
can result in any changes to network CIDRs from the first-given plugin.

All these problems make it more and more difficult for Rook to support
Multus by inspecting the NAD itself to predict network CIDRs. Instead,
it is better for Rook to treat the CNI process as a black box. To
preserve legacy functionality of auto-detecting networks and to make
that as robust as possible, change to a canary-style architecture like
that used for Ceph mons, from which Rook will detect the network CIDRs
if possible.

Also allow users to specify overrides for CIDR ranges. This allows Rook
to still support esoteric and unexpected NAD or network configurations
where a CIDR range is not detectable or where the range detected would
be incomplete. Because it may be impossible for Rook to understand the
network CIDRs wholistically while residing only on a portion of the
network, this feature should have been present from Multus's inception.

Improving CIDR auto-detection and allowing users to specify overrides
for auto-detected CIDRs rounds out Rook's Multus support for CephCluster
(core/RADOS) installations. No further architectural changes should be
needed for CephClusters as regards application of public/cluster network
CIDRs for Multus networks.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 3c43268d0a)
2023-09-07 19:43:17 +00:00
Louis Bailleul e65e7bac12 operator: config default interval value for discovery daemon
Correctly set discoveryInterval default value by passing defaultDiscoverInterval to k8sutil.GetValue
Allow to set ROOK_DISCOVER_DEVICES_INTERVAL env var through discoveryDaemonInterval helm value

Signed-off-by: Louis Bailleul <louis.bailleul@pgs.com>
(cherry picked from commit e56122cbce)
2023-09-07 09:12:46 -06:00
Michael Adam 172bc6f191 docs: mention make check-helm-docs and make docs in the contributing guide
Signed-off-by: Michael Adam <obnox@samba.org>
Co-authored-by: : Michael Adam <obnox@samba.org>
signed-off-by: Travis Nielsen <tnielsen@redhat.com>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit c8c97bb8a1)
2023-09-01 17:33:05 +00:00
travisn 715ea7730a build: update release version to v1.12.3
For the patch release update the examples and documents to
v1.12.3.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-08-31 15:51:40 -06:00
parth-gr 63d9f8f41a external: change cluster_name to k8s_cluster_name
it was confusing if we are calling a ceph cluster name
or k8s cluster name, so re-named

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 98c4567219)
2023-08-31 14:14:25 +00:00
subhamkrai ddcb9efa9a ci: enable tmate when in debug mode
we don't want to wait for extra 10min once the ci passed,
so we'll add a check if `debug-ci` label is added or debug runner
is triggered from UI then only start tmate. Also, updaing the
development doc and rook test doc.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit a223b6777b)
2023-08-28 14:32:18 +00:00
Travis Nielsen 038f1a615d Merge pull request #12795 from rook/mergify/bp/release-1.12/pr-12730
object: Allow creating an object user in different namespace (backport #12730)
2023-08-28 08:27:56 -06:00
Patrick Donnelly 8025a868d0 docs: correct some libcephsqlite statements
Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
(cherry picked from commit d09a90f69f)
2023-08-25 20:10:55 +00:00
travisn 3876561a44 object: allow creating an object user in different namespace
The object user was previously required to be created in the
same namespace as the object store and the cluster. Now,
the object user can be reconciled even in a different namespace
from the cluster and object store. The namespace would be specified
in the object user CR.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 2b1cc4c7b8)
2023-08-25 19:01:44 +00:00