Commit Graph
10432 Commits
Author SHA1 Message Date
Travis Nielsen 1e78138448 Merge pull request #13667 from rook/mergify/bp/release-1.12/pr-13653
exporter: Don't delete exporter service on daemon deletion (backport #13653)
2024-02-01 10:17:28 -07:00
Travis Nielsen 230efe9bd9 Merge pull request #13666 from parth-gr/python-black-1.12
ci: reformat the python scripts
2024-02-01 10:15:51 -07:00
travisn f274def404 exporter: dont delete exporter service on daemon deletion
The exporter service and service monitor should not
be deleted if an individual daemon is being removed
from a node. As long as the exporter is enabled with
v18 and newer, the exporter service and service monitor
should exist. Clusters were seeing their metrics stop
collection when the exporter service and service monitor
would disappear, especially when multiple clusters are
configured.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit a1fc70f2fc)
2024-02-01 16:31:26 +00:00
parth-gr d6842a8631 ci: reformat the python scripts
currently there is a new release of black
formatter so updating it with new release

Signed-off-by: parth-gr <paarora@redhat.com>
2024-02-01 20:07:20 +05:30
Travis Nielsen e987985eb2 Merge pull request #13656 from parth-gr/k8s-min1.12
docs: clarify the k8s versioning in the doc in 1.12
2024-01-31 07:53:41 -07:00
parth-gr 74c8894e4d docs: clarify the k8s versioning in the doc in 1.12
we need to clarify what all version we do support

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-01-31 10:22:19 +05:30
Travis Nielsen d6883b8aa9 Merge pull request #13627 from travisn/release-1.12.11
build: Update the release version to v1.12.11
v1.12.11
2024-01-25 16:48:16 -07:00
travisn 8c2a17693e build: update the release version to v1.12.11
For the patch release update the docs and examples
to v1.12.11

Signed-off-by: travisn <tnielsen@redhat.com>
2024-01-25 13:34:18 -07:00
mergify[bot] d539137f3e Merge pull request #13606 from rook/mergify/bp/release-1.12/pr-13597
exporter: Skip reconcile on exporter deletion (backport #13597)
2024-01-22 17:10:30 +00:00
travisn 4a31cd3b8b exporter: skip reconcile on exporter deletion
The exporter pod is ephemeral and frequently being deleted
and re-created when ceph daemons are created. Therefore,
we need to skip reconciling based on the deletion
of the exporter deployment.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 995a64fb3a)
2024-01-22 16:39:39 +00:00
mergify[bot] 8d5e5b4b4e Merge pull request #13518 from rook/mergify/bp/release-1.12/pr-13324
core: Fix golang linter issues with variables in loops and update linter version (backport #13324)
2024-01-05 19:39:50 +00:00
travisn 500dd36077 core: fix golang linter issues with variables in loops
Loop variables cannot be reliably uses since they will
change with each iteration. Update these loop variable
uses to be safe by indexing the slice rather than
using the loop variable directly.

Also suppress the linter issues for passwords used
in tests.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 6f8e42422d)
2024-01-05 11:53:02 -07:00
Blaine Gardner ff394e410f Merge pull request #13514 from rook/mergify/bp/release-1.12/pr-13506
multus: use nginx-unprivileged image from quay (backport #13506)
2024-01-05 11:41:26 -07:00
Blaine Gardner 5ab14dde54 multus: use nginx-unprivileged image from quay
Use Quay as the source for the nginx-unprivileged image used for the
Multus validation tool because Quay does not rate limit image pulls,
which are a common complaint for users of the tool.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit cd253d0218)
2024-01-05 15:04:49 +00:00
Travis Nielsen e261c61000 Merge pull request #13412 from rook/mergify/bp/release-1.12/pr-13408
helm: allow configuring monitoring interval (backport #13408)
2023-12-19 10:54:34 -07:00
Charlie Haley e1fe166a1a helm: allow configuring monitoring interval
Signed-off-by: Charlie Haley <charlie.haley@hotmail.com>
(cherry picked from commit 0768eb125b)
2023-12-15 18:16:58 +00:00
Travis Nielsen 1b04b5dda1 Merge pull request #13392 from travisn/release-1.12.10
build: Update the release version to v1.12.10
v1.12.10
2023-12-13 13:37:00 -07:00
travisn 3b3bd21dd9 build: update the release version to v1.12.10
For the patch release update the examples and docs to
v1.12.10

Signed-off-by: travisn <tnielsen@redhat.com>
2023-12-13 12:04:03 -07:00
Travis Nielsen e862078447 Merge pull request #13391 from rook/mergify/bp/release-1.12/pr-13383
external: fix the run as a user flag (backport #13383)
2023-12-13 11:47:02 -07:00
parth-gr f9a5dab4a5 external: fix the run as a user flag
there is a hardcoded value of "client.healthchecker"
which needs to be replaced by self.run_as_user

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 8d89faf615)
2023-12-13 18:18:45 +00:00
mergify[bot] 910e4ef023 Merge pull request #13378 from rook/mergify/bp/release-1.12/pr-13360
mon: fix mon failover on path change (backport #13360)
2023-12-12 18:38:28 +00:00
sp98 365aa4658a mon: fix mon failover on path change
This PR fails over mon when the mon path is changed from hostPath to PVC or vice versa

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 4b6fd89365)
2023-12-12 11:06:14 -07:00
Satoru Takeuchi f032fef069 Merge pull request #13333 from rook/mergify/bp/release-1.12/pr-13325
doc: add the description of some fields and update the table of supported configurations for OSD creation (backport #13325)
2023-12-06 05:51:56 +09:00
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
mergify[bot] 70f4995db4 Merge pull request #13322 from rook/mergify/bp/release-1.12/pr-13312
helm: fix namespace for objstore ingress (backport #13312)
2023-12-05 00:21:25 +00:00
Cyril Jouve 3dca18d865 helm: fix namespace for objstore ingress
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
(cherry picked from commit d65c5b6dff)
2023-12-04 23:50:20 +00:00
Travis Nielsen 90a1c05433 Merge pull request #13301 from travisn/release-1.12.9
build: Update the release version to v1.12.9
v1.12.9
2023-11-30 15:17:12 -07: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
mergify[bot] 79018ae712 Merge pull request #13300 from rook/mergify/bp/release-1.12/pr-13288
helm: Add namespace to all resource templates (backport #13288)
2023-11-30 19:24:30 +00:00
travisn 55c2089fd6 helm: add namespace to all resource templates
The helm templates assumed that the resources would be installed
to the given namespace for the helm install or upgrade. This works
perfectly until there is a desire to extract the manifests from
the helm chart and instead install with those. Thus, the namespace
is added to all the resources in the chart where they were
missing.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit b4e51f6d12)
2023-11-30 18:53:28 +00:00
mergify[bot] d6c25340cc Merge pull request #13299 from rook/mergify/bp/release-1.12/pr-13222
mgr: honor the ContinueUpgradeAfterChecksEvenIfNotHealthy flag (backport #13222)
2023-11-30 17:30:36 +00:00
Michael Adam 9f365e8b5d ci: add "k8sutil" to the allowed commit prefixes
It was somewhat difficult to find an appropriate and allowed commit
prefix for changes to the k8sutil package. This changes removes this
problem by addink "k8sutil" to the list of allowed prefixes in our
commitlint configuration

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a40f305d5e)
2023-11-30 16:59:37 +00:00
Michael Adam 8cd09ecd39 mgr: honor the ContinueUpgradeAfterChecksEvenIfNotHealthy flag
Fixes: #13167

Previously, the mgr did not honor the flag
ContinueUpgradeAfterChecksEvenIfNotHealthy
from the cluster spec. Only osd, mds, and rgw did.

To render the update behavior correct and complete across the daemons, this
change implements the honoring of the flag for the mgr.

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 93bf6540b2)
2023-11-30 16:59:37 +00:00
mergify[bot] 969fe3f4c8 Merge pull request #13279 from rook/mergify/bp/release-1.12/pr-13225
core: add pgHealthyRegex to DisruptionManagementSpec (backport #13225)
2023-11-28 06:06:42 +00: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
mergify[bot] 68ae2b3468 Merge pull request #13276 from rook/mergify/bp/release-1.12/pr-13256
mgr: adding CEPH_ARGS to the mgr pod so radosgw-admin can use it (backport #13256)
2023-11-27 17:32:07 +00:00
Redouane Kachach f2d4e6792f mgr: adding CEPH_ARGS to the mgr pod so radosgw-admin can use it
ceph dashboard uses radosgw-admin for certain tasks that
aren't accessible via the rgw REST API. Due to the absence of
a valid ceph.conf file at /etc/ceph/ceph.conf within the mgr pod,
radosgw-admin fails to operate, resulting in 500 errors across
various 'Object Gateway' views on the dashboard. This change
adds CEPH_ARGS environment variable to the mgr pod enabling
its propagation and utilization by the dashboard/radosgw-admin
for executing rgw commands.

closes: https://github.com/rook/rook/issues/13255

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit afc485fa03)
2023-11-27 17:02:27 +00:00
mergify[bot] 19f186db83 Merge pull request #13275 from rook/mergify/bp/release-1.12/pr-13265
exporter: change deployment strategy to Recreate (backport #13265)
2023-11-27 15:48:51 +00:00
Divyansh Kamboj e312fae3cf exporter: change deployment strategy to Recreate
Restarting the exporter using RollingRelease causes a race condition,
that results in exporter crashing and the ceph health to show a warning.

Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
(cherry picked from commit f9d6cd7f3a)
2023-11-27 14:46:18 +00:00
mergify[bot] 2125cdf74e Merge pull request #13260 from rook/mergify/bp/release-1.12/pr-13259
helm: use csiaddonsport parameter (backport #13259)
2023-11-24 05:43:55 +00:00
Satoru Takeuchi c84caf28b2 helm: use csiaddonsport correctly
We have csi.csiAddonsPort paramete but it's not used everywhere.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 1d8cdeca03)
2023-11-24 05:11:45 +00:00
mergify[bot] c64272e8a3 Merge pull request #13254 from rook/mergify/bp/release-1.12/pr-13248
mgr: get servicemonitor exporter's interval from MonitoringSpec (backport #13248)
2023-11-21 23:39:29 +00:00
Redouane Kachach 47a6c9ff7f mgr: get servicemonitor exporter's interval from MonitoringSpec
this change updates the serviceMonitor interval of the the rook-ceph-exporter
with the value from the MonitoringSpec.

closes: https://github.com/rook/rook/issues/13159

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 6b71325dbe)
2023-11-21 23:03:16 +00:00
mergify[bot] 19a176236b Merge pull request #13242 from rook/mergify/bp/release-1.12/pr-13237
rgw: correctly handle mgr-proxied rgw cli commands in multus scenarios (backport #13237)
2023-11-21 00:50:17 +00:00
zer0def ad9e191fb9 rgw: correctly handle mgr-proxied rgw cli commands in multus scenarios
Due to multi-site Ceph object resources (realms, zonegroups, zones)
reconciliation CLI commands being proxied through CephCluster's Mgr pods
in Multus-based scenarios, return codes were being additionally wrapped
by K8S' command streams and weren't adequately handled in-code, causing
reconciliation of CephObject(Realm|ZoneGroup|Zone) resources to fail, as
an exit code of 0, instead of the expected syscall.ENOENT (2) was returned.

Fixes #12833

Signed-off-by: zer0def <zv0uzqbqnncivw0afjsx79jmd19shpps3r5f2vjc6yv@definedaszero.xyz>
(cherry picked from commit 9b69b5cb46)
2023-11-21 00:19:04 +00:00
Travis Nielsen c6f573ba8d Merge pull request #13232 from rook/mergify/bp/release-1.12/pr-13228
doc: correct csi ceph.conf path (backport #13228)
2023-11-17 09:59:15 -07: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
mergify[bot] a240a47946 Merge pull request #13224 from rook/mergify/bp/release-1.12/pr-12850
core: report node metrics using ceph telemetry (backport #12850)
2023-11-16 22:27:03 +00:00
parth-gr d8d787bfa0 core: report node metrics using ceph telemetry
Add this reporting with the cephcluster reconcile,
Similar way we reported other telemetry's

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

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit f007f2aca1)
2023-11-16 21:56:08 +00:00