Commit Graph
13292 Commits
Author SHA1 Message Date
parth-gr 72e4bb8099 ceph: remove legacy PDBs methods
Removing the deleteLegacyPDBForOSD method
because we don't support legacyPDBs

Closes: https://github.com/rook/rook/issues/8360
Signed-off-by: parth-gr <paarora@redhat.com>
2021-08-20 21:24:52 +05:30
Travis Nielsen 32bdf76c7b Merge pull request #8565 from subhamkrai/validate-create-tag
ci: validate user before creating tag
2021-08-20 09:29:04 -06:00
Travis Nielsen b3567f34a7 Merge pull request #8562 from parth-gr/string-instance
core: convert util.NewSet() to sets.NewString()
2021-08-20 08:24:26 -06:00
parth-gr 1601ba1c1c core: convert util.NewSet() to sets.NewString()
Converting util.NewSet() instance to use sets.NewString() instance

Closes: https://github.com/rook/rook/issues/8479
Signed-off-by: parth-gr <paarora@redhat.com>
2021-08-20 18:56:25 +05:30
Travis Nielsen 8565627484 Merge pull request #8568 from josephsawaya/rook-ceph-mgr-removal-role
ceph: add permissions to rook-ceph-mgr role for osd removal in rook orchestator
2021-08-19 16:29:41 -06:00
Joseph Sawaya 331e06659e ceph: add permissions to rook-ceph-mgr role for osd removal
This commit adds permissions to the rook-ceph-mgr role
to delete PVCs and deployments and patch deployment scale
to remove OSDs using `ceph orch osd rm` in the rook orchestrator.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
2021-08-19 16:43:01 -04:00
Jiffin Tony Thottan f4bb47e440 ceph: add support for update() from lib-bucket-provisioner
Recently lib-bucket-provisioner add support for update() API.
Include that on the obc implementation since it can be used to
update quota for OBC.

Fixes: #7146

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2021-08-19 23:57:11 +05:30
subhamkrai 029ab61348 ci: validate user before creating tag
we need to validate create tag action
so that only authorized users can trigger
that action.

[skip-ci]

Signed-off-by: subhamkrai <srai@redhat.com>
2021-08-19 20:47:05 +05:30
Travis Nielsen 67acab94dd Merge pull request #8561 from subhamkrai/helm-k8s-check
ceph: add `-0` for helm k8s version check
2021-08-18 09:23:38 -06:00
Travis Nielsen c00b290041 Merge pull request #8364 from parth-gr/update-certificates.k8s.io
ceph: update CSR from v1beta1 to v1
2021-08-18 08:00:01 -06:00
Travis Nielsen 50004da5bf Merge pull request #8557 from subhamkrai/integration-test-tmate-timeout
ci: reduce tmate timeout to 60
2021-08-18 07:46:45 -06:00
subhamkrai 1681cfe89d ceph: add -0 for helm k8s version check
to use prerelease of kubernetes it requires
to have `-0` added in kubernetes version check
ex:
```{{- if semverCompare ">=1.16.0-0" .Capabilities.KubeVersion.GitVersion }}```

Closes: https://github.com/rook/rook/issues/8548
Signed-off-by: subhamkrai <srai@redhat.com>
2021-08-18 19:15:48 +05:30
Travis Nielsen 39b859e159 Merge pull request #8549 from jmolmo/issue_8530
ceph: fix error in <ceph orch device ls> test
2021-08-18 07:38:36 -06:00
Juan Miguel Olmo Martínez 6ff5a5b86c ceph: fix error in <ceph orch device ls> test
Rook orchestrator is going to use PVs as <devices> for OSDs.
These PVs must use one storage class present in the cluster and
configured properly in the manager.
With this change we include this new requirement in the Rook manager module test

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2021-08-18 14:19:23 +02:00
subhamkrai 94d8b9b2e6 ci: reduce tmate timeout to 60
reduce tmate timeout to 60 for the pull_request event.

Signed-off-by: subhamkrai <srai@redhat.com>
2021-08-18 10:29:03 +05:30
Travis Nielsen cf81799c77 Merge pull request #8546 from humblec/sa
ceph: use serviceAccountName as the key in ceph csi templates
2021-08-17 22:41:44 -06:00
Travis Nielsen 0f4c111f6d Merge pull request #8552 from BlaineEXE/make-device-config-nullable
ceph: make storage device config nullable
2021-08-17 15:20:36 -06:00
Travis Nielsen df36270e33 Merge pull request #8534 from kam1kaze/upgrade_nfs_ganesha
nfs: upgrade nfs-ganesha to 3.5 version
2021-08-17 12:40:29 -06:00
Blaine Gardner 36c53fe6f3 ceph: make storage device config nullable
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-08-17 12:21:32 -06:00
Oleksii Kravchenko 62463dc61d nfs: bump nfs-ganesha to 3.5 version
Signed-off-by: Oleksii Kravchenko <kamikaze.ua@gmail.com>
2021-08-17 13:14:47 +04:00
Humble Chirammal dff0513750 ceph: use serviceAccountName as the key in ceph csi templates
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2021-08-17 09:40:12 +05:30
Blaine Gardner f907e09b8e Merge pull request #8540 from BlaineEXE/fix-golang-related-cves
build: use latest golang v1.16.7 (Go CVE-2021-34558)
2021-08-16 13:04:29 -06:00
Blaine Gardner e51c078050 Merge pull request #8541 from BlaineEXE/print-go-version-on-build
build: print go version when building
2021-08-16 12:41:50 -06:00
Blaine Gardner a83745cbcd build: print go version when building
Print the Go version when running any Go build target. This can be
helpful in making sure that we are building with the Go version we want
and expect.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-08-16 12:16:07 -06:00
Blaine Gardner 1592c9b9da build: use latest golang v1.16.7 (Go CVE-2021-34558)
Rook CephObjectStore S3 connections may be affected by CVE-2021-34558.
This is fixed in Go v1.16.6, so we update to the latest Go version
available to ensure this is fixed in future builds.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-08-16 11:43:44 -06:00
Travis Nielsen e2ea7e45e3 Merge pull request #8532 from travisn/reset-release-notes
docs: Reset the release notes for v1.8
2021-08-12 13:19:01 -06:00
Travis Nielsen 4dc15893f4 docs: reset the release notes for v1.8
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-08-12 12:19:48 -06:00
Travis Nielsen 49d645c863 Merge pull request #8528 from subhamkrai/validate-actor
ci: validate user before creating tag
2021-08-12 10:48:23 -06:00
subhamkrai 4233bb681e ci: validate user before creating tag
we need to validate create tag action
so that only authorized users can trigger
that action.

[skip-ci]

Signed-off-by: subhamkrai <srai@redhat.com>
2021-08-12 20:56:31 +05:30
parth-gr 88d907d9f6 ci: cephSmokeSuite test run on kubernetes 1.22
the CSR certificates k8s is updated to v1 version
so uprading the somkesuite test to run on 1.22 version

Signed-off-by: parth-gr <paarora@redhat.com>
2021-08-12 20:27:17 +05:30
parth-gr 33bf21ba69 ceph: update CSR from v1beta1 to v1
This commit update the certificates.k8s.io to use version v1
Updated to v1 as v1beta1 certificates.k8s.io is deprecated in v1.19+

Closes: https://github.com/rook/rook/issues/8308
Signed-off-by: parth-gr <paarora@redhat.com>
2021-08-12 20:27:05 +05:30
Travis Nielsen 3d68f7e58a Merge pull request #8526 from subhamkrai/update-create-tag
ci: remove brackets when checking repo
2021-08-11 23:27:09 -06:00
subhamkrai 14d0c402c8 ci: remove brackets when checking repo
having brackets around if is showing
errors. this commit removes the brackets.

Signed-off-by: subhamkrai <srai@redhat.com>
2021-08-12 10:52:19 +05:30
Travis Nielsen 5713e622da Merge pull request #7883 from alimaredia/rgw-multisite-integration-testing
ceph: RGW multisite integration testing
2021-08-11 14:29:34 -06:00
Ali Maredia 7a804ac27e ceph: tweak to types.go and additions after make crds
This commit will be squashed.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2021-08-11 13:25:44 -04:00
Ali Maredia 7b8d3fd27b ceph: change required pattern for pull realm endpoint
Ensure that the endpoint for the pull realm spec
starts with "http" or "https". Also update
object-multisite-pull-realm(-test).yaml with
updated comments.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2021-08-11 13:25:44 -04:00
Ali Maredia b6404ae2ab ceph: rgw multisite intgration testing
This test:
- starts up 2 minikube clusters
- create 2 ceph clusters
- creates object multisite CRDs on each cluster and
syncs the clusters
- writes an object to cluster 1 and reads it on
cluster 2

This commit also adds new functions in
github-action-helper.sh that aid in the multisite
test and the multi cluster mirroring test.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2021-08-11 13:25:43 -04:00
Travis Nielsen 5f64f5eb15 Merge pull request #8513 from subhamkrai/reduce-tmate-time
ci: reduce tmate session time
2021-08-11 08:17:41 -06:00
Travis Nielsen 993b82674f Merge pull request #8520 from travisn/no-arbiter-failover
ceph: Refuse to failover the arbiter mon on stretch clusters
2021-08-11 07:16:25 -06:00
Travis Nielsen 1a1fb81ec9 Merge pull request #8492 from degorenko/rgw-ca-bundle
ceph: add ability to specify ca bundle for rgw
2021-08-11 07:15:28 -06:00
subhamkrai ea4a705b1a ci: reduce tmate session time
reduce tmate session timeout to 60min for carnary test
and 30min when push/tag event.

Signed-off-by: subhamkrai <srai@redhat.com>
2021-08-11 15:53:01 +05:30
Travis Nielsen f9f322683a ceph: refuse to failover the arbiter mon on stretch clusters
Stretch clusters in Ceph do not yet support failing over the arbiter
mon, so we now disable the arbiter mon from failing over. Soon
Ceph will support the arbiter mon failover and we will reenable
this failover feature.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-08-10 16:26:47 -06:00
Denis Egorenko fb04908315 ceph: add ability to specify ca bundle for rgw
Specify ca Bundle for RGW spec and mount inside pods.

Related-Issue: https://github.com/rook/rook/issues/8490
Signed-off-by: Denis Egorenko <degorenko@mirantis.com>
2021-08-10 23:18:26 +04:00
Travis Nielsen 1a8549821a Merge pull request #8516 from travisn/new-reviewers
doc: Add Santosh and Subham as reviewers
2021-08-10 11:49:37 -06:00
Travis Nielsen 2c68e9718d Merge pull request #8413 from parth-gr/ci-smokesuite
ci: fix for CephObjectStores flakiness
2021-08-10 11:48:58 -06:00
Travis Nielsen da7b6eda17 Merge pull request #8517 from parth-gr/integration-test-smoke-suite
ci: CephSmokeSuite test run on kubernetes 1.21
2021-08-10 11:48:30 -06:00
parth-gr cad1c5320a ci: CephSmokeSuite test run on kubernetes 1.21
Kubernetes 1.22 version didn't support
certificates.k8s.io v1beta1 version
reverting the k8s 1.22 version to 1.21
till the certificates.k8s.io #8364 Pr
didn't get completed
so the CI can run successfully

Signed-off-by: parth-gr <paarora@redhat.com>
2021-08-10 21:52:28 +05:30
Travis Nielsen df6b897414 docs: add Santosh and Subham as reviewers
Thanks to the contributions of Satosh and Subham for the past
year or two! They have been contributing significantly to the project
and their reviews are valued so would like to propose they be
added to the official project reviewers group for the Ceph
operator.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-08-10 08:40:51 -06:00
parth-gr b28455245d ci: fix for CephObjectStores flakiness
Integration test CephSmokeSuite fails frequently
A quick fix for it by reordering storeName,
running tlsteststore before teststore

Closes: https://github.com/rook/rook/issues/8309
Signed-off-by: parth-gr <paarora@redhat.com>
2021-08-09 14:08:32 +05:30
Sébastien Han e4ac38e555 Merge pull request #8482 from leseb/restrict-manager-cache
ceph: move scheme initialization to the same place
2021-08-06 17:45:30 +02:00