Commit Graph
420 Commits
Author SHA1 Message Date
Blaine Gardner e13956c0bf ceph mon: set public-bind-addr from commandline
Set each Ceph mon's `public bind addr` from the commandline instead of
by inserting it into the config file. This eliminates an extra step from
initializing mon configs.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-02-05 06:06:35 -07:00
Sébastien Han 712af5de11 ceph: check num mon for hostnetworking
We now refuse to start more than one monitor on the same machine if
hostnetworking is enabled.
Supporting this creates a lot more complexity from the rook side. Also
having 3 monitors running on the same machine is not a production setup.

This means multi-cluster support on the same machine
is not possible anymore when hostnetworking is enabled.

Resolves: https://github.com/rook/rook/issues/2604
Signed-off-by: Sébastien Han <seb@redhat.com>
2019-02-04 09:52:35 +01:00
Travis Nielsen e61ab0dfd7 Merge pull request #2585 from SUSE/do-not-create-default-osd
ceph: no longer create fallback osd
2019-02-01 14:22:15 -07:00
Blaine Gardner 78d4719125 ceph: no longer create fallback osd
Rook's behavior should not be to create a default OSD in dataDirHostPath
when no devices are present on a node. Any preexisting fallback osd
should be kept as long as no dirs or disks have been specified to keep
the legacy behavior for those clusters running with these osds in place.
The legacy deletion behavior is also kept, removing the osd as soon as
any dir or device is specified other than the dataDirHostPath dir.

Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>
2019-02-01 09:41:32 -07:00
Alexander Trost 97c5cd7845 Merge pull request #2583 from sabbot/master
EdgeFS dynamic HDD/SSD detection logic fix
2019-01-29 15:50:32 +01:00
Dmitry Yusupov 7831c2775a support for EdgeFS UI
Signed-off-by: Dmitry Yusupov <dmitry.yusupov@nexenta.com>
2019-01-28 20:11:06 -08:00
Anton Skriptsov 4679695cee EdgeFS dynamic HDD/SSD detection logic fix
Signed-off-by: Anton Skriptsov <anton.skriptsov@nexenta.com>
2019-01-28 12:27:07 -08:00
Alexander Trost 8e263cd9c3 Merge pull request #2577 from leseb/rm-monmap
mon: do not generate nor inject a monmap
2019-01-28 19:14:01 +01:00
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
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 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 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
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
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
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
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
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
Alexander Trost 6dc508b704 Merge pull request #2318 from galexrt/minio_arbitary_pvcs
Cockroachdb + Minio: Use PersistentVolumeClaimTemplates storage
2018-12-08 00:20:07 +01:00
travisn 304d6445f2 rgw: update the deployment or daemonset when the pod spec changes
Signed-off-by: travisn <tnielsen@redhat.com>
2018-12-07 15:11:55 -07:00
Jared Watts 99379308ba Merge pull request #2325 from yanniszark/cassandra-operator-scale-down-implementation
[cassandra operator] Scale Down Implementation
2018-12-07 12:28:06 -08:00