Commit Graph
8820 Commits
Author SHA1 Message Date
zhucan e8a93eab2a object: hostNetwork setting should be under spec.gateway instead of spec in the ObjectStore CRD
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
(cherry picked from commit 2011d9104d)
2022-08-22 13:40:52 -06:00
zhucan fe420e679d object: generated code
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
(cherry picked from commit 1da927e40e)
2022-08-22 17:59:12 +00:00
Blaine Gardner 0d8fde8bd1 Merge pull request #10740 from rook/mergify/bp/release-1.9/pr-10737
ci: update codespell config (backport #10737)
2022-08-18 09:40:17 -06:00
Blaine Gardner ed6cea3b05 ci: update codespell config
Codespell had its first release in a year yesterday and added some
dictionary rules that are now being flagged in our code. Only one
issue required changes to our code, so modify the codespell config to
allow the words we want to allow.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 5b0a22ca46)

# Conflicts:
#	pkg/operator/ceph/object/objectstore_test.go
2022-08-18 09:30:49 -06:00
mergify[bot] 97e8185dd8 Merge pull request #10727 from rook/mergify/bp/release-1.9/pr-10726
core: no need to delete v1beta cronJob during v1 deletion (backport #10726)
2022-08-17 17:10:01 +00:00
subhamkrai 64cad381cc core: no need to delete v1beta cronJob during v1 deletion
we are already deleting v1beta1 cronJob while creating v1 cronJob,
so no need to delete v1beta while v1 cronJob deltion.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit e1a585e55f)
2022-08-17 16:40:09 +00:00
Blaine Gardner 67c744bf9c Merge pull request #10711 from rook/mergify/bp/release-1.9/pr-10708
rgw: update lib-bucket-provisioner version (backport #10708)
2022-08-16 09:07:52 -06:00
Denis Egorenko 4c3368cb77 rgw: update lib-bucket-provisioner version
Update version of lib-bucket-provisioner to fix issue with updating objectbuckets config.

related-issue: https://github.com/rook/rook/issues/10679
Signed-off-by: Denis Egorenko <degorenko@mirantis.com>
(cherry picked from commit a553d2f52d)

# Conflicts:
#	go.mod
2022-08-11 16:02:24 -06:00
Travis Nielsen 0480a11548 Merge pull request #10707 from travisn/release-1.9.9
build: Update the release version to v1.9.9
v1.9.9
2022-08-11 14:30:24 -06:00
Travis Nielsen b5bfa6f7f3 build: update the release version to v1.9.9
For the patch release update the examples and docs to
v1.9.9

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 13:49:09 -06:00
Travis Nielsen dac7bb1255 Merge pull request #10705 from rook/mergify/bp/release-1.9/pr-10701
core: skip ceph upgrade check in external cluster (backport #10701)
2022-08-11 12:51:13 -06:00
Joseph Lee 190017f6d0 core: skip ceph upgrade check in external cluster
Closes: rook#10688
Signed-off-by: Joseph Lee <joseph@jc-lab.net>
(cherry picked from commit 9639b60fc4)
2022-08-11 17:36:23 +00:00
Travis Nielsen 78444d21e3 Merge pull request #10704 from rook/mergify/bp/release-1.9/pr-10456
docs: rename Rook-Ceph to Rook Ceph (backport #10456)
2022-08-11 11:26:42 -06:00
Alexander Trost 380e4dbcbf docs: add ci configuration page
This page contains initial information on Rook's CI setup, such as
environment variables.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 9872b3f7d6)
2022-08-11 16:53:37 +00:00
Alexander Trost 89518a9bd3 docs: rename Rook-Ceph to Rook Ceph
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit fe2000e6d8)
2022-08-11 16:53:37 +00:00
parth-gr f4aea652a1 external: fix cluster id naming in import-external-cluster script
Cluster_ID variable that we export from python script was different
from what we going to use in import script so changed it

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 62fec90c19)
2022-08-11 16:53:34 +00:00
Travis Nielsen f484db2ffe Merge pull request #10690 from rook/mergify/bp/release-1.9/pr-10585
core: Operator to skip reconcile of mons and osds in debug mode (backport #10585)
2022-08-09 17:00:14 -06:00
Travis Nielsen f34c940518 core: operator skips reconcile of mons and osds in debug
During certain maintenance tasks the admin will own running
operations on the ceph mons and osds, and the operator should
not interfere with those operations. If the operator sees
any mon in debug mode, every reconcile and mon health check
will be skipped. Thus, mons will not be updated while any
one of them is in maintenance. During OSD reconcile, individual
OSD deployment updates will only be skipped for OSDs that are
actively being debugged.

The debug mode for osd and mon deployments is signaled by
creating the ceph.rook.io/do-not-reconcile label.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 7c56b9328a)
2022-08-09 22:24:09 +00:00
mergify[bot] 395b026219 Merge pull request #10667 from rook/mergify/bp/release-1.9/pr-10657
docs: cephfs mirroring documentation added (backport #10657)
2022-08-04 20:56:15 +00:00
mergify[bot] 4e2aa32530 Merge pull request #10669 from rook/mergify/bp/release-1.9/pr-10639
csi: introduce new log level for sidecars (backport #10639)
2022-08-02 20:35:56 +00:00
Travis Nielsen 5dd3443f64 Merge pull request #10670 from rook/mergify/bp/release-1.9/pr-10668
test: Increase timeout waiting for file deletion status (backport #10668)
2022-08-02 14:31:55 -06:00
Travis Nielsen e130a8bc5e test: increase timeout waiting for file deletion status
The file deletion status has been intermittently failing for several
months. Investigation shows that the timeout is just missing by
a few seconds. Now we increase the timeout from 15 to 45 seconds
to stabilize the test.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 13d527b590)
2022-08-02 20:12:20 +00:00
yati1998 ca7efa592d csi: introduce new log level for sidecars
This commit introduces new log level called csidecarLogLevel
for the sidecars which are not maintained by the csi-driver.
This will allow to have different configuration options
for the sidecars like snapshotter, resizer, attacher and
provisioner containers which will help to avoid the
spamming of logs to an extent.

Signed-off-by: yati1998 <ypadia@redhat.com>
(cherry picked from commit ecc67faa5c)
2022-08-02 20:11:18 +00:00
gauravsitlani 587d784c59 docs: cephfs mirroring documentation added
This is a new documentation added for cephfs mirroring

Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
(cherry picked from commit 46c475751f)
2022-08-02 16:43:13 +00:00
Travis Nielsen b7c0d2bb46 Merge pull request #10666 from rook/mergify/bp/release-1.9/pr-10654
Correct indentation level for pool rules (backport #10654)
2022-08-02 10:40:26 -06:00
James Harmison 1d701006c2 monitoring: fix localrule indent
Indentation level for the rule array for pools was inconsistent, leading to a broken YAML array.
This commit corrects indentation level for pool rules to align with the rest of the array.

Closes: https://github.com/rook/rook/issues/10653
Signed-off-by: James Harmison <jharmison@gmail.com>
(cherry picked from commit 2ae305749a)
2022-08-02 15:24:48 +00:00
mergify[bot] a11b1e4e91 Merge pull request #10663 from rook/mergify/bp/release-1.9/pr-10528
core: add support to rotate log based on logfile size (backport #10528)
2022-08-01 22:53:39 +00:00
subhamkrai cb7728141f core: add support to rotate log based on logfile size
this commits add new field `MaxLogSize` inside `LogCollectorSpec` of
cephCluster cr which will take max size of log after which we want to
rotate the log.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 62f73dcd98)
2022-08-01 21:23:22 +00:00
Travis Nielsen 29704e5662 Merge pull request #10662 from rook/mergify/bp/release-1.9/pr-10647
csi: disable liveness sidecar by default (backport #10647)
2022-08-01 15:21:48 -06:00
Travis Nielsen b6b23cc4a4 Merge pull request #10661 from rook/mergify/bp/release-1.9/pr-10659
Revert "ci: use ceph v17.2.1 instead of latest v17" (backport #10659)
2022-08-01 12:59:30 -06:00
Madhu Rajanna 98b0e6fbc7 csi: disable liveness sidecar by default
A Liveness sidecar container that is deployed
with the CSI pods will be helpful to check
csi driver is properly responding or not.
and there is no liveness or readiness
kubernetes probe added for this one.
Providing an option to enable this
sidecar deployment and disabling it by default.

fixes #8783

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 187bea6701)
2022-08-01 18:59:26 +00:00
subhamkrai d1fcf05174 Revert "ci: use ceph v17.2.1 instead of latest v17"
This reverts commit 3279cb91870e59eccabb9b5eff903d71beb31594.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit c4742278d1)
2022-08-01 16:07:10 +00:00
Travis Nielsen 37ebd51f13 Merge pull request #10643 from rook/mergify/bp/release-1.9/pr-10580
docs: CephFS mirroring updates around Peer Tokens (backport #10580)
2022-07-27 14:19:09 -06:00
Travis Nielsen e96342984e Merge pull request #10644 from rook/mergify/bp/release-1.9/pr-10626
Improve descriptions in localrules.yaml (backport #10626)
2022-07-27 13:20:02 -06:00
Anthony D'Atri e39fd4b947 docs: improve descriptions in localrules.yaml
Parallel upstream changes via https://github.com/ceph/ceph/pull/47284

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit dc53497d37)
2022-07-27 17:40:39 +00:00
Gaurav Sitlani 9ee2df6f2b docs: cephfs mirroring updates around peer tokens
This commit updates the CephFS mirroring documentation
around Peer tokens to get the token created correctly.

Signed-off-by: Gaurav Sitlani <gauravsitlani@riseup.net>
(cherry picked from commit 27f2098ad9)
2022-07-27 16:26:02 +00:00
Travis Nielsen bc71bfe353 Merge pull request #10637 from travisn/release-1.9.8
build: Update release version to v1.9.8
v1.9.8
2022-07-26 13:18:39 -06:00
Travis Nielsen 54e570a9a3 build: update release version to v1.9.8
For the patch release the operator version and example manifests are
updated to v1.9.8

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-07-26 12:37:16 -06:00
Travis Nielsen 42029d2b8f Merge pull request #10599 from rook/mergify/bp/release-1.9/pr-10590
examples: fix secrets naming import-external-cluster.sh script (backport #10590)
2022-07-26 11:52:46 -06:00
Travis Nielsen b38ae9e73d Merge pull request #10613 from rook/mergify/bp/release-1.9/pr-10575
Fix EnableRBDStats mgr (backport #10575)
2022-07-26 11:52:05 -06:00
Travis Nielsen 79e019b3b9 Merge pull request #10633 from rook/mergify/bp/release-1.9/pr-10583
helm: add labels and annotations to PrometheusRule (backport #10583)
2022-07-25 15:02:44 -06:00
Mathieu Parent 559541e544 helm: add labels and annotations to PrometheusRule
Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
(cherry picked from commit 44b43557f9)
2022-07-25 19:45:42 +00:00
Travis Nielsen 67085b6f63 Merge pull request #10634 from rook/mergify/bp/release-1.9/pr-10581
docs: update Example Configurations document  (backport #10581)
2022-07-25 13:45:03 -06:00
Travis Nielsen cf8047d69e Merge pull request #10632 from travisn/ceph-16.2.10
build: Update examples to ceph v16.2.10
2022-07-25 13:44:26 -06:00
chienfuchen32 b55e54af7b docs: update Example Configurations Docs
Some link fixing in Example Configurations
Ref: https://rook.io/docs/rook/v1.9/Storage-Configuration/Block-Storage-RBD/rbd-mirroring/
     https://rook.io/docs/rook/v1.9/Getting-Started/example-configurations/#block-devices

Signed-off-by: chienfuchen32 <chienfuchen32@gmail.com>
(cherry picked from commit 5ddca98460)
2022-07-25 19:12:34 +00:00
subhamkrai b60df9309b ci: use ceph v17.2.1 instead of latest v17
there could be something breaking with latest ceph.
So, let's stick to v17.2.1.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 4501cc25c6)
2022-07-25 12:41:12 -06:00
Travis Nielsen 4ca6a88c49 build: update examples to ceph v16.2.10
With the release of ceph v16.2.10 we update the operator base
image and the default example install to configure v16.2.10.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-07-25 12:28:00 -06:00
mergify[bot] 2c02965110 Merge pull request #10616 from rook/mergify/bp/release-1.9/pr-10610
docs: clarify PG count actions and update pgcalc URL (backport #10610)
2022-07-20 02:31:33 +00:00
Anthony D'Atri 3584e32d9f docs: clarify PG count actions and update pgcalc URL
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 6b2b0f468c)
2022-07-19 15:08:52 +00:00
shalev.p 33170ad239 pool: configureRBDStats remove postfix dot in mgr config path
The ceph rbd_stats does not take affect with dot postfix.

Closes: https://github.com/rook/rook/issues/10574
Signed-off-by: shalev.p <shalev.p@taboola.com>
(cherry picked from commit 49996522bf)
2022-07-18 18:58:16 +00:00