Commit Graph
9201 Commits
Author SHA1 Message Date
Travis Nielsen ec226e6c68 security: run the crash collector as ceph user
The crash collector does not have the command line arguments
to run as ceph user id 167, so we set the security context
to run as the ceph user in the main crash collector
container.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit df6d7af355)
2022-10-31 17:14:39 +00:00
Travis Nielsen 21c0612559 Merge pull request #11240 from rook/mergify/bp/release-1.10/pr-11223
security: update "s5cmd" to "v2.0.0" (backport #11223)
2022-10-28 11:23:01 -06:00
Pratik Raj f8659a8eca security: update "s5cmd" to "v2.0.0"
update "s5cmd" to "v2.0.0" as "1.4.0" was built using go v1.16 and has many vulnerabilities

Resolves #11176

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
(cherry picked from commit db9bd9f918)
2022-10-28 13:35:01 +00:00
Travis Nielsen f4a21f41a1 Merge pull request #11234 from rook/mergify/bp/release-1.10/pr-11211
mon: The mon daemons maintain host network settings to allow change in config (backport #11211)
2022-10-27 12:30:06 -06:00
Travis Nielsen a809631456 mon: the mon daemons maintain host network settings
If the host network setting is changed in the cluster CR,
the existing mons must continue using the same network
settings or else the operator would update their pod
specs with the incorrect settings and cause mon quorum
to go down. Now the network setting is preserved so
the admin could switch between host and non-host network
configuration without reinstalling.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 61840324be)
2022-10-27 17:34:59 +00:00
mergify[bot] 117d3da30c Merge pull request #11218 from rook/mergify/bp/release-1.10/pr-11179
core: Retry when removing finalizers from cluster resources (backport #11179)
2022-10-26 21:49:58 +00:00
Travis Nielsen d73e4f90e8 core: remove finalizer from cluster cr last
Removing the finalizers from cluster resources can intermittently fail
in the CI if other updates are made at similar times. The controller
runtime will retry after the failure, but if something external
removes the finalizer on the cephcluster CR, the deletion will not
continue with the removal of finalizers from the other configmap
and secret critical resources.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 0ede2946a8)
2022-10-26 21:15:26 +00:00
Travis Nielsen 32dbf7e1cf Merge pull request #11214 from rook/mergify/bp/release-1.10/pr-11198
core: upgrade ceph to latest release v17.2.5 (backport #11198)
2022-10-26 13:02:12 -06:00
subhamkrai 98600a440f core: upgrade ceph to latest release v17.2.5
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 270b565f18)
2022-10-26 15:52:18 +00:00
Travis Nielsen 56836bb127 Merge pull request #11207 from rook/mergify/bp/release-1.10/pr-11203
docs: fix typo in numbering (backport #11203)
2022-10-25 07:45:46 -06:00
Tarun Gupta Akirala c0230447bd docs: fix typo in numbering
Signed-off-by: Tarun Gupta Akirala <takirala@users.noreply.github.com>
(cherry picked from commit a2b0871d08)
2022-10-25 13:34:27 +00:00
Travis Nielsen 2d6fbcf584 Merge pull request #11199 from rook/mergify/bp/release-1.10/pr-11154
Docs: Improve troubleshooting docs on restoring CRDs after deletion (backport #11154)
2022-10-24 09:33:01 -06:00
Alexander Bauer e88bdffc70 docs: add scripts, details, and new steps to CRD restoration guide
Signed-off-by: Alexander Bauer <sasha@linux.com>
(cherry picked from commit 825e956849)
2022-10-21 14:14:10 +00:00
Alexander Bauer 2637eec97d docs: add warning about CR naming in CRD restoration page
Signed-off-by: Alexander Bauer <sasha@linux.com>
(cherry picked from commit dc13595670)
2022-10-21 14:14:09 +00:00
Alexander Bauer 045d2ceb62 docs: repair list numbering in Restoring CRDs after Deletion
This commit adjusts spacing in the Docs -> Troubleshooting -> Disaster
Recovery -> Restoring CRDs after Deletion sources to repair
list-numbering-mangling. The section is altered to use spacing
suggestions from:
  https://squidfunk.github.io/mkdocs-material/reference/lists/

Signed-off-by: Alexander Bauer <sasha@linux.com>
(cherry picked from commit d7731bdf7c)
2022-10-21 14:14:09 +00:00
Travis Nielsen bdeecf309b Merge pull request #11194 from travisn/release-1.10.4
build: Update release version to v1.10.4
v1.10.4
2022-10-20 13:14:32 -06:00
Travis Nielsen 1ca8adaed2 build: update release version to v1.10.4
For the patch release update the examples and docs to
v1.10.4

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-20 12:40:03 -06:00
Travis Nielsen f08689aa69 Merge pull request #11193 from rook/mergify/bp/release-1.10/pr-11170
build: Update the go modules to the latest (backport #11170)
2022-10-20 12:34:40 -06:00
Travis Nielsen 8644ebe789 build: update the go modules to the latest
The security scan is failing due to a go dependency
so we update the go modules and all dependencies to
the latest available.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit ba6adc60e1)
2022-10-20 17:58:21 +00:00
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