Commit Graph
125 Commits
Author SHA1 Message Date
Travis Nielsen ee9e5d41c2 Merge pull request #1165 from travisn/handle-update
Only respond to crd updates when certain properties change
2017-11-02 09:04:28 -07:00
Jared Watts 86441f95be Merge pull request #1115 from kokhang/flex-cephfs
Adding support to mount cephfs in rook flexvolume
2017-11-01 10:49:54 -07:00
Jared Watts b9625c1325 Add documentation for flexvolume common problems and add a friendly message to rook-agent. 2017-10-31 16:21:13 -07:00
Travis Nielsen 84a7c52a4f update: only respond to crd updates when certain properties change 2017-10-31 15:34:01 -07:00
Bassam Tabbara 8e2c6dd090 remove dependency on external-storage project
moved external-storage/libcontroller into rook/rook for now. this helps us have a greater control over versioning it and keeping it updated as Kubernetes changes.
2017-10-27 16:55:46 -07:00
Bassam Tabbara 293667b59f use rook/operator-kit instead of our private copy 2017-10-27 13:16:06 -07:00
Steve Leon 9e1c6af0ad Adding support to mount cephfs in rook flexvolume
fixes https://github.com/rook/rook/issues/1008
2017-10-26 13:50:04 -07:00
Travis Nielsen 7935f5a866 Merge pull request #1096 from galexrt/feature/1074
operator/mon: Allow to set the mon size by cluster CRD spec
2017-10-18 15:21:46 -07:00
Alexander Trost 64d73269ae operator/mon: Allow to set the mon size by cluster CRD spec
Added conditions for monCount >9, <=0 and even warning

Fail and log error on AnyUseAllDevices on more than one cluster
2017-10-18 23:33:00 +02:00
Jared Watts fe2ae89f37 Fix the multiple cluster integration tests by updating api/osd RBAC settings to be scoped to just a single namespace 2017-10-18 13:28:13 -07:00
Jared Watts d032222cfd osd: enable bluestore on directories 2017-10-18 13:28:13 -07:00
Travis Nielsen 4e6774c063 remove legacy standalone code 2017-10-17 12:23:57 -07:00
Alexander Trost 2873558ecd operator/mon: health check improvements
Added unit test for monNotFound or recreation/failover of non existant mons
2017-10-17 19:34:39 +02:00
Travis Nielsen b2283a1d82 rados: delete the corresponding ceph pools when CRDs are deleted 2017-10-12 22:37:22 -07:00
Steve Leon e290cee720 Executing modprobe in agent pod
Fixes https://github.com/rook/rook/issues/1062
2017-10-12 14:44:26 -07:00
Alexander Trost cc75d440e4 Fixes #1048 2017-10-09 20:18:55 +02:00
Steve Leon b4279e06fb Rook plugin for Kubernetes implemented as flexvolume
- Operator is deployed under namespace rook-system
- Operator deploys rook-agent on all nodes as daemonset also on
  rook-system
- Rook-agent installs flexvolume driver on hosts
- Rook-agent listens on unix socket for driver requests
- Rook-agent perform attach/detach on its node
- Rook-agent creates/delete CRD volumeattach objects
- Added fencing to support ROX and RWO
- Added unit and integration tests
- Updated examples and docks

fixes #432
2017-10-09 09:14:08 -07:00
Travis Nielsen 9ab4695449 crush: set failure domain for pools 2017-10-05 17:23:12 -07:00
Travis Nielsen ba628c6307 cephfs: create file system with a CRD
- multiple file systems are allowed
- multiple mds instances are allowed per file system.
- a keyring is created per mds instance
- double the desired mds instances are started, half in standby mode
2017-10-05 14:21:48 -07:00
Jared Watts 113e861020 osd: Allow OSDs to recover from losing all their metadata and config 2017-10-03 15:54:02 -07:00
Travis Nielsen 0a8d7b2e2c rgw: proper naming for the ObjectStore crd 2017-09-29 15:49:23 -07:00
Alexander Trost a3daea69dc fix rook-api service clusterIP when hostNetwork is used
allow ROOK_API_SERVER_ENDPOINT to be set by user

toolbox: default to rook-api dns name when no k8s service env vars are
given

Added dnsPolicy to rook-tools (K8s required version >1.6)
2017-09-26 16:55:49 +02:00
Alexander Trost a0e7dcdc03 Added ability to update pool size by changing pool crd 2017-09-21 08:32:16 +02:00
Travis Nielsen ba59f3da90 rgw: recreate the pods if the spec changes 2017-09-20 09:43:55 -07:00
Travis Nielsen 4f4e08e1a5 tests: e2e test for creating the object store crd 2017-09-19 15:31:53 -07:00
Travis Nielsen 0553f6e512 rgw: support http and https ports both listening 2017-09-19 15:31:53 -07:00
Travis Nielsen 748d8455aa rgw: support deleting an object store 2017-09-19 15:31:53 -07:00
Travis Nielsen ce997bbaf6 rgw: get configured object stores 2017-09-19 15:31:53 -07:00
Travis Nielsen c2f4aab89c rgw: object store crd creates a realm and rgw services 2017-09-19 15:31:53 -07:00
Alexander Trost 4f4f727bcd Added hostNetwork option to cluster spec 2017-09-18 19:57:20 +02:00
Alexander Trost 2c87b1c5de Added podAffinity and podAntiAffinity
Initialize the affinity for the pod spec once
2017-09-12 18:08:55 +02:00
Alexander Trost b3f365f31b Fix the condition: Time since added to list <= monOutTimeout
Not the other way arround
2017-09-08 02:51:55 +02:00
Alexander Trost 3aeb529e84 operator/mon: check if node for the mon is not ready and time it out
separately (240s)

Added comments

operator/mon: made the doc for the nodeState better

Renamed the monHealth to monTimeoutList

Renamed the monOutInterval to monOutTimeout

operator/mon: Implemented the feedback

tests/smoke: Corrected mon_test comment

smoke/mon: set interval and timeout for health check

Added build constraint to smoke/mon_test for linux

As written here https://github.com/rook/rook/pull/958#issuecomment-327507930

Removed controller.go healthCheckInterval

Set the interval for mon_test in smoke_test SetupSuite()

Fixed the smoke test by adding the build constraint

Removed obsolete clientTimeout from operator/cluster

Ran gofmt on block_test and helm_test

Use flags for the mon healthcheck and mon out timeout config

Added helm chart value sfor healthCheckInterval and monOutTimeout

Fixed the timeout map in mon/health.go

Fixed issues with some tests stuff

Reference the operator/mon defaults in the flags

Added Documentation for Ceph mon failover times env vars

Added missing toc link in documentation

Removed "Tweak Ceph mon failover times" to comments in rook-operator.yml
2017-09-07 11:11:34 +02:00
Travis Nielsen e361879672 rgw: set the first object store as the default realm and zonegroup 2017-09-06 16:55:23 -07:00
Travis Nielsen ac073dd448 rgw: add support for ssl cert 2017-09-06 16:55:23 -07:00
Travis Nielsen 15809f4842 rgw: support pool config during object store creation 2017-09-06 16:55:23 -07:00
Travis Nielsen bb6e05ec57 rgw: support alternate object store realms 2017-09-06 10:59:32 -07:00
Travis Nielsen 9d855e5bfe mgr: apply placement policy to mgr daemon 2017-08-11 09:19:06 -07:00
Travis Nielsen 0af953f2e2 operator: start one mon at a time 2017-08-11 09:03:22 -07:00
Travis Nielsen ec181c0390 logs: stop writing the frequent health check 2017-08-07 10:58:52 -07:00
Bassam Tabbara e9a2aabdd9 rename ROOKD_ env to ROOK_ 2017-08-04 09:51:23 -07:00
Travis Nielsen 2df3d9f5bf daemon: set public and cluster addr in the ceph config 2017-08-04 00:04:50 -07:00
Travis Nielsen 7d084fa3c7 operator: mons based on service ip instead of pod ip 2017-08-04 00:04:50 -07:00
Travis Nielsen 466053bfc0 operator: remove provisioner dependence on rest api 2017-08-03 17:47:03 -07:00
MinSheng Lin 8dd7e309cb mon: using appName as monitor name on failover
change monitor name prefix to appName on failover Monitor
change assert result in failoverMon testing
2017-08-02 10:29:01 +08:00
Steve Leon 814a283835 Adding support for FSType in Rook volume provisioner 2017-07-27 17:24:01 -07:00
Steve Leon 709b7ddafe Using CRD instead of TPR
- Use CRD for clusters and pools
- For k8s before 1.7.0, TPR will be used
- Also use the watcher libraries in client-go
2017-07-27 16:14:52 -07:00
Travis Nielsen f3640887f3 golint cleanup for the operator 2017-07-24 17:24:24 -07:00
Travis Nielsen 07cbf9f596 services: start daemons with tini at pid 1 2017-07-21 14:35:56 -07:00
Bassam Tabbara cdc26ef162 enable 'gofmt -s' and fix issues 2017-07-16 21:24:13 -07:00