Commit Graph
8626 Commits
Author SHA1 Message Date
Alexander Trost d3499eacdf docs: fix docs_dir build issue
Resolves #10282

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit a156dc3ae7)
2022-05-24 15:31:13 -06:00
Travis Nielsen f1d790d9aa build: add setup tools package for docs publish
The setup tools package and libgit2 are required on
ubuntu 18.04 in order to install the mkdocs framework
and publish the docs. After we move to ubuntu 20.04
this should no longer be necessary.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 2404fe1274)
2022-05-24 15:30:58 -06:00
Travis Nielsen 7842d69989 build: correct architecture for the release build
The push image build CI action is mistakenly running on
arm64 instead of amd64, which is failing the build since
it only expects amd64.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 5793582a78)
2022-05-24 15:30:44 -06:00
Gaurav Sitlani d2784badbc docs: added cpu requirements
Signed-off-by: Gaurav Sitlani <gaurav@koor.tech>
(cherry picked from commit 84c53d1444)
2022-05-24 15:30:32 -06:00
Travis Nielsen d585cf3b18 ci: mkdocs.yml must be in the release build folder
The docs failed to publish with the mkdocs.yml in the root
folder instead of where the docs are being built.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit c375bbd6f4)
2022-05-24 15:30:20 -06:00
Travis Nielsen 88d18938bb ci: fix the doc build generation script
The doc build generation script is failing to install
the needed dependencies for mkddocs.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 03a091e741)
2022-05-24 15:30:08 -06:00
Alexander Trost add2672ab1 docs: fix docs publish repo target
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 0d815c0ffc)
2022-05-24 15:29:55 -06:00
Alexander Trost 04fa6c9904 docs: fix latest release banner url
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit a17575f9d7)
2022-05-24 15:29:37 -06:00
Travis Nielsen f716958b47 build: move the help doc requirements to release folder
The requirements_docs.txt is expected by the build.docs
build target in build/release. Since the txt file was at
the root of the repo, the build was failing to be pubished
when it didn't find the file in build/release.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 557feb2f49)
2022-05-24 15:29:15 -06:00
Travis Nielsen 4a647bd963 docs: factor out ceph upgrade from rook upgrade
The ceph upgrade guide is factored out into a separate document
to help simplify the flow and make the different types of
upgrades more easily discoverable.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 3e0f26ae0e)
2022-05-24 15:28:48 -06:00
Travis Nielsen 15a3d60340 docs: factor out the csi custom image from upgrade doc
Deploying a custom CSI image is more of a standalone topic
under the CSI configuration docs. There is no need for the
upgrade guide to have the details about CSI images.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit b6c2b99067)
2022-05-24 15:26:40 -06:00
Alexander Trost a0c1731cb7 docs: use mkdocs and restructure docs
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 74431443e3)
2022-05-24 15:24:22 -06:00
mergify[bot] 2e7f356da9 Merge pull request #10302 from rook/mergify/bp/release-1.9/pr-10254
docs: add ceph telemetry design doc (backport #10254)
2022-05-23 18:58:40 +00:00
Blaine Gardner 936dbd7dc7 docs: add ceph telemetry design doc
Add a design doc for adding Rook telemetry to Ceph telemetry capture.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 8c45ebbd46)
2022-05-23 18:33:49 +00:00
mergify[bot] 7f8baf9bcc Merge pull request #10301 from rook/mergify/bp/release-1.9/pr-10298
osd: remove broken argument (backport #10298)
2022-05-23 16:26:14 +00:00
Sébastien Han b67a949a50 osd: remove broken argument
During the tini's binary removal you overlooked that scenario and
introduced a bug in the OSD startup line.
We were passing the binary path as an argument, which is obviously wrong
and makes the OSD crash at boot.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit f79de7d69a)
2022-05-23 15:56:55 +00:00
mergify[bot] 4dc34c1b21 Merge pull request #10284 from rook/mergify/bp/release-1.9/pr-10279
operator: rename telemetry rook-version to rook/version (backport #10279)
2022-05-19 00:42:33 +00:00
Blaine Gardner a3a5d7d0d7 operator: rename telemetry rook-version to rook/version
The Rook and Ceph teams settled on using slashes to separate Rook
telemetry items into a hierarchy in https://github.com/rook/rook/pull/10254.
Rename the config-key used to `rook/version`, and create a `telemetry`
package to define the telemetry key constants.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 6888d545d2)
2022-05-19 00:11:12 +00:00
mergify[bot] 95b2be81f5 Merge pull request #10277 from rook/mergify/bp/release-1.9/pr-10274
helm: Only copy relevant monitoring settings (backport #10274)
2022-05-18 08:13:07 +00:00
Travis Nielsen 46e442917d helm: only add monitoring to cluster if specified
If the monitoring settings are not specified in the values.yaml,
avoid a helm chart install error by skipping the monitoring
section of the cephcluster CR altogether.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit a3d65b3f93)
2022-05-17 22:48:42 +00:00
Travis Nielsen c6179f0196 helm: only copy relevant monitoring settings
The cephcluster CR monitoring schema should be honored. The helm
chart was creating extra values that didn't match the schema by
copying the values such as createPrometheusRules that are only
used for template evaluation. Now only the monitoring values
from the schema will be added to the template.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 36f59bd527)
2022-05-17 22:48:41 +00:00
mergify[bot] 223de94313 Merge pull request #10264 from rook/mergify/bp/release-1.9/pr-10006
rgw: validate rgw endpoint ip (backport #10006)
2022-05-16 08:15:37 +00:00
parth-gr 6b02279535 csi: update the upgrade flag description
Currently it was mention we are updating the csi-user
But more precisely we go and update the keyrings
which auto update users so replacing it

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit b97bc74f45)
2022-05-13 12:28:43 +00:00
parth-gr 1e8e0b2ec8 rgw: donot validate prefix rgw pools when prefix is default
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit cf29043f4d)
2022-05-13 12:28:42 +00:00
parth-gr 415a10496a rgw: validate rgw endpoint ip
The ceph-external-cluster-details-exporter.py
generates the json output even with
rgw-endpoint IP from different cluster
Added a check validate_rgw_endpoint which will validate
the above rgw_endpoint Ip by matching the cluster fsid

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 09d52511ad)
2022-05-13 12:28:42 +00:00
Travis Nielsen 4a90780919 Merge pull request #10263 from travisn/release-1.9.3
build: Update the release version to v1.9.3
v1.9.3
2022-05-12 14:46:10 -06:00
Travis Nielsen cbd9429e5a build: update the release version to v1.9.3
For the patch release the example manifests and documentation
is updated to v1.9.3

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-05-12 14:12:00 -06:00
mergify[bot] fd13e4ac39 Merge pull request #10262 from rook/mergify/bp/release-1.9/pr-10232
rgw: support FQDN for RGW endpoint (backport #10232)
2022-05-12 18:30:20 +00:00
mergify[bot] 71570f5871 Merge pull request #10261 from rook/mergify/bp/release-1.9/pr-10246
osd: exit immediately if pvc block has not changed (backport #10246)
2022-05-12 18:22:11 +00:00
mergify[bot] efaee7da68 Merge pull request #10260 from rook/mergify/bp/release-1.9/pr-10161
operator: set 'rook-version' in mon k/v store (backport #10161)
2022-05-12 18:13:55 +00:00
parth-gr d641bbb867 rgw: support FQDN for RGW endpoint
Now rgw can be pass by FQDN too,
to avoid problems where it is required
The format should be similar to
Ip(<IP>:<PORT> format), <FQDN>:<PORT> format

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 624400ff93)
2022-05-12 17:52:31 +00:00
Sébastien Han 8b4d6c6709 osd: exit immediately if pvc block has not changed
We don't need to run any `cp` command since a destination path already
exists. Using `--no-clobber` is not needed and it results in a noop
anyways.
Instead, let's print the reason why we exit the container.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 4234216db8)
2022-05-12 17:52:19 +00:00
Travis Nielsen b948123b12 Merge pull request #10255 from rook/mergify/bp/release-1.9/pr-10253
csi: add the option to disable hostNetwork (backport #10253)
2022-05-12 11:48:42 -06:00
mergify[bot] 2eeeba8616 Merge pull request #10258 from rook/mergify/bp/release-1.9/pr-10242
docs: update tolerations name from controlplane to control-plane (backport #10242)
2022-05-12 17:04:02 +00:00
mergify[bot] 70823bfac6 Merge pull request #10257 from rook/mergify/bp/release-1.9/pr-10250
osd: Allow the osd to take a long time to start (backport #10250)
2022-05-12 16:55:21 +00:00
Blaine Gardner 53330e4934 operator: set 'rook-version' in mon k/v store
Ceph upstream telemetry (which Rook users could optionally enable via
Ceph CLI or Dashboard) does not easily identify if a cluster is managed
by Rook. Identifying Rook clusters is possible only if users also enable
the rook mgr module, which is optional and not often used.

To get better upstream insights into Ceph clusters managed by Rook, set
a new 'rook-version' field in Ceph's generic k/v store. This field can
be used to determine if a cluster is managed by Rook by its presence.
It additionally provides information about the Rook version used to
manage the cluster, which is another piece of potentially useful
information.

Regarding Ceph cluster identification via telemetry:
Ceph telemetry is anonymous and uses a different ID from the Ceph
cluster ID. Identifying the Rook version in telemetry does not add
directly identifying information. Therefore, there should be little
risk that adding the Rook version field will decrease anonymity of Ceph
clusters via telemetry.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 94b622c302)
2022-05-12 16:49:33 +00:00
Sean Johnson efffc9d5df docs: update tolerations name from controlplane to control-plane
Signed-off-by: ttyS0 <sean@skj.dev>
(cherry picked from commit 30667157ab)
2022-05-12 16:31:23 +00:00
Travis Nielsen 07e42b789e osd: allow the osd to take a long time to start
The startup probe for the OSD has been too aggressive to kill the OSD
in case the OSD is taking some time to start. The OSD may be self-optimizing,
scrubbing, or some other internal operation before it is ready to start.
Rather than disable the startup probe completely, the default is now
to retry for two hours in case the OSD is performing those operations.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 28e721d877)
2022-05-12 16:25:30 +00:00
Yuval Manor ea428d8402 csi: add the option to disable hostNetwork
currently, it is not possible to disable hostNetwork. This pr fix this issue.

Signed-off-by: Yuval Manor <yuvalman958@gmail.com>
(cherry picked from commit 504e78a5ba)
2022-05-12 16:24:27 +00:00
mergify[bot] c12571745d Merge pull request #10205 from rook/mergify/bp/release-1.9/pr-10172
mon: quorumStatus.MonMap.Mons changed to quorumStatus.Quorum (backport #10172)
2022-05-12 14:19:35 +00:00
mergify[bot] 309ab513d8 Merge pull request #10221 from rook/mergify/bp/release-1.9/pr-10217
docs: Add prometheus doc link to pick up rook service monitor (backport #10217)
2022-05-12 14:15:23 +00:00
mergify[bot] 1253f1efdf Merge pull request #10248 from rook/mergify/bp/release-1.9/pr-10244
build: add psp for missing roles (backport #10244)
2022-05-11 18:28:23 +00:00
Yuichiro Ueno afa94d0b2d build: add psp for missing roles
This commit adds psp RoleBindings to rook-ceph-rgw role and
rook-ceph-purge-osd role. Without this commit, I cannot perform
rook-ceph-purge-osd job on PSP-enabled cluster.

Signed-off-by: Yuichiro Ueno <ueno@preferred.jp>
(cherry picked from commit 1ccc185a79)
2022-05-11 17:56:14 +00:00
mergify[bot] a58d1a8c26 Merge pull request #10241 from rook/mergify/bp/release-1.9/pr-10226
webhook: update the check-in cluster spec validation (backport #10226)
2022-05-10 14:43:26 +00:00
subhamkrai e582035c88 webhook: update the check-in cluster spec validation
we should iterate older clusters spec instead of
new cluster spec since in case of new storageClassdeviceset
added in spec. The total count of the new clusters and older
spec cluster is will not be the same and we'll get panic.

Closes: https://github.com/rook/rook/issues/10222
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 0c593d5420)
2022-05-10 14:14:03 +00:00
subhamkrai 5b822cc280 ci: add webhook to commitlint title
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 99420ad779)
2022-05-10 14:14:03 +00:00
Satoru Takeuchi 131e2a3381 Merge pull request #10236 from rook/mergify/bp/release-1.9/pr-10230
core: append filesystem property on disk (backport #10230)
2022-05-10 11:33:14 +09:00
Sébastien Han 891a56e752 core: add mountpoint detection to the prepare pod
Amount various filters let's add a mountpoint property and skip the
device if its filesystem is mounted.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 8328ec6d31)
2022-05-10 00:07:58 +00:00
Sébastien Han c2f7e85126 core: add more debug info to the prepare pod
When running the device property commands, let's also log their results
for better debugging/visibility.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 77b2e10c14)
2022-05-10 00:07:58 +00:00
Sébastien Han b75364f19e core: append filesystem property on disk
When detecting the device property the filesystem was not passed but
used later to validate if the device should be taken or not. Now we read
the filesystem info from "lsblk" and populate it in the device type.

Closes: https://github.com/rook/rook/issues/9470
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 8c1bf0f3f0)
2022-05-10 00:07:58 +00:00