Commit Graph
167 Commits
Author SHA1 Message Date
Travis Nielsen e874bfa751 cluster: set owner reference on child resources 2018-01-10 10:48:17 -08:00
Travis Nielsen a147929247 logs: initialize flag parsing 2018-01-04 08:04:40 -08:00
Travis Nielsen 4c47adc80a move ceph sources under ceph folders 2017-12-28 13:34:05 -08:00
Travis Nielsen 82cce0d8af operator: remove versionTag in favor of container image version 2017-12-13 10:12:09 -08:00
Travis Nielsen 2a2d0774e7 agent: consume the generated clientset for attachments 2017-12-11 14:35:07 -08:00
Travis Nielsen e2bd9276bf consume the generated rook clientset 2017-12-11 14:35:07 -08:00
Travis Nielsen 0298d1fb29 completed conversion for k8s 1.8 client conversion
move core rados packages under cluster folder

move daemons under daemon pkg

rename flex crd package to attachment

pin dep to k8s 1.8.2
2017-12-11 14:35:07 -08:00
Bassam Tabbara 9b611abda7 inital attempt at upgrading to kubernetes 1.8
Update all K8s dependencies to the release-1.8 branches.

Added build and make file support for generating code.

Fixed our use of client-go to match changes in new release.
2017-12-11 14:34:24 -08:00
Steve Leon 7b71baba06 Handle cephfs mount for kernel older than 4.7
- If kernel is older than 4.7, a warning message
will be printed in the agent's logs

Fixes https://github.com/rook/rook/issues/1044
2017-11-06 17:50:15 -08:00
Jared Watts 3c1dd6e6eb clean up outstanding rbd devices during cluster deletion 2017-11-03 17:43:54 -07:00
Travis Nielsen d4c5277d3e Merge pull request #1158 from travisn/default-datadir
Set default dataDirHostPath to /var/lib/rook
2017-11-01 10:54:11 -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
Travis Nielsen 1200858e81 cmd: write fatal error to termination log 2017-11-01 10:02:37 -07:00
Travis Nielsen fc5d3090cc core: persist the config data in examples by default to /var/lib/rook 2017-11-01 10:02:37 -07:00
Bassam Tabbara ede8ee0089 fix glide dependencies and remove etcd.version 2017-10-27 11:57:29 -07:00
Travis Nielsen 46d1483468 tools: remove dependence on api service to launch toolbox 2017-10-27 11:00:36 -07:00
Travis Nielsen 0ad60c065b osd: refactor proc manager for only the osd daemon 2017-10-26 17:57:25 -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 4c13d0ffc2 crush: set host properly in the crush map 2017-10-25 15:20:50 -07:00
Jared Watts 1e17da7f0a Merge pull request #1098 from kokhang/cleanup-flex
Clean up files in rookflex
2017-10-18 17:37:44 -07:00
Jared Watts d032222cfd osd: enable bluestore on directories 2017-10-18 13:28:13 -07:00
Steve Leon ad459085ec Clean up files in rookflex
- Consolidate commands that are not supported in flexvolume
2017-10-17 14:30:06 -07:00
Travis Nielsen 4e6774c063 remove legacy standalone code 2017-10-17 12:23:57 -07:00
Steve Leon 08f67ba4c9 Allow attach request to proceed when VolumeAttachment is already created
Fixes https://github.com/rook/rook/issues/1082
2017-10-16 17:39:36 -07:00
Travis Nielsen b2283a1d82 rados: delete the corresponding ceph pools when CRDs are deleted 2017-10-12 22:37:22 -07:00
Steve Leon 724a78cc6b Moving FindRBDMappedFile to ceph/util/
Fixes https://github.com/rook/rook/issues/1056
2017-10-12 15:51:59 -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
Steve Leon 9f4df4f7ad Renaming flexvolume to rookflex
Fixes https://github.com/rook/rook/issues/1052
2017-10-12 13:19:55 -07: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
Jared Watts 871e01af92 standalone: Disable standalone mode and remove documentation for it 2017-09-27 14:04:38 -07:00
Travis Nielsen 3fa49dec96 cmd: add alias ls to list commands 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 dce1e97381 rgw: api support for multiple object stores 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 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 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
Jared Watts caa9fdf96a log version, arguments and flags at start up 2017-08-24 14:02:53 -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 af8dd0d97a metrics: updated stats for luminous 2017-08-01 20:43:27 -07:00