Commit Graph
11227 Commits
Author SHA1 Message Date
mergify[bot] 1da5a8d9d6 Merge pull request #14741 from rook/mergify/bp/release-1.14/pr-14731
core: Enable annotations on crash collector (backport #14731)
2024-09-19 18:15:28 +00:00
Travis Nielsen 838d9c1a5b core: enable annotations on crash collector
The crash collector daemon had missed the ability to
add custom annotations via the cephcluster CR, as already
supported for all the other daemons.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit fa2941d098)
2024-09-19 17:49:13 +00:00
subham rai 290486a2ec Merge pull request #14739 from rook/mergify/bp/release-1.14/pr-14738
ci: fix ci permission issue with minikube start (backport #14738)
2024-09-19 21:59:11 +05:30
subhamkrai 69eeaab21b ci: fix ci permission issue with minikube start
this commit upgrade the minikube, k8s, crictl versions
in CI and also fix permission error in the github runner.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit f647444515)
2024-09-19 16:01:14 +00:00
Travis Nielsen d5f7b8de8e Merge pull request #14668 from rook/mergify/bp/release-1.14/pr-14642
helm: reorder volumes in rook-ceph-csi scc for argocd diff to show no changes (backport #14642)
2024-08-30 14:56:06 -06:00
rene 3828430ba3 helm: reorder volumes in rook-ceph-csi scc for argocd diff to show no changes
Signed-off-by: rene <rene.raab@gmx.net>
Co-authored-by Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 746ef30b09)
2024-08-30 20:23:50 +00:00
mergify[bot] b19bba87a7 Merge pull request #14638 from rook/mergify/bp/release-1.14/pr-14636
core: fix Ceph monitor deployment in separate zones (backport #14636)
2024-08-27 19:35:50 +00:00
Blaine Gardner 060617e2cb Merge pull request #14634 from rook/mergify/bp/release-1.14/pr-14631
core: fix host cleanup jobs to read flags correctly. (backport #14631)
2024-08-26 11:55:58 -06:00
Benoît Knecht 6c5bbe23ed core: fix Ceph monitor deployment in separate zones
Previously, Rook would fail to create monitors for a `CephCluster` spec that
required them to be located in distinct failure domains:

```yaml
spec:
  mon:
    count: 3
    failureDomainLabel: topology.kubernetes.io/zone
    zones:
    - eu-central-1a
    - eu-central-1b
    - eu-central-1c
```

This was due to the fact that Rook was mistakenly getting the
`failureDomainLabel` from `spec.mon.stretchCluster.failureDomainLabel`.

This commit ensures `spec.mon.failureDomainLabel` is being used instead, which
fixes the cluster deployment for the spec above.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
(cherry picked from commit 1c45677f5e)
2024-08-23 13:15:11 +00:00
Blaine Gardner ccf02a6a13 Merge pull request #14632 from rook/mergify/bp/release-1.14/pr-14629
multus: fix default service account handling (backport #14629)
2024-08-22 14:20:27 -06:00
sp98 f714312777 core: fix reading flags in cleanup job cmd
Cleanup job cli was not reading the flags correctly.
As a result, dataDirHostPath was never cleaned up.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit a44a22216f)
2024-08-22 16:33:04 +00:00
Blaine Gardner 1d72535dbd multus: fix default service account handling
The default service account isn't passed to the multus validation test
when no config file is used. Fix this.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 58e3feaacf)
2024-08-22 16:32:41 +00:00
Travis Nielsen e2b5ac05c9 Merge pull request #14614 from travisn/release-1.14.10
build: Update the release version to v1.14.10
v1.14.10
2024-08-20 16:08:52 -06:00
Travis Nielsen f9dd7c254e build: update the release version to v1.14.10
For the patch release update the manifests and docs
to v1.14.10

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-08-20 13:48:45 -06:00
mergify[bot] 421a952af8 Merge pull request #14609 from rook/mergify/bp/release-1.14/pr-14598
core: add configuration option for metrics bindAddress (backport #14598)
2024-08-20 18:59:05 +00:00
Justin Cichra 75697414a2 core: add configuration option for metrics bindAddress
Alerting on controller-runtime's workqueue_depth can be useful for
debugging controllers. Also having a prometheus target for a pod gives
another data point that the system is working as expected. It is useful
for uptime alerts.

Make the bind address configurable via the configmap while still retaining the default
behavior that it is disabled.

Resolves: #14538

Signed-off-by: Justin Cichra <jcichra@cloudflare.com>
(cherry picked from commit 74a79b24b3)
2024-08-20 12:32:42 -06:00
subham rai dcba651ff4 Merge pull request #14581 from rook/mergify/bp/release-1.14/pr-14576
core: Add annotations and labels to detect version jobs (backport #14576)
2024-08-19 11:07:25 +05:30
Travis Nielsen d0d4333f85 core: add annotations and labels to detect version jobs
The jobs to detect the ceph and csi versions now can have
custom annotationso and labels added to them. They are
very short-lived jobs, but they may need custom annotations
in some environments to run.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 5014d5bcf2)
2024-08-16 16:04:59 +00:00
mergify[bot] e07783121c Merge pull request #14571 from rook/mergify/bp/release-1.14/pr-14565
ci: fix failing multus validation tool test (backport #14565)
2024-08-14 22:41:41 +00:00
Blaine Gardner 31fe4a935b ci: fix failing multus validation tool test
Ceph image no longer has `ip` tool installed. Use a different container
image for the daemonset which sets host IPs and routes for multus hosts.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 5773132d7f)
2024-08-14 21:30:40 +00:00
Travis Nielsen 705cc700c0 Merge pull request #14504 from rook/mergify/bp/release-1.14/pr-14500
docs: add troubleshooting topic for containerd LimitNOFILE issue (backport #14500)
2024-07-26 08:17:17 -06:00
nicofnt d61d4edd79 docs: add new topic in troubleshooting guide for the LimitNOFILE issue
Create new topic in the troubleshooting guide to explain how to fix a new rook-ceph deployment that could remain in an unhealthy state or fails to config because of the LimitNOFILE value specified in the containerd.service configuration.

Signed-off-by: Nicola Fantacuzzi <nfantacuzzi@gmail.com>
(cherry picked from commit 0952e36ba1)
2024-07-26 14:12:19 +00:00
Travis Nielsen 0139b342aa Merge pull request #14498 from travisn/release-1.14.9
build: Update the release version to v1.14.9
v1.14.9
2024-07-25 15:09:23 -06:00
Travis Nielsen ed509e8bf0 build: update the release version to v1.14.9
For the patch release update the manifests and docs
to v1.14.9

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-07-25 11:49:31 -06:00
Travis Nielsen a8a05d3741 Merge pull request #14492 from rook/mergify/bp/release-1.14/pr-14484
mgr: Properly detect if dashboard cert already exists to avoid unnecessary dashboard module restarts (backport #14484)
2024-07-24 14:22:47 -06:00
Travis Nielsen b68f4fc759 Merge pull request #14494 from rook/mergify/bp/release-1.14/pr-14491
manifest: Update the ceph recommended version to v18.2.4 (backport #14491)
2024-07-24 14:22:33 -06:00
mergify[bot] 2a6d0a9fe3 Merge pull request #14493 from rook/mergify/bp/release-1.14/pr-14485
tests: Retry helm upgrade during upgrade tests (backport #14485)
2024-07-24 20:05:04 +00:00
Travis Nielsen 77969d4aa0 multus: install ip tool for multus
The ceph base image removed the ip tool, so we add
it into the rook image.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 4e2447277f)
2024-07-24 13:35:31 -06:00
Travis Nielsen f4cd2261ec manifest: update the ceph recommended version to v18.2.4
Since Reef v18.2.4 is released, set it to the default
ceph version that is deployed with Rook.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit e26920a483)

# Conflicts:
#	deploy/examples/images.txt
2024-07-24 19:32:25 +00:00
Travis Nielsen d8428eeba9 tests: retry helm upgrade during upgrade tests
The helm upgrade tests have been failing frequently, but not
always, on the oldest version of K8s that is tested in the CI
for the past few months. Add a retry to attempt to get
the CI passing more consistently.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 043b446675)
2024-07-24 19:31:28 +00:00
Travis Nielsen f5a7f0eb0d mgr: properly detect if dashboard cert already exists
If the dashboard cert already exists when ssl is enabled,
we need to not restart the dashboard module. The module
should only be restarted when there is a change to the
dashboard configuration. When ssl is enabled, the dashboard
is essentially being restarted every time there is a reconcile
which is causing issues with the mgr getting blocklisted
unnecessarily by ceph during failover.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 6ce616bf96)
2024-07-24 19:31:21 +00:00
Travis Nielsen 2c71c4e919 Merge pull request #14490 from rook/mergify/bp/release-1.14/pr-14482
mgr: lookup cluster crd on active mgr watch (backport #14482)
2024-07-24 11:58:03 -06:00
Artem Torubarov 65ee4f9035 mgr: lookup cluster crd on active mgr watch
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit 3f2d0eb1f8)
2024-07-24 16:56:57 +00:00
mergify[bot] e9f70ec024 Merge pull request #14463 from rook/mergify/bp/release-1.14/pr-14420
csi: make kube apiserver qps configurable (backport #14420)
2024-07-16 18:55:40 +00:00
yite.gu 4b69af18a9 csi: make kube apiserver qps configurable
This commit adds the flexibility to configure kube apiserver qps
as per the user requirement and also keeps the existing values as
the default one.

Signed-off-by: yite.gu <yitegu0@gmail.com>
(cherry picked from commit 80541a23c9)
2024-07-16 12:28:17 -06:00
Blaine Gardner d221d9dcd7 Merge pull request #14452 from rook/mergify/bp/release-1.14/pr-14451
multus: reset validation tool debounce time to 30 (backport #14451)
2024-07-12 12:41:25 -06:00
Blaine Gardner 91685f0a04 multus: reset validation tool debounce time to 30
Reset the Multus validation tool debounce time to its intended 30 second
value. It was changed to 5 for testing, and the change was accidentally
committed.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 5884f1c900)
2024-07-11 18:07:57 +00:00
Blaine Gardner c652020fba Merge pull request #14450 from rook/mergify/bp/release-1.14/pr-14230
multus: add host checking to validation tool (backport #14230)
2024-07-11 12:06:01 -06:00
Blaine Gardner 745ad91974 multus: add host checking to validation tool
In order to help users check that they have implemented the newly-added
Multus host configuration prerequisites, add a check to the validation
tool to verify connectivity.

Because users who are already running clusters with Multus enabled, add
a flag that allows users to only check for host configuration
prerequisites. This mode will not start the large number of clients that
would normally be started because those clients could disrupt a running
Rook cluster negatively.

Host checking pods require host network access. Many Kubernetes
distributions have pod security features enabled. In order to allow
non-Vanilla distros to run this tool, allow specifying a service account
that pods will run as, which can be configured by the admin to allow
test pods.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 33f5407dd4)

# Conflicts:
#	Documentation/CRDs/Cluster/network-providers.md
#	deploy/examples/multus-validation.yaml
2024-07-11 11:25:15 -06:00
mergify[bot] 5db240dcad Merge pull request #14448 from rook/mergify/bp/release-1.14/pr-14447
pool: Skip updating crush rules for stretch clusters (backport #14447)
2024-07-10 19:00:02 +00:00
Travis Nielsen af8b1769df pool: skip updating crush rules for stretch clusters
Pools in stretch clusters must all specify the same
CRUSH rule. No pools can use a different rule. When there
is a change in the device class, we do not even expect to update
the crush rules in a stretch cluster. Different device classes
are not supported in stretch clusters, and it's expected to be
a homogenous environment. Therefore, skip all crush rule updates
in stretch clusters.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit b92bbba671)
2024-07-10 12:31:43 -06:00
Travis Nielsen 35b3b9e4ca Merge pull request #14417 from travisn/release-1.14.8
build: Update the release version to v1.14.8
v1.14.8
2024-07-03 13:20:18 -06:00
Travis Nielsen 61b19a2e2f build: update the release version to v1.14.8
For the patch release update the manifests and docs
to v1.14.8

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-07-03 12:12:13 -06:00
Travis Nielsen ef1859aad4 Merge pull request #14409 from rook/mergify/bp/release-1.14/pr-14408
csi: update csi-addons repo link (backport #14408)
2024-07-02 11:15:24 -06:00
Madhu Rajanna d1889fb5c1 csi: update csi-addons repo link
updating csi-addons repo link
to pull the yamls for installation

closes: #14394

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 266fd49c02)
2024-07-02 16:35:08 +00:00
subham rai af459c9813 Merge pull request #14392 from rook/mergify/bp/release-1.14/pr-14391
build: update go-retryablehttp from 0.7.6 to 0.7.7 (backport #14391)
2024-06-28 11:29:11 +05:30
subhamkrai e910215c4e build: update go-retryablehttp from 0.7.6 to 0.7.7
this commit updates go-retryablehttp from 0.7.6 to 0.7.7
and without this govulcheck ci is failing.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 9fbf3d3)

Signed-off-by: subhamkrai <srai@redhat.com>
2024-06-28 10:45:45 +05:30
subham rai e92e7427ef Merge pull request #14371 from rook/mergify/bp/release-1.14/pr-14367
osd: Use old passphrase to kill the LUKS slot (backport #14367)
2024-06-28 10:27:16 +05:30
Blaine Gardner c8c51a25c6 Merge pull request #14378 from rook/mergify/bp/release-1.14/pr-14374
osd: fix activate failure when block device moves (backport #14374)
2024-06-26 14:28:37 -06:00
Blaine Gardner 8a1a94708a Merge pull request #14389 from rook/mergify/bp/release-1.14/pr-14342
docs(fix): missing ** in filesystem-storage.md (backport #14342)
2024-06-26 14:08:26 -06:00