Commit Graph
10841 Commits
Author SHA1 Message Date
Blaine Gardner e33e53dc82 Merge pull request #14390 from rook/mergify/bp/release-1.13/pr-14299
build: remove iproute build dependency on centos repo (backport #14299)
2024-06-26 14:15:45 -06:00
Blaine Gardner f31a162f1f build: remove iproute build dependency on centos repo
Multus requires that the 'ip' tool be installed in the Rook image.
Today, it is present in the upstream Ceph base image that is used, but
that is expected to change in the future. The Ceph project intends to
switch to CentOS 9 minimal images, and the 'ip' tool will likely be
removed from the base image at that point.

However, Rook CI has occasionally had issues with the current 'dnf
install' command when CentOS repos go down, or when there is otherwise
some problem. Because the package is already installed today, there is
no need to hamstring Rook builds when CentOS is having problems. But we
do want to make sure that Rook builds don't silently succeed in the
eventual future when 'ip' tool is removed from the Ceph image.

For now, replace the 'dnf install' with a check to verify that 'ip' tool
is installed, and add a shorter form of this note as a comment above it
to help Rook maintainers know how to resolve future 'ip' tool removal.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit c4e99c1462)
2024-06-26 20:07:29 +00:00
Travis Nielsen f92f55ef86 Merge pull request #14267 from rook/mergify/bp/release-1.13/pr-14266
ci: fix codespell ci by skipping some words (backport #14266)
2024-05-30 12:28:33 -06:00
subhamkrai c44cef69c4 ci: fix codespell ci by skipping some words
fixing 'secert' to `secret` and adding workds like
`NotIn, addin` to skip work list.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 85c25bbc6e)
Signed-off-by: subhamkrai <srai@redhat.com>
2024-05-28 06:17:23 +05:30
Travis Nielsen a4325f9a09 Merge pull request #14227 from travisn/release-1.13.9
build: Update the release version to v1.13.9
v1.13.9
2024-05-16 14:56:59 -06:00
Travis Nielsen 0ef5e6d671 build: update the release version to v1.13.9
For the patch release update the docs and examples
to v1.13.9

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-05-16 13:40:04 -06:00
mergify[bot] b72fca4263 Merge pull request #14217 from rook/mergify/bp/release-1.13/pr-14210
core: remove pacific specific code (backport #14210)
2024-05-16 00:46:42 +00:00
Satoru Takeuchi a5d232b15c core: remove pacific specific code
Since pacific is no longer supported, we can remove pacific specific
code.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit f776c0b35e)
2024-05-15 23:44:46 +00:00
mergify[bot] 8b1ad00598 Merge pull request #14206 from rook/mergify/bp/release-1.13/pr-14204
ci: fix pylint errors (backport #14204)
2024-05-14 20:54:25 +00:00
NymanRobin da139ca973 ci: fix pylint errors
Afte pylint was updated to version 3.2.0
a set of new errors appeared. This makes
ci passing by either fixing the problem
or ignoring it in the check

Signed-off-by: NymanRobin <robin.nyman@est.tech>
(cherry picked from commit dcec080468)
2024-05-14 20:24:10 +00:00
mergify[bot] 8562018e01 Merge pull request #14194 from rook/mergify/bp/release-1.13/pr-14187
osd: Add cephcluster status for deprecated osds to replace (backport #14187)
2024-05-13 14:59:04 +00:00
Travis Nielsen a9bd366157 osd: add cephcluster status for legacy osds to replace
LVM-based OSDs on PVCs are legacy and are not well tested.
Therefore, we add status to the cephcluster CR that at least
gives a clue that the OSDs should be replaced.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 3628e83892)
2024-05-13 14:30:47 +00:00
Blaine Gardner b610064392 Merge pull request #14177 from rook/mergify/bp/release-1.13/pr-14175
ci: update go version for govulncheck (backport #14175)
2024-05-08 10:52:39 -06:00
Blaine Gardner b8815b82dc ci: update go version for govulncheck
Update the version of Go used for govulncheck to get the latest CVE fix
present in Go v1.22.3.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit f21f3f549c)
2024-05-08 16:27:29 +00:00
Travis Nielsen 96217c8b1f Merge pull request #14163 from rook/mergify/bp/release-1.13/pr-14160
mgr: fix UpdateActiveMgrLabel to retry label update on failure (backport #14160)
2024-05-06 13:44:53 -06:00
Redouane Kachach 0dbf2fec31 mgr: fix UpdateActiveMgrLabel to retry label update on failure
fix UpdateActiveMgrLabel to retry label update on failure. Previously,
the function always returned the current manager, even if update
failed, leading to inconsistent labels. This fix ensures retries on
failures.

Fixes: https://github.com/rook/rook/issues/13601

Signed-off-by: Redouane Kachach <rkachach@ibm.com>
(cherry picked from commit ee7c71c89e)
2024-05-06 19:00:31 +00:00
Satoru Takeuchi fe845c03de Merge pull request #14104 from rook/mergify/bp/release-1.13/pr-14100
osd: Legacy LVM-based OSDs on PVCs crash on resize init container (backport #14100)
2024-04-22 15:57:32 +09:00
Travis Nielsen d478902643 osd: legacy osds on lvm pvcs crash on resize init container
OSDs on LVM-mode PVCs are failing to come up and crashing
in the expand-bluefs init container. To avoid the crash
and allow the OSDs to start, a workaround was found to
simply remove that init container. Now we disable the
OSD resize for this case to avoid others hitting this
during upgrade as well.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit acd7b4faa0)
2024-04-22 03:35:08 +00:00
mergify[bot] bbbea59453 Merge pull request #14065 from rook/mergify/bp/release-1.13/pr-14002
osd: Prevent osd reconcile when device set names duplicated (backport #14002)
2024-04-12 13:57:37 +00:00
Travis Nielsen 4418c7c142 osd: prevent osd reconcile when device set names duplicated
If device set names are duplicated, the OSDs will be very confused
when multiple OSDs attempt to be configured with the same
device set names. Updating the device set names does not help
get out of the error situation since the OSDs will also be
confused about which device set they belong to. The reconcile
must fail completely if the device set names are duplicated
to avoid this error scenario.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 7f68d8be38)
2024-04-12 13:27:30 +00:00
subham rai 58b2e33dc2 Merge pull request #14028 from rook/mergify/bp/release-1.13/pr-14027
ci: update go version in govulncheck (backport #14027)
2024-04-08 12:41:53 +05:30
subhamkrai dab921c82a ci: update go mod and go version in govulncheck
this commits updates the go version to 1.22.2 in govulncheck ci and
also updates golang.org/x/net to v0.23.0 to fix the ci

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit f063e8fe39)
Signed-off-by: subhamkrai <srai@redhat.com>
2024-04-08 12:09:17 +05:30
Travis Nielsen 460fcda544 Merge pull request #14025 from travisn/release-1.13.8
build: Update release version to v1.13.8
v1.13.8
2024-04-03 14:09:22 -06:00
Travis Nielsen f4baa8f8fc build: update release version to v1.13.8
For the patch release update the examples and docs to
v1.13.8

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-04-03 13:44:30 -06:00
Travis Nielsen a3069938dc Merge pull request #13984 from rook/mergify/bp/release-1.13/pr-13982
external: fix v2 port check in external script (backport #13982)
2024-03-27 14:58:08 -06:00
parth-gr 94d410cd8a external: fix v2 port check in external script
v2 port can be avalaible without v1,
so fixing the current check

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 800d2f11f5)
2024-03-27 17:20:18 +00:00
Travis Nielsen 03030a2ab1 Merge pull request #13960 from subhamkrai/fix-scan-update-go-dep
build: update go dep go-jose
2024-03-26 16:04:30 -06:00
mergify[bot] d3850b633b Merge pull request #13980 from rook/mergify/bp/release-1.13/pr-13830
osd: fix removing key file timing (backport #13830)
2024-03-26 21:25:27 +00:00
Yuma Ogami 192bf512a1 osd: delete the key file deletion in encryption open init containers
The key file deletion process is in the shell script commonly used by
all of encryption-open, encryption-open-metadata, and
encryption-open-wal init containers. The key file is deleted at the
encryption-open init container and encryption-open-metadata and
encryption-open-wal init containers are failed to open the key file.

The key file is in the /etc/ceph folder. Unless that folder is shared,
the key file anyway won't be available in the other init containers
even if it is not deleted by these init containers. And it will
naturally anyway be deleted after the init containers are
completed. So The key file deletion process in shell scripts is
unnecessary.

Fixes: #13737

Signed-off-by: Yuma Ogami <yuma-ogami@cybozu.co.jp>
(cherry picked from commit cdd655ed3f)
2024-03-26 17:22:02 +00:00
subhamkrai c74bd4a6af build: update go dep go-jose
synk security check is failing and it requires
go-jose v3.0.3 or later version.

Signed-off-by: subhamkrai <srai@redhat.com>

Signed-off-by: subhamkrai <srai@redhat.com>
2024-03-20 20:24:20 +05:30
mergify[bot] f17cc6bdee Merge pull request #13940 from rook/mergify/bp/release-1.13/pr-13931
helm: use toYaml for discovery nodeAffinity (backport #13931)
2024-03-15 05:58:53 +00:00
Hyeonki Hong 09ddb88951 helm: use toYaml for discovery nodeAffinity
this commit allow user to use requiredDuringSchedulingIgnoredDuringExecution map

Signed-off-by: Hyeonki Hong <hhk7734@gmail.com>
(cherry picked from commit 2e0c015d42)
2024-03-15 05:30:20 +00:00
Travis Nielsen b8ea11b6cd Merge pull request #13937 from travisn/release-1.13.7
build: Update release version to v1.13.7
v1.13.7
2024-03-14 13:43:46 -06:00
Travis Nielsen a9fa6205d9 build: update release version to v1.13.7
For the patch release update the example manifests and docs
to v1.13.7

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-03-14 12:36:29 -06:00
mergify[bot] c69ed8bb61 Merge pull request #13935 from rook/mergify/bp/release-1.13/pr-13923
monitoring: increasing default metrics scraping interval from 5s to 10s (backport #13923)
2024-03-14 17:09:21 +00:00
Redouane Kachach e2cc6f044a monitoring: set metrics scraping interval to 10s in examples files
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 4b9e77af1e)
2024-03-14 16:04:33 +00:00
Redouane Kachach f90a13f135 monitoring: increasing metrics scraping interval from 5s to 10s
let's increase the monitoring interval to match the default interval
used by Prometheus when deployed by Ceph: 10s

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

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit daec93eaaa)
2024-03-14 16:04:31 +00:00
Travis Nielsen b79cc91040 Merge pull request #13924 from rook/mergify/bp/release-1.13/pr-13902
exporter: applying labels from monitoring section to ceph-exporter (backport #13902)
2024-03-13 15:17:34 -06:00
Travis Nielsen 1c8abbe288 Merge pull request #13920 from rook/mergify/bp/release-1.13/pr-13913
core: Set default ceph version to v18.2.2 (backport #13913)
2024-03-13 15:17:06 -06:00
Redouane Kachach 6cc8ef770d doc: adding a doc example for ceph-exporter labels
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit ab5b269bc4)
2024-03-13 14:11:02 +00:00
Redouane Kachach bbc482d82f exporter: applying labels from monitoring section to ceph-exporter
the labels listed under the 'monitoring' section are currently only
being applied to the rook-ceph-mgr ServiceMonitor. This change extends
those labels to also include the rook-ceph-exporter ServiceMonitor.

Fixes: https://github.com/rook/rook/issues/13774

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 10e26709c4)
2024-03-13 14:11:01 +00:00
Travis Nielsen 8fae43f143 core: set default ceph version to v18.2.2
With the release of Reef v18.2.2 we update the default
recommended version of Ceph to fix the prometheus issues
seen with v18.2.1

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 026d745f8a)
2024-03-12 16:08:54 +00:00
Travis Nielsen b9284ac6ba Merge pull request #13897 from travisn/release-1.13.6
build: Update the release version to v1.13.6
v1.13.6
2024-03-07 14:08:14 -07:00
Travis Nielsen 37162fd7c0 build: update the release version to v1.13.6
For the patch release update the docs and example manifests
to v1.13.6.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-03-07 13:27:50 -07:00
mergify[bot] a7fc1f3005 Merge pull request #13797 from rook/mergify/bp/release-1.13/pr-13793
manifest: reduce CRD size by removing some descriptions (backport #13793)
2024-03-07 20:03:52 +00:00
Redouane Kachach 52eea1a966 manifest: adding a null check to PersistentVolumeClaim conversion
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 7a7b983628)
2024-03-07 12:34:51 -07:00
Travis Nielsen b3c888699d Merge pull request #13841 from rook/mergify/bp/release-1.13/pr-13840
Revert "doc: fix broken links" (backport #13840)
2024-03-07 11:43:09 -07:00
Travis Nielsen 3d4ecec373 Merge pull request #13862 from rook/mergify/bp/release-1.13/pr-13836
csi: update CSIDriverOption params during saving cluster config (backport #13836)
2024-03-07 11:22:49 -07:00
Travis Nielsen 458c1026bb Merge pull request #13895 from rook/mergify/bp/release-1.13/pr-13824
docs: note that changing encryption option settings for existing clusters is not dangerous (backport #13824)
2024-03-07 08:00:17 -07:00
ESASHIKA Kaoru 3004ca4a4f docs: note that changing encryption option settings for existing clusters is not dangerous
We have prohibited changing all network-related configurations after cluster creation.
However, as a result of https://github.com/rook/rook/discussions/13584, we found that
the connections.encryption flag can be regarded as an exception.

Signed-off-by: ESASHIKA Kaoru <kaoru-esashika@cybozu.co.jp>
(cherry picked from commit 9ceb8aa7e0)
2024-03-07 14:57:23 +00:00