Commit Graph
10330 Commits
Author SHA1 Message Date
Blaine Gardner f64ea2cf79 security: update snyk ignores for MPL-2.0
Update the snyk ignores related to Vault MPL-2.0 licenses.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit bb492e1329)
2023-10-24 17:35:29 +00:00
Travis Nielsen f7e5cade0c Merge pull request #13093 from rook/mergify/bp/release-1.12/pr-13078
namespace: adding namespace to all rook-ceph namespaces references (backport #13078)
2023-10-24 11:35:04 -06:00
Redouane Kachach 4341aafe34 namespace: adding namespace to all rook-ceph namespaces references
To make it easier for the user to switch to a namespace other than the
default 'rook-ceph', the tag '# namespace:cluster' must be inserted in
all the places where this namespace is used. This way, a simple 'sed'
command can update all the Yaml files to the new namespace.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit ff081cc4ae)
2023-10-24 15:49:03 +00:00
Travis Nielsen d526a08ed5 Merge pull request #13090 from rook/mergify/bp/release-1.12/pr-13080
namespace: adding a dedicated entry for operator namespace in common (backport #13080)
2023-10-24 09:34:32 -06:00
Redouane Kachach be707e5f95 docs: adding specific instructions to create operator namespace
When a user attempts to adhere to the current documentation to use alternative
namespaces for both the operator and the cluster, they fail because
our common YAML file only has a single namespace for the cluster. This
change adds specific instructions to create operator namespace.

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

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 745d6dc86f)
2023-10-24 14:30:25 +00:00
Travis Nielsen 9e664c19e8 Merge pull request #13086 from rook/mergify/bp/release-1.12/pr-13072
core: Crash collector keyring requires rw access for the mgr profile (backport #13072)
2023-10-23 12:42:07 -06:00
Travis Nielsen 826eef3db4 Merge pull request #13081 from rook/mergify/bp/release-1.12/pr-13061
external: automatically init the rbd pool (backport #13061)
2023-10-23 12:26:10 -06:00
travisn 2a78a83d07 Revert "core: use crash profile in crash daemon keyring"
This reverts commit fab23d3407.
The mgr requires rw access for the cron job that collects
the crashes.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit a421143ddd)
2023-10-23 17:58:07 +00:00
parth-gr 0b20ef066e external: automatically init the rbd pool
Sometimes the pool is not enabled and the ceph cluster
shows health warning, so automatically initalize the pool
from the script

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 40008bf18d)
2023-10-23 16:38:36 +00:00
Travis Nielsen fbb1e04059 Merge pull request #13067 from travisn/release-1.12.6
build: update release version to v1.12.6
v1.12.6
2023-10-19 13:06:23 -06:00
travisn b75cc71a92 build: update release version to v1.12.6
For the patch release update the docs and examples to
v1.12.6

Signed-off-by: travisn <tnielsen@redhat.com>
2023-10-19 11:25:26 -06:00
Travis Nielsen 14736d93d6 Merge pull request #13054 from rook/mergify/bp/release-1.12/pr-13046
osd: print warning message if no matching node found for osd (backport #13046)
2023-10-18 10:54:01 -06:00
Travis Nielsen 58cf35a03b Merge pull request #13064 from rook/mergify/bp/release-1.12/pr-13057
ci: Fix docs-check ci with latest version of mkdocs (backport #13057)
2023-10-18 10:47:58 -06:00
subhamkrai 9955585d23 ci: fix mkdocs deprecated imports
migrate to using mkdocs-material's material.extensions.emoji.twemoji
and material.extensions.emoji.to_svg in place of the respective
materialx.emoji.twemoji and materialx.emoji.to_svg. Also, this requires
latest version of mkdocs-material.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit b186150e1c)
2023-10-18 16:25:18 +00:00
Travis Nielsen 96888bd689 Merge pull request #13062 from rook/mergify/bp/release-1.12/pr-13050
docs: adding specific instructions to upgrade Rook toolbox (backport #13050)
2023-10-18 10:24:56 -06:00
Redouane Kachach 734a7bcdbf docs: adding specific instructions to upgrade Rook toolbox
Closes: https://github.com/rook/rook/issues/13010

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit 0e132f45a6)
2023-10-18 15:07:55 +00:00
Travis Nielsen ea23fddd00 Merge pull request #13051 from rook/mergify/bp/release-1.12/pr-13045
doc: fix document about viewing dashboard outside of cluster (backport #13045)
2023-10-17 13:39:25 -06:00
Bin Wang 959d5de0bb osd: print warning message if no matching node found for osd
As seen in https://github.com/rook/rook/issues/1988, it's a common
mistake to configure rook nodes with names that don't match Kubernetes's
node label. This PR prints more detailed message to help debugging
problem.

Signed-off-by: Bin Wang <bin.wang@mail.binwang.me>

Add break according to review comment

Co-authored-by: Travis Nielsen <tnielsen@redhat.com>

Update log message according to review comment

Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 4a705b46b0)
2023-10-17 17:33:27 +00:00
Bin Wang 86a0e65352 doc: fix document about viewing dashboard outside of cluster
https://github.com/rook/rook/pull/11845 added dynamic label `mgr_role`.
The example yaml files are updated but this doc is missed.

I think it would be better to refer to `deploy/examples` but I find all
other places are not doing that. So keep it inlined to be consistent.

Signed-off-by: Bin Wang <bin.wang@mail.binwang.me>
(cherry picked from commit 25d89d2b68)
2023-10-16 17:11:50 +00:00
mergify[bot] e48f4f088f Merge pull request #13044 from rook/mergify/bp/release-1.12/pr-12165
osd: prevent to fallback to lvm mode in osd on lvm creation (backport #12165)
2023-10-12 20:12:11 +00:00
Satoru Takeuchi 343b25824e osd: prevent to fallback to lvm mode in osd on lvm creation
Rook creates raw mode OSD as possible and falls back to lvm mode if necessary.
This logic doesn't work if only supports raw mode.

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 6fee3c9ff4)
2023-10-12 17:09:51 +00:00
Travis Nielsen af4af13af4 Merge pull request #13035 from BlaineEXE/bp-13032-release-112
build: update go module deps
2023-10-12 09:35:05 -06:00
Travis Nielsen a4f5f96eb6 Merge pull request #13043 from rook/mergify/bp/release-1.12/pr-13039
csi: fix indentation for mountinfo (backport #13039)
2023-10-12 08:54:52 -06:00
Travis Nielsen 7016c6f17b Merge pull request #13042 from rook/mergify/bp/release-1.12/pr-13031
osd: use bash script if restart interval is > 0 (backport #13031)
2023-10-12 08:54:37 -06:00
Madhu Rajanna 4fde0ad9af csi: fix indentation for mountinfo
Fixed the indentation for the mountinfo
or else an emptyDir is getting created
for it.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 9f2b7d572d)
2023-10-12 13:20:06 +00:00
sp98 2a9f6bfcc6 osd: use bash script if restart interval is > 0
If `FlappingRestartIntervalHours` for OSD is > 0 in the cephCluster CR,
then start OSD inside a bash script.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit ffd69291f1)
2023-10-12 13:13:04 +00:00
Travis Nielsen bec049273d Merge pull request #13038 from sp98/revert-13005
osd: revert: make osd pod to sleep when osds are flapping"
2023-10-12 07:11:09 -06:00
sp98 e1811a89a7 osd: revert: make osd pod to sleep when osds are flapping"
This reverts commit 0e53c9ec61.

Signed-off-by: sp98 <sapillai@redhat.com>
2023-10-12 12:28:40 +05:30
Blaine Gardner 14bdd5a094 build: update go module deps
Update go module deps. The most interesting dep update is to
libopenstorage/secrets which no longer uses Vault code licensed under
BUSL-1.1.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2023-10-11 15:47:58 -06:00
Travis Nielsen b4cc3e26de Merge pull request #13034 from rook/mergify/bp/release-1.12/pr-13033
mon: Write the assimilate-conf config to a valid operator working directory (backport #13033)
2023-10-11 11:52:17 -06:00
travisn be34f6acff mon: write assimilate config to operator dir
The /tmp dir is not always available in some environments.
The only directories the operator should rely on
are the directories that are in its pod spec.
For assimilate-conf now we use the /var/lib/rook
directory to generate files since we know it is
a valid emptydir mounted into the operator pod.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 5359c4f4f5)
2023-10-11 16:10:28 +00:00
Travis Nielsen e6fbb1fed5 Merge pull request #13030 from rook/mergify/bp/release-1.12/pr-12860
mds: improve the mds liveness probe calls (backport #12860)
2023-10-10 11:00:35 -06:00
parth-gr c929eeda91 ci: check mds liveness probe unit test from the CI run
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 3d4036547c)
2023-10-10 14:22:22 +00:00
parth-gr fa51e4086d mds: improve the mds liveness probe calls
Instead of checking the socket files for mds daemon,
check the mds daemon in fs maps

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

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 2dd9b00ca3)
2023-10-10 14:22:22 +00:00
Travis Nielsen ccee172a88 Merge pull request #13023 from rook/mergify/bp/release-1.12/pr-13011
csi: add mountinfo path for cephfs daemonset (backport #13011)
2023-10-10 08:21:55 -06:00
Madhu Rajanna 2a12cc1b91 csi: add mountinfo path for cephfs daemonset
If mountinfo path is available cephcsi will
try to recover the fuse client. adding the
support for the same in Rook.

fixes: #13009

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 54ce2a96da)
2023-10-09 16:47:57 +00:00
Travis Nielsen c3699da55f Merge pull request #13014 from travisn/release-1.12.5
build: Update the release version to v1.12.5
v1.12.5
2023-10-06 14:58:27 -06:00
travisn 42f6984339 build: update the release version to v1.12.5
For the patch release update the examples and docs
to v1.12.5.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-10-06 12:37:15 -06:00
Travis Nielsen 559b1decab Merge pull request #13013 from rook/mergify/bp/release-1.12/pr-13008
docs: fixing typos (backport #13008)
2023-10-06 12:35:14 -06:00
Redouane Kachach 09f6d66b08 docs: fixing typos
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit e32ece275c)
2023-10-06 18:29:22 +00:00
Travis Nielsen eadef7291d Merge pull request #13006 from rook/mergify/bp/release-1.12/pr-12998
exporter: Change verbose info to debug logs (backport #12998)
2023-10-06 12:29:06 -06:00
travisn 46270d404d exporter: change verbose info to debug logs
Several messages were showing up in the operator log
more often than necessary, so let's change them to
debug level.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 29fb879675)
2023-10-05 17:29:41 +00:00
Travis Nielsen 67b512430c Merge pull request #13004 from rook/mergify/bp/release-1.12/pr-13001
external: fix client.healthchecker user keyring return (backport #13001)
2023-10-05 11:11:30 -06:00
Travis Nielsen e040b293c4 Merge pull request #13005 from sp98/revert-12715
osd: Revert: make osd pod to sleep when osds are flapping
2023-10-05 11:09:54 -06:00
Travis Nielsen 98a14164d7 Merge pull request #13003 from rook/mergify/bp/release-1.12/pr-12984
docs: improving minikube setup documentation (backport #12984)
2023-10-05 11:08:45 -06:00
sp98 0e53c9ec61 osd: revert: make osd pod to sleep when osds are flapping
This reverts commit 4eb9f62205.

Signed-off-by: sp98 <sapillai@redhat.com>
2023-10-05 21:26:35 +05:30
parth-gr f3e2548a0e ci: add a test to check the script result in idempotent output
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 98125c78b9)
2023-10-05 15:30:16 +00:00
parth-gr 4f4bcd327d external: fix client healhchecker user keyring return
if the client.health checker already exited it was
returning extra information, It was making the structure and
return JSON non idempotent output, So fixed
that problem by returning a single value

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit bf5252e139)
2023-10-05 15:30:15 +00:00
Blaine Gardner 1fee25c0f9 Merge pull request #13000 from rook/mergify/bp/release-1.12/pr-12968
multus: allow node profiles in validation test (backport #12968)
2023-10-05 09:15:42 -06:00
Blaine Gardner 66905e0d16 Merge pull request #12999 from rook/mergify/bp/release-1.12/pr-12997
ci: make use of caching in actions/setup-go (backport #12997)
2023-10-05 09:15:14 -06:00