Commit Graph
389 Commits
Author SHA1 Message Date
Sébastien Han 9c86f40a6e Merge pull request #3724 from leseb/disable-flex
operator: ceph disable flexdriver
2019-09-18 10:08:07 +02:00
Travis Nielsen 480312c976 Merge pull request #3889 from leseb/use-v14.2.4-20190917
ceph: bump to v14.2.4
2019-09-17 16:56:51 -06:00
Sébastien Han 7f359ba41b operator: ceph disable flexdriver
Since Ceph CSI is stable and deployed by default, we don't need to
deploy the rook-ceph-agent daemonset.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-18 00:28:25 +02:00
Blaine Gardner 346bce2430 Merge pull request #3862 from krig/ssl-enabled-by-default
Ceph: Enable SSL for dashboard by default
2019-09-17 11:40:52 -06:00
Sébastien Han bc6dcb9995 ceph: bump to v14.2.4
v14.2.4 just got released so let's use it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-17 15:08:15 +02:00
Madhu Rajanna 3c7dc1efe4 corrent liveness container socket file
liveness container is deployed as part of
the provisioner pod so it has to connect to
the provisioner container and check the liveness.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-17 15:43:20 +05:30
Kristoffer Grönlund 35109e69f2 Ceph: Enable SSL for dashboard by default
With #3626, the default value for ssl changed
from enabled to disabled, so to get SSL for
the dashboard we will need to enable it
explicitly.

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2019-09-16 10:04:35 +02:00
Umanga Chapagain ddb006152b Changed description for CephDataRecoveryTakingTooLong alert
Previous alert description was confusing. This makes it more
generic and user understandable.

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-09-13 13:58:51 +05:30
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
travisn dc39129877 ceph: use consistent storage class name for at least one environment
Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-12 11:04:01 -06:00
Travis Nielsen 3eb4586827 Merge pull request #3808 from Madhu-1/csi-timeout
Increase sidecar timeout from 60s to 150s
2019-09-09 23:06:46 +03:00
Alexander Trost 5c04dc0c9a Merge pull request #3789 from umangachapagain/MonLeaderChangesAlert
Fixed HighMonLeaderChanges Alert
2019-09-09 17:55:18 +02:00
Umanga Chapagain 332c9993b1 Fixed HighMonLeaderChanges Alert
rounded the value of MonLeaderChange Rate to 2 decimal points (e.g. 2.44)
previously, we had 16 decimal points (e.g. 2.4406779661016946).
This makes the alert notification more sensible and readable.

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-09-09 10:34:00 +05:30
Madhu Rajanna 1830c68947 Increase sidecar timeout from 60s to 150s
At present, the request timeout of sidecars
are at 60s and this is a request to increase
this time out value to 150s or higher. The
higher timeout value can help to reduce the
load of our backend ceph cluster and also can
avoid throttling issues at sidecars to an extend.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-09 08:37:14 +05:30
Blaine Gardner 9bdc301f2b Merge pull request #3800 from SUSE/nfs-operator-line-endings
NFS: Fix operator.yaml line endings
2019-09-06 16:53:58 -06: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
Blaine Gardner 9f6cbd382e NFS: Fix operator.yaml line endings
NFS operator.yaml example file had Windows (CRLF) line endings instead
of the Unix (LF) line endings used elsewhere. Fix this.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-09-06 16:43:02 -06: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
Travis Nielsen 49c516916e Merge pull request #3781 from rohantmp/topology
Fix topologyAware on PVC-based OSDs
2019-09-06 13:59:22 -06:00
Travis Nielsen fe4874dc77 Merge pull request #3769 from leseb/mgr-modules
Ceph: Ability to enable pg_autoscaler mgr module via CRD
2019-09-06 13:34:05 -06:00
Travis Nielsen 18c6f8ae37 Merge pull request #3788 from umangachapagain/activeMDS
updating additionalPrinterColumns for CephFS
2019-09-06 13:00:18 -06:00
Travis Nielsen c2aec9ea41 Merge pull request #3780 from Madhu-1/csi-v1.2.0
Use v1.2.0 ceph-csi version
2019-09-06 12:58:27 -06:00
Rohan CJ f8b7537830 Fix topologyAware on PVC-based OSDs
Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-09-06 23:17:01 +05:30
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
Travis Nielsen 5bcfb7205f Merge pull request #3787 from Madhu-1/make-plugin-configurable
configure cephfs  and rbd servers
2019-09-06 11:05:10 -06:00
Umanga Chapagain 0caedcf4d6 updating additionalPrinterColumns for CephFS
- Renamed MDSCOUNT to ActiveMDS & updated Description
  This was to remove the confusion about what the count
  is actually about (Active or Active+Standby).

Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-09-06 11:38:33 +05:30
Madhu Rajanna f776671e3d configure cephfs and rbd servers
https://github.com/ceph/ceph-csi/pull/550 made
the servers configurable to avoid noise
on the GRPC metrics and also to avoid
unnecessary server starting

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-06 09:48:29 +05:30
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 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
Madhu Rajanna b64768ee39 Use release ceph-csi version
replace canary tag with release ceph-csi
v1.2.0 tag

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-05 16:10:30 +05:30
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
Madhu Rajanna 4ab6e9a191 Remove attacher service account
attacher is part of provisioner deployment,
so provisioner service account will be used
for provisisoner deployments, no need of
attacher service account.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-04 09:39:33 +05:30
Blaine Gardner 7eef87fbcb Merge pull request #3732 from SUSE/upgrade-docs
Ceph: update upgrade docs for v1.1 release
2019-09-03 12:36:43 -06: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
Anton Skriptsov b69c5147d0 Edgefs:#3735 fix CRD's version to v1
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-08-30 08:56:31 -07: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 8d5d9b9117 Fix liveness service creation
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-30 13:16:55 +05:30
Madhu Rajanna 5587169fe9 Fix namespace selector in csi-livenees-monitoring
csi services are created in rook-ceph namespace

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-30 13:16:55 +05:30
Madhu Rajanna 53e33d4e08 Fix invalid port name in service monitoring
http-metrics1 port was not the service port name
defined for liveness

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
Rohan CJ d6b23dd549 Add nodedrain controller for deploying canary deployments for every node.
Canary pods can be watched to determine when a node is draining.

Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-08-30 09:01:11 +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
Blaine Gardner 199f2b80ab Merge pull request #3568 from nabokihms/rook-add-image-pull-secrets
rook: Add image pull secrets option
2019-08-29 14:02:03 -06:00