Commit Graph
9834 Commits
Author SHA1 Message Date
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
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
Travis Nielsen 55ca7198d8 Merge pull request #12245 from rook/mergify/bp/release-1.11/pr-12204
docs: update the documentation for external rgw servers (backport #12204)
2023-05-17 14:28:52 -06:00
Jiffin Tony Thottan 81bcbf9b4d docs: update the documentation for external rgw servers
The StorageConfiguration docs for external needs to update with Rook
design

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 2a96967ed0)
2023-05-17 17:29:09 +00:00
Travis Nielsen dd581ad49a Merge pull request #12241 from travisn/release-1.11.6
build: Update release version to v1.11.6
v1.11.6
2023-05-16 15:41:36 -06:00
travisn abb948d8c9 build: update release version to v1.11.6
For the patch release update the docs and example manifests
to v1.11.6

Signed-off-by: travisn <tnielsen@redhat.com>
2023-05-16 14:57:19 -06:00
Travis Nielsen 18667fa45e Merge pull request #12240 from rook/mergify/bp/release-1.11/pr-12164
osd: Support expanding lvm osd on pvc (backport #12164)
2023-05-16 14:13:55 -06:00
Satoru Takeuchi 4c0c67df1a osd: supoprt expand lvm osd on pvc
The expansion of OSD on PVC is only supported in raw mode OSD.
It's nice to support lvm mode osd too.

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 13e4464fed)
2023-05-16 17:03:24 +00:00
Travis Nielsen 75c9efa443 Merge pull request #12239 from rook/mergify/bp/release-1.11/pr-12238
external: fix rgw check if no multisite flag is passed (backport #12238)
2023-05-16 10:38:59 -06:00
parth-gr 66a48dea6d external: fix rgw check if no multisite flag is passed
if there is no multisite config pass, it will still checks for
the zones and zones group and not able to query anything

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit ec2681f82b)
2023-05-16 15:58:33 +00:00
Travis Nielsen b57fbf2ab2 Merge pull request #12226 from rook/mergify/bp/release-1.11/pr-12190
docs: update ruleNamesapce to rulesNamespaceOverride (backport #12190)
2023-05-15 09:59:35 -06:00
parth-gr 3fce0e443e docs: update ruleNamesapce to rulesNamespaceOverride
there were some places where rulenamesapce was present updated to rulesNamespaceOverride

Closes: rook#12163
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 060bd00281)
2023-05-11 17:02:50 +00:00
Travis Nielsen 6bcb53749d Merge pull request #12222 from rook/mergify/bp/release-1.11/pr-12216
monitoring: Skip creating the service monitor for the exporter if monitoring is not enabled (backport #12216)
2023-05-10 15:49:45 -06:00