Commit Graph
5036 Commits
Author SHA1 Message Date
Sébastien Han ff2bc6509f mon: do not generate nor inject a monmap
Given that we have mon_host and mon_initial_members sections in our
ceph.conf, building a monitor map is not needed. During the monitor mkfs
a monmap will get generated on the fly based on the section mentioned
above.

One benefit from that commit is a potential speed improvement as we have
removed the container that was generating the map from the monitor
initialization sequence.

Resolves: https://github.com/rook/rook/issues/2576
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-01-28 16:55:31 +01:00
Sébastien Han 49363ccbbd operator: ceph - utils fix endpoint comment
The Endpoint has a format such as ip:port and the comment was implying
something like hostname:port. Thus fixing the comment with the right
value.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-01-28 10:53:10 +01:00
Sébastien Han 19c7608a80 mgr: add missing rook header
The code header was missing, so adding it.

Signed-off-by: Sébastien Han <seb@redhat.com>
2019-01-28 10:53:10 +01:00
Travis Nielsen bb888827ea Merge pull request #2540 from travisn/disable-fsgroup
Allow disabling of fsGroup in the flex driver
2019-01-24 14:30:18 -07:00
Noah Watkins fbb56c41ed exec: interleave stdout/stderr logging
The io.MultiReader(r1, r2) reads r1 until EOF before moving on to r2.
When used for stdout/stderr stderr will not be written to the log until
stdout reaches EOF. This patch reads stderr in a go routine so that the
two streams can be interleaved properly.

Fixes: #2479

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-01-24 13:10:46 -08:00
travisn bd25630d91 allow disabling of fsGroup in the flex driver
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-24 07:53:44 -07:00
Alexander Trost f4c394c889 Merge pull request #2518 from dyusupov/master
added support for edgefs-monitoring via Prometheus
2019-01-23 08:38:25 +01:00
Travis Nielsen 42582b8669 Merge pull request #2516 from travisn/mon-port-6789
Use the default mon port of 6789 instead of 6790
2019-01-21 11:16:11 -07:00
Dmitry Yusupov cae7e9a994 added support for edgefs-monitoring via Prometheus
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-01-20 19:02:17 -08:00
travisn 9afbe36ae6 set mgr privs for access to the rbd mirroring settings
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-19 21:29:19 -07:00
travisn c9d3d1bf17 reference the k8s pvc provisioner and remove outdated in-tree provisioner
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-19 07:48:00 -07:00
travisn c2f354680e mons: use the default port of 6789 instead of 6790
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-17 14:37:58 -07:00
Madhu Rajanna 47956dcd53 ceph: run make codegen
This has the changes after  make codegen

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-17 15:51:56 +05:30
Madhu Rajanna 6349ce8e0d cassandra,edgefs: Fix misspelled words
This PR fixes the misspelled words in comment
and struct fields.

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-01-17 15:40:05 +05:30
Travis Nielsen d0cd8cec72 Merge pull request #2099 from travisn/nfs-ganesha-crd
Ceph NFS Ganesha CRD
2019-01-15 15:21:08 -07:00
Travis Nielsen 8d7302a0b1 Merge pull request #2491 from travisn/upgrade-test-from-0.9
Upgrade test is from v0.9 to master
2019-01-15 15:04:50 -07:00
travisn 794244572d nfs: add to servers to grace db with a job
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-15 13:56:43 -07:00
travisnandjtlayton 37a005b71e nfs: configure and start daemons when the nfs crd is created
Co-authored-by: jtlayton <jlayton@redhat.com>
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-15 13:48:58 -07:00
travisnandjtlayton 4608f192ce nfs: generated code for the ceph nfs crd
Co-authored-by: jtlayton <jlayton@redhat.com>
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-15 13:48:57 -07:00
travisnandjtlayton c467ccb9b2 nfs: ceph crd and types for declaring exports
Co-authored-by: jtlayton <jlayton@redhat.com>
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-15 13:48:57 -07:00
travisn feb33de24b tests: upgrade test is from v0.9 instead of v0.8
Signed-off-by: travisn <tnielsen@redhat.com>
2019-01-14 23:06:19 -07:00
Travis Nielsen 80b245113a Merge pull request #2489 from syncroswitch/master
fix for enabling tls on rados gateway s3 api:
2019-01-14 22:48:21 -07:00
Jack Lauritsen ea3e0fca26 fix for enabling tls on rados gateway s3 api:
this mounts secret as volume to rgw container
this adds certificate path to init container

Signed-off-by: Jack Lauritsen <jack.lauritsen@teradata.com>
2019-01-14 18:47:25 -08:00
Alexander Trost 2e12167d82 Correctly set secretkey from mountSecretKey param
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-01-12 02:38:06 +01:00
Travis Nielsen 84ad5afb6b Merge pull request #2466 from allen13/selinux-relabel-env
Add ENV flag for selinux labeling
2019-01-10 10:38:52 -07:00
Alexander Trost de8e14149a Merge pull request #2419 from sabbot/master
EdgeFS: need host check/prepare functionality fix
2019-01-10 18:17:15 +01:00
Timothy Allen ae46f31882 Add ENV flag for selinux labeling
Signed-off-by: Timothy Allen <kex.allen13@gmail.com>
2019-01-10 15:05:39 +00:00
Noah Watkins e9a9509313 ceph: support dashboard ssl on/off
fixes: #2433

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-01-09 12:08:51 -08:00
Noah Watkins e66ad7463b ceph: support custom dashboard port
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2019-01-09 12:08:49 -08:00
Travis Nielsen 7101ef923b Merge pull request #2469 from jtlayton/wip-mgr-config
ceph: add --force to mgr settings
2019-01-09 12:17:02 -07:00
Anton Skriptsov 7c7f307f2e EdgeFS: need host check/prepare functionality
Signed-off-by: Anton Skriptsov <anton.skriptsov@nexenta.com>
2019-01-09 08:50:24 -08:00
Jeff Layton efefc871d2 ceph: add --force to mgr settings
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-01-09 10:22:28 -05:00
Alexander Trost a5f5049b71 Added objectstore label to Minio objects
This allows multiple object stores to be in the same namespace and
to be selected separately from each other.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-01-09 12:08:57 +01:00
Alexander Trost 9a336c87bc Added readiness and liveness probes to Minio
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-01-08 17:53:54 +01:00
Alexander Trost d82fa581b7 Renamed MinioController to Controller as the package is named minio
Update Minio Object Store objects if they already exist.

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2019-01-08 17:53:49 +01:00
Travis Nielsen 2da22001d6 Merge pull request #2414 from travisn/retry-dashboard-cert
Retry creating self signed cert if module is not ready
2018-12-21 07:43:42 -07:00
travisn b770b80a88 mgr: retry creating self signed cert if module is not ready
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-20 16:07:00 -07:00
travisn 261aae3f46 mgr: set the server_addr for the dashboard and prometheus modules
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-20 12:08:37 -07:00
Alexander Trost a73ffc4ac0 Merge pull request #2393 from galexrt/ec_block_pool_parms_fix
Fix name of ec data pool StorageClass parameter
2018-12-18 02:37:44 +01:00
Alexander Trost cdf73a2d15 Fix name of ec data pool StorageClass parameter
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-12-17 23:29:57 +01:00
Alexander Trost 328a37e402 Merge pull request #2385 from dyusupov/master
Introduced new configurational option "sync"
2018-12-17 22:52:10 +01:00
Travis Nielsen e8d7b03ddb Merge pull request #2382 from travisn/detect-image-name-on-upgrade
Properly detect the ceph image version during upgrade
2018-12-17 07:48:13 -07:00
Dmitry Yusupov 3700009108 Introduced new configurational option "sync"
New configurational option enables flexible choice for write I/O
to allow configurable trades between performance, reliability and consistency.

This also fixes bcache mis-configuration.

Fixes #2367

Signed-off-by: Dmitry Yusupov <dmitry@nexenta.com>
2018-12-16 11:39:59 -08:00
travisn 620c61b8b5 ceph: properly detect the image version during upgrade
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-13 22:08:53 -08:00
Dmitry Yusupov 4f0f902daf Edgefs fix 2359
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2018-12-11 05:26:55 -08:00
Alexander Trost 3375db8729 object: use Recreate update strategy
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-12-07 19:38:45 -07:00
Alexander Trost b406def5f9 file: use Recreate update strategy
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-12-07 19:38:45 -07:00
Alexander Trost 51a6de0151 mgr: use Recreate update strategy
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-12-07 19:38:45 -07:00
Alexander Trost e0322a9175 mon: get port from endpoint
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2018-12-07 19:38:44 -07:00
Travis Nielsen 81d64d17af Merge pull request #2348 from travisn/upgrade-rgw-deployment
Update the rgw deployment or daemonset when the pod spec changes
2018-12-07 16:50:50 -07:00