Commit Graph
9571 Commits
Author SHA1 Message Date
Alexander Trost bb0b60bc8f Merge pull request #11718 from ideepika/wip-minimal-ci-stable-builds
ci: use composite action for tmate session debugging
2023-02-23 15:24:30 +01:00
Travis Nielsen 691186325e Merge pull request #11738 from Madhu-1/update-csi-3.8.0
csi: update cephcsi to v3.8.0
2023-02-22 08:29:38 -07:00
Madhu Rajanna b01180580c csi: update cephcsi to v3.8.0
updating the cephcsi image to v3.8.0
release and also removing support for
3.6.0 as its deprecated and not supported
any more.

More details at
https://github.com/ceph/ceph-csi/releases/tag/v3.8.0
and https://github.com/ceph/ceph-csi/tree/release-v3.8
\#ceph-csi-container-images-and-release-compatibility

fixes #11688

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2023-02-22 15:49:36 +01:00
Travis Nielsen 2abb8aa08c Merge pull request #11661 from rkachach/fix_issue_removing_sidecar
mgr: remove legacy mgr HA logic and watch-active sidecar
2023-02-21 22:19:30 -07:00
Redouane Kachach 9f37439a07 mgr: addressing review comments
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-02-21 23:44:02 +01:00
Blaine Gardner a2009fc0af Merge pull request #11734 from BlaineEXE/doc-update-release-helm
doc: add helm supported version note to upgrade doc
2023-02-21 13:29:04 -07:00
Blaine Gardner 1d3880322b docs: add helm supported version note to upgrade doc
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-02-21 13:26:22 -07:00
Travis Nielsen 18c9977e04 Merge pull request #11716 from microyahoo/fix_11715
object: update os user caps
2023-02-21 12:26:11 -07:00
Travis Nielsen 0ebcc8ff9e Merge pull request #11721 from ahgraber/ceph-rules
monitoring: align with ceph/ceph prometheus alerts
2023-02-21 09:55:57 -07:00
Travis Nielsen 3bd0427c62 Merge pull request #11728 from BlaineEXE/update-release-docs
docs: update docs to prepare for v1.11 release
2023-02-21 09:50:13 -07:00
Travis Nielsen 4a75776674 Merge pull request #11724 from subhamkrai/fix-csv-description
build: fix csv generation during make build
2023-02-21 09:30:20 -07:00
Redouane Kachach ff75ec96b7 mgr: remove mgr sidecar
With the new mgr HA implementation (based on readiness probe) we
don't need the mgr sidecar (live-watch) anymore. This commit is
intended to remove all the related code.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-02-21 17:25:39 +01:00
Blaine Gardner c398d1e291 docs: update docs to prepare for v1.11 release
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-02-21 09:20:58 -07:00
Travis Nielsen 5699aed572 Merge pull request #11723 from travisn/wait-for-mgr-update
mgr: Wait for the mgr pod to be running after an update
2023-02-21 08:35:30 -07:00
Deepika Upadhyay fef11fa6a6 ci: timeout-minutes has a known issue with composite
use timeout for the step in main workflow instead

https://github.com/actions/runner/issues/1979
https://github.com/metabase/metabase/pull/24554/files

once support for timeout-minutes is added we can remove these steps

Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
2023-02-21 15:57:00 +05:30
Liang Zheng c81aa7f856 object: update os user caps
Removing user caps will be skipped as the UserCaps is empty, which will cause updating user caps to not take effect.

Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
2023-02-21 17:06:41 +08:00
subhamkrai 9abe1169ca build: fix csv generation during make build
we need to export variable in different lines
to work in Makefile, exporting in single doesn't
work.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-02-21 09:00:39 +05:30
ahgraber 568623d92b monitoring: remove cephadm ruleset
Remove cephadm ruleset, as they don't apply to rook

Signed-off-by: ahgraber <ahgraber@ninerealmlabs.com>
2023-02-20 21:04:30 -05:00
Travis Nielsen 4d1017f805 mgr: wait for the mgr pod to be running
After an update, the mgr pod will be restarted. Since the
readiness probe will indicate the standby mgr pod is never
ready, we need to check simply for the running mgr pod
and not whether or not it is ready.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-02-20 16:55:51 -07:00
ahgraber ad2308d655 monitoring: align with ceph/ceph prometheus alerts
Update rook prometheus localrules files to align with ceph/ceph prometheus alerts

Signed-off-by: ahgraber <ahgraber@ninerealmlabs.com>
2023-02-20 13:30:21 -05:00
Travis Nielsen fcc2786ad0 Merge pull request #11719 from rook/dependabot/github_actions/wagoid/commitlint-github-action-5.3.1
build(deps): bump wagoid/commitlint-github-action from 5.3.0 to 5.3.1
2023-02-20 10:26:55 -07:00
Travis Nielsen b17fbddb31 Merge pull request #11713 from fengshunli/package
build: update package dependencies
2023-02-20 10:00:57 -07:00
Deepika Upadhyay 01b4ad9eec ci: use composite action for tmate session debugging
this will help deduplicate tmate debug code throughout.

Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
2023-02-20 21:07:20 +05:30
dependabot[bot] 1f89874f26 build(deps): bump wagoid/commitlint-github-action from 5.3.0 to 5.3.1
Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/wagoid/commitlint-github-action/releases)
- [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wagoid/commitlint-github-action/compare/v5.3.0...v5.3.1)

---
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>
2023-02-20 13:03:00 +00:00
fengshunli fc1bbe5158 build: update package dependencies
Signed-off-by: fengshunli <1171313930@qq.com>
2023-02-19 00:49:03 +08:00
Travis Nielsen 10abbd0d8a Merge pull request #11013 from bdun1013/helm-storage-class-volume-binding-mode-support
helm: support setting storageclass volumeBindingMode in rook-ceph-cluster helm chart
2023-02-17 12:21:31 -07:00
Travis Nielsen b632ba10ff Merge pull request #11697 from Madhu-1/fix-11694
csi: add missing node access to cephfs driver
2023-02-17 12:18:38 -07:00
Travis Nielsen 2a8be0513a Merge pull request #11668 from subhamkrai/update-csv-gen-script
build: clean rbac which are not required
2023-02-17 11:12:09 -07:00
Brian Dunnigan b2f778edcc helm: support setting storageclass volumeBindingMode in rook-ceph-cluster helm chart
Signed-off-by: Brian Dunnigan <bdun1013dev@gmail.com>
2023-02-17 11:09:55 -07:00
Travis Nielsen 81fdfd46a9 Merge pull request #11704 from rook/dependabot/go_modules/golang.org/x/net-0.7.0
build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0
2023-02-17 10:45:11 -07:00
subhamkrai 4699e8885a build: add rbac which are required
adding necessary rbac and also updating
csv-gen script.

Closes: https://github.com/rook/rook/issues/10141
Signed-off-by: subhamkrai <srai@redhat.com>
2023-02-17 23:00:03 +05:30
dependabot[bot] 4011ec696f build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-17 16:25:40 +00:00
Travis Nielsen a4791c13d8 Merge pull request #11692 from parth-gr/go1.19
build: update golang version to v1.19
2023-02-17 09:23:28 -07:00
subhamkrai 972202db0d ci: install kubectl binary in mac for csv gen
installing kubectl in mac build for csv generation
as without that it is failing with
```
./../build/csv/csv-gen.sh: line 26: kubectl: command not found
```

Signed-off-by: subhamkrai <srai@redhat.com>
2023-02-17 20:58:09 +05:30
parth-gr a84daf9bf0 core: change io/ioutil package to use io and os package
few functions got change as they were deprecated
for ex: ioutil.Readfile change to os.Readfile
ioutil.TempFile change to os.CreateTemp
And fixed golang-ci-lint-issues

Signed-off-by: parth-gr <paarora@redhat.com>
2023-02-17 20:38:29 +05:30
parth-gr b81ee215a7 build: update golang version to v1.19
Updated the go mod and ci to use gov1.19 as
minimum and removed support for go1.18

Closes: https://github.com/rook/rook/issues/11681
Signed-off-by: parth-gr <paarora@redhat.com>
2023-02-17 18:39:05 +05:30
Madhu Rajanna 1cfa7eefae csi: add missing node access to cephfs driver
Node access is only needed when we are using
volumeBindingMode: WaitForFirstConsumer in
the storageclass its not required for Immediate
BindingMode.

fixes: #11694

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2023-02-17 07:50:53 +01:00
Travis Nielsen 0a80789367 Merge pull request #11690 from rkachach/fix_issue_11685
ci: fix MultiClusterDeploySuite CI
2023-02-16 11:19:04 -07:00
Redouane Kachach b464428978 ci: fix MultiClusterDeploySuite CI
This fixes the the MultiClusterDeploySuite CI failure. The operator
is timing out waiting for the mgr deployments to be
ready, according to the WaitForDeploymentToStart() method. After
the reconcile times out after about five minutes, the next
reconcile succeeds since the wait is only done for new mgr
deployments.

Closes: https://github.com/rook/rook/issues/11685

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-02-16 18:43:38 +01:00
Travis Nielsen fb63b88a33 Merge pull request #11631 from Rakshith-R/enable-read-affinity
csi: add support for enabling read affinity for rbd volumes.
2023-02-16 08:00:17 -07:00
Rakshith R cec987821e helm: add option for rbd read affinity
This commit documents and adds helm options
to enable read affinity for rbd volumes.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-02-16 19:10:12 +05:30
Rakshith R f8c7a62c3b docs: add documentation about rbd read affinity
This commit documents steps to enable read affinity
for rbd volumes.

Signed-off-by: Rakshith R <rar@redhat.com>
2023-02-16 19:10:10 +05:30
Rakshith R 8b9ded1f77 csi: add option to enable read affinity for rbd volumes
This commit adds code to supply variables required
to enable read affinity for rbd volumes.
It leverages `read_from_replica=localize,crush_locations=key:value`
krbd map option from ceph to serve reads from the most local OSD.
refer:
https://docs.ceph.com/en/latest/man/8/rbd/#kernel-rbd-krbd-options

Signed-off-by: Rakshith R <rar@redhat.com>
2023-02-16 19:09:39 +05:30
Travis Nielsen d045cd5822 Merge pull request #11687 from travisn/mergify-1.11
ci: Update mergify for the 1.11 branch
2023-02-15 15:28:24 -07:00
Travis Nielsen 395a6750c0 ci: update mergify for the new 1.11 branch
Add the mergify settings so backports can be automated
to the release-1.11 branch and automatically merged
after the CI is green.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-02-15 15:23:18 -07:00
Travis Nielsen 06eb431525 Merge pull request #11674 from travisn/osd-version-label
osd: Ensure rook version label is not set on pod
v1.11.0-alpha.0
2023-02-15 12:21:09 -07:00
Travis Nielsen ace2e152e8 Merge pull request #11673 from travisn/rgw-pool-pgs
object: RGW metadata pg count reduction on 16.2.11
2023-02-15 12:20:23 -07:00
Travis Nielsen 3dabc6dcb6 Merge pull request #11317 from avanthakkar/introduce-ceph-exporter
core: introduce ceph-exporter
2023-02-15 11:59:05 -07:00
Travis Nielsen b9be333651 Merge pull request #11678 from Madhu-1/fix-v2-map
core: set rbd default map options
2023-02-15 11:49:04 -07:00
Travis Nielsen b008c5753f Merge pull request #11643 from rkachach/fix_issue_11640
mgr: use k8s readiness probe to implement mgr HA
2023-02-15 09:51:48 -07:00