Commit Graph
7961 Commits
Author SHA1 Message Date
Alexander Trost 3a06804931 docs: updated Ceph mon disaster recovery guide
This updates the Ceph mon disaster recovery guide to use the correct
paths and commands for the current Rook Ceph release.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-09-25 18:26:04 +02:00
Travis Nielsen 75963b2859 Merge pull request #3973 from leseb/mergify-for-backports
add mergify engine for backport only
2019-09-25 10:23:31 -06:00
Travis Nielsen 7b5d855dfc Merge pull request #3614 from rajatsingh25aug/schema-validation-crds
Added validation for cephBlockPool,cephfs and cephnfs
2019-09-25 10:19:20 -06:00
travisn 0f5f2a81d7 ceph: allow setting affinity on the ceph version job
A job is started to detect the Ceph version. This job now allows setting
the node affinity and tolerations with the same setting that is
specified for the mon placement. No new placement spec is required, but
we will simply use the same spec that the mons use.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-25 10:10:45 -06:00
Ashish Ranjan ec7bd4dda0 enhance: Updates Makefile to allow compiling with go 1.13
This commit updates Makefile to allow compiling with golang 1.13.

Signed-off-by: Ashish Ranjan <aranjan@redhat.com>
2019-09-25 21:22:12 +05:30
Travis Nielsen b99f6efb03 Merge pull request #3979 from Madhu-1/change-csi-tag
use new cephcsi release
2019-09-25 06:52:45 -06:00
Madhu Rajanna 0a516d5f32 use v1.2.1 cephcsi release
update CSI deployment templates and
doc to use new cephcsi v1.2.1 release

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-25 16:08:55 +05:30
RAJAT SINGH 4a02c568e7 Added validation for cephBlockPool,cephfs and cephnfs.Added changes in ceph_manifest.go and resources.yaml according to common.yaml.
Signed-off-by: RAJAT SINGH <rajasing@redhat.com>
2019-09-25 15:42:07 +05:30
Sébastien Han b6df9534d8 Merge pull request #3978 from travisn/configmap-clarify
Clarify docs around the custom ceph.conf settings configmap
2019-09-25 09:10:47 +02:00
Sébastien Han a42cc44d11 Merge pull request #3894 from mvollman/osd_ceph_conf
ceph: fix encrypted osd startup
2019-09-25 09:00:06 +02:00
Sébastien Han 24fc94cc57 Merge pull request #3955 from leseb/cv-debug-prepare
ceph: various osd fixes and improvements with lvm and ceph-volume
2019-09-25 08:46:34 +02:00
Sébastien Han 21e44c29e9 Merge pull request #3969 from leseb/osd-socket
ceph: osd reset 'run dir' to default location
2019-09-25 08:45:46 +02:00
Sébastien Han cfd2a7be0b add mergify engine for backport only
This is round 2 attempting to add the mergify engine in Rook. In this
case, we only use the backporting and automerge features.

* auto backport: set a label on your PR and a backport PR will be
automatically created under the right branch
* auto backport PR merge: if the backport PR passes CI, mergify will
merge it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-25 08:41:41 +02:00
travisn 94c607b1d7 ceph: clarify docs around settings configmap
The configmap for advanced configuration can be created before the
cluster is created. In that case, the daemons will all pick up the
settings the first time they are started. Otherwise, the daemons
need to be restarted

Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-24 17:49:33 -06:00
Sébastien Han 42cebf6311 ceph: osd run lvm config all the time
Previously, we were applying lvm config changes to OSD running on PV. So
now, we do this for any type of cluster deployment (bare metal or
Cloud).

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-24 22:49:39 +02:00
Sébastien Han 3404460d3c ceph: osd, fix lvm filter regexp
The lvm documentation uses commas to separate the regular expressions.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-24 17:17:29 +02:00
Sébastien Han 9b2afbca14 ceph: osd add debug logs for ceph-volume on prepare
Previously the debug flag was turned on for the 'activate' call only,
now 'prepare' will also take advantage of it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-24 17:17:29 +02:00
Travis Nielsen 9affd75752 Merge pull request #3959 from Madhu-1/fix-svc-crt
Update service if already present
2019-09-24 08:44:14 -06:00
Sébastien Han 9bcdbeaf51 Merge pull request #3970 from humblec/ext4
Set default FS to "ext4" on RBD device
2019-09-24 11:11:46 +02:00
Humble Chirammal 3da9514191 We were defaulting to ext4 at first and then moved to
`xfs`. However further testing shows that, ext4 should be
the default or preferred fs for RBD devices.

This patch bring that change

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-09-24 14:28:16 +05:30
Sébastien Han ad514606bf ceph: osd reset 'run dir' to default location
Previously, "run dir" was used to place a number of file and config on
dataDirHostPath. Now, since a lot of configs and options have moved
either on the OSD's startup CLI line or remove with bluestore we don't
need to change the default.

Also, it was confusing for user and difficult to find the socket.
The is is not breaking any config in dataDirHostPath since all the
elements (keyrings) are hardcoded in the config file.

Closes: https://github.com/rook/rook/issues/3966
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-24 10:27:59 +02:00
Sébastien Han d8813513eb ceph: fix various spelling issues
Correct spelling.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-24 10:26:22 +02:00
Alexander Trost ba196bdea5 Correct SYSTEM spelling (#3963)
Correct SYSTEM spelling
2019-09-24 10:00:56 +02:00
Sébastien Han 4e96ddfdce Merge pull request #3919 from krig/clustercontroller-finalizer
Ceph: Remove finalizer even if flex is disabled
2019-09-24 09:42:38 +02:00
Kristoffer Grönlund fb599dd02b Ceph: Remove finalizer even if flex is disabled
When the flex driver is disabled, the check for
volume attachments will fail and the finalizer
is never removed. To avoid this, just log the
failure to list volumes and remove the
finalizer anyway.

Resolves #3912

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2019-09-24 08:22:30 +02:00
Travis Nielsen 4cbe8b5a3e Merge pull request #3931 from Madhu-1/fix-umount
Fix umount issue when rbd-nodeplugin restarts
2019-09-23 22:21:52 -06:00
Madhu Rajanna bdfdac8ee4 Update service if already present
previously we are not updating the service
if it's already present. with this change,
we will update the service. this does not
trigger any error message if service
already present.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-24 09:43:02 +05:30
Madhu Rajanna 09da4e3a3e Correct SYSTEM spelling
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-24 09:32:36 +05:30
Travis Nielsen ba2b8724ce Merge pull request #3946 from sebastian-philipp/crd-validation-network-provider
CephCluster CRD: Added additional network attributes to validation
2019-09-23 10:22:41 -06:00
Travis Nielsen 1969a4f4fb Merge pull request #3944 from Madhu-1/correct-ns
correct namespace for csi resources  in upgrade doc
2019-09-23 10:22:00 -06:00
Travis Nielsen 1e695283c9 Merge pull request #3945 from Madhu-1/disable-flex
Disable Flexdriver in helm chart and operator-openshift
2019-09-23 09:52:10 -06:00
Madhu Rajanna d71d57f0e9 Add KUBELET_DIR_PATH to operator-openshift.yaml
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-23 20:26:03 +05:30
Madhu Rajanna 7a407fb045 Disable flex driver in operator-openshift.yaml
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-23 20:26:03 +05:30
Madhu Rajanna 15f36e9c63 Disable Flexdriver in helm chart
in commit https://github.com/rook/rook/commit/c7b861a21d729da0a4e5a86349efc8a290130bb8
flexdriver got enabled  by mistake, This will fix it

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-23 20:26:03 +05:30
Sébastien Han 8b3b97c5da Merge pull request #3949 from leseb/olm-nfs-yaml
rook-ceph olm: add missing nfs crd example
2019-09-23 16:47:41 +02:00
Alexander Trost 8187297d36 Merge pull request #3503 from jbmcfarlin31/master
minio: update documentation in regards to #3478
2019-09-23 13:36:27 +02:00
Sébastien Han 2e482d15a3 ceph: common.yaml remove empty line
We don't need this empty line.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-23 12:10:38 +02:00
Sébastien Han 0b4129c856 rook-ceph olm: add missing nfs crd example
When displaying the CRDs OLM looks into the alm-examples field in the
CSV file, the NFS CRD example was missing so let's add it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-09-23 12:08:15 +02:00
Sébastien Han cf091d3773 Merge pull request #3928 from rohantmp/csvBump
Generate OLM clusterserviceversion v1.1.1
2019-09-23 11:46:55 +02:00
Alexander Trost ba12167ff5 Merge pull request #3820 from krig/yugabyte-doc
Doc (Yugabyte DB): Fix hostname in API connection (#3816)
2019-09-23 10:01:56 +02:00
Sebastian Wagner 82329a0bc6 Ceph CRDs: sync between copies
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-09-23 09:57:49 +02:00
Sebastian Wagner 965dc93f11 CephCluster CRD: Added network.provider to validation
(and `network.selectors`)

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-09-23 09:57:05 +02:00
Madhu Rajanna 04a276abf1 correct namespace for csi resources
CSI pods should look for the resources
created in ROOK_SYSTEM_NAMESPACE instead
of ROOK_NAMESPACE

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-09-23 10:20:51 +05:30
Travis Nielsen f96960cfcc Merge pull request #3904 from sebastian-philipp/crd-validation-disruptionManagement
Fix CRD Validation: disruptionManagement and mgr modules
2019-09-20 17:06:45 -06:00
Michael Vollman e12bbd6f7c ceph: fix encrypted osd startup
Encrypted OSDs are failing because ceph-volume is unable to determine
how to contact the monitors.  Setting the CEPH_CONF env variable for OSD
pods fixes this issue. (#3846)

Signed-off-by: Michael Vollman <michael.b.vollman@gmail.com>
2019-09-20 16:36:52 -04:00
Travis Nielsen cfc82d89a8 Merge pull request #3933 from travisn/lvm-for-rhel8
Configure additional LVM setting for rhel8
2019-09-20 12:49:33 -06:00
travisn f3ce214822 ceph: configure additional lvm settings for rhel8
RHEL8 introduces some lvm changes. For OSDs on PVs to work
we need to set allow_changes_with_duplicate_pvs = 1.
This is required since we're copying the block image
under another location.

Signed-off-by: travisn <tnielsen@redhat.com>
2019-09-20 11:51:07 -06:00
Travis Nielsen 5f37de8abc Merge pull request #3927 from Madhu-1/fix-3921
Make kubelet path configurable in operator for csi
2019-09-20 10:45:27 -06:00
Travis Nielsen 70c44c6eea Merge pull request #3924 from travisn/osd-on-pvc-nodename
Ceph: OSD pods should always use hostname for node selector
2019-09-20 10:45:10 -06:00
Travis Nielsen 03f328b0ed Merge pull request #3755 from sp98/fix-osd-on-pvc
[osd on pvc] deactivate device from lvm after OSD Prepare and OSD daemon pod ends
2019-09-20 10:43:33 -06:00