Commit Graph
9379 Commits
Author SHA1 Message Date
mergify[bot] f752bec64e Merge pull request #11684 from rook/mergify/bp/release-1.10/pr-11674
osd: Ensure rook version label is not set on pod (backport #11674)
2023-02-15 19:55:29 +00:00
Travis Nielsen 2d73ca4ff2 osd: ensure rook version label is not set on pod
The rook-version tag must not be set on the pod spec labels
since it will result in the ceph daemons being restarted every
time there is a rook version update, even if the ceph version
or pod spec was not otherwise updated.

The rook-version tag was being added to the OSD pod spec
due to a shared pointer to the labels. The code intended
to only add the version label to the deployment labels,
but since the pod labels shared the map variable, the
pod unintentionally also had the version label added.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 1ba93b4047)
2023-02-15 19:21:53 +00:00
Travis Nielsen f3b00dce6f core: remove dead code for rook version labels
The RookVersionLabelMatchesCurrent() method is no longer
used, so remove it.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 47d7c06bdc)
2023-02-15 19:21:53 +00:00
Travis Nielsen f29c235acf Merge pull request #11664 from rook/mergify/bp/release-1.10/pr-11662
Add comment regarding placement restrictions. (backport #11662)
2023-02-14 16:05:50 -07:00
Travis Nielsen 4ba784ae91 Merge pull request #11669 from rook/mergify/bp/release-1.10/pr-11594
rbdmirror: set log rotation from 7 to 4x i.e 28 (backport #11594)
2023-02-14 16:05:04 -07:00
subhamkrai fd2568f826 rbdmirror: set log rotation from 7 to 4x i.e 28
increasing the rotation from default 7 to 28 as
in case of rbdmirror logs seems not enough in some cases
with maxLogSize 500 so it's better to increase the rotation
for rbdmirror specific.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 036715c3b2)
2023-02-14 14:51:48 +00:00
Michael N. Lipp 7b6f4e082f docs: add comment regarding placement restrictions
The sample files placement rules are too restrictive for small clusters.
The comment provides a hint how to fix this.

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

Signed-off-by: Michael Lipp <mnl@mnl.de>
(cherry picked from commit f466789ad5)
2023-02-13 21:57:22 +00:00
Travis Nielsen d575ad5379 Merge pull request #11655 from travisn/release-1.10.11
build: Update the release version to v1.10.11
v1.10.11
2023-02-10 13:24:53 -07:00
Travis Nielsen 0f8a911009 build: update the release version to v1.10.11
For the patch release update the docs and example manifests to
v1.10.11

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-02-10 12:02:26 -07:00
mergify[bot] 2656eae921 Merge pull request #11652 from rook/mergify/bp/release-1.10/pr-11630
rgw: handle insecure flag skip for object bucket notification in the tls config (backport #11630)
2023-02-10 17:27:07 +00:00
Liang Zheng 217752d81c rgw: handle insecure flag skip for object bucket notification in the tls config
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
(cherry picked from commit c0c4c30334)
2023-02-10 16:58:09 +00:00
Travis Nielsen 08d3c9cfb4 Merge pull request #11605 from rook/mergify/bp/release-1.10/pr-11593
operator: fix webhook logging during deletion (backport #11593)
2023-02-10 09:58:05 -07:00
Travis Nielsen b8eb4dafe9 Merge pull request #11651 from rook/mergify/bp/release-1.10/pr-11616
helm: Add labels and annotations to config overrides configmap (backport #11616)
2023-02-10 08:59:49 -07:00
Travis Nielsen e565fb3ff6 helm: add labels and annotations to config overrides configmap
The default configmap does not have any labels or annotations
applied. If the helm chart is later updated to configure the
ceph config overrides, the configmap will fail to be created
by the chart since it doesn't have the needed label and helm
annotations so helm will know it can take over the resource
management.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit ab3209c140)
2023-02-10 15:12:31 +00:00
mergify[bot] ff36cb7591 Merge pull request #11648 from rook/mergify/bp/release-1.10/pr-11646
test: change ceph version of osd on pvc canary test to avoid failures (backport #11646)
2023-02-10 06:37:22 +00:00
Satoru Takeuchi 0b79977dba test: change ceph version of osd on pvc canary test to avoid failures
This is to fix the following CI failure.

ci: Canary tests on PVCs are failing when creating OSDs #11600
https://github.com/rook/rook/pull/11600

We set the version of Ceph used for OSD on PVC to v16. It's the moving
target and was recently changed the target version. The new version
has a regression which results in the failure
of `ceph-volume raw prepare`. Although this will be fixed in Ceph
by the following PR, it's not backported to Quincy yet.

ceph-volume: fix a bug in lsblk_all() #49171
https://github.com/ceph/ceph/pull/49171

Let's change the version to v17.2.3, which is the latest version
without the above-mentioned regression of Ceph.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit f19c77a6fb)
2023-02-10 06:03:42 +00:00
Travis Nielsen 4ed612b859 Merge pull request #11636 from rook/mergify/bp/release-1.10/pr-11525
docs: add glossary page (backport #11525)
2023-02-08 12:41:49 -07:00
gauravsitlani b39b783289 docs: add glossary page
Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
(cherry picked from commit 71c5969758)
2023-02-08 16:41:51 +00:00
Travis Nielsen cf508946b6 Merge pull request #11635 from rook/mergify/bp/release-1.10/pr-11611
mds: support mds with multus (backport #11611)
2023-02-08 09:31:47 -07:00
subhamkrai 935d3bfaed mds: support mds with multus
to support mds with multus, we don't need
to add `--public-adr`, if multus is selected as
the network in cephCluster CR.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit a1a127f6ba)
2023-02-08 15:37:39 +00:00
Travis Nielsen 52227ddcae Merge pull request #11615 from rook/mergify/bp/release-1.10/pr-11505
helm: document installing different types of CephClusters (backport #11505)
2023-02-08 07:26:18 -07:00
Travis Nielsen e06b13cb0b Merge pull request #11633 from rook/mergify/bp/release-1.10/pr-11620
docs: fixing build instructions (backport #11620)
2023-02-07 09:39:00 -07:00
Redouane Kachach a3e6f8e3f9 docs: fixing build instructions
Adding instructions to fetch the tags as they are used during
the build process. The current instructions only require the
user to clone the project which results in build errors later
on.

Closes: https://github.com/rook/rook/issues/11619
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
(cherry picked from commit bf15617b7f)
2023-02-07 15:42:39 +00:00
Travis Nielsen 742e5fde4b Merge pull request #11608 from rook/mergify/bp/release-1.10/pr-11606
docs: fix lint error in doc generating python code (backport #11606)
2023-02-06 09:04:20 -07:00
Travis Nielsen f7a903d247 Merge pull request #11622 from rook/mergify/bp/release-1.10/pr-11621
docs: fix formatting issues (backport #11621)
2023-02-06 08:59:04 -07:00
Alexander Trost e9cc07d6c9 docs: fix formatting issues
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 8b6dbdc14d)
2023-02-06 15:23:32 +00:00
parth-gr 584d194c85 helm: document installing different types of CephClusters
currently helm has only the config of cephclusterSpec
for a converged cluster, document installing pvc based,
strech based , external based cluster

Closes: https://github.com/rook/rook/issues/11480
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 20d7c00f60)
2023-02-03 14:36:27 +00:00
Blaine Gardner 7626cfd442 docs: fix lint error in doc generating python code
The latest python black stable release started flagging a newline
between a function `def` and the function body. Remove said newline.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 19fb386990)
2023-02-02 15:13:35 +00:00
subhamkrai bda24bbc77 operator: fix webhook loggin during deletion
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 30f21e4e7f)
2023-02-01 22:45:33 +00:00
Blaine Gardner bef8ec976e Merge pull request #11604 from rook/mergify/bp/release-1.10/pr-11601
docs: add export path example for NFS CSI (backport #11601)
2023-02-01 09:46:51 -07:00
Blaine Gardner 2983a76e11 docs: add export path example for NFS CSI
Add an example of getting the export path for an NFS PVC to the NFS CSI
docs.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 935b137590)
2023-02-01 16:46:09 +00:00
mergify[bot] 34498e0cfc Merge pull request #11582 from rook/mergify/bp/release-1.10/pr-11453
Fix CephFS Status updates (backport #11453)
2023-02-01 08:37:03 +00:00
mergify[bot] 3ba419afc1 Merge pull request #11581 from rook/mergify/bp/release-1.10/pr-11577
csi: add default version to images if it is missing (backport #11577)
2023-01-24 15:26:57 +00:00
Arun Kumar Mohan b9056d49ef core: fix CephFS status updates
CephFS object fails to do a initial status update.
Operator shows the following error message in logs,

'Error while updation: Operation cannot be fulfilled on
cephfilesystems.ceph.rook.io "myfs": the object has been
modified; please apply your changes to the latest version
and try again'

Function 'updateStatus' now returns the new/updated
CephFilesystem object if successfully updated or nil.

Signed-off-by: Arun Kumar Mohan <amohan@redhat.com>
(cherry picked from commit 7e87c67536)
2023-01-24 14:57:55 +00:00
Rakshith R 4dac8a2ce4 csi: add default version to images if it is missing
Rook will now append internal default versions to custom
csi image variables passed down if version is missing in
them.
This will enable users using their private registries to
just pass different image names while rook takes care
of adding default versions to them.

Resolves: #10529

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 12fd87f40b)
2023-01-24 14:52:48 +00:00
mergify[bot] 04832ec17e Merge pull request #11580 from rook/mergify/bp/release-1.10/pr-11579
external: dont do rgw validation if python version < 3 (backport #11579)
2023-01-23 17:29:28 +00:00
parth-gr ed30d06203 external: dont do rgw validation if python version < 3
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit def9fd9056)
2023-01-23 16:55:28 +00:00
mergify[bot] f808d355c0 Merge pull request #11561 from rook/mergify/bp/release-1.10/pr-11538
mgr: role rook-ceph-mgr is lack of patch verb to compete ceph request(fix 11537) (backport #11538)
2023-01-18 20:15:22 +00:00
Ben Gao fd73447999 mgr: role rook-ceph-mgr is lack of patch verb to compete ceph request
ceph orch command uses patch method to update cephcluster. Adding patch to verbs list of rook-ceph-mgr(Role) to make it work. It was allright with deploy/charts/rook-ceph-cluster/charts/library/templates/_cluster-role.tpl to justify the changes quite a bit.

Signed-off-by: Ben Gao <bengao168@msn.com>
(cherry picked from commit 84296a997a)
2023-01-18 19:44:21 +00:00
Travis Nielsen f7c9b8dfaf Merge pull request #11559 from travisn/release-1.10.10
build: Update release version to v1.10.10
v1.10.10
2023-01-18 10:42:34 -07:00
Travis Nielsen 06e8a7d561 build: update release version to v1.10.10
For the patch release the examples and docs are updated
to version v1.10.10

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-01-18 09:56:57 -07:00
mergify[bot] 62337550f1 Merge pull request #11548 from rook/mergify/bp/release-1.10/pr-11546
docs: fix ceph cluster crd list indentation issue (backport #11546)
2023-01-18 16:43:28 +00:00
Travis Nielsen 39057d187f Merge pull request #11558 from rook/mergify/bp/release-1.10/pr-11554
core: unset messenger2 configuration (backport #11554)
2023-01-18 09:41:49 -07:00
Madhu Rajanna 8593a5398d core: unset messenger2 configuration
Unset encryption configuration and default
rbd map option when the encryption is not
enabled or it disabled after sometime.

Unset compression option also when the compression
is disabled.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit d1a86f6a63)
2023-01-18 15:52:14 +00:00
Alexander Trost 6d045a49a5 docs: fix ceph cluster crd list indentation issue
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 787be917dc)
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2023-01-18 16:41:47 +01:00
mergify[bot] 61f31ab1bd Merge pull request #11557 from rook/mergify/bp/release-1.10/pr-11556
csi: fix custom ceph.conf for csi pods (backport #11556)
2023-01-18 15:25:11 +00:00
Madhu Rajanna 14fd3fbc83 csi: fix custom ceph.conf for csi pods
we need to set the variable in the template
instead of the global variable for the
template rendering.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 436a87ea13)
2023-01-18 14:32:26 +00:00
Travis Nielsen e09c823d8c Merge pull request #11551 from rook/mergify/bp/release-1.10/pr-11542
test: update kv version for rgw-kms tests (backport #11542)
2023-01-17 17:24:57 -07:00
mergify[bot] 5d0a125e21 Merge pull request #11550 from rook/mergify/bp/release-1.10/pr-11543
docs: remove health checker related option in object-external.yaml (backport #11543)
2023-01-17 21:01:54 +00:00
Jiffin Tony Thottan 8d8b03d189 test: update kv version for rgw-kms tests
The test is getting time out while checking backend version for kv
engines in RGW KMS unit tests.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
(cherry picked from commit c4984208e8)
2023-01-17 20:32:59 +00:00