Travis Nielsen
60d6fe5362
Merge pull request #13663 from iPraveenParihar/fix/netNamespaceFilePath-generation
...
csi: Fix NetNamespaceFilePath generation with namespace instead of name
2024-02-01 09:32:33 -07:00
Travis Nielsen
e39ee8caba
Merge pull request #13653 from travisn/exporter-delete-ns
...
exporter: Don't delete exporter service on daemon deletion
2024-02-01 09:30:32 -07:00
subham rai
949016d53a
Merge pull request #13639 from rook/dependabot/go_modules/github-dependencies-99794afd47
...
build(deps): bump the github-dependencies group with 5 updates
2024-02-01 16:33:35 +05:30
Praveen M
67ff924b57
csi: fix NetNamespaceFilePath generation
...
Corrected the NetNamespaceFilePath generation in the
subvolumegroup & radosnamespace controller by replacing
the cephCluster.Name with cephCluster.Namespace.
Signed-off-by: Praveen M <m.praveen@ibm.com >
2024-02-01 11:24:08 +05:30
dependabot[bot]
6cdb48e989
build(deps): bump the github-dependencies group with 5 updates
...
Bumps the github-dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) | `1.50.0` | `1.50.5` |
| [github.com/google/uuid](https://github.com/google/uuid ) | `1.5.0` | `1.6.0` |
| [github.com/hashicorp/vault/api](https://github.com/hashicorp/vault ) | `1.10.0` | `1.11.0` |
| [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator ) | `0.71.0` | `0.71.2` |
| [github.com/prometheus-operator/prometheus-operator/pkg/client](https://github.com/prometheus-operator/prometheus-operator ) | `0.71.0` | `0.71.2` |
Updates `github.com/aws/aws-sdk-go` from 1.50.0 to 1.50.5
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.50.0...v1.50.5 )
Updates `github.com/google/uuid` from 1.5.0 to 1.6.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.5.0...v1.6.0 )
Updates `github.com/hashicorp/vault/api` from 1.10.0 to 1.11.0
- [Release notes](https://github.com/hashicorp/vault/releases )
- [Changelog](https://github.com/hashicorp/vault/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/vault/compare/v1.10.0...v1.11.0 )
Updates `github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring` from 0.71.0 to 0.71.2
- [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.71.0...v0.71.2 )
Updates `github.com/prometheus-operator/prometheus-operator/pkg/client` from 0.71.0 to 0.71.2
- [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.71.0...v0.71.2 )
---
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/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
- dependency-name: github.com/hashicorp/vault/api
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/client
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-31 16:41:12 -07:00
Travis Nielsen
6739e32d33
Merge pull request #13644 from rkachach/fix_issue_13594
...
mgr: use the ac-user-set-password cmd to update the password
2024-01-31 08:45:36 -07:00
Travis Nielsen
2f82d0a520
Merge pull request #13655 from parth-gr/objectstore-fix-zonegroup
...
object: fix the default multisite zonegroup creation
2024-01-31 07:56:54 -07:00
parth-gr
a9c77280c6
object: fix the deafult multisite zonegroup creation
...
there was a bug in the code which doesn't
sets realm if we try to get the zonegoup
so because of that 1.12 this backport pr
for original change was not working
Signed-off-by: parth-gr <partharora1010@gmail.com >
2024-01-31 10:06:44 +05:30
travisn
a1fc70f2fc
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 >
2024-01-30 16:23:10 -07:00
Redouane Kachach
cb028f3a28
mgr: use the ac-user-set-password cmd to update the password
...
previous code was calling the following command to create the
dashboard user:
> ceph dashboard ac-user-create <username> -i <password-file>
this works the first time when the user doesn't exist, however subsequent
calls for example when the password has changed or when the secret was
deleted from k8s, will not take place as this command will succeeded
because the user already exists but the password is not updated in
this case. The fix consists in adding an explicit call to the command:
> ceph dashboard ac-user-set-password <username> -i <password-file>
which ensures the password is updated correctly in the access control db
Fixes: https://github.com/rook/rook/issues/13594
Signed-off-by: Redouane Kachach <rkachach@redhat.com >
2024-01-30 18:04:44 +01:00
Blaine Gardner
8802648456
Merge pull request #13621 from thotz/cosicrdupdate
...
object: watch updates for cosidriver crd
2024-01-30 09:06:29 -07:00
Travis Nielsen
3b1a428688
Merge pull request #13622 from Madhu-1/csi-name-prefix
...
csi: option to customize csi driver name prefix
2024-01-29 10:55:55 -07:00
Jiffin Tony Thottan
3da2331fa3
object: watch updates for cosidriver crd
...
The changes made to cosi driver are reflected. Add the cosidriver crd to
predicate workflow.
Fixes : #12545
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com >
2024-01-29 22:15:21 +05:30
Madhu Rajanna
c35a8532aa
csi: option to customize csi driver name prefix
...
For now we are using the operator namespace name
as the prefix for the csi driver, This PR provides
an option for the users if someone wants to have
their own prefix for the csi driver, if someone tries
to change the prefix for existing csi driver rook
operator will fail to reconcile the csi driver.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2024-01-29 10:54:25 +01:00
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