Commit Graph
10915 Commits
Author SHA1 Message Date
subham rai 8864e907d9 Merge pull request #13859 from rook/dependabot/github_actions/azure/setup-helm-4
build(deps): bump azure/setup-helm from 3 to 4
2024-03-04 21:14:27 +05:30
Travis Nielsen 890635fc8c Merge pull request #13836 from Rakshith-R/csi-cm-fix
csi: update CSIDriverOption params during saving cluster config
2024-03-04 08:06:51 -07:00
dependabot[bot] 3cdb79a73d build(deps): bump azure/setup-helm from 3 to 4
Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 3 to 4.
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Changelog](https://github.com/Azure/setup-helm/blob/main/CHANGELOG.md)
- [Commits](https://github.com/azure/setup-helm/compare/v3...v4)

---
updated-dependencies:
- dependency-name: azure/setup-helm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 12:22:14 +00:00
Rakshith R 330f604cca csi: update CSIDriverOption params during saving cluster config
During cluster creation, csi config map was first filled with
mon ips and without CSIDriverOptions.
This commit makes sure CSIDriverOptions are added at the begining
when the entry is first created.

Signed-off-by: Rakshith R <rar@redhat.com>
2024-03-04 16:17:25 +05:30
Travis Nielsen 7ca738e7b2 Merge pull request #13832 from Madhu-1/template-change-vgsc-rook
csi: support volumegroup snapshot
2024-03-01 11:21:42 -07:00
Travis Nielsen 02db25c30c Merge pull request #13641 from sam6258/build-context
build: add ability to stash docker build context
2024-03-01 11:17:02 -07:00
Travis Nielsen 7b5953caa2 Merge pull request #13846 from Madhu-1/update-csi-sidecar-1.3
csi: update sidecars to latest release
2024-03-01 11:16:21 -07:00
Madhu Rajanna 43fa57fa57 csi: update sidecars to latest release
updating all the csi sidecars to the
latest release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-03-01 18:13:38 +01:00
Madhu Rajanna b47bd35ddc csi: use different variable name for replicas
r is the variable name for the CSI reconciler
and same is used for a local variable as well
chaning it to avoid confusion and variable
shadowing.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-03-01 18:12:57 +01:00
Madhu Rajanna 2611e924a2 csi: provide option to configure VGS
volumegroupsnapshot feature will be enabled
by default if the required CRD's are present
if not its disabled and user will have an option
to disable it if they dont require this feature.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-03-01 18:12:37 +01:00
Madhu Rajanna 0d5bd70194 csi: install vgs CRD in tests
update the snapshot controller to 7.0.1
and install new Volumegroup CRD's

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-03-01 09:15:17 +01:00
Madhu Rajanna 77bfcd46e7 csi: add rbac required for vgs
Added required rbac's for required rbac
for volumegroupsnapshot feature.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-03-01 09:15:17 +01:00
Scott Miller d12478beb3 build: add ability to stash docker build context
This commit gives builders the necessary tooling to save off a docker build context for use
with other tools that dont follow the same command format as $DOCKERCMD.

Signed-off-by: Scott Miller <smiller1@coreweave.com>
2024-02-29 15:48:00 -05:00
Travis Nielsen 2ae319eebc Merge pull request #13840 from karthik-us/doc-fix
Revert "doc: fix broken links"
2024-02-29 12:05:30 -07:00
karthik-us 532e865ba2 Revert "doc: fix broken links"
This reverts commit ea700bcf9a.

Signed-off-by: karthik-us <ksubrahm@redhat.com>
2024-03-01 00:22:49 +05:30
subham rai ca5972dece Merge pull request #13833 from karthik-us/doc-fix
doc: fix broken links
2024-02-29 14:04:56 +05:30
karthik-us ea700bcf9a doc: fix broken links
Fixing the broken links in the docs.

Signed-off-by: karthik-us <ksubrahm@redhat.com>
2024-02-29 12:42:30 +05:30
Travis Nielsen d77cee791c Merge pull request #13362 from parth-gr/service-account-deafult
core: Set default service account on all Ceph daemons
2024-02-28 10:52:12 -07:00
Travis Nielsen e02c5b8369 Merge pull request #13809 from iPraveenParihar/update/pendingReleaseNotes
doc: PendingReleaseNotes for update netNamespaceFilePath PR
2024-02-28 10:40:02 -07:00
Praveen M 10dea459ec doc: pending release notes for update netNamespaceFilePath PR
Signed-off-by: Praveen M <m.praveen@ibm.com>
2024-02-28 16:39:56 +05:30
parth-gr f7a9d8ff7b core: added rook-ceph-default service account
When a private docker registry is used and an
image pull secret is specified in the chart,
the pods with default Service Account fail to pull
the image due to authentication issues.
Added rook-ceph-default service account and modify the pods
specifications by adding the serviceAccountName

closes: https://github.com/rook/rook/issues/12786

Closes: https://github.com/rook/rook/issues/6673
Co-authored-by: Tareq Sharafy <tareq.sha@gmail.com>
Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 737fb099fe)
Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-02-28 13:32:55 +05:30
subham rai 58926487e3 Merge pull request #13617 from Nordix/update-prometheus-operator-version-sunnat
Bump Prometheus operator version to v0.71.1
2024-02-28 13:22:20 +05:30
Sunnatillo 3ad456c6a2 build: uplift prometheus operator version to v0.71.1
This commit uplifts prometheus operator version to v0.71.1.

Signed-off-by: Sunnatillo <sunnat.samadov@est.tech>
2024-02-27 20:00:25 +02:00
subham rai 019c7514e1 Merge pull request #13823 from shay1760/update-log
external: update logging when comparing ceph version
2024-02-27 22:42:41 +05:30
shay1760 f8f17b2caa external: update logging when comparing ceph version
when comparing local ceph version with external cluster
there is wrong log printing. Updating to print the right
log message.

Signed-off-by: shay1760 <rahulkrrai0302@gmail.com>
2024-02-27 20:42:59 +05:30
shay1760 d666f6e535 ci: remove extra space with 'network' commit title
removing extra space infront of 'network' commit tittle.

Signed-off-by: shay1760 <rahulkrrai0302@gmail.com>
2024-02-27 19:11:48 +05:30
subham rai 9816f2f5f5 Merge pull request #13820 from rook/dependabot/go_modules/go.uber.org/zap-1.27.0
build(deps): bump go.uber.org/zap from 1.26.0 to 1.27.0
2024-02-27 13:17:00 +05:30
dependabot[bot] e86a1f793f build(deps): bump go.uber.org/zap from 1.26.0 to 1.27.0
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.26.0...v1.27.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-27 07:11:51 +00:00
subham rai 061506c1cc Merge pull request #13819 from rook/dependabot/go_modules/github-dependencies-89693179d6
build(deps): bump the github-dependencies group with 1 update
2024-02-27 12:40:32 +05:30
Travis Nielsen ae30130124 Merge pull request #13816 from uhthomas/13815
operator: use Linux container CPU quota
2024-02-26 09:48:13 -07:00
Thomas Way 97e3e69bf4 operator: use Linux container CPU quota
Go is not cgroup aware and by default will set GOMAXPROCS to the number
of available threads, regardless of whether it is within the allocated
quota. This behaviour causes high amount of CPU throttling and degraded
application performance.

Fixes: #13815

Signed-off-by: Thomas Way <thomas@6f.io>
2024-02-26 12:28:57 +00:00
dependabot[bot] 497139b6b5 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.50.20 to 1.50.25
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.50.20...v1.50.25)

---
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-02-26 12:18:56 +00:00
subham rai 459604a3bd Merge pull request #13802 from microyahoo/nit
mds: fix incorrect comment on crd resource requirements
2024-02-22 12:48:16 +05:30
subham rai d1e3006560 Merge pull request #13801 from subhamkrai/disable-cephfs-fencing
csi: disable cephFs network Fencing temporarily
2024-02-22 12:12:22 +05:30
Liang Zheng 4e9e4c53d8 mds: fix incorrect comment on crd resource requirements
The MDS resource requirements had an incorrect comment of the RGW component.

Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
2024-02-22 10:23:06 +08:00
Travis Nielsen b9ba6eb371 Merge pull request #13803 from travisn/squid-roadmap
docs: Add squid and bucket DNS subdomains to roadmap
2024-02-21 13:32:46 -07:00
Travis Nielsen 26a545eb6e docs: add squid and dns subdomains to roadmap
For 1.14 release supporting squid is planned
as well as DNS subdomain style access to RGW
buckets.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-02-21 12:04:59 -07:00
subhamkrai bd4250f56e csi: remove cephFs networkFence code temporarily
cephFs fencing needs more testing and bug fixes to make
it in production. We tried multiple fixes but still it need
more work. So, removing the cephfs networkFence realted code
will rever this commit when we start working on this again.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-02-21 21:56:37 +05:30
subhamkrai 0ace7cf8cf csi: check networkFence status before deleting
earlier, we were only checking the specs of networkFence to see if
unfencing is done before proceeding with deletion but we should also
check the status of networkFence before proceeding with deletion.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-02-21 21:52:55 +05:30
Travis Nielsen f6509e10f6 Merge pull request #13794 from sp98/mon-pdb-unavailable-count
mon: set mon pdb max unavailable as 2 in case of 5 or more mons.
2024-02-20 12:28:33 -07:00
Blaine Gardner bd9577f43a Merge pull request #13793 from rkachach/fix_issue_crds_desc
manifest: reduce CRD size by removing some descriptions
2024-02-20 11:59:49 -07:00
Redouane Kachach 7a7b983628 manifest: adding a null check to PersistentVolumeClaim conversion
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2024-02-20 16:50:16 +01:00
sp98 a4866b4b06 mon: set mon pdb max unavailable as 2 in case of 5 or more mons
If the spec.mon.count is 5 or more, then create
mon pdbs with maxUnavailable count as 2. We can
afford to have more than 1 mons down while
draining the nodes in this case.

Signed-off-by: sp98 <sapillai@redhat.com>
2024-02-20 15:26:43 +05:30
Redouane KachachandBlaine Gardner bd7477ec61 manifest: reduce CRD size by removing some descriptions
Reduce CRD size by removing some descriptions for things that
(a) are long, (b) are repeated, and (c) are commong kubernetes types.

Remove the `Status` field from VolumeClaimTemplates (a.k.a. PVCs) in
types.go to remove all unnecessary status-related fields.

Use `yq` to go through generated `crds.yaml` to strip out descriptions
for well-known k8s types that are long and repeated where we can't
remove them from types.go. This is mostly placement descriptions and
volumeSource descriptions.

The overall `crds.yaml` file is reduced to less than 60% of its original
size.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
Co-authored-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-02-20 10:08:44 +01:00
subham rai bcab869213 Merge pull request #13789 from subhamkrai/update-go-mod
build: update go mod files
2024-02-19 21:21:17 +05:30
Travis Nielsen a90091015b Merge pull request #13772 from travisn/crush-update-noop
pool: Skip crush rule update when not needed
2024-02-19 07:29:49 -07:00
subhamkrai dbe1c0988d build: update go mod files
updating go.mod and pkgs/apis/go.mod file with
latest updates.

Signed-off-by: subhamkrai <srai@redhat.com>
2024-02-19 18:15:09 +05:30
travisn 90bec31203 pool: skip crush rule update when not needed
The crush rule will be updated when the failure domain changes.
This update can be skipped when the expected crush rule is
already configured. Otherwise, the log has a confusing message
that makes it appear that the crush rule was updated
when in fact it was not.

Signed-off-by: travisn <tnielsen@redhat.com>
2024-02-16 12:31:38 -07:00
Blaine Gardner 6ce7b1f7d1 Merge pull request #13784 from BlaineEXE/stop-nightly-ci-on-forks
ci: stop nightly canary from running in forks
2024-02-16 12:20:07 -07:00
Blaine Gardner 9f98208914 ci: stop nightly canary from running in forks
Make sure the canary suites are only run from nightly CI in the
rook/rook project.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-02-16 12:17:50 -07:00