Commit Graph
13292 Commits
Author SHA1 Message Date
subhamkrai 2181597add ci: fix the trigger of dependabot bundler pr
IMO, earlier we're triggering the dependabot in wrong
branches `"dependabot/bundler**"` instead it should be
`"dependabot/go_modules/**"` since it create branches with
the above syntax.
For example:
dependabot/go_modules/golang.org/x/sync-0.2.0

Fixes: #12352

Signed-off-by: subhamkrai <srai@redhat.com>
2023-06-13 13:08:35 +05:30
Sheetal Pamecha a6d57c164d test: upgrade tests to update from v1.11
With the upcoming v1.12 release, Rook upgrade tests
should upgrade from v1.11.x to master instead of
from v1.10.x to master.

Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
2023-06-13 03:48:45 +05:30
Sheetal Pamecha b7eb449e7f docs: update the upgrade guide for the v1.12 release
Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
2023-06-13 03:13:09 +05:30
travisn 11d83bfbec pool: add .mgr pool to the stretch cluster examples
The stretch clusters must create pools with a pool spec
that is valid for the stretch scenario, with 4 replicas
and failure domain and sub failure domain as needed
to match the topology. Otherwise, ceph will create a
default .mgr pool which will have replica 3 which is
invalid for the stretch scenario.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-06-12 12:28:10 -06:00
Blaine Gardner 97bf52d769 Merge pull request #12220 from spuiuk/krb5-fixes-2
nfs: Add Spec.Security.Kerberos.DomainName to the CRD to configure /etc/idmapd.conf
2023-06-09 19:35:50 -06:00
Sachin Prabhu 8705f2b37e nfs: set correct kerberos domain in /etc/idmapd.conf
We add a new field domainName to the Kerberos section. The field is used
to setup /etc/idmapd.conf with the domain name. This allows idmapper to
map to kerberos credential to the correct uid/gid.

We add Spec.Security.Kerberos.DomainName to the CRD

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
2023-06-09 18:06:45 +01:00
Jiffin Tony Thottan 6ea24cb11b object: add ssl ref in cephobjectstore user secret
There is no reference for ssl in cephobjectstore Secret, so users won't
have much idea why tls secret need to used. Hence give reference
object stores tls secret ref in the Secret.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2023-06-09 12:42:35 +05:30
Travis Nielsen 12d79814d3 Merge pull request #12257 from travisn/test-doc
docs: Update the integration test guide
2023-06-08 16:50:42 -06:00
Alexander Trost efcfcfa0fb Merge pull request #12334 from cybozu-go/doc-prevent-to-delete-other-clusters-data-on-cluster-deletion 2023-06-08 22:42:13 +02:00
Javier f6816abc97 helm: add EC Block Pool config in helm chart
allow for EC Block Pool configurations to be defined in the rook-ceph-cluster Helm chart

Signed-off-by: Javier <sjavierlopez@gmail.com>
2023-06-08 14:02:05 -06:00
Travis Nielsen 7f9be7cdfe Merge pull request #12217 from takirala/patch-1
fix: typo in logs to print fullname of CephCluster
2023-06-07 23:21:42 -06:00
Satoru Takeuchi 20b7a30ca6 docs: prevent to delete other clusters data on cluster deletion
Current cluster teardown document assumes that there is only one
Rook/Ceph cluster. If not, the instruction written in this document
might delete the data of other clusters.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2023-06-07 22:30:37 +00:00
Tarun Gupta Akirala df0ce26923 core: typo in logs to print fullname of CephCluster
printing namespace along with name would make debugging easier

Signed-off-by: Tarun Gupta Akirala <takirala@users.noreply.github.com>
2023-06-07 14:42:00 -07:00
Travis Nielsen 747fe8212a Merge pull request #12337 from rkachach/fix_issue_12336
mgr: removing unnecessary rook-ceph-mgr rbac entries
2023-06-06 15:31:36 -06:00
Redouane Kachach 08754f6197 mgr: removing unnecessary rook-ceph-mgr rbac entries
These rbac changes were introduced as part of #11845 PR to enable
sidecar accessing mgr pods but in fact they are not necessary
as rook-ceph-mgr role had already the ability to update pods

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

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2023-06-06 22:12:23 +02:00
Travis Nielsen f587fbc3b9 Merge pull request #12213 from parth-gr/external-docs-rgw
doc: update external cluster docs
2023-06-06 07:50:43 -06:00
Travis Nielsen c6d6134755 Merge pull request #12323 from travisn/adopters-update
docs: Add instructions for updating the list of Rook adopters
2023-06-05 10:04:19 -06:00
parth-gr 56cd431377 docs: update external cluster docs
1) removed the supported version column

2) updated the doc with support for v2 port an helm installation

3) Add support for rgw objectuser creation

Signed-off-by: parth-gr <paarora@redhat.com>
2023-06-05 20:06:50 +05:30
travisn 1e997b76d7 docs: add instructions for updating adopters
Add several options for updating the list of community members
who have adopted rook.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-06-05 08:28:28 -06:00
travisn e631cf6e59 docs: clarify instructions on submitting a PR
The unit tests are not necessary if a PR is being opened for
documentation or other non-code changes, so we clarify the
instructions.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-06-02 16:18:45 -06:00
travisn 666a46c697 docs: remove adopter with broken link
The website for Informatik Computer Cloud is no longer responding
so we remove them from the list of adopters.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-06-02 16:18:45 -06:00
Travis Nielsen 56b3bf90e6 Merge pull request #12316 from Javlopez/bugfix/12306-arm64-daily-integration-tests-are-failing
ci: fix minikube execution
2023-06-01 14:09:50 -06:00
Travis Nielsen 4a1b439a1b Merge pull request #12299 from avanthakkar/fix-osd-ceph-args
core: empty ceph-daemons-sock-dir for osd onPVC
2023-06-01 10:56:20 -06:00
avanthakkar 541d091f9c core: use ROOK_CEPH_MON_HOST from config store in OSD pods too
Signed-off-by: avanthakkar <avanjohn@gmail.com>

Volume "ceph-daemons-sock-dir" is coming empty in case if dataDirHostPath,
which is the case for osd onPVC. Fix the volume creation by using the
ceph cluster spec dataDirHostPath, which allows to run socket commands
on osd containers.
2023-06-01 21:09:58 +05:30
Travis Nielsen 784ffc8cdc Merge pull request #12314 from travisn/ceph-main-rgw
ci: Daily rgw tests to run against ceph main
2023-06-01 07:12:59 -06:00
Javier 7d862e6cbe ci: fix minikube execution
add docker to the pipeline to allow minikube able to use docker driver

Signed-off-by: Javier <sjavierlopez@gmail.com>
2023-05-31 18:14:35 -06:00
Travis Nielsen 13c7c6bae5 Merge pull request #12271 from avanthakkar/cleanup-exporter
core: cleanup exporter resources
2023-05-31 15:14:37 -06:00
avanthakkar 41a8294510 core: cleanup exporter resources
Cleanup exporter daemon even if ceph version is not supported along with other resources like
metrics service and service monitor.
Signed-off-by: avanthakkar <avanjohn@gmail.com>
2023-06-01 02:04:17 +05:30
travisn e0705a5656 ci: daily rgw tests to run against ceph main
The daily rgw tests were mistakenly running against an old
latest-master-devel ceph tag instead of the newer
latest-main-devel ceph tag. Now the daily rgw tests will
be run against the latest and greatest as expected.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-31 14:10:14 -06:00
Travis Nielsen f6da90d539 Merge pull request #12264 from parth-gr/rgw-external-tls
external: fqdn should be persisted
2023-05-31 14:00:59 -06:00
Travis Nielsen 3b4ba859fd Merge pull request #12267 from parth-gr/fix-rgw-ci
ci: catch error in ci for external rgw server canary test
2023-05-31 12:42:12 -06:00
Travis Nielsen 9eb4bc8d05 Merge pull request #12311 from parth-gr/ci-tmate
ci: update tmate to run successfully with public ssh
2023-05-31 11:11:55 -06:00
Travis Nielsen ac75fc0ccd Merge pull request #12270 from pheianox/patch-1
Add PITS Global Data Recovery Services to the list of adopters
2023-05-31 07:52:48 -06:00
parth-gr 74a4a9c5c2 ci: update tmate to run successfully with public ssh
Currently tmate was not accessible and showing access denied,

Update limit-access-to-actor to true, which register tmate with a
public ssh key
https://github.com/mxschmitt/action-tmate#use-registered-public-ssh-keys

Signed-off-by: parth-gr <paarora@redhat.com>
2023-05-31 19:13:09 +05:30
parth-gr ef4fa96e26 ci: catch error in ci for external rgw server canary test
currently we just print the error is anything fails in
script for rgw, So by that there is no panic or
failiure of script if something wrong happened,

Added Explicittly forcing to catch the error from
the error message that is thrown

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

Signed-off-by: parth-gr <paarora@redhat.com>
2023-05-31 18:42:52 +05:30
parth-gr f66de7b9df external: fqdn should be persisted
1) donot change rgw fqdn to ip if provided,
As now the bucket class supports the
entry of fqdn

2) update crds with new description in EndpointAddress

Signed-off-by: parth-gr <paarora@redhat.com>
2023-05-31 17:36:29 +05:30
Blaine Gardner b2babf01d2 Merge pull request #12282 from BlaineEXE/multus-validation-ci-test
test: add CI e2e test for multus validation test
2023-05-31 01:37:14 +02:00
Travis Nielsen 6417ed4047 Merge pull request #12256 from thotz/add-missing-caps-object-user
object: add missing caps for object store user
2023-05-30 16:37:18 -06:00
pheianox 19ef37d1ac docs: add PITS Global Data Recovery Services to the adopters list
Kubernetes and integration with distributed storage system Ceph

Signed-off-by: pheianox <pheianox@gmail.com>
2023-05-30 17:34:06 -04:00
Travis Nielsen 3dc12c0b66 Merge pull request #12251 from koor-tech/pickup_pr_11914
helm: add exporter resource entry to ceph cluster
2023-05-30 14:08:10 -06:00
Travis Nielsen 5540786282 Merge pull request #12291 from Mourishitz/updating-ci-for-documentations
ci: adding path ignore to documentations
2023-05-30 13:09:20 -06:00
Travis Nielsen 351751ac72 Merge pull request #12302 from Javlopez/feature/11429-use-default-for-logging-to-stderr
core: use -default-* flags
2023-05-30 13:05:02 -06:00
Javier 02e17196f2 core: use -default-* flags
enable flags with --default prefix for --log-to-stderr, --mon-cluster-log-to-stderr, --err-to-stderr, and --log-stderr-prefix

Signed-off-by: Javier <sjavierlopez@gmail.com>
2023-05-30 11:52:26 -06:00
Gabriel Morishita c29765e55f ci: adding path ignore to documentations
The main objective of this commit is to stop CI to run tests when only documentations are changed. We did that by adding the Documentation and design folder into paths-ignore key on CI files.

Signed-off-by: Gabriel Morishita <gabrielmorishita@hotmail.com>
2023-05-30 14:34:37 -03:00
Travis Nielsen 44a986396e Merge pull request #12293 from ulagbulag/fix-rook_cluster-bug-in-service-monitor
mgr: update default rook_cluster of ServiceMonitor
2023-05-30 11:10:52 -06:00
Alexander Trost 178c916012 helm: add exporter resource entry to ceph cluster
This adds the new `exporter:` resource key to the Ceph cluster example
yaml. It also set some sane resource requests and limits for it in the
CephCluster section of the rook-ceph Helm chart.

Closes #11914

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2023-05-30 17:54:49 +02:00
Ho Kim 42caef169f mgr: update default rook_cluster of ServiceMonitor
When deploying a cluster with Helm Chart, if the namespace is not the default value `rook-ceph`, and if the monitoring feature is enabled, then the generated ServiceMonitor's `rook_cluster` selector now follows the namespace, not the hard-coded value `rook-ceph`.

Signed-off-by: Ho Kim <ho.kim@ulagbulag.io>
2023-05-30 23:58:50 +09:00
Blaine Gardner 870a59754d Merge pull request #12273 from thotz/multus-cephclusterspec-update
object: add missing cephcluster spec addition in object controller
2023-05-30 16:15:18 +02:00
Jiffin Tony Thottan 1f45cfa581 object: use networkspec from clusterinfo spec while running radosgw-admin
The radosgw-admin command uses the network spec from ceph cluster spec
in object context but it is not filled properly in the object package.
But with PR 10898, network spec is available in clusterinfo which can
be used directly. Also removed cluserspec from object context.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
2023-05-30 11:06:03 +05:30
Blaine Gardner d0995c8d76 test: fix nginx image client template error
Regarding Go templates: when inside a range, the base dot (.) context is
not available, so anything used within the range must be set to a
shell-style variable.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2023-05-26 12:20:15 -06:00