Commit Graph
8829 Commits
Author SHA1 Message Date
mergify[bot] c8409edf47 Merge pull request #10785 from rook/mergify/bp/release-1.9/pr-10717
mon: Improve mon failover reliability to better handle failure and topology (backport #10717)
2022-08-24 15:23:21 +00:00
Travis Nielsen 3212876f2c mon: improve mon failover reliability
Mon failover reliability is improved in two scenarios with these changes.
First, if the failover is aborted because of failing to start the new mon
and wait for it to join quorum, the new mon will be fully removed and
the failover rolled back. Previously, the operator would leave the new
mon pod running even if it never joined quorum. Now the timeout for the failover
is increased to wait longer for the new mon, but if it times out, there
are no leftovers from the cancelled failover.

Second, if the operator is failed in the middle of a failover
before the old mon is removed, the operator needs to remove an extra
mon. The operator was only selecting a random mon for removal instead
of honoring the stretch cluster topology or looking for mons
on the same node that could be removed to restore the correct
desired number of mons.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 72a4245fbf)
2022-08-24 14:54:59 +00:00
Travis Nielsen fad2dda15b Merge pull request #10760 from rook/mergify/bp/release-1.9/pr-10751
core: fix logrotate bash check and periodicity logic (backport #10751)
2022-08-22 22:22:02 -06:00
subhamkrai f2d15c1f62 core: fix logrotate bash check and periodicity logic
we need use `!=` for string comparision in bash instead of
`-ne`. Also, need to correct periodicity if condition to
make it work as expected.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 9d4d5bc702)
2022-08-23 03:24:37 +00:00
mergify[bot] b468db897c Merge pull request #10756 from rook/mergify/bp/release-1.9/pr-10750
object: hostNetwork setting should be under spec.gateway instead of spec in the ObjectStore CRD (backport #10750)
2022-08-22 20:06:59 +00:00
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
Travis Nielsen 7fbfcc6ed1 Merge pull request #10680 from rook/mergify/bp/release-1.9/pr-10677
external: fix cluster id naming in import-external-cluster script (backport #10677)
2022-08-22 13:40:31 -06:00
Travis Nielsen 5298bb0f51 Merge pull request #10754 from rook/mergify/bp/release-1.9/pr-10752
ci: fix multus depment cr link (backport #10752)
2022-08-22 13:32:51 -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
subhamkrai 9b3fee5ed6 ci: fix multus depment cr link
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 4a05115aef)
2022-08-22 17:30:25 +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
parth-gr a21b2f9deb 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 c1a16d300e)
2022-08-05 17:33:38 +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