Commit Graph
50 Commits
Author SHA1 Message Date
Jared Watts 35ed85ccef Merge pull request #1100 from paha/osd-health
OSD processes additional monitoring
2017-11-01 14:43:49 -07:00
Pavel Snagovsky 1eb6d5bb65 WIP: the first path of OSD monitoring
Re: #667
2017-11-01 13:45:31 -07:00
Jared Watts 179bbadb18 use /dev/null as config file for rbd tool to avoid parsing failure messages since we are already passing all required config as arguments 2017-11-01 09:43:52 -07:00
Travis Nielsen 0ad60c065b osd: refactor proc manager for only the osd daemon 2017-10-26 17:57:25 -07:00
Travis Nielsen 4c13d0ffc2 crush: set host properly in the crush map 2017-10-25 15:20:50 -07: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 11e2c1bb5d tests: stabilize check for deleted pool 2017-10-17 15:24:10 -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 724a78cc6b Moving FindRBDMappedFile to ceph/util/
Fixes https://github.com/rook/rook/issues/1056
2017-10-12 15:51:59 -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
Alexander Trost a0e7dcdc03 Added ability to update pool size by changing pool crd 2017-09-21 08:32:16 +02: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
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
Mahmoud Reza Rahbar Azad bb7427acb4 Added:
- simple brackets regex for ListImages with the assumption that stdout contains the relevant information as a json-block
- test for different log-level
- comment for regex
- length check prior to Unmarshal step
2017-08-26 01:11:10 +02:00
Jared Watts 3edadd13b9 metrics: Include number of slow requests
Ported from https://github.com/digitalocean/ceph_exporter/pull/66
2017-08-23 08:56:14 -07:00
Jared Watts 099cc27b73 ceph: set application tag when creating pool 2017-08-14 09:08:30 -07:00
Jared Watts ed7f757c06 monitoring: update metrics collection for new Ceph Luminous formats 2017-08-11 15:50:55 -07:00
Travis Nielsen ec181c0390 logs: stop writing the frequent health check 2017-08-07 10:58:52 -07:00
Travis Nielsen 6cd8ed0631 mon: generate the initial monmap at startup 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
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
Jared Watts 958bee6ce1 osd: remount filestore device at startup if it has already been formatted/partitioned 2017-06-30 14:17:50 -07:00
Jared Watts 2359ca5249 osd: include metadata devices when launching OSD daemon in Kubernetes 2017-06-26 17:54:22 -07:00
Jared Watts 46c90d5361 add 'mgr allow *' caps to client.admin 2017-06-21 12:24:12 -07:00
Jared Watts e4045eb74b Use blkid to get PARTLABEL because lsblk depends on udev which isn't available in containers 2017-06-21 10:02:41 -07:00
Jared Watts d4c31e2799 osd: create a default crushmap that is firefly compatible 2017-06-20 20:57:46 -07:00
Jared Watts 060148de2c Include sgdisk and crushtool in our containers. Do not restrict RBD image sizes and remove obsolete image/ioctx types. Fix whitespace in rook-cluster.yaml sample manifest 2017-06-20 20:57:46 -07:00
Travis Nielsen badd32ef34 standalone: ceph-mgr service orchestrated 2017-06-20 20:57:46 -07:00
Travis Nielsen 2b7cbb6066 round image size up to 1MB 2017-06-20 20:57:46 -07:00
Jared Watts 585501b925 use an output file when invoking ceph commands to isolate the payload from any logging 2017-06-20 20:57:46 -07:00
Travis Nielsen 523999b517 object store with passing unit tests and e2e tests 2017-06-20 20:57:46 -07:00
Travis Nielsen 0a035ed402 support for RBD images, all api tests passing
RBD image support fixes, ensure /etc/ceph is created in toolbox image, return output string in exec even for errors because the ceph tools return useful information there upon error
2017-06-20 20:57:46 -07:00
Travis Nielsen ac27d1f590 use the correct existing key for osd auth and add dash to ceph pod names 2017-06-20 20:57:46 -07:00
Travis Nielsen ef4ea21913 operator: start a pod for the ceph-mgr 2017-06-20 20:57:46 -07:00
Travis Nielsen fab106a16c Unit tests passing except api after the refactor 2017-06-20 20:57:46 -07:00
Travis Nielsen c122562a7d Rook refactor to call external ceph tools instead of embedded ceph
Remove all cgo from the code base, and start the transformation to calling external ceph tools to generate config and start daemons.
2017-06-20 20:57:45 -07:00