Commit Graph
9701 Commits
Author SHA1 Message Date
Ben Gao 09dfecc7e1 docs: an update to disaster recovery with new scenario
add recovering steps when rook crs and ceph daemons are all deleted.

Signed-off-by: Ben Gao <bengao168@msn.com>
(cherry picked from commit 19cb58bf5e)
2023-04-07 14:12:25 +00:00
Travis Nielsen 2b8b2c019a Merge pull request #12041 from rook/mergify/bp/release-1.11/pr-11932
mgr: failed to update the port of dashboard (backport #11932)
2023-04-06 09:03:24 -06:00
zc 1c58c90177 mgr: failed to update the port of mgr's dashboard
if port was used by other daemon,the dashboard will start failed and the status of the ceph will be err,then we update the port to a unused port,the operator can not deal with it

Signed-off-by: zc <zc@zcdeMacBook-Pro.local>
(cherry picked from commit caf7b8c753)
2023-04-06 13:59:53 +00:00
Travis Nielsen 39c3affa05 Merge pull request #12040 from travisn/release-1.11.3
build: Update release version to v1.11.3
v1.11.3
2023-04-05 14:04:53 -06:00
travisn 82e9b43855 build: update release version to v1.11.3
For the patch release update the examples and docs to
v1.11.3.

Signed-off-by: travisn <tnielsen@redhat.com>
2023-04-05 13:25:35 -06:00
Travis Nielsen b4bfdf39e9 Merge pull request #12039 from rook/mergify/bp/release-1.11/pr-12036
external: name correction of validate_rgw_metadata_ec_pool_name function (backport #12036)
2023-04-05 13:23:36 -06:00
parth-gr 055a4ca711 external: name correction of validate_rgw_metadata_ec_pool_name function
The function is used for rbd so it should be name to validate_rbd_metadata_ec_pool_name

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 626d1c44ff)
2023-04-05 18:20:56 +00:00
Travis Nielsen 695f377ec5 Merge pull request #12031 from rook/mergify/bp/release-1.11/pr-11573
docs: debug and test ceph manager modules (backport #11573)
2023-04-04 14:49:38 -06:00
Juan Miguel Olmo Martínez 37d169f872 docs: debug and test ceph manager modules
testing changes and debugging issues in Ceph manager modules

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
(cherry picked from commit b21f71f177)
2023-04-04 20:35:53 +00:00
Travis Nielsen 519b02398e Merge pull request #11959 from rook/mergify/bp/release-1.11/pr-11899
csi: make AttachRequired as configurable (backport #11899)
2023-04-04 14:28:55 -06:00
Travis Nielsen 9c469570f8 Merge pull request #12029 from rook/mergify/bp/release-1.11/pr-12007
nfs: add support for nfs-ganesha metrics monitoring (backport #12007)
2023-04-04 10:29:06 -06:00
Shachar Sharon 55e36b66f8 nfs: add support for nfs-ganesha metrics monitoring
NFS-Ganesha (as of V5-dev.2 [1]) supports Prometheus monitoring from
within the NFS server itself. It provides metrics for both connected
clients and active exports, via TCP port 9587. Expose those metrics via
existing nfs k8s-service.

[1] https://github.com/nfs-ganesha/nfs-ganesha/commit/b6c59df5a0b8a3ae5b2a87446f8906cb321ee026

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
(cherry picked from commit 7b28f1de05)
2023-04-04 15:37:56 +00:00
Travis Nielsen 4f9b1e835e Merge pull request #12014 from rook/mergify/bp/release-1.11/pr-11980
mgr: disable the prometheus module by crds (backport #11980)
2023-04-03 16:49:53 -06:00
Travis Nielsen d0090171b3 Merge pull request #12026 from rook/mergify/bp/release-1.11/pr-12025
ci: Canary test should enable prometheus module for the external cluster test (backport #12025)
2023-04-03 16:29:39 -06:00
travisn 88e0bba18d ci: canary test should enable the prometheus module
The canary test is waiting for the prometheus module,
which is now disabled by default. For the canary test,
we need to enable the prometheus module for the external
cluster test.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 558732d0ae)
2023-04-03 21:58:30 +00:00
mergify[bot] 0d560598c8 Merge pull request #12016 from rook/mergify/bp/release-1.11/pr-11975
object: check obc provisioner for bucket notification (backport #11975)
2023-04-03 14:47:10 +00:00
Travis Nielsen 374ef5cbf3 Merge pull request #12015 from rook/mergify/bp/release-1.11/pr-11947
external: make rgw call separate from cephfs and rbd (backport #11947)
2023-04-03 08:26:45 -06:00
Jiffin Tony Thottan 5e1c733cac object: check obc provisioner for bucket notification
obc-label-controller needs to check only obc provisioned by Rook operator.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit 01a3dd0baf)
2023-03-31 21:14:46 +00:00
parth-gr f3edbae3bb external: make rgw call separate from cephfs and rbd
if the rge endint is not reachable don't block the creation
of rbd and cephfs sc, just print the error instead of raising exception

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit e44df84687)
2023-03-31 15:36:00 +00:00
xiaobaowen 6e171c3218 mgr: disable the prometheus module by crds
Signed-off-by: xiaobaowen <xiaobaowen@deeproute.ai>
(cherry picked from commit e7254c2a1b)
2023-03-31 14:17:33 +00:00
xiaobaowen fbd875dc75 docs: design doc for ceph cluster crds with monitoring
Signed-off-by: xiaobaowen <xiaobaowen@deeproute.ai>
(cherry picked from commit 963f6d3303)
2023-03-31 14:17:32 +00:00
Travis Nielsen dc8dcdd036 Merge pull request #12013 from subhamkrai/update-vault-1.11
build: update vault pkg to 1.13.1
2023-03-31 08:08:41 -06:00
subhamkrai 324a22135a build: update vault pkg to 1.13.1
Signed-off-by: subhamkrai <srai@redhat.com>
2023-03-31 18:30:23 +05:30
Travis Nielsen a2551490a6 Merge pull request #12009 from rook/mergify/bp/release-1.11/pr-11993
core: fix config format for msgr2 ipv6 monitors (backport #11993)
2023-03-30 10:51:08 -06:00
Miles Simpson 5d873ff881 core: fix config format for msgr2 ipv6 monitors
Signed-off-by: Miles Simpson <miles@milessimpson.com>
(cherry picked from commit f99a8dea3f)
2023-03-30 14:05:26 +00:00
Travis Nielsen 036f70bf75 Merge pull request #12000 from rook/mergify/bp/release-1.11/pr-11966
osd: handle global or node-local device class configuration correctly (backport #11966)
2023-03-29 11:17:16 -06:00
Travis Nielsen c8b2b9683c Merge pull request #12001 from rook/mergify/bp/release-1.11/pr-11992
csi: IPv6 compatibility for requiring msgr2 (backport #11992)
2023-03-29 11:14:41 -06:00
travisn e13bdd0f8f csi: ipv6 compatibility for requiring msgr2
The msgr2 conversion assumed the endpoints were formatted
with a single :, which is not compatible with ipv6.
Now if the endpoint ends with the v1 port, it will
simply update the prefix to v2.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit bbfba5425f)
2023-03-29 15:16:09 +00:00
Satoru Takeuchi 51014dd306 osd: handle global or node-local device class configuration correctly
Rook uses global or node-local device class configuration if device-level
configurations doesn't exist. However, after introducing device-class
level resource configuration, rook set the default value of device class.
So global or node-level device class configuration has never been used
after that.

Closes: https://github.com/rook/rook/issues/11871
Closes: https://github.com/rook/rook/issues/11826

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 3e34ebeff8)
2023-03-29 14:04:18 +00:00
mergify[bot] 9928f26cc2 Merge pull request #11971 from rook/mergify/bp/release-1.11/pr-11961
ci: Improved reliability for mirroring snapshots (backport #11961)
2023-03-23 17:08:15 +00:00
Travis Nielsen c6b6beeae8 Merge pull request #11969 from rook/mergify/bp/release-1.11/pr-11963
mon: remove condition to use 6790 mon port (backport #11963)
2023-03-23 10:59:17 -06:00
travisn 78dd16631c ci: improved reliability for mirroring snapshots
The snapshots were not being given enough time to complete
before the test was checking whether they had been completed.
Now we check the snapshot mirror count after everything
else is confirmed to be running. Also increase several
timeouts in the tests.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit dca6810fac)
2023-03-23 16:25:39 +00:00
sp98 8dccb4fcc8 mon: remove condition to use 6790 mon port
PR #3143 added check to retain 6790 port for mons. Now
we can remove this check in Rook 1.11.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 755135582f)
2023-03-23 16:20:09 +00:00
Madhu Rajanna 3abc7f9705 csi: make AttachRequired as configurable
adding a option to make AttachRequired field
as configurable and added a comment to explain
the consequences of changing the default value

resolves: #11805

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 4c710de791)
2023-03-22 13:59:50 +00:00
Madhu Rajanna f3afcdf697 csi: remove default-fstype for cephfs
we dont need to have fstype for cephfs
pvc, removing the unwanted argument
for cephfs.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 3017d563f2)
2023-03-22 13:59:49 +00:00
Madhu Rajanna c6e48823af nfs: add csi-attacher to NFS provisioner
Add attacher sidecar to NFS provisioner pod
to avoid mounting RWO volumes on two nodes

details: https://github.com/rook/rook/issues/10692

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 4bdab21db0)
2023-03-22 13:59:49 +00:00
Travis Nielsen 5bb14edc73 Merge pull request #11955 from travisn/release-1.11.2
build: Update release version to v1.11.2
v1.11.2
2023-03-21 14:02:48 -06:00
travisn 9e5706fd87 build: update release version to v1.11.2
For the patch release update the docs and examples
to v1.11.2

Signed-off-by: travisn <tnielsen@redhat.com>
2023-03-21 13:18:52 -06:00
Travis Nielsen e311df61c7 Merge pull request #11953 from rook/mergify/bp/release-1.11/pr-11950
core: remove ceph-conf-dir volume mount from exporter (backport #11950)
2023-03-21 13:10:16 -06:00
Travis Nielsen c99e52cf68 Merge pull request #11952 from rook/mergify/bp/release-1.11/pr-11951
core: Set key rotation default in code instead of crds (backport #11951)
2023-03-21 13:08:48 -06:00
avanthakkar 14bf3fd4e1 core: remove ceph-conf-dir volume mount from exporter
Remove the `ceph-conf-dir` volume and volume mount from exporter
as it's no more required to spin up exporter daemon

Signed-off-by: avanthakkar <avanjohn@gmail.com>
(cherry picked from commit 1a000673a4)
2023-03-21 18:25:19 +00:00
travisn 44f6455247 core: set key rotation default in code instead of crds
The defaults in CRDs cause an update and trigger a new
reconcile if the value is not set. For the key rotation
setting, the default was only being updated when the kms
feature was enabled. This update was causing the reconcile
to fail in the kms tests. With the default now in code,
the default can remain empty and no cr update will trigger
a new reconcile unexpectedly.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit cd94ed7ddc)
2023-03-21 18:16:43 +00:00
Travis Nielsen eb61dc5083 Merge pull request #11944 from Sheetalpamecha/fstring-formatting
external: use f-strings for formatting
2023-03-21 07:48:06 -06:00
Sheetal Pamecha 6825beb1b6 external: use f-strings for formatting
Replace the old formatting method with the f-string
and fix few pylint errors

Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
(cherry picked from commit (6dbbc9d)
Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
2023-03-21 10:25:18 +05:30
Travis Nielsen 77b98c496b Merge pull request #11939 from rook/mergify/bp/release-1.11/pr-11928
operator: use msgr2 if compression is enabled (backport #11928)
2023-03-20 13:28:19 -06:00
Travis Nielsen 0822f67b5b Merge pull request #11909 from rook/mergify/bp/release-1.11/pr-11906
ci: temporarily skipping other platform to fix build (backport #11906)
2023-03-20 12:42:52 -06:00
Travis Nielsen 367c39676e Merge pull request #11912 from rook/mergify/bp/release-1.11/pr-11823
osd: validate and remove duplicate topology (backport #11823)
2023-03-20 12:42:30 -06:00
Travis Nielsen 257f09dfce Merge pull request #11923 from rook/mergify/bp/release-1.11/pr-11908
rgw: enableRGWDashboard can be configured by custom (backport #11908)
2023-03-20 12:41:55 -06:00
Travis Nielsen 445b882f64 Merge pull request #11922 from rook/mergify/bp/release-1.11/pr-11919
external: pool and metadata ec pools were reversed in scripts (backport #11919)
2023-03-20 12:41:33 -06:00
Thomas Way 229bd17f79 operator: log ceph error in monstore
Closes: #11795
Signed-off-by: Thomas Way <thomas@6f.io>
(cherry picked from commit ef60650f09)
2023-03-20 18:25:24 +00:00