Commit Graph
9182 Commits
Author SHA1 Message Date
mergify[bot] 4e1c1548e8 Merge pull request #11117 from rook/mergify/bp/release-1.10/pr-10510
ci: enable and fixes for nfs ci (backport #10510)
2022-10-20 16:47:52 +00:00
Travis Nielsen e14d1d824d Merge pull request #11190 from rook/mergify/bp/release-1.10/pr-11171
docs: updated syntax in markdown files (backport #11171)
2022-10-20 10:44:09 -06:00
Travis Nielsen 9044148a19 Merge pull request #11192 from rook/mergify/bp/release-1.10/pr-11183
object: fix logic for rgw period commit detection (backport #11183)
2022-10-20 10:37:49 -06:00
Blaine Gardner e0806d57bb object: fix logic for rgw period commit detection
The `periodWillChange()` implementation to detect map keys to ignore.
Previously, we relied on the `GoString()` method to output the same
format always to determine the current path to the
map[string]interface{} node, but that may change depending on the underlying
implementation of go-cmp.

Instead, parse the go-cmp `Path` step by step and construct a JSON path
to the node in a stable format.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 5320830781)
2022-10-20 15:59:44 +00:00
mergify[bot] 12d9ea629a Merge pull request #11191 from rook/mergify/bp/release-1.10/pr-11184
docs: Use Krew restore-quorum command for mon quorum disaster scenario (backport #11184)
2022-10-20 15:48:53 +00:00
Travis Nielsen 7a6445cf96 docs: use krew restore-quorum command for disaster scenario
The new krew plugin command restore-quorum will automate the process
to restore quorum from a single healthy mon. No longer do we need
the absolutely tedious, messy, manual steps from the rook docs.
The krew plugin will take care of all the complexity automatically
as of the v0.4.0 release

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 3e60b95fd6)
2022-10-20 15:14:53 +00:00
Yashasvi Chaurasia e5592dc87b docs: updated note syntax in markdown files
The Note label is updated in several places in the docs for improved rendering.
Multiple markdown files have been updated.

Closes: #10458

Signed-off-by: Yashasvi Chaurasia <yashasvi12977@gmail.com>
(cherry picked from commit 05e7ddc4cb)
2022-10-20 15:03:35 +00:00
mergify[bot] 93f9637a6d Merge pull request #11189 from rook/mergify/bp/release-1.10/pr-11178
csi: update csi to latest release (backport #11178)
2022-10-20 14:40:15 +00:00
Madhu Rajanna 7e8e8e2ea1 csi: update csi to latest release
This updates the cephcsi to latest 3.7.2
release and also updates sidecar to the latest
release in some missing files.

Note:- sidecar images are upto date in most of
the places, in some places it was missing, This
PR updates it in missing place.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 729f2a8b32)
2022-10-20 14:05:23 +00:00
Travis Nielsen 1b644d5513 Merge pull request #11185 from rook/mergify/bp/release-1.10/pr-11182
operator: Remove obsolete flex driver properties (backport #11182)
2022-10-20 07:56:40 -06:00
Travis Nielsen f9a11b71e0 operator: remove obsolete flex driver properties
The flex driver was deprecated and fully purged long ago,
and now finally we are purging the related properties
from the operator deployment that are no longer applied
anywhere.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 67582fe0da)
2022-10-19 22:03:03 +00:00
Travis Nielsen 2241e61ca5 Merge pull request #11181 from rook/mergify/bp/release-1.10/pr-11163
core: enabling logCollector by default for coredump collection (backport #11163)
2022-10-19 15:06:25 -06:00
gauravsitlani 4ac46ef909 core: enabling logCollector by default for coredump
enabling logCollector by default will enable the coredump
generation in case a process terminates with a segmentation fault.

Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
(cherry picked from commit cc02399c4c)
2022-10-19 18:35:20 +00:00
mergify[bot] 089c461fa8 Merge pull request #11167 from rook/mergify/bp/release-1.10/pr-11165
csi: add setmetadata and clustername flag to omap (backport #11165)
2022-10-18 15:47:03 +00:00
mergify[bot] f9bc65288b Merge pull request #11168 from rook/mergify/bp/release-1.10/pr-11090
external: fix endpoint_dial check for rgw endpoint (backport #11090)
2022-10-18 15:44:55 +00:00
parth-gr 6db827e849 external: fix endpoint_dial check for rgw endpoint
the validate rgw endpoint tls cert returns the certificate instead
of returning whether it exist or not,
So updatd the flow how to use it

Closes: https://github.com/rook/rook/issues/11060
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit fb7b67c3f4)
2022-10-18 15:11:46 +00:00
Madhu Rajanna 78eb665282 csi: add setmetadata and clustername flag to omap
The omap generator sidecar is the one who
sets the pvc name and clustername in the metadata
if the pv is re-attached to a new pvc or if the
clustername changes, for that reason we need to
set these flags on the omap generator sidecar
also.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit ffdfeb5bec)
2022-10-18 15:10:41 +00:00
mergify[bot] b7bda4ae64 Merge pull request #11164 from rook/mergify/bp/release-1.10/pr-11138
osd: osdSafeToDestroy check should be after osd out (backport #11138)
2022-10-18 13:55:31 +00:00
subhamkrai d076f343d5 osd: osdSafeToDestroy check should be after osd out
currently, osdSafeToDestroy check is done before
marking osd out which prevents ceph from rebalancing.
With this changes, we are moving check for
osdSafeToDestroy after osd is marked out.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 77f9e0d5b6)
2022-10-18 13:21:38 +00:00
Travis Nielsen 15f6692bad Merge pull request #11160 from rook/mergify/bp/release-1.10/pr-10986
core: increase liveness probe timeout to 5s (backport #10986)
2022-10-17 12:41:45 -06:00
Randy J. Martinez b187539e13 core: increase liveness probe timeout to 5s
stability issues have been observed with 1s.
socket latency is expected whenever CPUs are
under minor pressure. Increasing value to
5s should cover most small-medium scale envs.

Resolves BZ: 2126566

Signed-off-by: Randy J. Martinez <randy@cephtips.com>
(cherry picked from commit ac9df66b76)
2022-10-17 17:49:54 +00:00
mergify[bot] 64d7a1f2e2 Merge pull request #11146 from rook/mergify/bp/release-1.10/pr-11099
operator: Don't remove existing pools for mgr/prometheus/rbd_stats_pools (backport #11099)
2022-10-12 20:55:19 +00:00
Avan Thakkar 993942b891 operator: don't remove existing pools for mgr/prometheus/rbd_stats_pools
Rook currently knows rbd pools only if they defined through CephBlockPool, so it overrides the config
mgr/prometheus/rbd_stats_pools which may have already been set for pools external to Rook. Check config
before running set command and if there some existing pools append them to enableStatsForCephBlockPools.

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit e8b74207dd)
2022-10-12 20:21:09 +00:00
mergify[bot] 36e170572b Merge pull request #11140 from rook/mergify/bp/release-1.10/pr-11122
docs: add point about physical disks visualization in dashboard (backport #11122)
2022-10-11 17:53:02 +00:00
Travis Nielsen 447df37d7e Merge pull request #11139 from rook/mergify/bp/release-1.10/pr-11136
docs: Document expectations for releases (backport #11136)
2022-10-11 11:23:32 -06:00
Juan Miguel Olmo Martínez ab306b054c docs: add point about physical disks visualization in dashboard
New point to explain when is available this information in the Ceph dashboard

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
(cherry picked from commit 1ee481cf43)
2022-10-11 17:22:43 +00:00
Travis Nielsen 39ae487aa6 docs: document expectations for releases
The release schedule and maintenance approach has been
left as undefined until now to give flexibility to the
maintainers to release as needed. The community is
asking for clarity around the planned release schedule
so it is time to document the procedures.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit fc035c7a5b)
2022-10-11 16:48:46 +00:00
mergify[bot] 6ddd0ab1e0 Merge pull request #11134 from rook/mergify/bp/release-1.10/pr-11131
ci: update mon_data_avail_warn percentage  (backport #11131)
2022-10-10 16:46:28 +00:00
parth-gr f9a3e6d731 ci: update mon_data_avail_warn percentage
I see the mon_data_avail_warn is set to 500M
but acording to ceph doc this should be in percentage
And by default this percentage is 30%,
So re assigned to 10% for the CI

Closes: https://github.com/rook/rook/issues/11130
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit d392129cdd)
2022-10-10 16:15:34 +00:00
Travis Nielsen 78177c2460 Merge pull request #11119 from travisn/release-1.10.3
build: Update the release version to v1.10.3
v1.10.3
2022-10-06 14:55:23 -06:00
Travis Nielsen 6c725a0ab2 build: update the release version to v1.10.3
For the patch release we update the docs and example manifests
to v1.10.3

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-06 14:04:09 -06:00
mergify[bot] 337daf56ec Merge pull request #11116 from rook/mergify/bp/release-1.10/pr-11110
nfs: fix nfs grace period when multus is enabled (backport #11110)
2022-10-06 18:54:55 +00:00
Rakshith R f32531ef34 ci: enable and fixes for nfs ci
This commit anabled nfs csi ci and
add fixes/improvements to it like the
following:
- verify deletion of cephnfs and .nfs pool before proceeding
- verify pv deletion
- do not enable rook module
- reduce activeCount to 1 to save resources
- run cephnfs ci before cephfs ci since it cephfs
  ci is more resource intensive.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit be10dac98c)
2022-10-06 18:03:44 +00:00
Blaine Gardner f68d839c9a nfs: fix nfs grace period when multus is enabled
Run the ganesha-rados-grace command in a remote pod when multus
networking is enabled.

Signed-off-by: parth-gr <paarora@redhat.com>
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 51fac0a993)
2022-10-06 17:25:22 +00:00
mergify[bot] 1b982bb296 Merge pull request #11113 from rook/mergify/bp/release-1.10/pr-11109
osd: Recommend removing memory limits from osd prepare job (backport #11109)
2022-10-05 23:15:38 +00:00
Travis Nielsen e5d616accc osd: recommend removing memory limits from osd prepare job
The osd prepare job is not recommended to have memory limits since
it's a one-time operation depending on the size of the disk that must
be allowed to complete successfully.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 4a86012ead)
2022-10-05 22:44:22 +00:00
mergify[bot] b1256242d0 Merge pull request #11108 from rook/mergify/bp/release-1.10/pr-11104
mgr: Set the public dashboard port differently from the target port (backport #11104)
2022-10-05 21:50:46 +00:00
Travis Nielsen e8862d541d Merge pull request #11086 from rook/mergify/bp/release-1.10/pr-11083
csi: use ceph csi v3.7.1 for rook csi driver deployment (backport #11083)
2022-10-05 15:49:53 -06:00
Travis Nielsen 15f419ddb5 Merge pull request #11088 from rook/mergify/bp/release-1.10/pr-11017
docs: update troubleshoot docs and add krew uses (backport #11017)
2022-10-05 15:49:29 -06:00
Travis Nielsen 6252af778a mgr: set the public dashboard port differently from the target port
If the port is greater than 1024, for backward compatibility the port and
targetPort should be the same value. If the port is less than 1024,
the internal port must use a higher port number. In that case, the internal
port will be the default port numbers and only the public port will be
the desired port in the cluster CR.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit f79ff42e0c)
2022-10-05 21:20:53 +00:00
mergify[bot] 6d8ff555ab Merge pull request #11105 from rook/mergify/bp/release-1.10/pr-11103
osd: Prepare job needs significant more memory for provisioning (backport #11103)
2022-10-05 19:41:55 +00:00
Travis Nielsen 0a2f2bfd93 osd: prepare job needs significant more memory for provisioning
The OSD creation may need to burst during OSD provisioning depending
on the size of the OSD or similar factors. If the OSD prepare job is
OOM killed it will cause OSD provisioning to fail and have various
side effects that are difficult to troubleshoot to get the OSD
to succeed. So we increase the recommendation significantly to avoid
the OOM kill.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 92c52c4a2e)
2022-10-05 19:09:39 +00:00
Travis Nielsen 45b790d44a Merge pull request #11102 from rook/mergify/bp/release-1.10/pr-11101
docs: fix notes in docs (backport #11101)
2022-10-05 08:14:36 -06:00
Tarun Gupta Akirala 0c0d2a8405 docs: fix notes in contributing docs
Signed-off-by: Tarun Gupta Akirala <takirala@users.noreply.github.com>
(cherry picked from commit 6c2335b37a)
2022-10-05 14:12:58 +00:00
mergify[bot] 20f227b767 Merge pull request #11098 from rook/mergify/bp/release-1.10/pr-11029
docs: explain specific nixos configurations (backport #11029)
2022-10-04 13:59:07 +00:00
Jairo Llopis 5e612b7486 docs: explain specific nixos configurations
Explain the fix for https://github.com/rook/rook/issues/10932 to let NixOS users set up Rook more easily.

Signed-off-by: Jairo Llopis <jairo@moduon.team>
(cherry picked from commit 7fecca3d6f)
2022-10-04 13:28:37 +00:00
mergify[bot] e3c280df11 Merge pull request #11094 from rook/mergify/bp/release-1.10/pr-11018
rgw: handle insecure flag skip for obc in the tls config (backport #11018)
2022-09-30 17:08:19 +00:00
Jiffin Tony Thottan b33a9d3c40 rgw: handle insecure flag skip for obc in the tls config
OBC provisioner ignores insecure skip flag even if it is declared for
TLS auth, hence bucket creation was failing

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit d605ba4cf8)
2022-09-30 16:37:15 +00:00
mergify[bot] 011412c390 Merge pull request #11087 from rook/mergify/bp/release-1.10/pr-11079
osd: use 256 as cryptographicLength for keys using kmip kms (backport #11079)
2022-09-30 06:07:25 +00:00
mergify[bot] 88d3348104 Merge pull request #11089 from rook/mergify/bp/release-1.10/pr-11085
update sidecars to latest in CSI deployment (backport #11085)
2022-09-29 15:55:28 +00:00