Commit Graph
291 Commits
Author SHA1 Message Date
Alexander Trost aa92e9a653 ceph: add psp.yaml example (#3317)
ceph: add psp.yaml example
2019-06-18 17:48:29 +02:00
Sébastien Han a74f806153 ceph: add psp.yaml example
The current doc was outdated and hardcoded, so removing the example from
the doc and add a proper psp.yaml file that people can use and
contribute too.

Closes: https://github.com/rook/rook/issues/3309
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-06-18 16:58:28 +02:00
ShyamsundarR 61b9f9a9f0 Update openshift with Ceph-CSI to image versions as in Kubernetes case
PR #3217 changed the pod manifest to drop some parameters to the
ceph-csi pods. This also resulted in a change to the operator with CSI
yaml for non-openshift case, but failed to update similar yaml's for
the openshift case.

This commit rectifies this problem.

Updates: #3312
Signed-off-by: ShyamsundarR <srangana@redhat.com>
2019-06-18 07:07:00 -04:00
Travis Nielsen 8da2221296 Merge pull request #3283 from leseb/rgw-refactor
ceph: refactor rgw bootstrap
2019-06-14 15:17:58 -06:00
Sébastien Han 93b2448619 ceph: refactor rgw bootstrap
This commit does multiple things:

* remove support for AllNodes where we would deploy one rgw per node on
all the nodes.
* a transition path is implemented in the code so that if someone has an
existing deployment, daemonsets will be removed and replaced by an
deployments.
* when using "instances", each rgw deployed has its own key which makes
Ceph reporting the exact number of rgw running, see:

```
[root@rook-ceph-operator-775cf575c5-bh4sr /]# ceph -s
  cluster:
    id:     611fcf39-0669-4864-9a12-debb35c0397a
    health: HEALTH_OK

  services:
    mon: 3 daemons, quorum a,b,c (age 12h)
    mgr: a(active, since 12h)
    osd: 3 osds: 3 up (since 12h), 3 in (since 12h)
    rgw: 3 daemons active (my.store.a, my.store.b, my.store.c)

  data:
    pools:   6 pools, 600 pgs
    objects: 235 objects, 3.8 KiB
    usage:   3.0 GiB used, 84 GiB / 87 GiB avail
    pgs:     600 active+clean
```

Closes: https://github.com/rook/rook/issues/2474, https://github.com/rook/rook/issues/2957 and https://github.com/rook/rook/issues/3245
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-06-14 17:55:15 +02:00
John Mulligan 8c5a1c502e ceph csi: update storage class example with clusterID field
New versions of ceph csi rbd expect a clusterID that will be used
to index into the config map and determine what mons to use.
Also, remove mons from config example.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-06-14 10:45:50 -04:00
John Mulligan 431f504cd4 ceph: create and maintain a config map for ceph csi to consume
Create and maintain a config map that meets the requirements of
the ceph csi such that Rook can maintain the contents of config
map with up-to-date mon information to be used later by csi.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-06-14 10:45:41 -04:00
John Mulligan d8ba51084b ceph csi: update config templates to match "canary" csi version
This is a temporary change that fixes the templates so that they match
the so-called "canary" tag in csi. This version of the csi rbd driver
supports a external mon configuration (in a config map).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-06-14 10:43:53 -04:00
John Mulligan 700b42a475 ceph csi: update the operator-with-csi.yaml to use canary csi images
Temporary change to support the testing and development of new
integration between ceph csi and rook. This "canary" tag points
at new versions of csi that support taking mon config from a
config map.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-06-14 10:43:53 -04:00
Guy MargalitandTravis Nielsen fe5d94e370 Rook-NooBaa Design Doc
Signed-off-by: Guy Margalit <guymguym@gmail.com>
Co-Authored-By: Travis Nielsen <tnielsen@redhat.com>
2019-06-12 01:44:04 +03:00
Dmitry Yusupov 41d92cee3e enable proper values for metadataOnly property
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-06-06 21:12:04 -07:00
John Mulligan 642874fff0 ceph csi: whitespace cleanups in example file
Remove various excess white space from ceph csi storageclass example.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-06-06 13:17:10 -04:00
John Mulligan 0138cd23f8 ceph csi: whitespace cleanups in template files
Remove various excess white space from ceph csi template files.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-06-06 13:10:02 -04:00
Shubhendu 577728bb03 Added latest prometheus alerting rules for ceph
New rules added:
- CephMgrIsAbsent
- CephMgrIsMissingReplicas
- CephMdsMissingReplicas
- CephMonHighNumberOfLeaderChanges
- CephOSDVersionMismatch
- CephMonVersionMismatch

Signed-off-by: Shubhendu <shtripat@redhat.com>
2019-06-06 10:04:45 +05:30
Travis Nielsen cea5fd8676 Merge pull request #3240 from invidian/nit
Fix inconsistency regarding csv-ceph Makefile target
2019-06-03 07:42:22 -06:00
Travis Nielsen 37fecf5f62 Merge pull request #3241 from invidian/generate-rook-csv-fix
generate-rook-csv.sh: fix DEFAULT_CSV_FILE_NAME
2019-06-03 07:39:14 -06:00
Travis Nielsen c4b9acae8c Merge pull request #3251 from rhcs-dashboard/ceph-dashboard-load-balancer
ceph: update dashboard section
2019-06-01 09:29:15 -06:00
alfonsomthd 06f0602a29 ceph: update dashboard section
* Updated dashboard image: Nautilus.
* Added LoadBalancer method to access dashboard.
* Added LB example: dashboard-loadbalancer.yaml

Signed-off-by: alfonsomthd <almartin@redhat.com>
2019-05-31 17:29:54 +02:00
Mateusz Gozdek 0daca0e647 cluster/olm/ceph/README.md: fix inconsistent references to Makefile target
0fc3775b99 added csv-ceph target to Makefile,
but README.md refers to non-existent 'csv' target. This comment aligns
it.

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2019-05-31 11:13:50 +02:00
Mateusz Gozdek fcba12a402 generate-rook-csv.sh: fix printed examples
0fc3775b99 added new Makefile target
'csv-ceph', but printed examples refers to non-existing target 'csv'.

This commit fixes this inconsistency.

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2019-05-31 11:08:36 +02:00
Mateusz Gozdek 04c70bfe3f ceph/operator.yaml: fix alignment and add newline
This commit fixes misaligned example values in operator.yaml and adds a
newline at the end of the file, which is considered a good practice.

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2019-05-31 11:02:48 +02:00
Mateusz Gozdek d2c7acd0ff generate-rook-csv.sh: fix DEFAULT_CSV_FILE_NAME
With operator-sdk version 0.8.1, default csv file is created with following message:
'INFO[0000] Created deploy/olm-catalog/ceph/1.0.1/ceph.v1.0.1.clusterserviceversion.yaml'

Without this patch, `mv` in the script fails, as default file does not
exist.

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2019-05-30 19:12:12 +02:00
Travis Nielsen 30d7010f70 Merge pull request #3134 from Madhu-1/fix-2987
add attacher container to cephfs CSI provisioner
2019-05-28 17:25:36 -06:00
Travis Nielsen 34857f3e63 Merge pull request #3017 from leseb/olm-csv
deployment: OLM integration
2019-05-17 09:50:16 -06:00
Sébastien Han 0fc3775b99 deployment: OLM integration
Add necessary script to auto-generate a CSV file for OLM.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-05-16 22:53:30 +02:00
Anton Skriptsov a0edbf627f Edgefs:3181 prevents multiple targets deployment on the same node
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-05-15 11:45:59 -07:00
Travis Nielsen 5c5a62bd01 Merge pull request #3158 from smueller18/patch-1
Validate yaml by removing incorrect space
2019-05-13 12:46:42 -06:00
Mateusz Gozdek b50c141a73 helm: fix PSP use cluster role
1b21e42a90 introduced a regression, where
podsecuritypolicy resource has been changed from 'extensions' group to
'apps', when it should be changed to 'policy'.

This prevents rook operator from spawning on a cluster with PSP enabled.

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2019-05-13 01:03:52 +02:00
Stephan Müller f1d7e3118e fix space
Signed-off-by: Stephan Müller <mail@stephanmueller.eu>
2019-05-12 16:55:48 +02:00
Madhu Rajanna 64f063fb69 update code for cephfs-csi
add test cases to test cephfs csi
update ceph-csi document

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-05-09 20:04:06 +05:30
Madhu Rajanna d9a5dc81e7 deploy attacher container for cephfs csi
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-05-08 12:43:14 +05:30
Umanga Chapagain 32057646cc Added separator to enable creation of multiple SCC
Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2019-05-03 11:38:17 +05:30
travisn 642a8c67a1 ceph: update tests and examples to nautilus 14.2.1
Signed-off-by: travisn <tnielsen@redhat.com>
2019-05-01 08:49:55 -06:00
Travis Nielsen 535952d3e2 Merge pull request #2777 from InfuseAI/feature/ceph-volume-metadatadevice
Support metadataDevice for ceph-volume based osd
2019-04-29 12:56:41 -06:00
Travis Nielsen 9cf586968a Merge pull request #2965 from SUSE/upgrade-docs-v1.0
Ceph docs: update for v1.0 release
2019-04-26 16:56:00 -06:00
Blaine Gardner 04924ce194 ceph upgrade doc: update for v1.0 release
Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-04-26 16:49:04 -06:00
Ashish Ranjan dac028ab24 enhance(nfs): remove one to one mapping for nfs provisioner
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>

This commit removes one to one mapping of NFS provisioner and adds a dedicated provisioner for nfs.
2019-04-26 20:52:30 +05:30
Ashish Ranjan edb2b5e76f refactor(nfs): updated nfs documentation with Dynamic provisioning method
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-04-26 04:25:49 +05:30
Ashish Ranjan 858c8eede7 refactor(operator): removed wild card from the operator
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-04-26 04:25:49 +05:30
Ashish Ranjan 9f3debc53f refactor(nfs,provisioning): move claimPath info from annotation to parameters
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>

This commit moves claimPath information from annotation to parameters and adds option to enable/disable storageclass creation.
2019-04-26 04:25:49 +05:30
Ashish Ranjan 23efbf658b enhance(NFS): adds dynamic provisoning for nfs
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>

This commit adds dynamic provisioning for nfs
2019-04-26 04:25:49 +05:30
Anton Skriptsov c659f2d6c7 Fix isgw formatting
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-04-24 16:35:07 -07:00
Anton Skriptsov 21592776f0 Edgefs v1beta1 examples
Signed-off-by: Anton Skriptsov <sabbotagge@gmail.com>
2019-04-24 16:35:07 -07:00
Travis Nielsen 82d3790925 Merge pull request #2974 from karmab/openshift_csi
csi with openshift support
2019-04-24 13:00:27 -06:00
karmab b2744fcaca csi with openshift support
Signed-off-by: karmab <karimboumedhel@gmail.com>
2019-04-24 20:37:28 +02:00
Jared Watts 163202bfbc minio: add necessary update verb in minio RBAC
Signed-off-by: Jared Watts <jbw976@gmail.com>
2019-04-24 09:23:47 -07:00
Travis Nielsen fe2a291918 Merge pull request #3032 from noahdesu/hotplug-ignore-rbd
Hotplug ignore rbd
2019-04-23 17:47:08 -06:00
Noah Watkins f2fc644190 ceph: add operator option to disable hotplug
this adds a new operator environment variable that allows automatic
orchestration triggered by device discovery to be disabled.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-04-23 13:44:30 -07:00
Travis Nielsen 284b00fbcb Merge pull request #2403 from LinuxGit/Louis/update-mon-check-interval
docs: update ROOK_MON_HEALTHCHECK_INTERVAL
2019-04-23 12:52:20 -06:00
Ash WuandChia-liang Kao 118a1383e6 Support metadataDevice & databaseSizeMB for ceph-volume based osd
1. Add support of `metadataDevice` & `databaseSizeMB` options to
   OSDs provisioned by `ceph-volume`.

2. Add `ceph-volume --report` output before the actual run to
   provide more info.

Signed-off-by: Ash Wu <hSATAC@gmail.com>
Co-authored-by: Ash Wu <hSATAC@gmail.com>
Co-authored-by: Chia-liang Kao <clkao@clkao.org>
2019-04-23 16:04:21 +08:00