Commit Graph
13292 Commits
Author SHA1 Message Date
Travis Nielsen 39e8d4d0b4 Merge pull request #10290 from travisn/mkdocs-yml
ci: mkdocs.yml must be in the release build folder
2022-05-19 15:15:55 -06:00
Travis Nielsen c375bbd6f4 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>
2022-05-19 15:12:30 -06:00
Travis Nielsen 6a87cb44a2 Merge pull request #10289 from travisn/generate-docs-ci
ci: Install and use pip3 for the docs generation script
2022-05-19 14:41:09 -06:00
Travis Nielsen 03a091e741 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>
2022-05-19 14:05:18 -06:00
Travis Nielsen 6e7e54bc6e Merge pull request #10288 from travisn/doc-link-wording
docs: Update wording for latest doc link
2022-05-19 13:05:48 -06:00
Travis Nielsen 93faecdfd6 docs: update wording for latest doc link
Just a tiny rewording of the main doc link

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-05-19 12:38:58 -06:00
Travis Nielsen 341b6737ad Merge pull request #10285 from koor-tech/fix_docs_latest_release
docs: use absolute path for latest-release
2022-05-19 07:44:38 -06:00
Alexander Trost 0d815c0ffc docs: fix docs publish repo target
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2022-05-19 13:27:07 +02:00
Alexander Trost a17575f9d7 docs: fix latest release banner url
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2022-05-19 13:27:06 +02:00
Blaine Gardner 1cdcb37461 Merge pull request #10279 from BlaineEXE/rename-telemetry-rook-version
operator: rename telemetry rook-version to rook/version
2022-05-18 18:10:26 -06:00
Travis Nielsen 59a086b24c Merge pull request #10281 from travisn/publish-docs
build: Move the help doc requirements to release folder
2022-05-18 16:08:23 -06:00
Travis Nielsen 557feb2f49 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>
2022-05-18 15:52:07 -06:00
Travis Nielsen 3c05ed443d Merge pull request #10280 from travisn/upgrade-doc-refactor
docs: Factor out the upgrade guide into multiple documents for simpler navigation
2022-05-18 15:23:43 -06:00
Blaine Gardner 6888d545d2 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>
2022-05-18 15:09:02 -06:00
Travis Nielsen 3e0f26ae0e 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>
2022-05-18 13:43:23 -06:00
Travis Nielsen b6c2b99067 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>
2022-05-18 12:14:05 -06:00
Alexander Trost f7da56a743 Merge pull request #10265 from koor-tech/docs_restructure_mkdocs 2022-05-18 18:57:38 +02:00
Alexander Trost 74431443e3 docs: use mkdocs and restructure docs
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2022-05-18 16:06:22 +02:00
Blaine Gardner 4ed194d1f7 Merge pull request #10274 from travisn/monitoring-helm-settings
helm: Only copy relevant monitoring settings
2022-05-17 16:48:15 -06:00
Travis Nielsen a3d65b3f93 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>
2022-05-17 15:28:09 -06:00
Travis Nielsen 36f59bd527 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>
2022-05-17 15:28:09 -06:00
Travis Nielsen 1fe71fc76f Merge pull request #10271 from humblec/rbac-cleanup-2
Adjust PV object RBAC  for CSI PODs
2022-05-17 07:26:00 -06:00
Travis Nielsen 362e3a6578 Merge pull request #10247 from Madhu-1/remove-cephfs-node-rbac
csi: Remove extra cephfs node rbac
2022-05-16 08:40:16 -06:00
Travis Nielsen afbb97dbea Merge pull request #10269 from humblec/rbac-cleanup
remove `watch` verb from csi-snapshottter sidecar RBAC
2022-05-16 08:13:01 -06:00
Humble Chirammal 34e88776e7 csi: remove unwanted verbs for pv object
pv object patch verb is enough for the csi sidecar to function.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-05-16 14:35:34 +05:30
Humble Chirammal 0812d08a75 csi: remove watch verb from csi-snapshottter sidecar RBAC
The `watch` verb is not required for the csi-snapshotter sidecar
to function, removing it from the deployment

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-05-16 13:21:42 +05:30
Madhu Rajanna e4133857e9 csi: remove extra cephfs RBAC
Remove unwanted cephfs clusterRole
RBAC.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-05-16 10:52:21 +05:30
Sébastien Han 9b6143baa7 Merge pull request #10006 from parth-gr/rgw-external
rgw: validate rgw endpoint ip
2022-05-13 14:28:10 +02:00
Travis Nielsen 5e0d896a69 Merge pull request #10232 from parth-gr/external-fqdn
rgw: support FQDN for RGW endpoint
2022-05-12 11:52:24 -06:00
Travis Nielsen c75e834da0 Merge pull request #10246 from leseb/blk-mapper-message
osd: exit immediately if pvc block has not changed
2022-05-12 11:51:35 -06:00
Travis Nielsen 929bc9720f Merge pull request #10161 from BlaineEXE/identify-rook-clusters-via-mon-kv-field
operator: set 'rook-version' in mon k/v store
2022-05-12 10:48:48 -06:00
Travis Nielsen 9b5191b3db Merge pull request #10242 from ttyS0/master
docs: update tolerations name from controlplane to control-plane
2022-05-12 10:30:55 -06:00
Travis Nielsen 4c34878a4d Merge pull request #10250 from travisn/osd-startup-probe
osd: Allow the osd to take a long time to start
2022-05-12 10:25:15 -06:00
Travis Nielsen c240a3ad19 Merge pull request #10253 from yuvalman/hostNetwork
csi: add the option to disable hostNetwork
2022-05-12 10:24:13 -06:00
Blaine Gardner 94b622c302 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>
2022-05-12 09:31:13 -06:00
Sean Johnson 30667157ab docs: update tolerations name from controlplane to control-plane
Signed-off-by: ttyS0 <sean@skj.dev>
2022-05-12 10:04:55 -05:00
Yuval Manor 504e78a5ba 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>
2022-05-12 17:58:54 +03:00
parth-gr 624400ff93 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>
2022-05-12 18:31:35 +05:30
Travis Nielsen 28e721d877 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>
2022-05-11 14:29:25 -06:00
Travis Nielsen bb5812316d Merge pull request #10244 from y1r/add-psp
build: add psp for missing roles
2022-05-11 11:55:45 -06:00
Travis Nielsen 718512997b Merge pull request #10033 from Madhu-1/fix-4841
csi: remove unwanted RBAC of csi driver
2022-05-11 08:41:43 -06:00
parth-gr b97bc74f45 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>
2022-05-11 19:52:38 +05:30
parth-gr cf29043f4d rgw: donot validate prefix rgw pools when prefix is default
Signed-off-by: parth-gr <paarora@redhat.com>
2022-05-11 19:52:38 +05:30
parth-gr 09d52511ad 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>
2022-05-11 19:52:30 +05:30
Sébastien Han 4234216db8 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>
2022-05-11 15:02:18 +02:00
Yuichiro Ueno 1ccc185a79 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>
2022-05-11 13:50:37 +09:00
Madhu Rajanna 19f77c6174 csi: remove unwanted RBAC of csi driver
Removed unwanted RBAC from the
previous versions of driver.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-05-11 10:16:37 +05:30
Travis Nielsen c1ab415c40 Merge pull request #10226 from subhamkrai/update-validate-cluster
webhook: update the check-in cluster spec validation
2022-05-10 08:13:22 -06:00
Travis Nielsen 8a8d7e20d3 Merge pull request #10233 from parth-gr/external-radosnamespace
namespace: adding radosnamespace in canary CI
2022-05-10 07:50:27 -06:00
parth-gr 17918c0b9e namespace: adding radosnamespace in canary CI
THe radosnamespace CRD is already added by
https://github.com/rook/rook/pull/9733,
Checking the external script with the namespace created by
the CRD

Signed-off-by: parth-gr <paarora@redhat.com>
2022-05-10 12:52:36 +05:30