Commit Graph
243 Commits
Author SHA1 Message Date
Jared Watts d185e6b2cf For bluestore OSDs look at the data partition size to determine CRUSH weight 2017-04-14 15:12:25 -07:00
Travis Nielsen e8514cf004 refactor the k8s context to the k8sutil package 2017-04-13 15:38:22 -07:00
Travis Nielsen 36885113b9 retry initializing a cluster instead of giving up 2017-04-13 15:38:22 -07:00
Travis Nielsen f5a71a8f3f base the secret name on the cluster name instead of namespace 2017-04-12 15:56:40 -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
Travis Nielsen d685481c10 watch for pool tprs inside the cluster namespace 2017-04-11 12:01:52 -07:00
Jared Watts 2f03f2b94a API: Log errors encountered when getting nodes 2017-04-10 13:05:04 -07:00
Travis Nielsen 0ff59a00ea rename tpr version to alpha 2017-04-10 08:49:47 -07: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
Travis Nielsen f0f70b458a create pools through a tpr 2017-03-27 19:33:59 -07:00
Travis Nielsen 8967dcc4cb refactor tprs to support both clusters and pools 2017-03-27 09:47:27 -07:00
Travis Nielsen a16f6fc9dc failover a monitor when unhealthy 2017-03-23 11:00:31 -07:00
Travis Nielsen 2d1c150539 detect if mons are healthy 2017-03-23 11:00:26 -07:00
Travis Nielsen 175003ed6a use namespace for ceph cluster name 2017-03-22 23:16:53 -07:00
Travis Nielsen fef56b31cc save the mon endpoints in a configmap and consume from pods 2017-03-22 23:14:26 -07:00
Travis Nielsen 02fe77d907 refactor clientset parameter 2017-03-22 23:12:57 -07:00
Travis Nielsen 1b2fb96574 allow specifying a host path for the data-dir 2017-03-22 16:32:00 -07:00
Jared Watts 75bb22785d Update API routes to use DELETE verb and URL query params 2017-03-22 11:51:25 -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
Jared Watts e9e86073a7 Prometheus metrics collectors for Rook (adapted from digitalocean/ceph_exporter) 2017-03-14 11:25:47 -07:00
Jared Watts e0ccd9c1c9 Expose metrics for Rook with Prometheus (sans collectors) 2017-03-14 11:25:47 -07:00
Travis Nielsen a5ad737b9a return success when tpr already exists 2017-03-13 09:31:56 -07:00
Travis Nielsen 87b5805708 evaluate a reg expression for selecting devices 2017-03-09 16:09:56 -08:00
Travis Nielsen e0e829ed25 Rook operator unit tests 2017-03-09 15:24:33 -08:00
Travis Nielsen 125e3873e4 use the k8s errors package 2017-03-08 15:46:31 -08:00
Bassam Tabbara 6e84b161fa build: separate externals into their own project
Move external packages including ceph into a separate project under
the externals subdir.
2017-03-06 14:51:32 -08:00
Bassam Tabbara f65c8ede09 ceph: pickup luminous build 2017-03-06 14:51:32 -08:00
Travis Nielsen 69ce2009cd allow multiple instances of rook, but only one that uses devices 2017-03-03 13:42:17 -08:00
Travis Nielsen 317ba0ec33 async start and resuming of clusters when operator starts 2017-03-02 14:35:03 -08:00
Travis Nielsen b9ddb01708 support starting a rook cluster in another namespace 2017-02-27 15:18:28 -08:00
Travis Nielsen a3e04a9f39 only use data dir if devices are not specified 2017-02-24 17:34:12 -08:00
Travis Nielsen d10002b4af delay starting rgw until an api call 2017-02-24 15:58:35 -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 18ee98131c create the rbd client access in the default namespace 2017-02-23 12:17:02 -08:00
weekface d2a04d8615 support customize repository prefix of image through environment
ROOK_OPERATOR_REPO_PREFIX=quay.io/rook
2017-02-22 15:05:32 +08:00
Travis Nielsen a7ee0edcb9 copy the admin secret for storage class consumtpion 2017-02-21 16:11:59 -08:00
Travis Nielsen a07afb2e10 flag to allow osds to use all devices 2017-02-16 10:56:16 -08:00
Travis Nielsen eea62192db create osds in directories instead of devices by default 2017-02-16 10:56:12 -08:00
Michael Goff 294631b029 api: Fix the second part of the bucket ordering issue
Fixes #382
2017-02-13 14:17:55 -08:00
Michael Goff e4190d3db6 api: Add sorting of object buckets. Also a fix for something missed in another commit.
Fixes #382
2017-02-10 08:00:08 -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 b9c6f6bb60 operator starts a rest api service with some placeholder implementation 2017-02-09 13:48:10 -08:00