Commit Graph
2042 Commits
Author SHA1 Message Date
Alexander Trost 0827df646a docs/ceph: add list of unusable directories paths
This adds a list of unusable directories paths to the Ceph Cluster CRD
doc page and the Ceph operator validation code. Reason for adding these
directories is that they are causing errors during Ceph OSD deployment.
Example: When an user wants to use `/rook` as a directory for an OSD,
the cluster deployment fails because the `mountPath`s must be unique:
```
Job.batch "rook-ceph-osd-prepare-NODE" is invalid: spec.template.spec.containers[1].volumeMounts[4].mountPath: Invalid value: "/rook": must be unique
```

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-09-13 14:06:32 +02:00
travisn c77a64fbaa ceph: add final upgrade changes from v1.0
The upgrade was missing some final features that were added recently
such as the pod disruption budgets. The namespaced RBAC changes also
needed to have the appropriate namespaces included if they had installed
the operator in a different namespace from rook-ceph.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-12 14:08:10 -06:00
Blaine Gardner 0be2e2c027 ceph upgrade doc: document CSI image changes
The configuration for using Rook with CSI images has changed somewhat
since v1.0, and users of Ceph's CSI drivers will need to consider some
additional update steps.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-09-10 11:02:21 -06:00
Kristoffer Grönlund c2b75db41c Doc (Yugabyte DB): Fix hostname in API connection (#3816)
Use the correct hostname when accessing the API.

Resolves: #3816

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2019-09-10 13:19:58 +02:00
Travis Nielsen 82a2d018a2 Merge pull request #3715 from ashishranjan738/rohan
Adds MDB controller and machineLabel controller required for fencing
2019-09-06 16:51:56 -06:00
Dmitry Yusupov d804989511 Merge pull request #3799 from dyusupov/master
edgefs image version update in examples and docs
2019-09-06 15:38:02 -07:00
travisnandAshish Ranjan 638b591535 ceph: Adds support for MDB controller and machineLabel controller
Add support for MachineDisruptionBudget controller and MachineLabel controller required for fencing
in OpenShift. This will ensure that machines are only fenced and OSDs are only stopped
when Ceph is in a healthy state.

Co-authored-by: Ashish Ranjan <aranjan@redhat.com>
Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-06 16:32:06 -06:00
Dmitry Yusupov 5b1aa7fa21 edgefs image version update in examples and docs
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-09-06 14:52:59 -07:00
Blaine Gardner 138b30e5ff ceph upgrade doc: add note about required configs
Make users aware of the newly 'required' configs earlier in the upgrade
doc so they have more context when they arrive at the upgrade step to
consider changing these for their own clusters.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-09-06 15:48:41 -06:00
travisnandSébastien Han c30cc697c7 ceph: ability to enable mgr module via CRD
We can now enable via the cluster CR any manager module with a
setting under the new mgr element

mgr:
  modules:
  - name: pg_autoscaler
    enabled: true

Co-authored-by: Sébastien Han <seb@redhat.com>
Co-authored-by: travisn <tnielsen@redhat.com>
Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-06 11:32:51 -06:00
Blaine Gardner cb3107a303 Merge pull request #3775 from SUSE/lower-builtin-osd-mem-requests
Ceph osd: lower OSD pod minimum mem to 2Gb
2019-09-06 10:50:12 -06:00
Dmitry Yusupov 2282e956d9 support for mdpsize
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-09-05 18:13:56 -07:00
Blaine Gardner 6ff70be8f0 Ceph osd: lower OSD pod minimum mem to 2Gb
Some users have reported issues running Ceph OSDs in environments
without beefy systems. After consulting with Ceph experts, we believe
2Gb is still a safe minimum for Ceph for users with more modest systems
that won't result in disfunction in Ceph.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-09-05 15:24:33 -06:00
Blaine Gardner 2c4aec93ff Merge pull request #3767 from SUSE/disable-crd-config
Ceph: remove configOverrides from CRD
2019-09-05 13:59:23 -06:00
Blaine Gardner 1d47c03534 Merge pull request #3417 from nabokihms/dynamic-flexvolume-resize
ceph: Add dynamic flexvolume expansion
2019-09-05 12:52:14 -06:00
Blaine Gardner 3a243d2978 ceph: remove configOverride functionality from CRD
After further consideration and working with the feature for a few
weeks, the `configOverride` functionality seems to be more complexity
than is worth it for the expected benefit. Users still have the most
preferred option of setting configs in Ceph's config database using
`ceph cofig set` or the dashboard, and the override ConfigMap still
exists for fallback scenarios. The config database can still be used
by Rook for setting necessary configs, but the user has no way of
telling Rook to do so.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-09-05 12:30:56 -06:00
Maksim Nabokikh 179e1a310d ceph: Add dynamic flexvolume expansion
Allow to dynamic resize of rook volumes

Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
2019-09-05 02:40:22 +04:00
Sébastien Han 3390a85404 ceph: bump to 14.2.3
Let's use the latest minor release of Ceph 14.2.3.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-04 23:14:28 +02:00
Blaine Gardner a4bb5e41af Ceph: update upgrade docs for v1.1 release
Update docs and manifests for updating from the Rook v1.0 to v1.1
release.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-09-03 11:25:26 -06:00
Sébastien Han 87ca208640 Merge pull request #3596 from rohantmp/managedPDB
Managed PDBs
2019-08-30 14:34:31 +02:00
Madhu Rajanna a8589af337 Implement grpc metrics for cephcsi
grpc metrics is made option in rook
this can be disabled/enabled with ROOK_CSI_ENABLE_GRPC_METRCS
variable in operator.yaml
this will help admin who want to check the grpc metrics
of the ceph-csi plugins

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-30 15:01:45 +05:30
Rohan CJ 4072d14557 Add tests for the clusterdisruption controller and update the docs and
pending releas notes for managed PDBs.

Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-08-30 14:04:23 +05:30
Madhu Rajanna fc713b61cf Fix markdown issues in ceph-csi doc
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-30 13:16:55 +05:30
Madhu Rajanna 77715a1096 change liveness port of cephfs and rbd
earlier 8080 was used by rbd for liveness and 8081
was used by cephfs for liveness. in most of the system
8080 will be sued for some other service, this will
cause  the rbd service to fail,  choosing 9080 and 9081
as ports for rbd and cephfs to avoid this  kind of
suitation.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-30 13:16:55 +05:30
Travis Nielsen 5eab7ca658 Merge pull request #3573 from SUSE/mon-kv-store
Ceph: override configs in CRD
2019-08-29 19:04:16 -06:00
Blaine Gardner 1be43290be Ceph: override configs in CRD
Allow users to specify overrides in the CephCluster CRD. The override
ConfigMap still exists for emergency situations and is mounted into
daemon pods directly instead of being merged into a Rook-created config
file.

Rook Ceph no longer uses a config file for managing daemons with the
exception of the OSDs which still generate a config in an init
container.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-08-29 15:38:27 -06:00
Dmitry Yusupov b0dffa6f9b Merge pull request #3702 from sabbot/transition-to-v1
Declare EdgeFS CRDs as v1
2019-08-29 11:26:45 -07:00
rohan47 21deea9d64 OSD: CRUSH map can be based on node or PVC in case of PVC backed OSD
Signed-off-by: rohan47 <rohgupta@redhat.com>
2019-08-29 04:01:41 +05:30
Anton Skriptsov c0fe6af712 Initial v1
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-08-28 15:18:38 -07:00
Travis Nielsen 0aa1774ebe Merge pull request #3668 from noahdesu/canary-sched
ceph/mon: support monitor migration without rebuils
2019-08-27 22:50:43 -06:00
Noah Watkins e2fccdf03b ceph: remove the CRD option Mon.PreferredCount
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-08-27 17:43:35 -07:00
Sameer Kulkarni 3248e9386b yugabytedb: Documentation, user guides & examples
Signed-off-by: Sameer Kulkarni <samkulkarni20@gmail.com>
2019-08-27 22:47:04 +05:30
Umanga Chapagain 33fc9a013a updates helm-operator documentation
+ added new nodeAffinity options

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-08-27 15:23:15 +05:30
Sébastien Han a42916eff0 ceph: use latest ceph images
The last image has disabled ephemeral repositories so it's now possible
for images older than 15 days to install packages without having an
  error from non-existing repositories.

Closes: https://github.com/rook/rook/issues/3662
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-08-26 23:50:55 +02:00
Sébastien Han 0bdc98f333 Merge pull request #3576 from giovanism/multus
Multi-homing networking
2019-08-26 15:17:24 +02:00
giovanism ea14b555d9 edgefs: Replace NetworkSpec with rookv1alpha2 version
edgefs: Change IsHost and IsMultus network func signature

edgefs: Reorder mgr annotations declaration

edgefs: Update cluster CRD docs and example for NetworkSpec

Signed-off-by: giovanism <giovanism@outlook.co.id>
2019-08-26 16:17:03 +07:00
jiffin abe3678990 adding smoke test for bucket store
Signed-off-by: jiffin <thottanjiffin@gmail.com>
Signed-off-by: Jon Cope <jcope@redhat.com>
Signed-off-by: jeffvance <jeff.h.vance@gmail.com>
2019-08-22 19:54:44 -06:00
c852e86fe9 ceph-rook object bucket provisioner
Signed-off-by: travisn <tnielsen@redhat.com>
Signed-off-by: jeffvance <jeff.h.vance@gmail.com>
Signed-off-by: Jon Cope <jcope@redhat.com>

Co-authored-by: Jon Cope <copejon@users.noreply.github.com>
Co-authored-by: Jeff Vance <jeff.h.vance@gmail.com>
2019-08-22 19:54:43 -06:00
Sébastien Han 0d5569179c ceph: external cluster documentation
Add documentation and release note.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-08-22 17:19:33 +02:00
hoeghh a7d6c1c2cb Added imageFeatures, imageformat and fstype so that it works with snapshots
Signed-off-by: Henrik Høegh <heh@praqma.net>
2019-08-22 15:59:31 +02:00
Sébastien Han bdc440515f Merge pull request #3598 from giovanism/update-docs-setup-multinode
docs: Update kubespray development-environment instructions
2019-08-22 13:59:17 +02:00
giovanism 7e9403ccce docs: Update kubespray development-environment instructions
This is necessary as the current kubespray VM's dockerd engine
depreciated the --graph daemon option.

Signed-off-by: giovanism <giovanism@outlook.co.id>
2019-08-22 16:43:23 +07:00
travisn 8c81f9e898 docs: remove extra whitespace preventing csi doc from showing in TOC
Signed-off-by: travisn <tnielsen@redhat.com>
2019-08-21 15:20:16 -06:00
Travis Nielsen db2b267cb5 Merge pull request #3416 from Daniel-Pivonka/csi-liveness
ceph: deploy liveness sidecar with csi
2019-08-21 07:42:57 -06:00
Blaine Gardner b76ed66582 Merge pull request #3556 from mumrau/master
ROOK_CURRENT_NAMESPACE_ONLY environment variable configurable with helm for operator deployment
2019-08-19 14:28:01 -06:00
Daniel-Pivonka 665172a9ea ceph: deploy liveness sidecar with csi
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
2019-08-19 14:26:47 -04:00
Proton b651239d3f doc: Add disaster recovery doc [skip ci]
Added instructions about how to bring orphaned rook/ceph cluster back.

Signed-off-by: Proton <feisuzhu@163.com>
2019-08-17 23:28:35 +08:00
Mathias Chevalier a9383ce397 ROOK_CURRENT_NAMESPACE_ONLY env var in operator deployment made configurable with helm
Signed-off-by: Mathias Chevalier <mc.mumrau@gmail.com>
2019-08-17 08:47:45 +02:00
Dmitry Yusupov bfe867e16c Merge pull request #3628 from sabbot/useHostLocalTime
Add useHostLocalTime option
2019-08-15 14:33:03 -07:00
Anton Skriptsov e99df703c5 Add useHostLocalTime option
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-08-14 11:26:42 -07:00