Commit Graph
9397 Commits
Author SHA1 Message Date
mergify[bot] cb7eba43d7 Merge pull request #11809 from rook/mergify/bp/release-1.10/pr-11808
docs: change old version hint in docs (backport #11808)
2023-03-01 18:25:30 +00:00
Alexander Trost 380b0270fd docs: change old version hint in docs
Resolves https://github.com/rook/rook.github.io/issues/144

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit a5131d7309)
2023-03-01 17:06:06 +00:00
Travis Nielsen 2d80f97643 Merge pull request #11782 from rook/mergify/bp/release-1.10/pr-11778
ci: Enable snyk flag not to build vcs (backport #11778)
2023-02-28 11:59:42 -07:00
mergify[bot] d56c1ebea8 Merge pull request #11793 from rook/mergify/bp/release-1.10/pr-11760
core: on crash pod ensure rook version label is not set (backport #11760)
2023-02-28 18:56:56 +00:00
Ben Gao dcdffce9ff core: on crash pod ensure rook version label is not set
ceph crash pod gets rook version label added unintentionally, which is only for deployment label.
changes include:
1, make a copy of the labels for pod spec from deployment labels just before adding rook version label.
2, add unit test to make sure it works as designed.
This fix along with pr 11674 is to stop ceph daemons pod restarting unnecessarily after upgrading rook operator.

Signed-off-by: Ben Gao <bengao168@msn.com>
(cherry picked from commit ed6ed25257)
2023-02-28 18:25:38 +00:00
travisn 61c3d2141a ci: enable snyk flag not to build vcs
The snyk check is failing because the -buildvcs flag
is defaulting to true. Let's disable this flag to
get the check passing.

Signed-off-by: travisn <tnielsen@redhat.com>
(cherry picked from commit 9197966ed4)
2023-02-28 00:36:44 +00:00
Travis Nielsen 7300dc6142 Merge pull request #11780 from travisn/release-1.10.12
build: Set the release version to v1.10.12
v1.10.12
2023-02-27 17:31:09 -07:00
travisn 0dfc0ad107 build: set the release version to v1.10.12
For the patch release update the examples and docs to
v1.10.12

Signed-off-by: travisn <tnielsen@redhat.com>
2023-02-27 16:38:58 -07:00
mergify[bot] 0365ff43d7 Merge pull request #11773 from rook/mergify/bp/release-1.10/pr-11567
osd: handle device name change and device removel correctly (backport #11567)
2023-02-27 19:32:37 +00:00
Satoru Takeuchi 3594a2d2f1 osd: handle device name change and device removel correctly
If a kernel device name change happens and a block device file
in the OSD directory becomes dangling link, this OSD fails
to start continuously. This problem can be resolved by confirming
the validity of the device file and recreating it if necessary.

The original problem happened in host-based clusters. A similar
problem exists in PVC-based clusters. In this case, if a PV,
corresponds to an existing OSD, and points to a missing block
device file, the OSD pod fails to consume this PV. Although this
behavior is undesirable, I don't think this problem should be
handled in Rook. If doing so, we must re-create the existing PV.
Rook shouldn't do such work.

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

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 3a44a394b5)
2023-02-27 18:55:18 +00:00
Blaine Gardner 34954f53e4 Merge pull request #11751 from rook/mergify/bp/release-1.10/pr-11747
build: allow building on Mac with Apple silicon (backport #11747)
2023-02-23 12:15:52 -07:00
Blaine Gardner 56ffefde64 build: allow building on Mac with Apple silicon
There are a couple minor changes needed to allow building Rook on Apple
silicon.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 442e6480bd)
2023-02-23 15:50:26 +00:00
mergify[bot] 433fdb53d8 Merge pull request #11732 from rook/mergify/bp/release-1.10/pr-11716
object: update os user caps (backport #11716)
2023-02-22 14:51:54 +00:00
Liang Zheng 695939dffd object: update os user caps
Removing user caps will be skipped as the UserCaps is empty, which will cause updating user caps to not take effect.

Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
(cherry picked from commit c81aa7f856)
2023-02-22 07:17:48 -07:00
mergify[bot] 4acba58c5e Merge pull request #11708 from rook/mergify/bp/release-1.10/pr-11697
csi: add missing node access to cephfs driver (backport #11697)
2023-02-17 19:50:34 +00:00
Madhu Rajanna e4b642b995 csi: add missing node access to cephfs driver
Node access is only needed when we are using
volumeBindingMode: WaitForFirstConsumer in
the storageclass its not required for Immediate
BindingMode.

fixes: #11694

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 1cfa7eefae)
2023-02-17 19:19:13 +00:00
mergify[bot] 7c718a88f3 Merge pull request #11683 from rook/mergify/bp/release-1.10/pr-11673
object: RGW metadata pg count reduction on 16.2.11 (backport #11673)
2023-02-15 19:56:32 +00:00
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 79a7dfe1e1 object: rgw metadata pg count reduction on latest pacific
The removal of the rgw_rados_pool_pg_num_min property
was completed in v16.2.11 for Pacific. The previous
fix in PR 11024 only assumed the fix was in Quincy v17.2.2
or newer. Now we account for v16.2.11 as well.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 107d947f97)
2023-02-15 19:21:09 +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