Commit Graph
11553 Commits
Author SHA1 Message Date
Travis Nielsen f13aedaaee Merge pull request #15024 from rook/mergify/bp/release-1.15/pr-15016
rook: add warning when duplicate node topology values are detected (backport #15016)
2024-11-20 10:07:36 -07:00
Travis Nielsen a74c66508d Merge pull request #15029 from rook/mergify/bp/release-1.15/pr-14976
Complete the implementation of  ROOK_REVISION_HISTORY_LIMIT (backport #14976)
2024-11-20 10:07:17 -07:00
Michael Adam bd3bdb78d8 helm: make sure deployments get RevisionHistoryLimit
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 39c061fc49)
2024-11-19 13:55:23 -07:00
Michael Adam c7ea87ca92 core: apply RevisionHistoryLimit to csi
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a0fb9aa507)

# Conflicts:
#	pkg/operator/ceph/csi/spec.go
2024-11-19 13:55:23 -07:00
Michael Adam 687a7d9898 core: propagate RevisionHistoryLimit to crashcollector
still incomplete.

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a530101147)
2024-11-19 20:14:03 +00:00
Michael Adam a21f542fec core: fix the revisionHistoryLimit implementation and test
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 70d4f5d4b7)
2024-11-19 20:14:03 +00:00
Fred Heinecke a1ba4155f8 osd: add warning when duplicate node topology values are detected
When node topology labels with duplicate values are detected, rook silently discards all but one label.
This adds a warning informing administrators of this, allowing for easier identification of labeling issues.

Signed-off-by: Fred Heinecke <fred.heinecke@yahoo.com>
(cherry picked from commit f54ecaaff1)
2024-11-18 18:52:38 +00:00
Travis Nielsen 782e080ec6 Merge pull request #15023 from rook/mergify/bp/release-1.15/pr-15019
helm: set service account for toolbox pod (backport #15019)
2024-11-18 08:03:11 -07:00
amrut-asm a5c14926b3 helm: set service account for toolbox pod
run the tools pod with the rook-ceph-default service account

setting the service account for the pod prevents SCC violations on openshift

Signed-off-by: amrut-asm <amrutrn1@gmail.com>
(cherry picked from commit 8750b70771)
2024-11-18 14:16:53 +00:00
mergify[bot] f595e930ac Merge pull request #15018 from rook/mergify/bp/release-1.15/pr-14826
osd: import keyring file on activate to ceph auth if not imported yet (backport #14826)
2024-11-18 11:09:12 +00:00
Peter Razumovsky 7a29055e36 osd: add osd auth recovery from file canary job test
Add test to canary-integration-test scenarios which removes
osd auth and then recovers it on osd activation from keyring
file.

Resolves: #14825
Signed-off-by: Peter Razumovsky <prazumovsky@mirantis.com>
(cherry picked from commit 12613bc2fa)
2024-11-15 22:14:49 -07:00
Peter Razumovsky f3a714399c osd: remove excess if-else for keyring file import in activate script
Remove unnecessary if-else statement inside "if keyring file exists"
condition of osd activate script.

Resolves: #14825
Signed-off-by: Peter Razumovsky <prazumovsky@mirantis.com>
(cherry picked from commit 62ffcd4cbe)
2024-11-16 05:06:44 +00:00
Peter Razumovsky 5ec687cee1 osd: import keyring file on activate to ceph auth if not imported yet
If host path keyring file exists and created during osd-prepare but not
imported to ceph auth then rook-ceph-osd activate init container will
create new keyring in ceph auth by ceph auth get-or-create command. To
avoid keyrings difference in host path and in ceph auth, consider
importing key from host path keyring file if no keyring found in ceph
auth.

Resolves: #14825
Signed-off-by: Peter Razumovsky <prazumovsky@mirantis.com>
(cherry picked from commit 6eb2d1121a)

# Conflicts:
#	pkg/operator/ceph/cluster/osd/spec.go
2024-11-16 05:06:44 +00:00
Travis Nielsen e9e9e982b1 Merge pull request #15015 from rook/mergify/bp/release-1.15/pr-15004
external: fix external cluster docs (backport #15004)
2024-11-15 07:36:03 -07:00
parth-gr 7e7e3db3c9 external: fix external cluster docs
update the incstruction for where to run python script

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 59ed91cc7e)
2024-11-15 14:31:37 +00:00
Travis Nielsen ea5261e379 Merge pull request #15003 from sgielen/docs/1.15-upgrade
Amend k8s and Ceph minimum versions in the 1.15 upgrade guides. Fixes #14998.
2024-11-14 20:27:52 -07:00
Sjors Gielen 0f33fa5f11 docs: amend k8s and Ceph minimum versions in the 1.15 upgrade guides. Fixes #14998
Signed-off-by: Sjors Gielen <sjors@sjorsgielen.nl>
2024-11-14 12:08:00 +01:00
mergify[bot] 01d8e5ea32 Merge pull request #14983 from rook/mergify/bp/release-1.15/pr-14981
operator: monitors should always be allowed to failover (backport #14981)
2024-11-08 17:03:19 +00:00
Grant Fleming 171a45e006 operator: monitors should always be allowed to failover
Previously arbiter monitors were allowed to failover in supported versions
of Ceph. This behaviour regressed. Since all supported versions of Ceph now
support this, we no longer need to check this at all.

Signed-off-by: Grant Fleming <gfleming@evroc.com>
(cherry picked from commit cdf692d227)
2024-11-08 16:23:52 +00:00
Travis Nielsen e3038eb7fd Merge pull request #14974 from travisn/release-1.15.5
build: Update the release version to v1.15.5
v1.15.5
2024-11-06 13:23:17 -07:00
Travis Nielsen b9453178ba build: update the release version to v1.15.5
For the patch release update the docs and examples
to v1.15.5

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-11-06 10:43:54 -07:00
Travis Nielsen 2c09960c32 Merge pull request #14968 from rook/mergify/bp/release-1.15/pr-14951
rgw: keep default-placement in zone config (backport #14951)
2024-11-05 12:13:13 -07:00
Artem Torubarov f7613e2643 rgw: keep default-placement in zone config
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit 8ad2bf88bb)
2024-11-05 17:55:25 +00:00
Travis Nielsen 701e731653 Merge pull request #14967 from rook/mergify/bp/release-1.15/pr-14884
rgw: support custom name for default pool placement (backport #14884)
2024-11-05 10:44:51 -07:00
Artem Torubarov 6694d88e67 rgw: support custom name for default pool placement
introduce Default flag to CRD

Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit b47dff9770)
2024-11-05 16:23:06 +00:00
Travis Nielsen f33731d8b8 Merge pull request #14931 from rook/mergify/bp/release-1.15/pr-14715
rgw: support new zone pools (backport #14715)
2024-11-05 09:20:54 -07:00
Travis Nielsen 84e3e2f18f Merge pull request #14953 from rook/mergify/bp/release-1.15/pr-14949
osd: Allow scheduling on unschedulable nodes (backport #14949)
2024-11-04 17:51:05 -07:00
Travis Nielsen f8222a016a Merge pull request #14963 from rook/mergify/bp/release-1.15/pr-14962
ci: Default to the latest stable squid instead of devel (backport #14962)
2024-11-04 17:50:05 -07:00
Travis Nielsen 1e62036d84 ci: default to the latest stable squid instead of devel
The devel images have been fairly stable for Rook to test
against, but on occasion there are regressions from
Ceph development that affect the Rook CI. For stability during
Rook development, use the latest stable version of ceph for
PRs, master, and release tests. The daily CI will still use
the devel images from Ceph.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit b229240faa)
2024-11-04 22:37:44 +00:00
Travis Nielsen 5ecef3010f Merge pull request #14960 from rook/mergify/bp/release-1.15/pr-14941
core: Set resources on the detect version job (backport #14941)
2024-11-04 13:28:25 -07:00
Travis Nielsen 08cdbbd0f9 Merge pull request #14961 from rook/mergify/bp/release-1.15/pr-14952
mds: Wait for mds standby upgrade for same fs (backport #14952)
2024-11-04 13:28:11 -07:00
Travis Nielsen e51ac39b78 mds: wait for mds standby upgrade for same fs
The upgrade of the mds daemons pauses to wait for the
stopping of standby daemons before the filesystem upgrade
is completed. If there are multiple filesystems, there
could be standbys for other filesystems that will not be
stopped at the time of the upgrade of another filesystem.
Thus, the standbys may not upgrade and be stuck on the
previous version. Now, the standby upgrade will only wait
for standbys for the same filesystem.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 99d60c5bba)
2024-11-04 17:41:01 +00:00
Travis Nielsen 86af6cb0ba core: set resources on the cmd reporter jobs
If the cmd-reporter key is set under the resources
element in the CephCluster CR, the memory and cpu request
and limits will be set on the ceph detect version job
and network job accordingly.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit f489f99e13)
2024-11-04 17:15:32 +00:00
Travis Nielsen 52b4a61a72 osd: allow scheduling on unschedulable nodes
For nodes that are explicitly requested for deploying
OSDs, they will be skipped temporarily if not
schedulable or not ready. A future reconcile is
expected to schedule them. Allow the OSDs to be
scheduled even on these nodes that are temporarily
down, even if it blocks the reconcile from completing.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 7fbe4e7db5)
2024-11-01 20:19:18 +00:00
Travis Nielsen 4ef8738bc0 Merge pull request #14946 from rook/mergify/bp/release-1.15/pr-14942
csi: Remove version check for k8s and cephcsi (backport #14942)
2024-11-01 14:17:52 -06:00
Satoru Takeuchi 34d11c5592 Merge pull request #14950 from rook/mergify/bp/release-1.15/pr-14936
doc: clarify dataDirHostPath must be unique for each cluster (backport #14936)
2024-11-01 08:44:57 +09:00
Satoru Takeuchi 80111837fa doc: clarify dataDirHostPath must be unique for each cluster
If there are multiple clusters, `dataDirHostPath` must be unique
for each cluster. However, it's not documented yet.
In addition, `ceph-teardown.md` was also updated because
the original document assumes that `dataDirHostPath` is
`/var/lib/rook` and the files for a cluster `rook-ceph` is
under `/var/lib/rook/rook-ceph`.

related issue:
https://github.com/rook/rook/issues/14790

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 62d99330d6)
2024-10-31 23:17:06 +00:00
Travis Nielsen c3b220a5cc Merge pull request #14948 from rook/mergify/bp/release-1.15/pr-14944
doc: avoid always enabling tmate session (backport #14944)
2024-10-31 08:10:17 -06:00
Satoru Takeuchi 123f97e899 doc: avoid always enabling tmate session
tmate session is always enabled by mistake. This bug is
introduced in the following PR.

https://github.com/rook/rook/pull/14934

We should enable this if `inputs.debug-ci` is `true`.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 47ca3fd245)
2024-10-31 14:07:58 +00:00
Travis Nielsen 9fd6e308e7 csi: remove version check for k8s and cephcsi
The version checks for the csi driver are removed now
since they are all obsolete. The K8s version and cephcsi
versions are no longer checked. Anyway, the move to the
csi operator would take ownership of version checks
needed in the future, so for now we simplify rook
deployment of the csi driver.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 2ff429e479)
2024-10-31 07:47:27 -06:00
mergify[bot] c19cff34b6 Merge pull request #14940 from rook/mergify/bp/release-1.15/pr-14934
test: make debug-ci label work again (backport #14934)
2024-10-30 18:08:40 +00:00
Satoru Takeuchi 135a084f68 test: make debug-ci label work again
cmoposite workflow can't use `github` variable.

close: https://github.com/rook/rook/issues/14898

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 448f42ab12)
2024-10-30 17:26:29 +00:00
Artem Torubarov 0f0f03918a rgw: support v19 zone pools
add rgw shared pools rados ns to topics_pool, account_pool, and group_pool

Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit f6a25b0c4b)
2024-10-29 15:43:11 +00:00
mergify[bot] 470fb35253 Merge pull request #14927 from rook/mergify/bp/release-1.15/pr-14588
Rgw pool placement (backport #14588)
2024-10-29 15:26:22 +00:00
Artem Torubarov 3712566c9b rgw: pool placement
Signed-off-by: Artem Torubarov <torubarov.a.a@gmail.com>
(cherry picked from commit 59175f0b40)
2024-10-29 08:37:58 -06:00
Travis Nielsen 9810f9c3e3 Merge pull request #14929 from rook/mergify/bp/release-1.15/pr-14928
docs: fix external doc broken links (backport #14928)
2024-10-29 07:44:41 -06:00
parth-gr 695324fa7a docs: fix external doc broken links
some of the links have the full path
which is not working in the doc server,
but works locally

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit d061382661)
2024-10-29 13:42:01 +00:00
mergify[bot] 278c29340d Merge pull request #14924 from rook/mergify/bp/release-1.15/pr-14910
test: specify ceph image correctly (backport #14910)
2024-10-28 20:25:39 +00:00
Satoru Takeuchi 70f639c307 test: specify ceph image correctly
`encryption-pvc-kms-ibm-kp` workflow replaces the name of ceph-image.
Since the dest value is always empty by mistake, this workflow
always fails.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 36721edae8)
2024-10-28 19:01:14 +00:00
Travis Nielsen d117b52783 Merge pull request #14905 from rook/mergify/bp/release-1.15/pr-14818
kms: key rotation support for vault kms (backport #14818)
2024-10-25 14:45:50 -06:00