Commit Graph
11197 Commits
Author SHA1 Message Date
subhamkrai 62a978d54f ci: allow canary test to run on custom ceph image
Sometimes we need to run canary test on custom ceph images
to test any issue. For this we always need to create separate
PR with custom image. Now, with github action workflow_dispatch
we can use GitHub UI to pass ceph image as input for CI tests
and that image will be used to run the canary test otherwise,
it will be default value provided.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-01-19 10:21:13 +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
Travis Nielsen bc78b6cad2 Merge pull request #13579 from Madhu-1/fix-csi-pr-3.6.3
csi: update csi provisioner to 3.6.3
2024-01-17 12:45:49 -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
subham rai e0cd962086 Merge pull request #13572 from rook/dependabot/go_modules/github-dependencies-5630bf2a9e
build(deps): bump the github-dependencies group with 3 updates
2024-01-16 13:52:13 +05:30
dependabot[bot] a668af6c6e 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.49.16 to 1.49.21
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.49.16...v1.49.21)

Updates `github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring` from 0.70.0 to 0.71.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.70.0...v0.71.0)

Updates `github.com/prometheus-operator/prometheus-operator/pkg/client` from 0.70.0 to 0.71.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.70.0...v0.71.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>
2024-01-15 12:18:13 +00:00
Redouane Kachach f9ffa872d6 test: fixing examples directory path
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2024-01-12 11:52:40 +01:00
Redouane Kachach ddd852d767 test: improving the handling of arguments within the script
so far all the arguments were being handled as separate getopts
flags introducing a lot of boilerplate code for every new flag.
The new approach improves the arguments handling by using env
variables.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2024-01-12 11:47:37 +01: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
Travis Nielsen 5bdf451b83 Merge pull request #13561 from travisn/mds-max-count
mds: Increase max limit of mds active daemons
2024-01-11 13:12:11 -07:00
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
Travis Nielsen 4203d9b49e Merge pull request #13541 from parth-gr/template
doc: Comment out the resolved issue by default in the PR template
2024-01-11 09:19:37 -07:00
parth-gr 7ddc0a23fb doc: a try to change the PR template better
Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-01-11 19:57:52 +05:30
Travis Nielsen 3c38e04b6d Merge pull request #13553 from sp98/add-sp98-as-approver
doc: add sp98 to approvers list
2024-01-10 11:23:15 -07:00
sp98 45078e002f doc: add sp98 to approvers list
Signed-off-by: sp98 <sapillai@redhat.com>
2024-01-10 20:29:00 +05:30
Travis Nielsen 1075674067 Merge pull request #13540 from parth-gr/external-cluster-flag
external: honour support of cluster-name legacy flag
2024-01-09 11:33:37 -07:00
parth-gr 8e4ec01cbb 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>
2024-01-09 21:20:16 +05:30
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
subham rai 0b9d7a13fc Merge pull request #13530 from rook/dependabot/go_modules/golang.org/x/sync-0.6.0
build(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0
2024-01-08 21:27:32 +05:30
subham rai fbf2eba15a Merge pull request #13531 from rook/dependabot/github_actions/wagoid/commitlint-github-action-5.4.5
build(deps): bump wagoid/commitlint-github-action from 5.4.4 to 5.4.5
2024-01-08 20:43:32 +05:30
Travis Nielsen a5eaf1c08e Merge pull request #13524 from sp98/fix-osd-migration
osd: create ceph conf and keyring files before osd migration
2024-01-08 07:54:27 -07:00
dependabot[bot] 66f2452507 build(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.5.0 to 0.6.0.
- [Commits](https://github.com/golang/sync/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 13:55:46 +00:00
subham rai d00d5a2404 Merge pull request #13529 from rook/dependabot/go_modules/github-dependencies-d7b898dc76
build(deps): bump the github-dependencies group with 1 update
2024-01-08 19:19:44 +05:30
dependabot[bot] bc12b87da2 build(deps): bump wagoid/commitlint-github-action from 5.4.4 to 5.4.5
Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 5.4.4 to 5.4.5.
- [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wagoid/commitlint-github-action/compare/v5.4.4...v5.4.5)

---
updated-dependencies:
- dependency-name: wagoid/commitlint-github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 12:49:45 +00:00
dependabot[bot] 9ab6d5fdd3 build(deps): bump the github-dependencies group with 1 update
Bumps the github-dependencies group with 1 update: [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go).


Updates `github.com/aws/aws-sdk-go` from 1.49.13 to 1.49.16
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.49.13...v1.49.16)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 12:49:19 +00: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
Travis Nielsen ba19596190 Merge pull request #13422 from rook/dependabot/go_modules/k8s-dependencies-e9af941453
build(deps): bump the k8s-dependencies group with 4 updates
2024-01-05 09:54:13 -07:00
travisn 3c1b0692e4 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>
2024-01-05 09:10:36 -07:00
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
Travis Nielsen bafc611767 Merge pull request #13506 from BlaineEXE/multus-nginx-image-use-quay
multus: use nginx-unprivileged image from quay
2024-01-05 08:03:35 -07:00
Ryotaro Banno 6def9c8e30 core: set blocking PDB even if no unhealthy PGs appear
When `managePodBudgets` is enabled, the Rook operator sets a blocking
PDB by considering the failure domains of the OSDs. This functionality
is implemented by `reconcilePDBsForOSDs`, and it sets the PDB only after
unhealthy PGs appear. However, there are no unhealthy PGs when an OSD
with no PGs becomes down. In this case, the PDB is never enabled.

This PR makes the operator configure the blocking PDB without waiting
for the unhealthy PGs to appear. This PR solves the above problem
because the blocking PDB is always enabled when a down OSD is detected.

Signed-off-by: Ryotaro Banno <ryotaro.banno@gmail.com>
2024-01-05 08:43:38 +00: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
Travis Nielsen c10fc802e3 Merge pull request #13453 from iPraveenParihar/test/csiaddons-validation
ci: add validation for csi-addons sidecar
2024-01-04 10:04:14 -07:00
Travis Nielsen 7b94ce6160 Merge pull request #13499 from travisn/ceph-18.2.1-docs
helm: Update cluster chart and all examples to ceph v18.2.1
2024-01-04 09:09:38 -07:00
Travis Nielsen 88d67d0b80 Merge pull request #13022 from thotz/design-doc-s3-domanin-style-bucket
doc: design specification for virtual host style for RGW buckets
2024-01-04 07:53:02 -07:00
Praveen M e9395d052f ci: add validation for csi-addons sidecar
Signed-off-by: Praveen M <m.praveen@ibm.com>
2024-01-04 20:11:53 +05:30
Jiffin Tony Thottan edc0debb7a doc: design specification for DNS subdomain style for RGW buckets
Support DNS subdomain style for RGW buckets.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2024-01-04 10:17:17 +05:30
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
travisn 5f60d2dfac 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>
2024-01-03 14:35:17 -07:00
Travis Nielsen 6290e8a5ec Merge pull request #13452 from cybozu-go/update-doc-ceph-cluster-crd
doc: add that resizing `encryptedDevice` is not yet supported for host-based clusters
2024-01-02 16:11:28 -07:00
Travis Nielsen 6dcfd8fb89 Merge pull request #13494 from riya-singhal31/permission
fix: give right mds permission to CephFS Provisioner user
2024-01-02 10:43:21 -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
Blaine Gardner 79e6a43747 Merge pull request #13461 from subhamkrai/fix-canary-arm64
ci: In arm64 daily test update livenessprobe
2024-01-02 08:24:24 -07:00
Travis Nielsen 186e64431c Merge pull request #13486 from rook/dependabot/go_modules/github-dependencies-8937eb6ddc
build(deps): bump the github-dependencies group with 1 update
2024-01-02 07:51:33 -07:00
dependabot[bot] 5fe72fcf4f build(deps): bump the github-dependencies group with 1 update
Bumps the github-dependencies group with 1 update: [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go).


Updates `github.com/aws/aws-sdk-go` from 1.49.6 to 1.49.13
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.49.6...v1.49.13)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 12:41:10 +00:00
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