Commit Graph
8951 Commits
Author SHA1 Message Date
Madhu Rajanna 9c35bf17be csi: make cephcsi 3.6.0 as minimum supported version
Setting the min version to 3.7 will make upgrade
difficult. If someone is using any different/custom
version, this means they won't be able to upgrade to
rook v1.10 unless they also update their csi image
at the same time. If we set the min version to 3.6,
it will give some time buffer to allow them to
change the csi driver later.

ref: https://github.com/rook/rook/pull/10759#discussion_r953014295

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 6a650e1c9d)
2022-08-24 05:05:04 +00:00
mergify[bot] bcdc7eeb40 Merge pull request #10762 from rook/mergify/bp/release-1.10/pr-10759
csi: update cephcsi to v3.7.0 release (backport #10759)
2022-08-23 08:09:08 +00:00
Madhu Rajanna 02c4c5879c csi: update cephcsi to v3.7.0 release
As cephcsi v3.7.0 is released updating
CephCSI to v3.7.0 in Rook and defaulting
the minimum version to v3.7.0

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 52d410a99b)
2022-08-23 04:30:00 +00:00
Travis Nielsen 042377276a Merge pull request #10758 from rook/mergify/bp/release-1.10/pr-10725
docs: add examples for CephClient CRD use & libcephsqlite (backport #10725)
2022-08-22 22:22:25 -06:00
Travis Nielsen 8ef93ea379 Merge pull request #10761 from rook/mergify/bp/release-1.10/pr-10751
core: fix logrotate bash check and periodicity logic (backport #10751)
2022-08-22 22:22:06 -06:00
subhamkrai e5eb901b51 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:44 +00:00
vados 44a005e8db docs: add examples for CephClient CRD use & libcephsqlite
The documentation previously did not cover how to use the CephClient
CRD in a realistic use case. This commit improves the documentation
on the general usage and also specificallyw with libcephsqlite.

Closes: https://github.com/rook/rook/issues/10689
Signed-off-by: vados <vados@vadosware.io>
(cherry picked from commit 21566ab839)
2022-08-22 21:47:21 +00:00
Travis Nielsen 167f235d17 Merge pull request #10757 from rook/mergify/bp/release-1.10/pr-10750
object: hostNetwork setting should be under spec.gateway instead of spec in the ObjectStore CRD (backport #10750)
2022-08-22 13:32:29 -06:00
zhucan 57699ef95c 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 17:59:22 +00:00
zhucan 05fa7c815a object: generated code
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
(cherry picked from commit 1da927e40e)
2022-08-22 17:59:20 +00:00
mergify[bot] 80ce2a1006 Merge pull request #10755 from rook/mergify/bp/release-1.10/pr-10752
ci: fix multus depment cr link (backport #10752)
2022-08-22 17:59:00 +00:00
subhamkrai 60db69cfcf ci: fix multus depment cr link
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 4a05115aef)
2022-08-22 17:30:32 +00:00
Travis Nielsen 81eeffcce2 Merge pull request #10744 from travisn/release-1.10.0-beta.0
build: Update release version to v1.10.0-beta.0
v1.10.0-beta.0
2022-08-19 14:01:06 -06:00
Travis Nielsen bbbd709af9 build: update release version to v1.10.0-beta.0
With the beta release of v1.10 the release version in the examples
and docs is updated.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-19 12:43:57 -06:00
Blaine Gardner f2b3634f3b Merge pull request #10737 from BlaineEXE/update-codespell
ci: update codespell config
v1.10.0-alpha.0
2022-08-18 09:25:25 -06:00
Blaine Gardner 5b0a22ca46 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>
2022-08-18 09:07:52 -06:00
Travis Nielsen 1ff27e2fd6 Merge pull request #10716 from koor-tech/fix_tests_log_collection
test: fix test pod log collector
2022-08-17 12:26:35 -06:00
Travis Nielsen d7267ff9d2 Merge pull request #10726 from subhamkrai/handle-v1beta-cronjob
core: no need to delete v1beta cronJob during v1 deletion
2022-08-17 10:39:46 -06:00
Blaine Gardner 994a06c1dd Merge pull request #10629 from thotz/rgw-custom-zone-endpointlist
rgw: add custom endpoint list option for zone
2022-08-17 09:50:30 -06:00
subhamkrai e1a585e55f 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>
2022-08-17 19:53:59 +05:30
Jiffin Tony Thottan 8003e764f9 rgw: add custom endpoint list option for zone
User can define his desired endpoint list in Zone CR so that it will
overwrite the default service name for rgw.

Resolves #6432

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
2022-08-17 10:03:12 +05:30
Alexander Trost 154df5a21f Merge pull request #10722 from gauravsitlani/master 2022-08-16 16:02:04 +02:00
gauravsitlani b806f0f912 docs: fixed the developer guide link in README.md
Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
2022-08-16 14:30:00 +05:30
Alexander Trost 49440e8b20 test: fix test pod log collector
When a test has a slash in it's name the log collection can fail due to
the "directory" not existing, this makes sure the slashes are replaced
by underscores.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2022-08-12 23:44:13 +02:00
Travis Nielsen 768602bbe8 Merge pull request #10709 from travisn/ceph-17.2.3
manifest: Update default version of ceph to v17.2.3
2022-08-12 07:35:25 -06:00
Travis Nielsen f02fadc531 manifest: update default version of ceph to v17.2.3
For the Rook v1.10 release we want the latest version of Quincy to
be the default deployment. Updating to v17.2.3 with the latest
patch release.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 16:55:03 -06:00
Blaine Gardner 113970c416 Merge pull request #10676 from BlaineEXE/nfs-sssd
nfs: add support for running SSSD as a sidecar
2022-08-11 16:31:00 -06:00
Blaine Gardner 8c4548935c Merge pull request #10708 from degorenko/lbp-update
rgw: update lib-bucket-provisioner version
2022-08-11 15:42:48 -06:00
Blaine Gardner b98efbb320 nfs: add support for running SSSD as a sidecar
Implement the SSSD sidecar design for NFS.

Because NFS documents are getting long, create an NFS
`Storage-Configuration` section with separated topics to keep the `NFS
Overview` document sane.

Adjust the SSSD design to allow any VolumeSource, not just ConfigMaps.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-08-11 14:59:23 -06:00
Denis Egorenko a553d2f52d 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>
2022-08-11 23:53:02 +04:00
Blaine Gardner 1610a304a0 Merge pull request #10681 from travisn/go-mod-update
build: Update go modules to build with go 1.18 and support go 1.19
2022-08-11 13:27:48 -06:00
Travis Nielsen 24e416069a core: update controller runtime to v0.6.2
The dependencies in controller runtim v0.5 were getting old
and causing go module issues on macos. Now with the update to
v0.6.2 the module dependency issue is solved. For another
day we should update the controller runtime to even newer.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:41:11 -06:00
Travis Nielsen e3b4b18938 ci: update macos to v12
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:41:10 -06:00
Travis Nielsen 5ef8d15659 build: format comments for go 1.19
The tool gofmt in go 1.19 requires certain formatting
in the comments section for better rendering.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:41:10 -06:00
Travis Nielsen b726f81542 ci: add support for go 1.19
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:41:10 -06:00
Travis Nielsen 49ca309622 build: only support go 1.18 with the latest modules
The modules are only compatible with go 1.18.
Remove support for go 1.17.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:31:50 -06:00
Travis Nielsen 759b0d1c24 core: use the cluster name due to updated api reference
The cephcluster.ClusterName is no longer available in the k8s api
with the ObjectMeta type, so we use the cephcluster.Name

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:31:50 -06:00
Travis Nielsen a596471757 test: pass test suite by value
The latest go modules come with a sync mutex that requires
us to pass the test suite by reference for proper use
of the mutex.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:31:49 -06:00
Travis Nielsen 93013f7594 manifest: update manifests for latest references
The manifests are regenerated with the latest go references.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:31:49 -06:00
Travis Nielsen 90a0da1de0 build: update go modules
This is an update from make go.mod.update to ensure we
are consuming the latest stable packages available.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 12:31:46 -06:00
Travis Nielsen 51c6510a58 Merge pull request #10701 from jclab-joseph/fix/skip-upgrade-check-in-external-cluster
core: skip ceph upgrade check in external cluster
2022-08-11 11:35:58 -06:00
Alexander Trost 59bee3e841 Merge pull request #10456 from koor-tech/docs_tweaks 2022-08-11 18:52:54 +02:00
Alexander Trost 9872b3f7d6 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>
2022-08-11 18:50:06 +02:00
Alexander Trost fe2000e6d8 docs: rename Rook-Ceph to Rook Ceph
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2022-08-11 14:58:57 +02:00
parth-gr 62fec90c19 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>
2022-08-11 14:58:42 +02:00
Joseph Lee 9639b60fc4 core: skip ceph upgrade check in external cluster
Closes: rook#10688
Signed-off-by: Joseph Lee <joseph@jc-lab.net>
2022-08-11 19:09:40 +09:00
Travis Nielsen 44fb239334 Merge pull request #10695 from agarwal-mudit/attacher
Revert "csi: remove attacher sidecar from CephFS rook deployment"
2022-08-10 08:06:45 -06:00
Mudit Agarwal 40081cbcd2 Revert "csi: remove attacher sidecar from CephFS rook deployment"
This reverts commit 4bfd88dc4d.

Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
2022-08-10 13:04:14 +05:30
Travis Nielsen 270bc50e0f Merge pull request #10585 from travisn/skip-debug-daemon-reconcile
core: Operator to skip reconcile of mons and osds in debug mode
2022-08-09 16:23:29 -06:00
Travis Nielsen 7c56b9328a 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>
2022-08-09 15:26:04 -06:00