Commit Graph
9845 Commits
Author SHA1 Message Date
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
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
Blaine Gardner 2986a30a93 Merge pull request #12298 from rook/mergify/bp/release-1.11/pr-12273
object: add missing cephcluster spec addition in object controller (backport #12273)
2023-05-30 17:07:58 +02:00
Jiffin Tony Thottan 8fd527cac0 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>
(cherry picked from commit 1f45cfa581)
2023-05-30 14:15:57 +00:00
Blaine Gardner 828d44f59d Merge pull request #12283 from rook/mergify/bp/release-1.11/pr-12259
test: add tmate pod manifest (backport #12259)
2023-05-25 00:22:04 +02:00
Blaine Gardner 522f0c40d5 test: add tmate pod manifest
Add a tmate manifest that can be added to CI tests to allow manually
debugging them in real-time while the test is ongoing.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit e58b09c01c)
2023-05-24 22:20:41 +00:00
Blaine Gardner f16bc44e76 Merge pull request #12281 from rook/mergify/bp/release-1.11/pr-12231
test: allow specifying custom nginx image for multus validation (backport #12231)
2023-05-25 00:18:51 +02:00
iPraveenParihar 945c7f155a test: allow specifying custom nginx image for multus validation
Allow overriding the nginx server image used for the web server and clients from CLI with --nginx-image flag.
Set default image in flag as 'nginxinc/nginx-unprivileged:stable-alpine'

Signed-off-by: iPraveenParihar <praveenparihar68@gmail.com>
(cherry picked from commit 78d6528153)
2023-05-24 18:55:56 +00:00
Travis Nielsen 2434017013 Merge pull request #12269 from rook/mergify/bp/release-1.11/pr-12268
monitoring: Service monitor should not use mgr_role label (backport #12268)
2023-05-22 16:00:22 -06:00
travisn 056cd45fa2 monitoring: service monitor should not use mgr_role label
The service monitor selectors need to match the mgr service labels.
Since the mgr service labels don't use the mgr_role (only the mgr
service selectors use the mgr_role), the mgr_role should be removed
from the service monitor.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 754f073aa5)
2023-05-22 21:18:52 +00:00
Blaine Gardner aef34cc8b4 Merge pull request #12258 from rook/mergify/bp/release-1.11/pr-12211
operator: pull multus validation test images before test (backport #12211)
2023-05-20 00:23:14 +02:00
Blaine Gardner b0167660f5 operator: pull multus validation test images before test
Before starting multus validation test clients, pull the client image to
all nodes. This will ensure that variations in client readiness timing
will not be affected by variations in the time nodes take to pull the
image. This is intended to reduce the number of false reports of flaky
multus networks.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 3a27cb60b3)
2023-05-19 20:40:05 +00:00
Travis Nielsen 7de543bd27 Merge pull request #12248 from rook/mergify/bp/release-1.11/pr-12247
rbdmirror: Retry reconcile if cluster not initialized (backport #12247)
2023-05-18 08:48:53 -06:00
travisn c6eb3a33c6 rbdmirror: retry reconcile if cluster not initialized
The rbd mirror reconcile was not re-queuing the reconcile
if the cephcluster was not initialized. All other controllers
waiting for the initialization are requeuing the event,
just not the rbd mirror controller.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 2877523137)
2023-05-17 23:26:33 +00:00
Travis Nielsen d28192dc03 Merge pull request #12246 from rook/mergify/bp/release-1.11/pr-12224
docs: Dev guide review updates (backport #12224)
2023-05-17 15:30:15 -06:00
travisn f339ef1629 docs: dev guide review updates
The dev guide had some outdated info that is now updated,
as well as some rewording for consistency and improved
writing.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 9f2ecedf7b)
2023-05-17 20:30:00 +00:00
travisn d361b4ca1b docs: remove obsolete comments about old versions
Remove old mentions of rook or ceph versions that
are no longer relevant.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 0f6b099403)
2023-05-17 20:30:00 +00:00