Commit Graph
9860 Commits
Author SHA1 Message Date
Blaine Gardner 17d8d4f797 multus: add config file for validation tool
Allow the validation tool to read test config from a yaml file. To help
users, also allow outputting a config file with default values and
comments instructing how to use the config file.

This work is in anticipation of adding more advanced configuration
options that would be too cumbersome to set using cli flags.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit f8d9076a38)
2023-06-21 15:49:01 +00:00
Travis Nielsen b4a9af6a70 Merge pull request #12407 from rook/mergify/bp/release-1.11/pr-12372
operator:Add ceph image version label to PVC (backport #12372)
2023-06-20 13:31:24 -06:00
Travis Nielsen 704b2454f3 Merge pull request #12408 from rook/mergify/bp/release-1.11/pr-12341
object : add ssl ref in cephobjectstore user secret (backport #12341)
2023-06-20 13:30:06 -06:00
Jiffin Tony Thottan 4ef3e4c32e 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>
(cherry picked from commit 6ea24cb11b)
2023-06-20 16:21:28 +00:00
YZ775 0f76fa7f35 operator: add ceph image version label to PVC
This PR makes Rook operator to add a label on PVC that contains an image version of Ceph when creating an OSD.

Signed-off-by: YZ775 <yuzuki-mimura@cybozu.co.jp>
(cherry picked from commit ed9da20d68)
2023-06-20 13:27:07 +00:00
Travis Nielsen 9e452c865a Merge pull request #12390 from rook/mergify/bp/release-1.11/pr-12322
build: make crds should be able to build generated docs (backport #12322)
2023-06-15 14:21:24 -06:00
Travis Nielsen 8bc7249a7d Merge pull request #12391 from travisn/release-1.11.8
build: Update release version to v1.11.8
v1.11.8
2023-06-15 13:58:23 -06:00
travisn 24b1de64dc build: update release version to v1.11.8
For the patch release update the docs and example manifests
to v1.11.8

Signed-off-by: travisn <tnielsen@redhat.com>
2023-06-15 13:01:34 -06:00
parth-gr 2360f145e5 build: make crds should be able to build generated docs
Currently, if there is any change in the API we need to separately
run the make generate-crd-docs but with this change
make crds will also update the generated docs

Also improved the file locations

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

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 8175bc0218)
2023-06-15 17:13:49 +00:00
Travis Nielsen 1af2e1f107 Merge pull request #12387 from rook/mergify/bp/release-1.11/pr-12368
docs: remove the line generated by gen-crd-api-reference-docs (backport #12368)
2023-06-15 10:31:50 -06:00
Travis Nielsen fdfb70c6ce Merge pull request #12386 from rook/mergify/bp/release-1.11/pr-11722
docs: suggest qemu driver for minikube on apple silicon (backport #11722)
2023-06-15 10:31:35 -06:00
Travis Nielsen 1b003a6dd1 Merge pull request #12382 from rook/mergify/bp/release-1.11/pr-12324
helm: add EC Block Pool config in helm chart (backport #12324)
2023-06-15 10:31:04 -06:00
Javier 427e2579eb docs: remove the line generated by gen-crd-api-reference-docs
removing the line added by gen-crd-api-reference-docs to avoid commit
specification.md with only the reference to the git commit

Signed-off-by: Javier <sjavierlopez@gmail.com>
(cherry picked from commit 9b3e5b10e7)
2023-06-14 19:42:13 +00:00
Blaine Gardner 63c14f5df4 docs: suggest qeumu driver for minikube on apple silicon
Apple silicon does not support hyperkit, and virtualbox does not support
Apple silicon (yet). Suggest the QEMU driver for development on MacOS
with Apple silicon.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit a57d972aa1)
2023-06-14 17:12:31 +00:00
Travis Nielsen dc2f86fdbc Merge pull request #12385 from rook/mergify/bp/release-1.11/pr-12383
docs: improve external doc format (backport #12383)
2023-06-14 10:20:52 -06:00
parth-gr affb565091 docs: improve external doc format
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 9a92756830)
2023-06-14 16:19:27 +00:00
Travis Nielsen fb28df72f0 Merge pull request #12377 from rook/mergify/bp/release-1.11/pr-12360
pool: Add .mgr pool to the stretch cluster examples (backport #12360)
2023-06-14 08:16:50 -06:00
Javier 2545781940 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>
(cherry picked from commit f6816abc97)
2023-06-14 14:07:12 +00:00
travisn b43d45602b 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>
(cherry picked from commit 11d83bfbec)
2023-06-13 18:08:44 +00:00
Blaine Gardner 9d70202ea7 Merge pull request #12355 from rook/mergify/bp/release-1.11/pr-12220
nfs: Add Spec.Security.Kerberos.DomainName to the CRD to configure /etc/idmapd.conf (backport #12220)
2023-06-09 21:29:37 -06:00
Sachin Prabhu 870213fd21 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>
(cherry picked from commit 8705f2b37e)
2023-06-10 01:36:21 +00:00
Travis Nielsen 69686ec6d2 Merge pull request #12348 from rook/mergify/bp/release-1.11/pr-12257
docs: Update the integration test guide (backport #12257)
2023-06-08 16:52:45 -06:00
Travis Nielsen 3c45fba701 Merge pull request #12339 from rook/mergify/bp/release-1.11/pr-12337
mgr: removing unnecessary rook-ceph-mgr rbac entries (backport #12337)
2023-06-08 16:51:59 -06:00
Travis Nielsen af299fa46b Merge pull request #12345 from rook/mergify/bp/release-1.11/pr-12217
fix: typo in logs to print fullname of CephCluster (backport #12217)
2023-06-08 16:51:41 -06:00
travisn e452ec8c47 docs: update the integration test guide
The integration test guide is updated to be more accurate
and provide more hints that the CI is the recommended
place to troubleshoot the integration tests

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit fa5b758f9e)
2023-06-08 22:51:23 +00:00
Satoru Takeuchi d6f1e098be Merge pull request #12346 from rook/mergify/bp/release-1.11/pr-12334
docs: prevent to delete other clusters data on cluster deletion (backport #12334)
2023-06-09 07:40:23 +09:00
Satoru Takeuchi 7600074cc2 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>
(cherry picked from commit 20b7a30ca6)
2023-06-08 20:42:21 +00:00
Tarun Gupta Akirala 815d8af144 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>
(cherry picked from commit df0ce26923)
2023-06-08 05:22:10 +00:00
Redouane Kachach cc4dc73e8f 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>
(cherry picked from commit 08754f6197)
2023-06-06 21:32:14 +00:00
Travis Nielsen 79e82c9f57 Merge pull request #12319 from rook/mergify/bp/release-1.11/pr-12299
core: empty ceph-daemons-sock-dir for osd onPVC (backport #12299)
2023-06-06 14:10:05 -06:00
Travis Nielsen 586d981db8 Merge pull request #12338 from rook/mergify/bp/release-1.11/pr-12213
doc: update external cluster docs (backport #12213)
2023-06-06 14:09:35 -06:00
parth-gr 3e61efc976 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>
(cherry picked from commit 56cd431377)
2023-06-06 13:51:16 +00:00
avanthakkar d216c2ddd7 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.

(cherry picked from commit 541d091f9c)
2023-06-01 16:57:01 +00:00
Travis Nielsen b578d77d32 Merge pull request #12317 from travisn/release-1.11.7
build: Update release version to v1.11.7
v1.11.7
2023-05-31 16:50:08 -06:00
travisn 66e0b77b25 build: update release version to v1.11.7
For the patch release update the docs and examples to
v1.11.7

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-31 16:13:15 -06:00
Travis Nielsen 5b3764f2ad Merge pull request #12315 from rook/mergify/bp/release-1.11/pr-12271
core: cleanup exporter resources (backport #12271)
2023-05-31 15:58:35 -06:00
avanthakkar bb74cd5ced 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>
(cherry picked from commit 41a8294510)
2023-05-31 21:16:24 +00:00
Travis Nielsen 201573c59d Merge pull request #12313 from rook/mergify/bp/release-1.11/pr-12264
external: fqdn should be persisted (backport #12264)
2023-05-31 15:15:30 -06:00
Travis Nielsen 1d41f8d86a Merge pull request #12307 from rook/mergify/bp/release-1.11/pr-12256
object: add missing caps for object store user (backport #12256)
2023-05-31 15:15:07 -06:00
parth-gr 3fbcff5127 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>
(cherry picked from commit f66de7b9df)
2023-05-31 20:01:30 +00:00
Blaine Gardner 1fd283fb8b Merge pull request #12308 from rook/mergify/bp/release-1.11/pr-12282
test: add CI e2e test for multus validation test (backport #12282)
2023-05-31 17:34:34 +02:00
Blaine Gardner 7502af1739 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>
(cherry picked from commit d0995c8d76)
2023-05-30 23:37:52 +00:00
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
Jiffin Tony Thottan c853a77fcf object: add missing caps for object store user
Lot of new caps added to rgw users, reflecting same changes on the
object store user CRD.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit ad0c000e6a)
2023-05-30 22:37:57 +00:00
Travis Nielsen 04e2137106 Merge pull request #12303 from rook/mergify/bp/release-1.11/pr-12302
core: use -default-* flags (backport #12302)
2023-05-30 15:38:51 -06:00
Travis Nielsen adb46f5362 Merge pull request #12304 from rook/mergify/bp/release-1.11/pr-12251
helm: add exporter resource entry to ceph cluster (backport #12251)
2023-05-30 15:38:30 -06:00
Travis Nielsen f8b0d6142b Merge pull request #12301 from rook/mergify/bp/release-1.11/pr-12293
mgr: update default rook_cluster of ServiceMonitor (backport #12293)
2023-05-30 15:38:15 -06:00
Alexander Trost fb82370ac8 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>
(cherry picked from commit 178c916012)
2023-05-30 20:08:51 +00:00
Javier 1c9b7680b1 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>
(cherry picked from commit 02e17196f2)
2023-05-30 19:05:50 +00:00
Ho Kim f9c9a6ad8a 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>
(cherry picked from commit 42caef169f)
2023-05-30 17:11:28 +00:00