Travis Nielsen
f85ba88089
Merge pull request #13604 from rkachach/fix_issue_13577
...
mgr: fixing dashboard configuration handling
2024-01-25 18:51:50 -07:00
Redouane Kachach
39c06d2fa5
mgr: adding logic to keep retrying in case mgr config delete fails
...
we dont set removeMgrDaemonConfiguration to true unless all the
delete operations went successfull.
Signed-off-by: Redouane Kachach <rkachach@redhat.com >
2024-01-25 21:55:13 +01:00
subhamkrai
f8af64ae02
test: update unit test to add TypeMeta
...
with controller runtime v0.17.0, fake client
set TypeMeta for unstructured only, for other
types we need to add TypeMeta.
Signed-off-by: subhamkrai <srai@redhat.com >
2024-01-25 18:56:59 +05:30
subhamkrai
38004bd355
build: update go dependencies
...
updating go dependencies, like kubernetes api, controller runtime, NAD
client.
Signed-off-by: subhamkrai <srai@redhat.com >
2024-01-25 18:55:29 +05:30
Redouane Kachach
57e3937d40
mgr: fixing dashboard configuration handling
...
previously, the dashboard parameters supported by Rook were stored in the
daemon configuration section (mgr.X, for example). This differs from
Cephadm-based deployments, where all configurations are stored in the
global mgr configuration section. This variance could result in
configuration mismatches between the active and standby dashboards.
Furthermore, all Ceph dashboard documentation exclusively points to
the global mgr configuration section and makes no use of individual
daemons sections.
Fixes: https://github.com/rook/rook/issues/13577
Signed-off-by: Redouane Kachach <rkachach@redhat.com >
2024-01-25 10:22:08 +01:00
Santosh Pillai
f6cadd548c
Merge pull request #13590 from sp98/osd-migration-fix
...
osd: fix operator reconcile during OSD migration
2024-01-23 06:11:55 +05:30
Travis Nielsen
76b97dcc04
Merge pull request #13597 from travisn/no-exporter-reconcile
...
exporter: Skip reconcile on exporter deletion
2024-01-22 09:38:21 -07:00
travisn
995a64fb3a
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 >
2024-01-19 14:49:44 -07:00
Praveen M
117961ec34
csi: fix cephFS struct overwrite
...
The updateCSIDriverOptions() func was overwriting the ClusterInfo.CephFS
struct. Due to which multus and csi hostnetwork canary tests were hanging.
Signed-off-by: Praveen M <m.praveen@ibm.com >
2024-01-19 22:55:52 +05:30
sp98
43d3bf147a
osd: wait for the pgs to be clean
...
If migration of the OSDs is enabled, operator should wait
for the pgs to be clean after the all the OSDs have reconciled.
This will help add the exponential backoff for the operator
restarts when OSD migration is needed but PGs are still rebalancing the
data after last OSD migration.
Signed-off-by: sp98 <sapillai@redhat.com >
2024-01-19 14:08:07 +05:30
Travis Nielsen
f46c0845ee
Merge pull request #13573 from Madhu-1/fix-13475
...
csi: make leader election flags configurable
2024-01-18 11:55:38 -07:00
Madhu Rajanna
85b86efee1
csi: update csi provisioner to 3.6.3
...
updating csi provisioner to 3.6.3 to
as we have a bug in 3.6.2
resolves : #13475
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2024-01-17 11:02:08 +01:00
Madhu Rajanna
9b418d24a1
csi: make leader election flags configurable
...
This commit adds the flexibility to configure
leader election flags as per the user
requirement and also keeps the existing values
as the default one.
resolve : #13475
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2024-01-17 10:02:49 +01:00
Travis Nielsen
591ddf2c3d
Merge pull request #13420 from iPraveenParihar/api/csi-config-map
...
csi: use ceph-csi exposed csi config map API
2024-01-16 12:34:11 -07:00
Travis Nielsen
2ba90e9072
Merge pull request #13258 from iPraveenParihar/csi/update-cmdline-args
...
csi: update cmdline args as used by ceph-csi
2024-01-16 12:29:52 -07:00
Praveen M
a80396df1b
csi: update cmdline args as used by ceph-csi
...
This commit adds cmdline args to enable
1. RecoverVolumeExpansionFailure
2. PreventVolumeModeConversion
3. HonorPVReclaimPolicy
Signed-off-by: Praveen M <m.praveen@ibm.com >
2024-01-12 15:24:07 +05:30
Praveen M
dfd3d625a8
csi: use ceph-csi exposed csi config map API
...
This commit uses an csi config map API exposed by Ceph-CSI.
This will reduce the efforts of keeping the configuration in
sync with Ceph-CSI.
Signed-off-by: Praveen M <m.praveen@ibm.com >
2024-01-12 15:04:20 +05:30
travisn
98816ad79f
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 >
2024-01-11 12:24:20 -07:00
Satoru Takeuchi
1935033a1e
Merge pull request #13479 from cybozu-go/core-fix-error-handling-on-setting-watcher
...
core: fix error handling on setting watcher
2024-01-09 22:17:57 +09:00
sp98
94953f3f7b
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 >
2024-01-08 15:35:45 +05:30
dependabot[bot]
f56f06f955
build(deps): bump the k8s-dependencies group with 4 updates
...
Bumps the k8s-dependencies group with 4 updates: [k8s.io/api](https://github.com/kubernetes/api ), [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver ), [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime ) and [k8s.io/cloud-provider](https://github.com/kubernetes/cloud-provider ).
Updates `k8s.io/api` from 0.28.4 to 0.29.0
- [Commits](https://github.com/kubernetes/api/compare/v0.28.4...v0.29.0 )
Updates `k8s.io/apiextensions-apiserver` from 0.28.4 to 0.29.0
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases )
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.28.4...v0.29.0 )
Updates `k8s.io/cli-runtime` from 0.28.4 to 0.29.0
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.28.4...v0.29.0 )
Updates `k8s.io/cloud-provider` from 0.28.4 to 0.29.0
- [Commits](https://github.com/kubernetes/cloud-provider/compare/v0.28.4...v0.29.0 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: k8s-dependencies
- dependency-name: k8s.io/apiextensions-apiserver
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: k8s-dependencies
- dependency-name: k8s.io/cli-runtime
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: k8s-dependencies
- dependency-name: k8s.io/cloud-provider
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: k8s-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-05 09:08:53 -07:00
Blaine Gardner
cd253d0218
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 >
2024-01-04 14:25:40 -07:00
travisn
56a3370d83
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 >
2024-01-03 14:37:11 -07:00
Riya Singhal
4dfe1da59c
csi: updating the comment explaining the requirements
...
this commit updates the comment to explain the requirement of
giving 'all' permissions to MDS.
Signed-off-by: Riya Singhal <rsinghal@redhat.com >
2024-01-02 22:59:30 +05:30
Satoru Takeuchi
b1a81509a5
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 >
2023-12-28 02:18:31 +00:00
dependabot[bot]
69ad79c44a
build(deps): bump the github-dependencies group with 2 updates
...
Bumps the github-dependencies group with 2 updates: [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) and [github.com/csi-addons/kubernetes-csi-addons](https://github.com/csi-addons/kubernetes-csi-addons ).
Updates `github.com/aws/aws-sdk-go` from 1.49.4 to 1.49.6
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.49.4...v1.49.6 )
Updates `github.com/csi-addons/kubernetes-csi-addons` from 0.7.0 to 0.8.0
- [Release notes](https://github.com/csi-addons/kubernetes-csi-addons/releases )
- [Commits](https://github.com/csi-addons/kubernetes-csi-addons/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-dependencies
- dependency-name: github.com/csi-addons/kubernetes-csi-addons
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-20 09:10:12 -07:00
Travis Nielsen
2362b86e75
Merge pull request #13434 from rook/dependabot/go_modules/golang.org/x/crypto-0.17.0
...
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0
2023-12-19 14:07:48 -07:00
Travis Nielsen
7997a5a1ee
Merge pull request #13423 from rook/dependabot/go_modules/github-dependencies-4a162bdffd
...
build(deps): bump the github-dependencies group with 3 updates
2023-12-19 14:07:11 -07:00
dependabot[bot]
4e41af9bd0
build(deps): bump the github-dependencies group with 3 updates
...
Bumps the github-dependencies group with 3 updates: [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ), [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph ) and [github.com/google/uuid](https://github.com/google/uuid ).
Updates `github.com/aws/aws-sdk-go` from 1.48.16 to 1.49.4
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.48.16...v1.49.4 )
Updates `github.com/ceph/go-ceph` from 0.24.0 to 0.25.0
- [Release notes](https://github.com/ceph/go-ceph/releases )
- [Changelog](https://github.com/ceph/go-ceph/blob/master/docs/release-process.md )
- [Commits](https://github.com/ceph/go-ceph/compare/v0.24.0...v0.25.0 )
Updates `github.com/google/uuid` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/google/uuid/releases )
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/uuid/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
- dependency-name: github.com/ceph/go-ceph
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-19 12:32:52 -07:00
dependabot[bot]
43dc3f3613
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-19 12:30:21 -07:00
Travis Nielsen
c8d2955f98
Merge pull request #13348 from riya-singhal31/fencing
...
csi: implement network fencing for cephFS
2023-12-19 12:22:14 -07:00
Riya Singhal
ef1ee6ebae
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 >
2023-12-19 23:42:26 +05:30
Travis Nielsen
20559ac7a4
Merge pull request #13439 from iPraveenParihar/fix/remove-gRPC-metrics-svc
...
csi: remove gRPC metrics service
2023-12-19 10:12:21 -07:00
Travis Nielsen
5c3ff3ae81
Merge pull request #13411 from nixpanic/csi-addons/v0.8.0
...
csi: update the CSI-Addons sidecar to v0.8.0
2023-12-19 08:39:39 -07:00
Praveen M
17c9a069bd
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 >
2023-12-19 15:24:56 +05:30
subhamkrai
0c115927e1
build: remove go1.20 support and default to go1.21
...
Signed-off-by: subhamkrai <srai@redhat.com >
2023-12-19 11:55:03 +05:30
Riya Singhal
9202e20829
csi: implement network fencing for cephFS
...
Signed-off-by: Riya Singhal <rsinghal@redhat.com >
2023-12-18 21:44:47 +05:30
sp98
42ea2897cf
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 >
2023-12-18 10:30:48 +05:30
Niels de Vos
1ca1257c65
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 >
2023-12-15 15:13:42 +01:00
Travis Nielsen
ca810f5c2c
Merge pull request #13360 from sp98/mon-failover-hostnetwork
...
mon: fix mon failover on path change
2023-12-12 11:02:43 -07:00
parth-gr
098f1fe5e8
build: add cel rule to make resource immutable
...
added the cel rules at sunvolumgroup and rados
namesapce spec
closes : #13315
Signed-off-by: parth-gr <partharora1010@gmail.com >
2023-12-12 21:40:35 +05:30
sp98
4b6fd89365
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 >
2023-12-12 10:32:05 +05:30
parth-gr
c9fd382c13
subvolumegroup: add pinning spec in subvolumegroup CRD
...
subvolumegroup can be pinned by pintype and pinsetting
So adding the spec to enhance its functionality
Closes: https://github.com/rook/rook/issues/12607
Signed-off-by: parth-gr <paarora@redhat.com >
2023-12-11 21:54:25 +05:30
Blaine Gardner
5ff02d3ca6
Merge pull request #13335 from BlaineEXE/release-docs
...
docs: update upgrade docs for v1.13 release
2023-12-08 14:28:20 -07:00
Blaine Gardner
685a60ed76
docs: remove lingering notes about required quincy ver
...
Remove some lingering notes stating that features require Ceph Quincy.
Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com >
2023-12-08 14:15:51 -07:00
Travis Nielsen
d1e0b3f9a9
Merge pull request #13349 from subhamkrai/revert-callback-code
...
Revert "osd: add callback function in osd removal"
2023-12-07 12:01:54 -07:00
subhamkrai
a30338ae6e
Revert "osd: add callback function in osd removal"
...
This reverts commit 927af7c7f7 .
Signed-off-by: subhamkrai <srai@redhat.com >
2023-12-07 21:01:04 +05:30
Rakshith R
a3220d827d
csi: update default cephcsi version to 3.10.0
...
This commit updates default cephcsi driver version
to v3.10.0 and filesystem reconciler now creates
csi subvolumegroup by default.
Signed-off-by: Rakshith R <rar@redhat.com >
2023-12-06 19:57:40 +05:30
travisn
6b9f897915
build: update all go dependencies to the latest
...
Run make go.mod.update to update all the go modules instead
of just the ones updated by the dependabot.
Signed-off-by: travisn <tnielsen@redhat.com >
2023-12-05 14:47:07 -07:00
dependabot[bot]
cbf8ac51dd
build(deps): bump the github-dependencies group with 3 updates
...
Bumps the github-dependencies group with 3 updates: [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ), [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator ) and [github.com/prometheus-operator/prometheus-operator/pkg/client](https://github.com/prometheus-operator/prometheus-operator ).
Updates `github.com/aws/aws-sdk-go` from 1.48.4 to 1.48.11
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.48.4...v1.48.11 )
Updates `github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring` from 0.69.1 to 0.70.0
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases )
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.69.1...v0.70.0 )
Updates `github.com/prometheus-operator/prometheus-operator/pkg/client` from 0.69.1 to 0.70.0
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases )
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.69.1...v0.70.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/client
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-05 14:47:07 -07:00