Commit Graph
10679 Commits
Author SHA1 Message Date
Travis Nielsen 2b61a4d8a2 Merge pull request #13563 from travisn/release-1.13.2
build: Update the release version to v1.13.2
v1.13.2
2024-01-11 14:32:33 -07:00
travisn 080a660556 build: update release version to v1.13.2
For the patch release update the exampls and docs
to v1.13.2

Signed-off-by: travisn <tnielsen@redhat.com>
2024-01-11 14:04:59 -07:00
Travis Nielsen 26306ea771 Merge pull request #13543 from rook/mergify/bp/release-1.13/pr-13540
external: honour support of cluster-name legacy flag (backport #13540)
2024-01-11 14:03:31 -07:00
mergify[bot] 7c11d51e9d Merge pull request #13562 from rook/mergify/bp/release-1.13/pr-13561
mds: Increase max limit of mds active daemons (backport #13561)
2024-01-11 20:42:29 +00:00
travisn 3c6d13996e mds: increase max limit of mds active daemons
The mds max daemons had been set arbitrarily to 10.
Allow more mds daemons for clusters that have a
scenario for large numbers of mds to manage the
filesystem metadata.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 98816ad79f)
2024-01-11 20:13:19 +00:00
Satoru Takeuchi f17f7fb2b5 Merge pull request #13538 from rook/mergify/bp/release-1.13/pr-13479
core: fix error handling on setting watcher (backport #13479)
2024-01-10 13:08:14 +09:00
parth-gr a201cda3da external: honour support of cluster-name legacy flag
we have changed the --cluster-name flag to --k8s-cluster-name
but to support automation while upgrade we should support
the legacy flag

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 8e4ec01cbb)
2024-01-09 11:42:15 -07:00
Satoru Takeuchi 4505a4f8e4 core: core: fix error handling on setting watcher
If `cmClient.Watch()` failed, `watcher.Stop()` causes null pointer
dereference.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit b1a81509a5)
2024-01-09 13:19:00 +00:00
Travis Nielsen f056208d4b Merge pull request #13533 from rook/mergify/bp/release-1.13/pr-13524
osd: create ceph conf and keyring files before osd migration (backport #13524)
2024-01-08 08:45:42 -07:00
sp98 1b09e3678f osd: create config before migration osd
create the ceph config and keyring file in the osd prepare pod
before starting the OSD migration. These files are needed to
run any ceph command.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 94953f3f7b)
2024-01-08 14:55:01 +00:00
Travis Nielsen 468ff4294e Merge pull request #13505 from rook/mergify/bp/release-1.13/pr-13452
doc: add that resizing `encryptedDevice` is not yet supported for host-based clusters (backport #13452)
2024-01-05 12:10:44 -07:00
Travis Nielsen 4aa21fb6ad Merge pull request #13517 from travisn/backport-crd-shorten
backport: Shorten CRD descriptions to 100 chars
2024-01-05 12:09:41 -07:00
Blaine Gardner 267a7ff89a Merge pull request #13515 from rook/mergify/bp/release-1.13/pr-13506
multus: use nginx-unprivileged image from quay (backport #13506)
2024-01-05 11:42:12 -07:00
travisn 208da4edb0 manifest: shorten crd descriptions to 100 chars
Long CRD descriptions were pushing the size of the CRDs manifest
over 1MB, which causes issues when creating the CRDs. To shorten
the manifest, the descriptions are now limited to 100 chars.
This still gives some ability for dev tools to show a brief
description if needed. The generated CRD docs still contain
the full descriptions for reference.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 3c1b0692e4)
2024-01-05 10:19:58 -07:00
Blaine Gardner fdf9c6f2f1 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:05:18 +00:00
Yuma Ogami 5a6e90ca18 doc: add that resizing encryptedDevice is not yet supported for host-based clusters
Caused by the following issue:
https://github.com/rook/rook/issues/13262

Signed-off-by: Yuma Ogami <yuma-ogami@cybozu.co.jp>
(cherry picked from commit 3a55526d55)
2024-01-04 20:00:49 +00:00
Travis Nielsen 6d87dcc0b2 Merge pull request #13503 from rook/mergify/bp/release-1.13/pr-13499
helm: Update cluster chart and all examples to ceph v18.2.1 (backport #13499)
2024-01-04 10:34:12 -07:00
travisn 0c4daa788e docs: update all examples to ceph v18.2.1
Since v18.2.1 is the default recommendation for the ceph version,
update all the docs and examples to that version.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 56a3370d83)
2024-01-04 16:10:42 +00:00
travisn 4db8871be1 helm: update default ceph version to v18.2.1
In the cluster chart, set the default ceph version
to v18.2.1.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 5f60d2dfac)
2024-01-04 16:10:41 +00:00
mergify[bot] 9b0508deb2 Merge pull request #13473 from rook/mergify/bp/release-1.13/pr-13468
ci: wait for all OSD pods to become Running in wait_for_prepare_pod (backport #13468)
2023-12-26 09:06:03 +00:00
Ryotaro Banno 8c98474418 ci: wait for all OSD pods to become Running in wait_for_prepare_pod
Currently, `wait_for_prepare_pod` only waits until 1 prepare pod and 1
OSD pod are in Running state.

So if `wait_for_ceph_to_be_ready` failed after `wait_for_prepare_pod`
succeeded, there are 4 possible cases:

1. some prepare pods didn't start correctly;
2. some prepare pods didn't finish correctly;
3. some OSD pods didn't start correctly; or
4. all prepare pods and OSD pods worked correctly, but some other
   process failed.

As far as I understand, the number of prepare pods on the GitHub CI is
always 1, so cases 1 and 2 are not problematic. However, it is hard to
distinguish the other two cases from the CI log.

To solve the above problems, this patch makes wait_for_prepare_pod wait
for all OSD pods to become running state. If wait_for_prepare_pod
timeouts before the OSD pods become running state, this will be a strong
indication that the OSD pods didn't start properly (i.e., case 3).

Signed-off-by: Ryotaro Banno <ryotaro.banno@gmail.com>
(cherry picked from commit e9c1f81d79)
2023-12-26 08:15:37 +00:00
Travis Nielsen 0196001840 Merge pull request #13455 from travisn/release-1.13.1
build: Update release version to v1.13.1
v1.13.1
2023-12-20 11:33:21 -07:00
Travis Nielsen 2faf0c0e84 Merge pull request #13456 from travisn/backport-svg-cleanup
ci: Remove ceph SVGs in helm test
2023-12-20 11:30:37 -07:00
subhamkrai fbc745aa4b ci: remove ceph SVGs in helm test
Both the helm tests are failing because,
```
2023-12-19 08:47:06.136640 E | ceph-file-controller: failed to reconcile CephFilesystem "helm-ns/ceph-filesystem-test". CephFilesystem "helm-ns/ceph-filesystem-test" will not be deleted until all dependents are removed: CephFilesystemSubVolumeGroups: [ceph-filesystem-test-csi]
```
So, let's remove the ceph SVGs before removing Ceph filesystem.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit d8766ff871)
2023-12-20 10:59:25 -07:00
travisn e0db6d3a00 build: update release version to v1.13.1
For the patch release update the examples and manifests
to v1.13.1

Signed-off-by: travisn <tnielsen@redhat.com>
2023-12-20 10:34:27 -07:00
Travis Nielsen c3244677ca Merge pull request #13448 from rook/mergify/bp/release-1.13/pr-13348
csi: implement network fencing for cephFS (backport #13348)
2023-12-19 14:07:00 -07:00
Travis Nielsen a61831cda0 Merge pull request #13447 from rook/mergify/bp/release-1.13/pr-13442
csi: update default cephcsi version to 3.10.1 (backport #13442)
2023-12-19 14:06:36 -07:00
Riya Singhal 8d6ded42c3 csi: implement network fencing for cephFS
Signed-off-by: Riya Singhal <rsinghal@redhat.com>
(cherry picked from commit 9202e20829)
2023-12-19 19:23:27 +00:00
Riya Singhal 8cdf1e6da3 csi: update default cephcsi version to 3.10.1
This commit updates default cephcsi driver version
to v3.10.1

Signed-off-by: Riya Singhal <rsinghal@redhat.com>
(cherry picked from commit ef1ee6ebae)
2023-12-19 19:22:28 +00:00
Travis Nielsen dbf9e6843d Merge pull request #13444 from rook/mergify/bp/release-1.13/pr-13411
csi: update the CSI-Addons sidecar to v0.8.0 (backport #13411)
2023-12-19 10:56:52 -07:00
Travis Nielsen e11774ad05 Merge pull request #13445 from rook/mergify/bp/release-1.13/pr-13441
ci: improve collect-log script (backport #13441)
2023-12-19 10:56:37 -07:00
Travis Nielsen f0c4a00278 Merge pull request #13413 from rook/mergify/bp/release-1.13/pr-13408
helm: allow configuring monitoring interval (backport #13408)
2023-12-19 10:54:44 -07:00
Travis Nielsen 7d50ca7af9 Merge pull request #13427 from rook/mergify/bp/release-1.13/pr-13424
build(deps): bump actions/upload-artifact from 3 to 4 (backport #13424)
2023-12-19 10:53:51 -07:00
Travis Nielsen 2c01bc41e0 Merge pull request #13426 from rook/mergify/bp/release-1.13/pr-12369
mon: allow changing hostNetwork settings (backport #12369)
2023-12-19 10:53:35 -07:00
Travis Nielsen 4710025ead Merge pull request #13446 from rook/mergify/bp/release-1.13/pr-13439
csi: remove gRPC metrics service (backport #13439)
2023-12-19 10:53:07 -07:00
Praveen M b6029e2c65 csi: remove gRPC metrics service
This commit removes the gRPC metrics svc which was missed in PR #13166.

Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit 17c9a069bd)
2023-12-19 17:13:12 +00:00
subhamkrai d3ae92c6ef ci: improve collect-log script
I was debugging helm tests, I noticed, the operator namespace
content is empty and operator is created in same namespace as
other pods. Also, let's collect the 'kube-system' namespace logs
in multus test only as that is the only test where we need to debug
cluster networking and require kube-system logs.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 2d3e561a00)
2023-12-19 09:32:03 -07:00
Niels de Vos e1b90b64b7 csi: update the CSI-Addons sidecar to v0.8.0
Quite some improvements have been included in the recently released
v0.8.0 of the CSI-Addons sidecar for Kubernetes. Rook users will benefit
from running the latest version of the sidecar when deploying Ceph-CSI.

See-also: https://github.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.8.0
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 1ca1257c65)
2023-12-19 15:40:13 +00:00
Travis Nielsen 7c6a751c94 Merge pull request #13432 from rook/mergify/bp/release-1.13/pr-13418
helm: Fix duplicate tolerations (backport #13418)
2023-12-18 14:26:10 -07:00
Julien Francoz 608091ddf7 helm: fix duplicate tolerations
Fix duplicates tolerations in operator Deployment

Resolves https://github.com/rook/rook/issues/13416

Signed-off-by: Julien Francoz <julien-github@francoz.net>
(cherry picked from commit 1171b60862)
2023-12-18 20:01:33 +00:00
mergify[bot] 8f6d9c5b24 Merge pull request #13431 from rook/mergify/bp/release-1.13/pr-13428
build: update base and manifests to ceph v18.2.1 (backport #13428)
2023-12-18 19:43:26 +00:00
Blaine Gardner e7b84e2858 build: update base and manifests to ceph v18.2.1
Update Rook operator base image and example manifests to the latest Ceph
version released late last week v18.2.1.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 01d7b22cf1)
2023-12-18 19:10:19 +00:00
dependabot[bot] 75b0eeee05 build(deps): bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 4782ccf5ad)
2023-12-18 17:25:56 +00:00
sp98 1aaf42146a mon: allow changing hostNetwork settings
Allow changing spec.network.hostNetwork settings on a running cluster
by failing over the mons

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 42ea2897cf)
2023-12-18 15:55:26 +00:00
Charlie Haley 1c05128320 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 32de0fb5f6 Merge pull request #13407 from rook/mergify/bp/release-1.13/pr-13400
ci: upgrade kubernetes version to latest version (backport #13400)
2023-12-15 09:51:23 -07:00
subhamkrai 48ecb3e55f ci: upgrade kubernetes version to latest version
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 54b3c9f79f)
2023-12-15 09:14:51 -07:00
Travis Nielsen fcbc808fe7 Merge pull request #13404 from rook/mergify/bp/release-1.13/pr-13375
doc: document `spec.csi` section in cephcluster crd (backport #13375)
2023-12-14 10:12:14 -07:00
Rakshith R b7e0152c69 doc: document spec.csi section in cephcluster crd
This commit documents the newly added `spec.csi`
section containing CSI driver related options.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 24430f989a)
2023-12-14 17:07:32 +00:00
Travis Nielsen 3e0bd4a499 Merge pull request #13395 from rook/mergify/bp/release-1.13/pr-13394
docs: specify that `rook-ceph` helm chart should be upgraded first (backport #13394)
2023-12-13 15:12:00 -07:00