Commit Graph
439 Commits
Author SHA1 Message Date
Blaine Gardner bb82eab23f test: add CI e2e test for multus validation test
Add a CI e2e test for the multus validation routine that runs whenever
the multus validation test is modified and on master/releases.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 2eb5a9a3f6)
2023-05-30 23:37:52 +00:00
Javier f39fd30756 test: increase integration-test timeout
increase timeouts in order to allow to have ready all the resources and
avoid failures in some pipelines due timeout

Closes: #10340
Signed-off-by: Javier <sjavierlopez@gmail.com>
(cherry picked from commit cd711414bb)
2023-05-05 10:28:27 -06:00
Javier 2ab562c918 docs: auto-generate the documentation for CRDs
add generate-crd-docs.sh tool for auto-generate the documentation for CRDs automatically

Closes: #1873
Signed-off-by: Javier <sjavierlopez@gmail.com>
(cherry picked from commit 661e476969)
2023-05-02 20:48:46 +00:00
parth-gr a0a9d75ee5 ci: disable multi-cluster-mirroring
till we didn't resolve the multi-cluster-mirroring ci issue
lets keep it disable

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 423ad93fc0)
2023-05-01 07:35:46 -06:00
Travis Nielsen 2c1978fbf4 Merge pull request #12085 from rook/mergify/bp/release-1.11/pr-12037
external: add support for multisite in external cluster script (backport #12037)
2023-04-13 12:01:39 -06:00
parth-gr 7fa4e5eac1 external: add support for multisite in external cluster
Add support for realm, zone and zonegroup

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit b60da0b8c1)
2023-04-13 13:56:07 +00:00
Angelos Kolaitis f02be9dd79 external: do not enforce need for monitoring endpoint
Add --skip-monitoring-endpoint to create-external-cluster-resources.py
to allow the script to work with Ceph clusters without an enabled
prometheus module.

Document the new flag in external-cluster.md and add relevant unit tests

Signed-off-by: Angelos Kolaitis <neoaggelos@gmail.com>
(cherry picked from commit 9e4a6ddee5)
2023-04-12 22:09:37 +00:00
Jiffin Tony Thottan 8b44256a35 test: check rgw pod is running for canary github workflow
For the RGW daemon validation please check whether pod is Running than
the exisitng checks

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 715c89bcd8)
2023-04-06 16:56:39 +00:00
travisn 88e0bba18d ci: canary test should enable the prometheus module
The canary test is waiting for the prometheus module,
which is now disabled by default. For the canary test,
we need to enable the prometheus module for the external
cluster test.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 558732d0ae)
2023-04-03 21:58:30 +00:00
parth-gr f3edbae3bb external: make rgw call separate from cephfs and rbd
if the rge endint is not reachable don't block the creation
of rbd and cephfs sc, just print the error instead of raising exception

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit e44df84687)
2023-03-31 15:36:00 +00:00
travisn 78dd16631c ci: improved reliability for mirroring snapshots
The snapshots were not being given enough time to complete
before the test was checking whether they had been completed.
Now we check the snapshot mirror count after everything
else is confirmed to be running. Also increase several
timeouts in the tests.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit dca6810fac)
2023-03-23 16:25:39 +00:00
parth-gr ec74ca2b4f ci: update golangci-lint version as it fails for some k8s version in 1.10
Closes: https://github.com/rook/rook/issues/11896

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 8e317ee074)
2023-03-16 16:52:46 +00:00
Rakshith R f7c8cf3c93 ci: add test for key rotation
This commit adds test for key rotation.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit b9fc9a643e)
2023-03-08 16:37:34 +00:00
gauravsitlani 36ca16fce3 ci: fix fs multicluster mirroring
Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
(cherry picked from commit 88df0d8794)
2023-03-06 21:01:56 +00:00
Travis Nielsen d70d8ad608 Merge pull request #11813 from rook/mergify/bp/release-1.11/pr-11584
external: add realm support for external cluster (backport #11584)
2023-03-02 11:59:15 -07:00
subhamkrai a0b696918d ci: fix multus ci
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit d983f3620e)
2023-03-02 15:52:49 +00:00
parth-gr 1344036419 external: add realm support for external cluster
if a cluster won't use the deafult realm and try to
execute the python script it will fail to vaildate rgw
as the rgw-admin-user would be created on default realm
So creating user in specific realm if the realm name is passed

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 96ea7817f8)
2023-03-01 19:43:40 +00:00
travisn 0f51a42711 ci: enable snyk flag not to build vcs
The snyk check is failing because the -buildvcs flag
is defaulting to true. Let's disable this flag to
get the check passing.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 9197966ed4)
2023-02-27 23:16:43 +00:00
Travis Nielsen 2ff87e20c1 Merge pull request #11758 from rook/mergify/bp/release-1.11/pr-11740
build: use Kube v1.26.1 API and in CI (backport #11740)
2023-02-27 08:05:00 -07:00
parth-gr 4c92a2e93a build: update k8s version to 1.26.1
Update the Kubernetes API version used to 1.26.1, and start testing
against Kubernetes version 1.26.1 in CI.

Co-authored-by: parth-gr <paarora@redhat.com>
Co-authored-by: Blaine Gardner <blaine.gardner@redhat.com>

Signed-off-by: parth-gr <paarora@redhat.com>
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 69ae9569cd)
2023-02-24 22:13:45 +00:00
Travis Nielsen 383ab899fe test: wait for rgw to stabilize before checking vault token
The rgw may take a few seconds to stabilize before
the token can be checked in the rgw pod. Wait a few
seconds for test stability

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit bdbf5bc929)
2023-02-23 16:51:02 +00:00
Travis Nielsen e177d48b3d Merge pull request #11703 from rook/mergify/bp/release-1.11/pr-11692
build: update golang version to v1.19 (backport #11692)
2023-02-17 13:47:34 -07:00
subhamkrai 541baa224b 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>
(cherry picked from commit 972202db0d)
2023-02-17 18:12:51 +00:00
parth-gr 54b33312a5 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>
(cherry picked from commit b81ee215a7)
2023-02-17 16:24:09 +00:00
subhamkrai 1effb11a0a ci: bump min and max k8s support
this commit bump minmum k8s version to 1.21.14 and
max k8s version to latest 1.26.0. Keeping support for
most recent 6 versions.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-02-15 07:08:02 +05:30
subhamkrai d84d139e4c ci: bump min and max k8s support
this commit bump minmum k8s version to 1.21.14 and
max k8s version to latest 1.26.0. Keeping support for
most recent 6 versions.

Signed-off-by: subhamkrai <srai@redhat.com>
2023-02-10 13:02:31 +05:30
Joshua Hoblitt 468f3f6f35 test: add secondary->master zone repl test to rgw-multisite-test
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2023-01-19 16:12:30 -07:00
dependabot[bot] 975e401b2a build(deps): bump actions/stale from 6 to 7
Bumps [actions/stale](https://github.com/actions/stale) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 12:04:42 +00:00
Blaine Gardner 50c1eeaeb0 Merge pull request #11374 from BlaineEXE/rgw-probe-update
object: update startup, liveness, readiness probes
2022-12-20 16:15:53 -07:00
Blaine Gardner 17c5cf7384 object: update startup, liveness, readiness probes
Based on the latest info from the Ceph RGW team, update all probes. Get
rid of the liveness probe entirely. Update startup and readiness probes
to support return codes for misconfiguration (500) and for server-side
throttling (498 or 503).

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-12-20 15:23:22 -07:00
Travis Nielsen 2a8bb75eb6 ci: multi cluster test improvement for pools
Waiting for pools to be configured in the multi cluster test is taking
too long and timing out. Increase the timeout of the wait so the
pool creation can succeed.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-12-19 15:48:13 -07:00
Pratik Raj cc921a53f0 build: move to Go 1.19 as default version for building services
Go 1.18.5 and other Go 1.18 version patches provided many vulnerability fixes
but as go.mod doesn't support minor version i.e why moving to next go release

Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
2022-12-19 15:07:02 +05:30
subhamkrai a877771748 ci: upgrade minikube action to latest version
upgrading minikube action to latest version which has
the fix of crictl, currently CI is failing due to this.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-12-14 20:47:59 +05:30
Zuhair 792a261ca9 docs: auto generate helm chart docs using helm-docs
Signed-off-by: Zuhair AlSader <zuhair@koor.tech>
2022-12-02 17:08:50 -05:00
dependabot[bot] cf5b783ce4 build(deps): bump wagoid/commitlint-github-action from 5.2.2 to 5.3.0
Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 5.2.2 to 5.3.0.
- [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.2.2...v5.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 12:11:28 +00:00
Shinya Hayashi 05875a3f4f osd: support loop devices for test clusters
A new variable is added to rook-ceph-operator-config
ConfigMap to allow using loop devices for osd.

This feature is intended to be used for testing purposes only.

Signed-off-by: Shinya Hayashi <shinya-hayashi@cybozu.co.jp>
2022-11-09 06:45:41 +00:00
dependabot[bot] 87ba618db6 build(deps): bump manusa/actions-setup-minikube from 2.7.0 to 2.7.1
Bumps [manusa/actions-setup-minikube](https://github.com/manusa/actions-setup-minikube) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/manusa/actions-setup-minikube/releases)
- [Commits](https://github.com/manusa/actions-setup-minikube/compare/v2.7.0...v2.7.1)

---
updated-dependencies:
- dependency-name: manusa/actions-setup-minikube
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-07 12:05:52 +00:00
Travis Nielsen 1866ac63e7 Merge pull request #11248 from rook/dependabot/github_actions/azure/setup-helm-3
build(deps): bump azure/setup-helm from 1 to 3
2022-10-31 11:47:48 -06:00
Travis Nielsen 6e4726e9e8 Merge pull request #11247 from rook/dependabot/github_actions/actions/stale-6
build(deps): bump actions/stale from 4 to 6
2022-10-31 11:17:57 -06:00
Travis Nielsen c6250c7756 Merge pull request #11246 from rook/dependabot/github_actions/wagoid/commitlint-github-action-5.2.2
build(deps): bump wagoid/commitlint-github-action from 2.0.3 to 5.2.2
2022-10-31 11:17:32 -06:00
Travis Nielsen 8865d34640 Merge pull request #11245 from rook/dependabot/github_actions/actions/setup-go-3
build(deps): bump actions/setup-go from 2 to 3
2022-10-31 11:16:20 -06:00
dependabot[bot] cc384306de build(deps): bump azure/setup-helm from 1 to 3
Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 1 to 3.
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Commits](https://github.com/azure/setup-helm/compare/v1...v3)

---
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>
2022-10-31 12:28:03 +00:00
dependabot[bot] dfc7f28af8 build(deps): bump actions/stale from 4 to 6
Bumps [actions/stale](https://github.com/actions/stale) from 4 to 6.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 12:28:00 +00:00
dependabot[bot] 29ee2f63e3 build(deps): bump wagoid/commitlint-github-action from 2.0.3 to 5.2.2
Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 2.0.3 to 5.2.2.
- [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/v2.0.3...v5.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 12:27:57 +00:00
dependabot[bot] aa102da4c8 build(deps): bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 12:27:55 +00:00
dependabot[bot] e8412cd591 build(deps): bump actions/setup-python from 2 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 12:27:52 +00:00
Travis Nielsen c1470ee22e Merge pull request #11224 from rook/dependabot/github_actions/helm/chart-testing-action-2.3.1
build(deps): bump helm/chart-testing-action from 2.1.0 to 2.3.1
2022-10-27 12:58:59 -06:00
Travis Nielsen 0525b31aef Merge pull request #11225 from rook/dependabot/github_actions/actions/upload-artifact-3
build(deps): bump actions/upload-artifact from 2 to 3
2022-10-27 12:58:50 -06:00
Travis Nielsen 833197d5ba Merge pull request #11226 from rook/dependabot/github_actions/docker/login-action-2
build(deps): bump docker/login-action from 1 to 2
2022-10-27 12:58:40 -06:00
Travis Nielsen 306b2c3900 Merge pull request #11227 from rook/dependabot/github_actions/actions/checkout-3
build(deps): bump actions/checkout from 2 to 3
2022-10-27 12:58:29 -06:00