Commit Graph
413 Commits
Author SHA1 Message Date
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
Travis Nielsen 5306c1c9f3 rgw: avoid double encoding of certificate secret 2017-09-07 13:03:07 -07: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
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 caa9fdf96a log version, arguments and flags at start up 2017-08-24 14:02:53 -07: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 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 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 466053bfc0 operator: remove provisioner dependence on rest api 2017-08-03 17:47:03 -07:00
Travis Nielsen af8dd0d97a metrics: updated stats for luminous 2017-08-01 20:43:27 -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
Jared Watts 299ce8f62f proc: make go-ps a dependency instead of using in-tree copy 2017-07-13 18:14:16 -07:00
Steve Leon 668ed5d25b Incorporating new Kubernetes API changes
- This is needed to make it compatible with k8s 1.8
2017-07-13 11:08:07 -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
Bassam Tabbara 6188a9bf41 switch quay.io/rook with rook 2017-06-28 22:21:05 -07:00
Bassam Tabbara bc02e76f2d rename rookd to rook 2017-06-28 22:21:05 -07:00
Travis Nielsen bde8e61734 operator: refactor kube context into the kit package 2017-06-28 12:49:59 -07:00
Travis Nielsen 5d58bc27cb operator: refactor use of tprs for the operator kit 2017-06-28 11:44:51 -07:00
Travis Nielsen a5da34fe4c operator: refactor to work with multiple TPRs 2017-06-28 08:43:27 -07:00
Jared Watts 2359ca5249 osd: include metadata devices when launching OSD daemon in Kubernetes 2017-06-26 17:54:22 -07:00
Travis Nielsen 059987e6cf build: unit tests pass on mac 2017-06-23 16:00:21 -07:00
Jared Watts 46c90d5361 add 'mgr allow *' caps to client.admin 2017-06-21 12:24:12 -07:00
Travis Nielsen cb5741989b log all output of commands executed with an output file 2017-06-21 11:29:14 -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 6177aff963 rename rook k8s artifacts for consistency 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