Commit Graph
127 Commits
Author SHA1 Message Date
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
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 07cbf9f596 services: start daemons with tini at pid 1 2017-07-21 14:35:56 -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 059987e6cf build: unit tests pass on mac 2017-06-23 16:00:21 -07:00
Travis Nielsen 307dd6870b client: rename rook to rookctl 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 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 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
Michael Goff 82d49f6b3a api: Added more bucket ops to the api
cli: Added a few more bucket ops to the cli
2017-05-24 14:43:34 -07:00
Travis Nielsen 58aa72a254 remove dependency on bash 2017-05-05 12:25:31 -07:00
Travis Nielsen 54cb5fc62b increase timeout for actions waiting for object store init 2017-04-19 16:33:02 -07:00
Travis Nielsen e8514cf004 refactor the k8s context to the k8sutil package 2017-04-13 15:38:22 -07:00
Steve Leon c46c076096 Updating dependency to support K8S 1.6 2017-04-12 13:27:55 -07:00
Travis Nielsen 00149faec8 Cluster uses metadata name and namespace instead of the spec namespace 2017-04-12 11:36:26 -07:00
Travis Nielsen ac61476a3c error handling for operator watching tprs 2017-04-11 12:01:52 -07:00
Jared Watts f5656487d4 Ensure both standalone and kubernetes deployments get the admin secret if specified 2017-04-06 12:46:26 -07:00
Cristian Radu c638e8e799 rookd: fix MON admin-secret command flag.
this fixes our ability to configure the MON admin-secret via environment variable.
2017-04-05 20:02:16 +01:00
Jared Watts e5cca80654 Operator and cephmgr support for specifying storage resources and configuration 2017-04-04 15:32:49 -07:00
Travis Nielsen a4f947d279 data devices in env var to avoid escaping issues 2017-03-31 10:13:08 -07:00
Travis Nielsen 7ba9e8e7c2 merge rook-operator binary wtih rookd 2017-03-30 12:45:11 -07:00
Dan Kerns 183846ab6c rook: Rename mount to map and unmount to unmap. Update tests. 2017-03-24 16:34:01 -07:00
Jared Watts 8343c7c6cf Rook cmd and API support to delete block images. IOContext.Destroy func to clean up IOContexts wherever they are used. 2017-03-22 11:51:25 -07:00
Travis Nielsen b9ddb01708 support starting a rook cluster in another namespace 2017-02-27 15:18:28 -08:00
Travis Nielsen 34b6ad32d7 use third party resources to trigger cluster creation 2017-02-24 15:57:37 -08:00
Travis Nielsen 1573bdb1dd update to the k8s 2.0 client 2017-02-23 14:50:21 -08:00
Travis Nielsen a07afb2e10 flag to allow osds to use all devices 2017-02-16 10:56:16 -08:00
Jared Watts cf5833add0 build and publish rook-operator container also 2017-02-13 12:46:38 -08:00
Bassam Tabbara 75523ccb17 build: add support debug builds and backtraces
we now build with debug information on linux even for release builds. Debug
information is save in a separate .debug file that can be loaded by gdb.

switched to using the golangs's facilities for cgo backtraces. had to add
C++ demangling to it but its now on par with the default backtrace facility
that ceph had. This approach works with static builds and relies on the
symbol table alone -- no need for rdynamic or DWARF sections in the binary.

Update the build container so that all packages now build with debug, also
fixed zlib package which had a broken link.

Fixes #135
2017-02-09 19:52:27 -08:00
Travis Nielsen 8e96bcb822 create the file system with the rest api call 2017-02-09 14:36:01 -08:00
Travis Nielsen bdd1d8822e rename rest api and use secrets and no more default user 2017-02-09 14:35:56 -08:00
Travis Nielsen 42a613b17a rest api implementation for object store and node ls 2017-02-09 13:48:10 -08:00
Travis Nielsen d5b5671d02 pick up the rook connection environment vars 2017-02-09 13:48:10 -08:00
Travis Nielsen b9c6f6bb60 operator starts a rest api service with some placeholder implementation 2017-02-09 13:48:10 -08:00
Michael Goff a9789829a7 cli and api: Fix issues wtih erroring on user create even when it is a success. 2017-02-09 13:23:11 -08:00
Travis Nielsen a414d64b82 operator configures a file system and starts mds 2017-02-08 15:46:47 -08:00
Michael Goff 4870f951f0 cli and rgw: Added support for list, create, update, get, and delete users as well as listing buckets. Updated connection info to be for a user. 2017-02-08 09:50:19 -08:00
Travis Nielsen 37d85a374b cleanup the command line arguments and other PR feedback 2017-02-01 11:00:09 -08:00