Commit Graph
1671 Commits
Author SHA1 Message Date
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
Travis Nielsen d575ad5379 Merge pull request #11655 from travisn/release-1.10.11
build: Update the release version to 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
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 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
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
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 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
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
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
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
Travis Nielsen 0ae802be82 build: update the release version to v1.10.9
For the patch release update the examples and docs to
v1.10.9

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2023-01-12 12:28:41 -07:00
subhamkrai c861c73219 webhook: disable webhook by default
sadly, we need to disable webhook by default until
we find solution to https://github.com/rook/rook/issues/10719

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit e9e2313126)
2023-01-12 18:18:24 +00:00
Madhu Rajanna 71eb14afb2 csi: update sidecars to latest release
update all the kubernetes sidecars to the latest
release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit f11e65f40c)
2023-01-06 07:59:29 -07:00
Tim Jones 357b32be78 docs: fix grafana dashboard links
Fixes the Grafana dashboard links dur to changes on the Grafana website.

Signed-off-by: Tim Jones <timniverse@gmail.com>
(cherry picked from commit afdd6e92ce)
2023-01-05 17:03:55 +00:00
Loïc Antoine-Gombeaud a83b7109e2 helm: fix toolbox command, default to cluster image
Signed-off-by: Loïc Antoine-Gombeaud <lantoinegombeaud@gestform.com>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 59f6cd00ff)
2023-01-04 22:00:44 +00:00
Travis Nielsen eb9f698aec build: update the release version to v1.10.8
For the patch release update the examples and docs to
v1.10.8

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-12-21 09:46:39 -07:00
Madhu Rajanna db204942fb docs: update csi registry in custom-images
updated the outdated registry URL
for the CSI sidecar images in the custom-images

fixes: #11463

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 2d544d59f1)
2022-12-21 14:42:07 +00:00
Tomáš Sýkora 59a0d00349 helm: allow to specify allowed topologies for storage class
Signed-off-by: Tomáš Sýkora <tomas@reservio.com>
(cherry picked from commit 57babee11f)
2022-12-20 10:13:20 -07:00
Zuhair 0e95ea2542 docs: auto generate helm chart docs using helm-docs
Signed-off-by: Zuhair AlSader <zuhair@koor.tech>
2022-12-19 19:35:29 -05:00
Travis Nielsen fdf609f528 docs: add link to failover and failback topic
A note in the rbd mirroring topic was missing a link
to the failover and failback doc.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 2991ee1e61)
2022-12-19 17:58:41 +00:00
parth-gr f2c6dd7a2d docs: import external K8s cluster on existing cluster
If there is a external k8s cluster which need to use rook-ceph as
a storageclass backend then user can do the following steps import
it to the running rook-ceph cluster

Closes:https://github.com/rook/rook/issues/11404
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 8d6be0bcf3)
2022-12-15 15:10:48 +00:00
xiaobaowen 9fd05bebdb docs: fix notes in CephBucketTopic docs
Signed-off-by: xiaobaowen <xiaobaowen@deeproute.ai>
(cherry picked from commit 8f23c1ba9e)
2022-12-09 14:30:14 +00:00
Travis Nielsen 7e4ba9b4e9 build: update the release version to v1.10.7
For the patch release the examples and docs are updated to
v1.10.7

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-12-06 13:20:09 -07:00
Satoru Takeuchi 26bd4cb44a docs: fix wrong format caused by merge conflict
The doc of operator helm chart was broken by mistake. It's due to
merging the following PR even though merge conflicts exited.

https://github.com/rook/rook/pull/11348

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2022-11-28 23:54:22 +00:00
Shinya Hayashi c424b3c42e csi: add a parameter to modify the maxUnavailable value of rbd daemonset
The default value of maxUnavailable of daemonset is 1.
Sometimes the upgrade can be slow due to this setting.
So I add a parameter to change the value for rbd daemonset.

Signed-off-by: Shinya Hayashi <shinya-hayashi@cybozu.co.jp>
Co-authored-by: Toshikuni Fukaya <toshikuni-fukaya@cybozu.co.jp>
Co-authored-by: Yuji Ito <llamerada.jp@gmail.com>
(cherry picked from commit ac4b47d71a)

# Conflicts:
#	Documentation/Helm-Charts/operator-chart.md
2022-11-24 10:53:08 +00:00
Travis Nielsen d8640637ff build: set the release version to v1.10.6
For the patch release the docs and examples are updated to
v1.10.6

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-11-17 15:12:39 -07:00
Deepika Upadhyay eb86d6083a 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>
(cherry picked from commit 2e048406ab)
2022-11-17 18:06:19 +00:00
Travis Nielsen b0160858aa 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>
(cherry picked from commit 6b6252e474)
2022-11-16 16:35:13 +00:00
Travis Nielsen c902b9bcc1 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>
(cherry picked from commit b79d9022a4)
2022-11-14 21:42:30 +00:00
Travis Nielsen 6f069b688b Merge pull request #11295 from rook/mergify/bp/release-1.10/pr-10652
docs: add additional RBD image features to docs and YAML files (backport #10652)
2022-11-11 14:54:17 -07:00
Shinya Hayashi 13b63c4a08 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>
(cherry picked from commit 05875a3f4f)
2022-11-10 18:31:43 +00:00
Anthony D'Atri b005fbf4dc docs: add additional RBD image features to docs and YAML files
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 10b398cc02)
2022-11-10 18:10:04 +00:00
Travis Nielsen 8a241a6b0f 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>
(cherry picked from commit 05590dfc9b)
2022-11-10 17:39:28 +00:00
parth-gr 063196d344 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>
(cherry picked from commit 9f432b4ecb)
2022-11-10 15:00:19 +00:00
Blaine Gardner cb10fe35fa 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>
(cherry picked from commit a777b1d7d1)

# Conflicts:
#	pkg/apis/ceph.rook.io/v1/types.go
2022-11-07 14:30:58 -07:00
Jairo Llopis 525d3f2c55 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>
(cherry picked from commit e0ad2f9789)
2022-11-04 17:31:48 +00:00
Travis Nielsen 7a29088304 build: update the release version to v1.10.5
For the patch release the examples and docs are updated
to v1.10.5

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-11-03 14:33:59 -06:00
subhamkrai c9acbe5579 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>
(cherry picked from commit 0dbfc66498)
2022-11-03 14:06:28 +00:00
gauravsitlani 5a932187c0 docs: added steps to collect coredump and perf troubleshooting info
Signed-off-by: gauravsitlani <gauravsitlani@riseup.net>
(cherry picked from commit 3ead8218d9)
2022-11-02 16:10:47 +00:00
Travis Nielsen a809631456 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>
(cherry picked from commit 61840324be)
2022-10-27 17:34:59 +00:00
subhamkrai 98600a440f core: upgrade ceph to latest release v17.2.5
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 270b565f18)
2022-10-26 15:52:18 +00:00
Tarun Gupta Akirala c0230447bd docs: fix typo in numbering
Signed-off-by: Tarun Gupta Akirala <takirala@users.noreply.github.com>
(cherry picked from commit a2b0871d08)
2022-10-25 13:34:27 +00:00
Alexander Bauer e88bdffc70 docs: add scripts, details, and new steps to CRD restoration guide
Signed-off-by: Alexander Bauer <sasha@linux.com>
(cherry picked from commit 825e956849)
2022-10-21 14:14:10 +00:00
Alexander Bauer 2637eec97d docs: add warning about CR naming in CRD restoration page
Signed-off-by: Alexander Bauer <sasha@linux.com>
(cherry picked from commit dc13595670)
2022-10-21 14:14:09 +00:00
Alexander Bauer 045d2ceb62 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>
(cherry picked from commit d7731bdf7c)
2022-10-21 14:14:09 +00:00
Travis Nielsen 1ca8adaed2 build: update release version to v1.10.4
For the patch release update the examples and docs to
v1.10.4

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-20 12:40:03 -06:00
Travis Nielsen e14d1d824d Merge pull request #11190 from rook/mergify/bp/release-1.10/pr-11171
docs: updated syntax in markdown files (backport #11171)
2022-10-20 10:44:09 -06:00
Travis Nielsen 7a6445cf96 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>
(cherry picked from commit 3e60b95fd6)
2022-10-20 15:14:53 +00:00