Commit Graph
3438 Commits
Author SHA1 Message Date
Dmitry Yusupov 6fcd2c21fa Merge pull request #3774 from dyusupov/master
ISGW doesnt need large chunk cache
2019-09-05 18:12:38 -07:00
Travis Nielsen a777c94a08 Merge pull request #3778 from rohantmp/managedPDB
Reflect pdb rbac in helm template and ceph_manifests.
2019-09-05 14:10:40 -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
Sébastien Han 41fec6bedd Merge pull request #3770 from leseb/use-14.2.3
ceph: bump to 14.2.3
2019-09-05 09:45:49 +02:00
Sébastien Han a5567f8ad4 Merge pull request #3739 from leseb/external-cluster-upgrades
ceph: external be a bit more flexible on upgrade
2019-09-05 09:45:42 +02:00
Rohan CJ ceeace5fd4 Reflect permissions required for managed disruption in the helm template and ceph_manifests
Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-09-05 08:37:02 +05:30
travisn 533ac5b693 ceph: refactor version detection of external cluster
Reduce the duplication of detecting the version of the external cluster
by refactoring to a single method that retrieves and validates the
version

Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-04 19:02:08 -06:00
Sébastien Han bc1a5a9037 ceph: external create 'rook-config-override' cm
This configmap is needed by RGW and MDS pods, if it's not present we
won't be able to start any of them.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-04 19:02:08 -06:00
Sébastien Han 9c1bb7c62d ceph: external be a bit more flexible on upgrade
Add various upgrade tests so that the local cluster does not fail if
an upgrade is available on the external cluster.

Also, add better upgrades handling on update and on add. We now rely as
much as possible on a unique function that works both local and external
cluster 'detectAndValidateCephVersion()'. So the code will act the same
way wether a CR update is triggered or if the operator is restarted.

The health check now reports any topology changes on the external
cluster such as odd number of mons and low number. It will also detect
if the external cluster has been upgraded and will log that information,
  helping the admin in his/her decision to trigger an image upgrade.

Finally, we prevent the creation of new CRs if the external cluster
version has a higher major number than the local one.

Closes: https://github.com/rook/rook/issues/3731
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-04 19:02:08 -06:00
Sébastien Han aa0e522524 ceph: remove dead code
These functions were not used anywhere, so removing them.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-04 19:02:08 -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
Dmitry Yusupov 175e5a7888 ISGW doesnt need large chunk cache
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-09-04 15:04:45 -07: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
Travis Nielsen eabd48d0f1 Merge pull request #3768 from Madhu-1/remove-attacher-sa
Remove attacher service account
2019-09-04 08:20:38 -06: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
Travis Nielsen 1dcaecab0f Merge pull request #3758 from krig/remove-outdated-gitignore
Remove outdated cluster/charts/rook-ceph/.gitignore
2019-09-03 12:09:59 -06:00
Travis Nielsen fb26aa10a0 Merge pull request #3747 from k0da/release_bugfix
bugfix: copy helm chart aside for packaging
2019-09-03 12:07:52 -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
Kristoffer Grönlund 3c41d7e7d6 Remove outdated cluster/charts/rook-ceph/.gitignore
Since values.yaml is no longer generated from a template
thanks to #3701, the .gitignore file shouldn't be needed.

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2019-09-03 16:18:45 +02:00
Sébastien Han e7758adfc1 Merge pull request #3738 from leseb/lvm-option
ceph: osd lvm flag
2019-09-02 14:08:34 +02:00
Dinar Valeev f81145a283 bugfix: copy helm chart aside for packaging
In order to not leave any modified file after release, lets put
chart tree aside and run sed logic on it.

Signed-off-by: Dinar Valeev <k0da@opensuse.org>
2019-09-01 19:12:26 +02:00
Travis Nielsen 5c59a1e411 Merge pull request #3742 from travisn/debug-logging
Clean up verbose Ceph logging
v1.1.0-beta.0
2019-08-30 16:44:02 -06:00
travisn a9deac7d19 ceph: clean up verbose logging
The log messages for orchestrations being skipped due to nodes still
being schedulable or unschedulable is filling the logs and not necessary.
The log message for reconciling is now debug, and also fixed another
formatting log message.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-08-30 15:01:35 -06:00
Dmitry Yusupov 09c4858e22 Merge pull request #3741 from sabbot/operator-version-fix
Edgefs:#3735 fix CRD's version to v1
2019-08-30 09:33:47 -07: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 1393b1af3c ceph: osd lvm flag
udev is not running in the container so lvm might be stuck requesting lvm
devices. So let's not talk to udev to get lvm devices.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-08-30 17:39:49 +02:00
Sébastien Han 87ca208640 Merge pull request #3596 from rohantmp/managedPDB
Managed PDBs
2019-08-30 14:34:31 +02:00
Sébastien Han 8abcf37269 Merge pull request #3716 from Madhu-1/metrics
Implement grpc metrics for cephcsi
2019-08-30 14:29:17 +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
Sébastien Han e2c8a9935c Merge pull request #3696 from mvollman/db-devices-n-size
ceph: add db-devices flag and fix DatabaseSizeMB
2019-08-30 09:49:42 +02:00
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 11293393ca Fix logging in csi
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-08-30 13:16:55 +05:30
Madhu Rajanna 3c0801dedb remove liveness tests from csi_template
The tempate defined is supposed to use of v1.0 manifests
so removing the liveness code from it.

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 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
Sébastien Han 942a89d9cd Merge pull request #3661 from rohan47/osd-marked-out
OSD: Remove osd pods that are marked out and the pod is more than an hour old.
2019-08-30 09:45:45 +02:00
Sébastien Han 180f267b33 Merge pull request #3734 from travisn/osd-init-container-pvcs
Copy binaries init container for osds on pvcs provisioning
2019-08-30 09:41:03 +02:00
travisn 49115749ab ceph: copy binaries init container for osds on pvcs provisioning
The init container for copying binaries was being overwritten by the
init container for initializing pvcs. This change appends the init
containers so all expected init containers are preserved.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-08-29 22:23:04 -06:00
Rohan CJ 60792ebe5c Add support for PDBs on Mons, RGW, and MDS
Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-08-30 09:01:15 +05:30
Rohan CJ 5a248fbf59 Set a noout on failuredomains when in maintenance.
Maintenance is only defined when managedDisruptionBudgets are enabled.
Details can be found in the design doc for manged poddisriptionbudgets.

Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-08-30 09:01:15 +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
Rohan CJ 079c24883b Add a controller-runtime scaffolding
Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-08-30 08:59:53 +05:30
Rohan CJ 6a94ff9b5b Bump kubernetes version to 1.14.1
Signed-off-by: Rohan CJ <rohantmp@gmail.com>
2019-08-30 08:59:53 +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