Commit Graph
9218 Commits
Author SHA1 Message Date
Blaine Gardner 93416fa447 Merge pull request #11183 from BlaineEXE/object-fix-rgw-period-commit-logic
object: fix logic for rgw period commit detection
2022-10-20 09:59:07 -06:00
Travis Nielsen b7cca9d104 Merge pull request #11184 from travisn/mon-restore-docs
docs: Use Krew restore-quorum command for mon quorum disaster scenario
2022-10-20 09:14:41 -06:00
Blaine Gardner c20a44a009 Merge pull request #11171 from YashasviChaurasia/Issue#10458
docs: updated syntax in markdown files
2022-10-20 09:03:01 -06:00
Travis Nielsen 3e60b95fd6 docs: use krew restore-quorum command for disaster scenario
The new krew plugin command restore-quorum will automate the process
to restore quorum from a single healthy mon. No longer do we need
the absolutely tedious, messy, manual steps from the rook docs.
The krew plugin will take care of all the complexity automatically
as of the v0.4.0 release

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-20 08:36:24 -06:00
Yashasvi Chaurasia 05e7ddc4cb docs: updated note syntax in markdown files
The Note label is updated in several places in the docs for improved rendering.
Multiple markdown files have been updated.

Closes: #10458

Signed-off-by: Yashasvi Chaurasia <yashasvi12977@gmail.com>
2022-10-20 20:04:01 +05:30
Travis Nielsen f73f2864f3 Merge pull request #11178 from Madhu-1/update-csi-372
csi: update csi to latest release
2022-10-20 08:05:07 -06:00
Madhu Rajanna 729f2a8b32 csi: update csi to latest release
This updates the cephcsi to latest 3.7.2
release and also updates sidecar to the latest
release in some missing files.

Note:- sidecar images are upto date in most of
the places, in some places it was missing, This
PR updates it in missing place.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-10-20 09:16:05 +02:00
Travis Nielsen c4b9bea20e Merge pull request #11182 from travisn/obsolete-operator-props
operator: Remove obsolete flex driver properties
2022-10-19 16:02:52 -06:00
Blaine Gardner 5320830781 object: fix logic for rgw period commit detection
The `periodWillChange()` implementation to detect map keys to ignore.
Previously, we relied on the `GoString()` method to output the same
format always to determine the current path to the
map[string]interface{} node, but that may change depending on the underlying
implementation of go-cmp.

Instead, parse the go-cmp `Path` step by step and construct a JSON path
to the node in a stable format.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-10-19 14:56:56 -06:00
Travis Nielsen 67582fe0da operator: remove obsolete flex driver properties
The flex driver was deprecated and fully purged long ago,
and now finally we are purging the related properties
from the operator deployment that are no longer applied
anywhere.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-19 13:51:39 -06:00
Travis Nielsen d695a0f930 Merge pull request #11163 from gauravsitlani/gdb-coredump-tests
core: enabling logCollector by default for coredump collection
2022-10-19 12:34:54 -06:00
gauravsitlani cc02399c4c core: enabling logCollector by default for coredump
enabling logCollector by default will enable the coredump
generation in case a process terminates with a segmentation fault.

Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
2022-10-19 23:04:22 +05:30
Satoru Takeuchi 5542d6bd85 Merge pull request #11172 from travisn/osd-purge-logging
osd: Improve logging during osd purge
2022-10-19 22:08:01 +09:00
Travis Nielsen e3cb30f026 osd: improve logging during osd purge
When the osd is purged, properly log the host name
that is being purged and whether the host was
removed from the crush map.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-18 16:01:23 -06:00
Travis Nielsen 57d6020c4e Merge pull request #11158 from Rakshith-R/add-nfs-snap-clone-e2e
csi: Add nfs snap & clone ci
2022-10-18 11:26:12 -06:00
Travis Nielsen 87afc09e05 Merge pull request #11090 from parth-gr/external-rgw
external: fix endpoint_dial check for rgw endpoint
2022-10-18 09:11:10 -06:00
Travis Nielsen a30ddf8a3a Merge pull request #11165 from Madhu-1/fix-metadata
csi: add setmetadata and clustername flag to omap
2022-10-18 08:58:08 -06:00
Madhu Rajanna ffdfeb5bec csi: add setmetadata and clustername flag to omap
The omap generator sidecar is the one who
sets the pvc name and clustername in the metadata
if the pv is re-attached to a new pvc or if the
clustername changes, for that reason we need to
set these flags on the omap generator sidecar
also.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-10-18 15:29:58 +02:00
Travis Nielsen 429d209a21 Merge pull request #11138 from subhamkrai/update-osd-removal-job
osd: osdSafeToDestroy check should be after osd out
2022-10-18 07:20:59 -06:00
Rakshith R 914e01e77d ci: add nfs clone e2e testcase
Signed-off-by: Rakshith R <rar@redhat.com>
2022-10-18 15:07:01 +05:30
Rakshith R db56ba22d2 ci: add nfs snap & restore e2e testcases
Signed-off-by: Rakshith R <rar@redhat.com>
2022-10-18 15:06:58 +05:30
Travis Nielsen 7f0c83ad18 Merge pull request #10986 from randymtz/increase-liveness-timeout
core: increase liveness probe timeout to 5s
2022-10-17 11:49:18 -06:00
Travis Nielsen e98e31a405 Merge pull request #11152 from subhamkrai/clean-arm64
ci: clean daily arm job yaml and install minikube and kubectl
2022-10-17 08:57:28 -06:00
subhamkrai ecdcc16104 ci: daily job is failing due to k8s communication
installing minikube and kubectl to see if that
works.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-10-17 19:59:31 +05:30
parth-gr fb7b67c3f4 external: fix endpoint_dial check for rgw endpoint
the validate rgw endpoint tls cert returns the certificate instead
of returning whether it exist or not,
So updatd the flow how to use it

Closes: https://github.com/rook/rook/issues/11060
Signed-off-by: parth-gr <paarora@redhat.com>
2022-10-14 19:16:30 +05:30
Travis Nielsen 1420234058 Merge pull request #11145 from subhamkrai/fix-daily-suite
ci: install yq in daily nightly job
2022-10-13 08:19:18 -06:00
subhamkrai ed42b7fa46 ci: install yq in daily nightly job
installing yq in daily nightly job and remove once job is done

Signed-off-by: subhamkrai <srai@redhat.com>
2022-10-13 18:53:32 +05:30
Travis Nielsen 95b84a6c12 Merge pull request #11099 from avanthakkar/fix-configure-rbd-stat-pools
operator: Don't remove existing pools for mgr/prometheus/rbd_stats_pools
2022-10-12 14:20:47 -06:00
Avan Thakkar e8b74207dd operator: don't remove existing pools for mgr/prometheus/rbd_stats_pools
Rook currently knows rbd pools only if they defined through CephBlockPool, so it overrides the config
mgr/prometheus/rbd_stats_pools which may have already been set for pools external to Rook. Check config
before running set command and if there some existing pools append them to enableStatsForCephBlockPools.

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
2022-10-12 20:59:44 +05:30
Travis Nielsen 4c11ba76d7 Merge pull request #10721 from zhucan/bugfix-10712
pool: add timeout to ceph cmd
2022-10-12 08:31:52 -06:00
Travis Nielsen 2a00a829c2 Merge pull request #11122 from jmolmo/pd_dashboard_note
docs: add point about physical disks visualization in dashboard
2022-10-11 11:22:15 -06:00
Juan Miguel Olmo Martínez 1ee481cf43 docs: add point about physical disks visualization in dashboard
New point to explain when is available this information in the Ceph dashboard

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2022-10-11 19:08:27 +02:00
Travis Nielsen 4990e3c730 Merge pull request #11123 from parth-gr/wildcard-update
core: remove wildcard permission in rbac
2022-10-11 10:52:10 -06:00
Travis Nielsen 1269300f25 Merge pull request #11136 from travisn/release-docs
docs: Document expectations for releases
2022-10-11 10:48:08 -06:00
Travis Nielsen f907852cac Merge pull request #10877 from gauravsitlani/fs-mirror-integration
tests: improved filesystem snapshot mirroring integration tests
2022-10-11 09:20:52 -06:00
subhamkrai 77f9e0d5b6 osd: osdSafeToDestroy check should be after osd out
currently, osdSafeToDestroy check is done before
marking osd out which prevents ceph from rebalancing.
With this changes, we are moving check for
osdSafeToDestroy after osd is marked out.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-10-11 16:22:21 +05:30
gauravsitlani 64161f1ceb test: correction in message for replicated mirrored pool task
Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
2022-10-11 02:08:07 +05:30
Travis Nielsen fc035c7a5b docs: document expectations for releases
The release schedule and maintenance approach has been
left as undefined until now to give flexibility to the
maintainers to release as needed. The community is
asking for clarity around the planned release schedule
so it is time to document the procedures.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-10 14:32:26 -06:00
gauravsitlani 67cd8f15f8 test: improved cephfs mirroring integration tests
Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
2022-10-11 01:11:41 +05:30
Travis Nielsen b32152455d Merge pull request #11131 from parth-gr/test-ci
ci: update mon_data_avail_warn percentage
2022-10-10 10:14:49 -06:00
parth-gr d392129cdd ci: update mon_data_avail_warn percentage
I see the mon_data_avail_warn is set to 500M
but acording to ceph doc this should be in percentage
And by default this percentage is 30%,
So re assigned to 10% for the CI

Closes: https://github.com/rook/rook/issues/11130
Signed-off-by: parth-gr <paarora@redhat.com>
2022-10-10 18:58:12 +05:30
parth-gr 703c850b86 core: remove wildcard permission in rbac
Reduce the RBAC scope to the minimum necessary
permissions for rook to operator

Signed-off-by: parth-gr <paarora@redhat.com>
2022-10-10 15:05:56 +05:30
Blaine Gardner a809de2574 Merge pull request #10510 from Rakshith-R/fix-nfs-ci
ci: enable and fixes for nfs ci
2022-10-06 12:03:24 -06:00
Blaine Gardner 9d649ca3b6 Merge pull request #11110 from BlaineEXE/fix-nfs-multus
nfs: fix nfs grace period when multus is enabled
2022-10-06 11:24:47 -06:00
Rakshith R be10dac98c ci: enable and fixes for nfs ci
This commit anabled nfs csi ci and
add fixes/improvements to it like the
following:
- verify deletion of cephnfs and .nfs pool before proceeding
- verify pv deletion
- do not enable rook module
- reduce activeCount to 1 to save resources
- run cephnfs ci before cephfs ci since it cephfs
  ci is more resource intensive.

Signed-off-by: Rakshith R <rar@redhat.com>
2022-10-06 11:53:46 +00:00
Travis Nielsen 1d93f14228 Merge pull request #11111 from travisn/ceph-test-main
ci: Ceph master images renamed to main
2022-10-05 17:14:41 -06:00
Travis Nielsen 25ee33f029 ci: ceph master images renamed to main
The ceph master images were recently renamed to main
so we need to pick up the new tag.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-05 16:46:04 -06:00
Travis Nielsen 10ba6ea167 Merge pull request #11109 from travisn/no-osdprepare-limit
osd: Recommend removing memory limits from osd prepare job
2022-10-05 16:43:35 -06:00
Blaine Gardner 51fac0a993 nfs: fix nfs grace period when multus is enabled
Run the ganesha-rados-grace command in a remote pod when multus
networking is enabled.

Signed-off-by: parth-gr <paarora@redhat.com>
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-10-05 16:28:36 -06:00
Travis Nielsen 4a86012ead osd: recommend removing memory limits from osd prepare job
The osd prepare job is not recommended to have memory limits since
it's a one-time operation depending on the size of the disk that must
be allowed to complete successfully.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-05 15:36:02 -06:00