Commit Graph
2411 Commits
Author SHA1 Message Date
Deepika Upadhyay 2e048406ab docs: update rbd-mirror doc
the pool mentioned in docs didn't have hypen
doc ref: https://rook.io/docs/rook/v1.9/Storage-Configuration/Block-Storage-RBD/rbd-mirroring/#create-rbd-pools

[root@centos-4gb-hel1-1 rook]# kubectl get cephblockpool.ceph.rook.io/mirroredpool
Error from server (NotFound): cephblockpools.ceph.rook.io "mirroredpool" not found

Signed-off-by: Deepika Upadhyay <deepika@koor.tech>
2022-11-17 23:19:52 +05:30
Travis Nielsen 6b6252e474 docs: clarify csi already exists error in docs
The already exists error message is perhaps the most common
issue with the csi driver. The csi troubleshooting guide
is now clarified to make that error message easier
to find.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-11-15 12:13:45 -07:00
Travis Nielsen b79d9022a4 docs: clarify in docs and readme that rook focuses on ceph
Rook has for quite some time only been focused on the Ceph
operator. Maintainers have only been focused on Ceph, and
the community has likewise been focused on Ceph. Now the docs
are updated to clarify that Ceph storage is the focus and
there are no plans for the project to support other storage
providers.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-11-14 14:37:46 -07:00
Travis Nielsen 01d71c41ea Merge pull request #10652 from anthonyeleven/anthonyeleven/update-RBD-image-features
docs: add additional RBD image features to docs and YAML files
2022-11-10 11:09:21 -07:00
Travis Nielsen ec9e4646ed Merge pull request #11289 from travisn/crd-doc-titles
docs: Set CRD page titles to the CRD name
2022-11-10 10:38:47 -07:00
Travis Nielsen e0d1cabfda Merge pull request #11278 from parth-gr/resources-discovery
core: Add ability to add resources on discovery DaemonSet
2022-11-10 07:59:23 -07:00
parth-gr 9f432b4ecb core: add ability to add resources on discovery daemon set
Closes: https://github.com/rook/rook/issues/11265

Signed-off-by: parth-gr <paarora@redhat.com>
2022-11-10 17:50:06 +05:30
Travis Nielsen d587272d82 Merge pull request #11263 from zalsader/disable-psp
security: change `pspEnable` default value to `false` in Ceph Operator helm chart
2022-11-09 16:48:59 -07:00
Travis Nielsen 05590dfc9b docs: set crd page titles to crd name
The name of the CRD is more clear for finding the CRD specs
instead of a modified form of the name that was intended
to be more human readable. When someone is looking for the
CRD settings, they more naturally expect the CRD name
in the title

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-11-09 16:12:58 -07:00
Shinya Hayashi 05875a3f4f osd: support loop devices for test clusters
A new variable is added to rook-ceph-operator-config
ConfigMap to allow using loop devices for osd.

This feature is intended to be used for testing purposes only.

Signed-off-by: Shinya Hayashi <shinya-hayashi@cybozu.co.jp>
2022-11-09 06:45:41 +00:00
Zuhair AlSader 1454d5a7a6 security: change pspEnable default value to false
Disable PodSecurityPolicy in Ceph Operator helm charts by default.

Signed-off-by: Zuhair AlSader <zalsader@hotmail.com>
2022-11-07 21:40:07 +00:00
Blaine Gardner c67c33f1d3 Merge pull request #11202 from BlaineEXE/object-external-enpoint-do-not-use-service
object: do not create service for external object stores
2022-11-07 10:51:33 -07:00
Blaine Gardner a777b1d7d1 object: do not create service for external object stores
External CephObjectStores already have endpoints defined by
spec.gateway.externalRgwEndpoints, and if the external store is
configured with TLS (HTTPS), the store's certificates will likely not
accept connections intended for the Service endpoint Rook creates. Some
users might not be able to easily add the service endpoint to their
certificates. Therefore, don't even bother creating a Service for
external clusters.

This does introduce a few issues. The Service seems to have been
initially created to allow multiple external RGW endpoints to be
addressable via a single address in Rook. For all connections to an
external CephObjectStore with multiple endpoints, simply choose an
endpoint at random. Random selection will prevent Rook from failing to
create buckets or users on an external store if one of the external
store's endpoints fails.

The latest OBC library (lib-bucket-provisioner) allows updating the
endpoints on ObjectBuckets after they are created. This allows Rook
users to change endpoints on external CephObjectStores without breaking
all existing OBCs. It requires implementation of the new GetUserID()
library call, requires updating Provision() and Grant() calls to be
idempotent, and it requires removing the Update() call.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-11-04 17:30:30 -06:00
Jairo Llopis e0ad2f9789 helm: bugs following docs for NixOS deployment
85b079105b introduced some bugs that here I'm fixing.

1. Docs missing `csi.` prefix.
2. Chart was using `cis.csiRBDPluginVolumes` instead of `csi.csiCephFSPluginVolume`.
3. Values had to be a scalar value, not a raw string. Otherwise, the operator can't parse it.
4. Link to `/run/booted-system` instead of `/run/current-system`. In the former, the kernel modules will always match the current kernel; in the latter, it could happen that after a new `nixos-rebuild switch`, plugin containers can't find the kernel modules for the booted kernel version.
5. Values included in the `values.yaml` template were plural. These are not supported, they must all be singular.

About that 3rd point, this was the error being logged:

```
2022-11-04 09:54:47.489851 I | op-k8sutil: CSI_RBD_PLUGIN_VOLUME="|\n - name: lib-modules\n hostPath:\n path: /run/current-system/kernel-modules/lib/modules/\n - name: host-nix\n hostPath:\n path: /nix" (configmap)
2022-11-04 09:54:47.489907 W | ceph-csi: failed to parse "|\n - name: lib-modules\n hostPath:\n path: /run/current-system/kernel-modules/lib/modules/\n - name: host-nix\n hostPath:\n path: /nix" for "CSI_RBD_PLUGIN_VOLUME". json: cannot unmarshal string into Go value of type []v1.Volume
2022-11-04 09:54:47.489916 I | op-k8sutil: CSI_RBD_PLUGIN_VOLUME_MOUNT="|\n - name: host-nix\n mountPath: /nix\n readOnly: true" (configmap)
2022-11-04 09:54:47.489937 W | ceph-csi: failed to parse "|\n - name: host-nix\n mountPath: /nix\n readOnly: true" for "CSI_RBD_PLUGIN_VOLUME_MOUNT". json: cannot unmarshal string into Go value of type []v1.VolumeMount
```

@moduon MT-1503

Signed-off-by: Jairo Llopis <yajo.sk8@gmail.com>
2022-11-04 13:24:31 +00:00
Travis Nielsen 64300f1ba5 Merge pull request #11256 from subhamkrai/update-disator-recov-doc
docs: update disaster recovery guide for webhook
2022-11-03 08:05:45 -06:00
Travis Nielsen f24498a1bb Merge pull request #11213 from gauravsitlani/live-coredump
docs: added steps to collect coredump and perf troubleshooting info
2022-11-02 10:10:17 -06:00
gauravsitlani 3ead8218d9 docs: added steps to collect coredump and perf troubleshooting info
Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
2022-11-02 21:13:55 +05:30
subhamkrai 0dbfc66498 docs: update disaster recovery guide for webhook
Since we moved to cert-manager for the webhook long time back, we
just need to disable webhook instead of backing the whole webhook.
And, after crs are restored we need to enable the webhook and all the
resources will be created itself by the operator.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-11-02 20:55:40 +05:30
Anthony D'Atri 10b398cc02 docs: add additional RBD image features to docs and YAML files
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-10-27 10:57:50 -06:00
Travis Nielsen 61840324be mon: the mon daemons maintain host network settings
If the host network setting is changed in the cluster CR,
the existing mons must continue using the same network
settings or else the operator would update their pod
specs with the incorrect settings and cause mon quorum
to go down. Now the network setting is preserved so
the admin could switch between host and non-host network
configuration without reinstalling.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-26 13:40:33 -06:00
Travis Nielsen 0d3d12c0fd Merge pull request #11198 from subhamkrai/latest-ceph-version
core: upgrade ceph to latest release v17.2.5
2022-10-26 09:51:47 -06:00
subhamkrai 270b565f18 core: upgrade ceph to latest release v17.2.5
Signed-off-by: subhamkrai <srai@redhat.com>
2022-10-26 19:59:53 +05:30
Tarun Gupta Akirala a2b0871d08 docs: fix typo in numbering
Signed-off-by: Tarun Gupta Akirala <takirala@users.noreply.github.com>
2022-10-24 23:46:21 -07:00
Blaine Gardner 0937eaee38 Merge pull request #11124 from BlaineEXE/object-revise-health-check
object: remove health checker
2022-10-24 11:31:23 -06:00
Travis Nielsen aa916915d2 Merge pull request #11154 from alexander-bauer/docs-restoring-crds-after-deletion
Docs: Improve troubleshooting docs on restoring CRDs after deletion
2022-10-21 08:13:33 -06:00
Travis Nielsen b7cca9d104 Merge pull request #11184 from travisn/mon-restore-docs
docs: Use Krew restore-quorum command for mon quorum disaster scenario
2022-10-20 09:14:41 -06:00
Travis Nielsen 3e60b95fd6 docs: use krew restore-quorum command for disaster scenario
The new krew plugin command restore-quorum will automate the process
to restore quorum from a single healthy mon. No longer do we need
the absolutely tedious, messy, manual steps from the rook docs.
The krew plugin will take care of all the complexity automatically
as of the v0.4.0 release

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-20 08:36:24 -06:00
Yashasvi Chaurasia 05e7ddc4cb docs: updated note syntax in markdown files
The Note label is updated in several places in the docs for improved rendering.
Multiple markdown files have been updated.

Closes: #10458

Signed-off-by: Yashasvi Chaurasia <yashasvi12977@gmail.com>
2022-10-20 20:04:01 +05:30
Madhu Rajanna 729f2a8b32 csi: update csi to latest release
This updates the cephcsi to latest 3.7.2
release and also updates sidecar to the latest
release in some missing files.

Note:- sidecar images are upto date in most of
the places, in some places it was missing, This
PR updates it in missing place.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2022-10-20 09:16:05 +02:00
Alexander Bauer 825e956849 docs: add scripts, details, and new steps to CRD restoration guide
Signed-off-by: Alexander Bauer <sasha@linux.com>
2022-10-19 23:56:42 +00:00
Alexander Bauer dc13595670 docs: add warning about CR naming in CRD restoration page
Signed-off-by: Alexander Bauer <sasha@linux.com>
2022-10-19 23:56:42 +00:00
gauravsitlani cc02399c4c core: enabling logCollector by default for coredump
enabling logCollector by default will enable the coredump
generation in case a process terminates with a segmentation fault.

Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
2022-10-19 23:04:22 +05:30
Blaine Gardner a7c0c7ee93 object: remove health checker
Remove the health checker for CephObjectStore. The liveness and
readiness probes go through the same code paths in RGW as creating
buckets without as much affect on the storage backend.

Full discussion: https://github.com/rook/rook/issues/11031

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-10-18 13:41:46 -06:00
Alexander Bauer d7731bdf7c docs: repair list numbering in Restoring CRDs after Deletion
This commit adjusts spacing in the Docs -> Troubleshooting -> Disaster
Recovery -> Restoring CRDs after Deletion sources to repair
list-numbering-mangling. The section is altered to use spacing
suggestions from:
  https://squidfunk.github.io/mkdocs-material/reference/lists/

Signed-off-by: Alexander Bauer <sasha@linux.com>
2022-10-16 02:57:03 +00:00
Travis Nielsen 2a00a829c2 Merge pull request #11122 from jmolmo/pd_dashboard_note
docs: add point about physical disks visualization in dashboard
2022-10-11 11:22:15 -06:00
Juan Miguel Olmo Martínez 1ee481cf43 docs: add point about physical disks visualization in dashboard
New point to explain when is available this information in the Ceph dashboard

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2022-10-11 19:08:27 +02:00
Travis Nielsen fc035c7a5b docs: document expectations for releases
The release schedule and maintenance approach has been
left as undefined until now to give flexibility to the
maintainers to release as needed. The community is
asking for clarity around the planned release schedule
so it is time to document the procedures.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-10 14:32:26 -06:00
Travis Nielsen 4a86012ead osd: recommend removing memory limits from osd prepare job
The osd prepare job is not recommended to have memory limits since
it's a one-time operation depending on the size of the disk that must
be allowed to complete successfully.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-05 15:36:02 -06:00
Travis Nielsen 92c52c4a2e osd: prepare job needs significant more memory for provisioning
The OSD creation may need to burst during OSD provisioning depending
on the size of the OSD or similar factors. If the OSD prepare job is
OOM killed it will cause OSD provisioning to fail and have various
side effects that are difficult to troubleshoot to get the OSD
to succeed. So we increase the recommendation significantly to avoid
the OOM kill.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-05 08:29:18 -06:00
Tarun Gupta Akirala 6c2335b37a docs: fix notes in contributing docs
Signed-off-by: Tarun Gupta Akirala <takirala@users.noreply.github.com>
2022-10-04 17:18:33 -07:00
Travis Nielsen 9e89c8e06e Merge pull request #11029 from moduon/docs-nixos
docs: explain specific nixos configurations
2022-10-04 07:28:09 -06:00
Jairo Llopis 7fecca3d6f docs: explain specific nixos configurations
Explain the fix for https://github.com/rook/rook/issues/10932 to let NixOS users set up Rook more easily.

Signed-off-by: Jairo Llopis <jairo@moduon.team>
2022-10-04 07:27:43 +01:00
Travis Nielsen 4370d9c710 Merge pull request #11085 from humblec/sidecar-update
update sidecars to latest in CSI deployment
2022-09-29 08:46:30 -06:00
Travis Nielsen c561c2d4ef Merge pull request #11017 from subhamkrai/update-troubleshooting-doc
docs: update troubleshoot docs and add krew uses
2022-09-29 08:11:33 -06:00
Humble Chirammal c847e6b98d csi: update sidecars to latest in CSI deployment
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-29 19:35:17 +05:30
Humble Chirammal 4d435b224f csi: use ceph csi v3.7.1 for rook csi driver deployment
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-29 16:46:43 +05:30
subhamkrai 37542c8f49 docs: update troubleshoot docs and add krew uses
updated troubleshoot doc using common issues to reference
krew plugin and added krew section for osd pugre.

Signed-off-by: subhamkrai <srai@redhat.com>
2022-09-29 11:55:44 +05:30
Travis Nielsen 74e7d3cc09 Merge pull request #11076 from travisn/cleanup-visibility
docs: Symlink cleanup page to the Getting Started doc folder
2022-09-28 15:13:47 -06:00
Travis Nielsen 3484eb7520 docs: symlink cleanup page to the getting started doc folder
The cleanup guide is difficult to find under the storage configuration section
with so many other topics. We will show the cleanup guide also from the getting
started section to make it more discoverable.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-28 15:05:07 -06:00
Satoru Takeuchi 9a30f361bb Merge pull request #11069 from cybozu-go/osd-clarify-lv-is-not-picked-by-filters
osd: clarify lv is not picked by filters
2022-09-29 05:00:42 +09:00