Commit Graph
11374 Commits
Author SHA1 Message Date
Blaine Gardner 8beec3e125 multus: fix default service account handling
The default service account isn't passed to the multus validation test
when no config file is used. Fix this.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 58e3feaacf)
2024-08-22 16:33:00 +00:00
mergify[bot] 5b49a2cc21 Merge pull request #14619 from rook/mergify/bp/release-1.15/pr-14618
csi: use specific tag instead of latest image (backport #14618)
2024-08-21 06:04:47 +00:00
subhamkrai 1d5977b693 csi: use specific tag instead of latest image
when I was pusing the new changes in older pr I missed
updating the latest tag to v0.1.0 in csi-operator.yaml
file. Updating now.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 838f583c66)
2024-08-21 05:35:11 +00:00
Travis Nielsen 5b3fa88ac2 Merge pull request #14615 from travisn/release-1.15.0
build: Update the release version to v1.15.0
v1.15.0
2024-08-20 17:20:06 -06:00
Travis Nielsen 3045076db8 build: generate the local build tag with docker io
The docker.io image prefix is expected to be prepended
to the image names in the test images. This was missed
in 14550 related to some CI tests, which was now causing
the CI failures in the 1.15 branch where the search and
replace was missing the new docker.io prefix.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-08-20 16:47:20 -06:00
Travis Nielsen 4c2a3411f5 build: update the release version to v1.15.0
For the minor release update the documentation and manifests
to v1.15.0

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-08-20 13:58:58 -06:00
Travis Nielsen ed90a3ef0b Merge pull request #14613 from rook/mergify/bp/release-1.15/pr-14612
docs: missing slack link (backport #14612)
2024-08-20 13:13:09 -06:00
Travis Nielsen 60faae1e73 Merge pull request #14608 from rook/mergify/bp/release-1.15/pr-14550
manifest: add registry name to docker images (backport #14550)
2024-08-20 12:53:28 -06:00
Travis Nielsen 1016b0ecfc Merge pull request #14610 from rook/mergify/bp/release-1.15/pr-14598
core: add configuration option for metrics bindAddress (backport #14598)
2024-08-20 12:52:20 -06:00
Zuhair AlSader ee43ca07bc docs: missing slack link
Signed-off-by: Zuhair AlSader <zuhair@devzero.io>
(cherry picked from commit b6087c46bb)
2024-08-20 18:50:30 +00:00
mergify[bot] ebb59ff58c Merge pull request #14611 from rook/mergify/bp/release-1.15/pr-14435
osd: reweight osd while resizing (backport #14435)
2024-08-20 18:46:40 +00:00
Zuhair AlSader e76d60dd25 manifest: add registry name to docker images
Signed-off-by: Zuhair AlSader <zuhair@devzero.io>
(cherry picked from commit 6714b86d3b)
2024-08-20 12:20:05 -06:00
parth-gr dd1e1a6120 osd: reweight osd while resizing
osd got resized by cryptsetup bluestore cmd
but it should also be reweight to balance the pgs properly

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

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 17cfda5bd6)
2024-08-20 18:15:26 +00:00
Justin Cichra 8a0eadaa39 core: add configuration option for metrics bindAddress
Alerting on controller-runtime's workqueue_depth can be useful for
debugging controllers. Also having a prometheus target for a pod gives
another data point that the system is working as expected. It is useful
for uptime alerts.

Make the bind address configurable via the configmap while still retaining the default
behavior that it is disabled.

Resolves: #14538

Signed-off-by: Justin Cichra <jcichra@cloudflare.com>
(cherry picked from commit 74a79b24b3)
2024-08-20 18:15:21 +00:00
Travis Nielsen 1283f1d132 Merge pull request #14605 from rook/mergify/bp/release-1.15/pr-14357
csi: update csi sidecars' image version (backport #14357)
2024-08-20 12:11:53 -06:00
mergify[bot] baf082ec83 Merge pull request #14607 from rook/mergify/bp/release-1.15/pr-14604
test: fix 'make test' on arm mac (backport #14604)
2024-08-20 18:07:39 +00:00
mergify[bot] 8ca25e9c74 Merge pull request #14606 from rook/mergify/bp/release-1.15/pr-14599
csi: update csi-operator to use latest tag v0.1 (backport #14599)
2024-08-20 17:57:29 +00:00
Travis Nielsen b5c038de03 Merge pull request #14601 from rook/mergify/bp/release-1.15/pr-14586
csi: storageclass update to gp2-csi (backport #14586)
2024-08-20 11:56:26 -06:00
Blaine Gardner ac0bfcb9f3 test: fix 'make test' on arm mac
make test was failing when running on arm macbooks. Fix it so that it
isn't running with hardcoded GOOS=linux.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 5da7feb9d7)
2024-08-20 17:40:25 +00:00
Praveen M af583add13 csi: add csinodes rbac rule for cephfs provisioner
Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit 1efe3b6ee9)
2024-08-20 11:38:25 -06:00
subhamkrai 4f96664ba0 build: changes forced by latest controller-runtime
this commit contains changes that are forced by latest
controller-runtime version v0.19.0.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 2556e14780)
2024-08-20 17:28:15 +00:00
subhamkrai 4dca62d0ea csi: update csi-operator to use latest tag v0.1
updating csi-operator version in go.mod and csi-operator.yaml
to use latest release v0.1. And also fixing one small bug
where csi-driver log level was set in csi-operator log level.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 89e9077e72)
2024-08-20 17:28:14 +00:00
Praveen M cf42f35f12 csi: update csi sidecars' image version
Below csi sidecars are updated with latest available versions

csi-resizer: v1.11.1
csi-provisioner: v5.0.1
csi-attacher: v4.6.1
csi-snapshotter: v8.0.1
csi-node-driver-registrar: v2.11.1

Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit a1ddf4535d)

# Conflicts:
#	deploy/examples/images.txt
2024-08-20 17:22:10 +00:00
ShravaniVangur b8db2e6e81 csi: storageclass update to gp2-csi
Updating storageClassName for cluster-on-pvc.yaml file from gp2 to gp2-csi.

Signed-off-by: ShravaniVangur <shravanivangur@gmail.com>
(cherry picked from commit 9656d1963a)
2024-08-20 13:34:16 +00:00
subham rai 5a66cb09f5 Merge pull request #14600 from rook/mergify/bp/release-1.15/pr-14597
build: Update codegen deepcopy for swift (backport #14597)
2024-08-20 13:23:17 +05:30
Travis Nielsen ac849d947a build: update codegen deepcopy for swift
The codegen needs updating since the swift
types were added.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 52f892af76)
2024-08-20 06:29:09 +00:00
mergify[bot] 893ea7f6d6 Merge pull request #14582 from rook/mergify/bp/release-1.15/pr-14576
core: Add annotations and labels to detect version jobs (backport #14576)
2024-08-19 06:32:46 +00:00
Travis Nielsen 6d4837c4cb core: add annotations and labels to detect version jobs
The jobs to detect the ceph and csi versions now can have
custom annotationso and labels added to them. They are
very short-lived jobs, but they may need custom annotations
in some environments to run.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 5014d5bcf2)
2024-08-16 16:04:59 +00:00
mergify[bot] e3fe06d37a Merge pull request #14580 from rook/mergify/bp/release-1.15/pr-14579
csi: update csi-addons to v0.9.0 (backport #14579)
2024-08-16 15:11:07 +00:00
Madhu Rajanna 9e64a840aa csi: update cephcsi to 3.12.0
updating cephcsi image to 3.12.0
release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 7c7e8a2b32)
2024-08-16 08:43:34 -06:00
Madhu Rajanna 9e98ae6512 csi: update csi-addons to v0.9.0
As we have new csi-addons v0.9.0
updating the same here as well.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 123025f22c)

# Conflicts:
#	go.sum
2024-08-16 14:36:41 +00:00
mergify[bot] 142675cee9 Merge pull request #14577 from rook/mergify/bp/release-1.15/pr-14489
csi: add csi-operator operator config cr (backport #14489)
2024-08-15 23:12:43 +00:00
subhamkrai 3293c16d0c csi: add unit test for csi-op resources
adding unit test for csi-op resources and also
fixing small pointer issue with this commit.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit f40cb392c9)
2024-08-15 16:45:06 -06:00
subhamkrai be9114e2b1 csi: add annotation to existing CSI driver
adding annotation to existing CSI driver resource so that
csi-operator can take ownership of existing CSI driver resources.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 64cce51f03)
2024-08-15 16:45:05 -06:00
subhamkrai 194b3403e7 csi: add csi-operator rbac, crds files
adding the CSI-operator manifest files
inside rook repo naming deploy/examples/csi-operator-manifests.yaml.

Also, let's skip running any lint check on file `deploy/examples/csi-operator.yaml` as this is owned by CSI-operator.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit c30b8a527b)
2024-08-15 16:45:05 -06:00
subhamkrai 26d44d6415 csi: add csi-operator operator config cr
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 1ad20d07e7)
2024-08-15 16:45:05 -06:00
subhamkrai ae5c3f85ec csi: add new CSI-operator config CR
adding changes to create CSI-operator config CR based on
every radosnamesapce and subvolumegroup.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 667e044013)
2024-08-15 16:45:05 -06:00
subhamkrai dcff7aead5 csi: add code for new CSI operator CR cephcluster
adding code changes,rbac changes required for create the new
Ceph-CSI operator CR named cephCluster in api group 'csi.ceph.io'.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 4b0b3a55d9)
2024-08-15 16:44:53 -06:00
Travis Nielsen 7514cdc992 Merge pull request #14572 from rook/mergify/bp/release-1.15/pr-14565
ci: fix failing multus validation tool test (backport #14565)
2024-08-14 16:42:18 -06:00
Blaine Gardner 63f95ce842 ci: fix failing multus validation tool test
Ceph image no longer has `ip` tool installed. Use a different container
image for the daemonset which sets host IPs and routes for multus hosts.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 5773132d7f)
2024-08-14 21:30:43 +00:00
mergify[bot] 29c32e2aeb Merge pull request #14567 from rook/mergify/bp/release-1.15/pr-14566
core: Support k8s versions 1.26 through 1.31 (backport #14566)
2024-08-14 00:27:06 +00:00
Travis Nielsen 955876cc44 core: support k8s versions 1.26 through 1.31
With the release of K8s v1.31.0, we update the minimum
supported version to v1.26, and add v1.31 to the CI
so we can test the most recent six versions of K8s.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit e157bb5a56)
2024-08-13 17:58:03 -06:00
Blaine Gardner 52d1244748 Merge pull request #14564 from rook/mergify/bp/release-1.15/pr-14559
docs: update upgrade docs for v1.15 (backport #14559)
2024-08-13 11:30:14 -06:00
Blaine Gardner 007b13a941 docs: update upgrade docs for v1.15
Update Rook and Ceph upgrade docs for upcoming v1.15 release.
Tidy up pending release notes in the working text as well as official
doc texts.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 6026fb1c36)
2024-08-13 17:16:09 +00:00
mergify[bot] 7726d976e4 Merge pull request #14558 from rook/mergify/bp/release-1.15/pr-14557
ci: fix excessive token permissions -- again (backport #14557)
2024-08-12 18:45:47 +00:00
Michael Adam db55e50b80 ci: fix excessive token permissions -- again
PR https://github.com/rook/rook/pull/14473

tried to improve the token-permissions score of the OpenSSF scorecard
report.

https://scorecard.dev/viewer/?uri=github.com/rook/rook

The latest scorecard run however shows that this score has  not improved.
It still shows two warbnings about missing top level permissions.

The rest looks good (just Info entries).

This change aims at  finally improving the token-permissions score

by adding top level permissions to the two warned-about workflow files.

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 2d292976a6)
2024-08-12 18:20:41 +00:00
Travis Nielsen 4564717be7 Merge pull request #14552 from rook/mergify/bp/release-1.15/pr-14546
docs: fix affinity docs in operator chart (backport #14546)
2024-08-09 08:41:54 -06:00
Zuhair AlSader d80986919c docs: fix affinity docs in operator chart
Signed-off-by: Zuhair AlSader <zuhair@devzero.io>
(cherry picked from commit c146b59d6f)
2024-08-09 14:32:35 +00:00
mergify[bot] bbedd66f5f Merge pull request #14548 from rook/mergify/bp/release-1.15/pr-13807
rgw: implement support for authentication using keystone for s3 and swift (backport #13807)
2024-08-08 16:23:52 +00:00
Sebastian Riese 85949049a3 rgw: add support for keystone auth + swift/s3
For the specification see:
<https://github.com/rook/rook/blob/master/design/ceph/object/swift-and-keystone-integration.md>

* extend the API object specs for swift and keystone integration

* adapt rgw to the new go-ceph version

  - The parameter lists of the API call have changes, as parameters
    ignored by the RGW Admin Ops API are no longer serialized, therefore
    the mock has to be adapted.

  - There is now validation for the user keys that are passed to the
    User get API, therefore things failed when we had empty keys in our
    User proxy object.

* expand the reconcile loop for the swift and keystone integration

* fix minor mistakes in design document

* add env var to pass extra args to minikube

  Minikube decides CPU cores and memory automatically based on the
  available resources on the machine which may be insufficient to
  run rook. This commit adds an environment variable to add arbitrary
  arguments to the minikube command, so both can be specified if
  desired.

* integration tests for swift and keystone

  The new integration of swift or s3 and keystone support by rook
  does not have any integration tests yet.

  This commit introduces integration tests for swift and keystone. The
  tests are done against a minimal keystone setup (keystone container
  image from Yaook-project (https://yaook.cloud), sqlite as database
  backend, cert-manager and trust-manager for test certificate setup).

  To prevent hardcoded credentials, passwords are generated
  by the tests. The integration tests use the openstack client
  (keystone- and swift-functionality) (https://docs.openstack.org/
  python-openstackclient/ latest/). This was a concious design decision
  to use client tooling as close as possible to the end user instead of
  using other go-libraries (such as gophercloud).

* add documentation on swift and keystone

  Currently there is no documentation on the use of Swift to access
  an object store as well as the use of OpenStack keystone for
  authentication.

  This commit adds documentation on the use of Swift and OpenStack
  keystone, as well as CRD-related documentation and an example setup.

* add integration tests for S3 via keystone

  This commit introduces integration tests for s3 and keystone. The
  tests are run against the same minimal keystone setup that the tests
  for swift and keystone use.

  The integration tests use the aws s3 client to use client tooling as
  close as possible to the end user instead of using other go-libraries.

Co-authored-by: Jan Klippel <jan.klippel@uhurutec.com>
Co-authored-by: Silvio Ankermann <silvio.ankermann@cloudandheat.com>
Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
Signed-off-by: Jan Klippel <jan.klippel@uhurutec.com>
Signed-off-by: Silvio Ankermann <silvio.ankermann@cloudandheat.com>
(cherry picked from commit ee8bcad49d)
2024-08-08 15:56:28 +00:00