Commit Graph
3571 Commits
Author SHA1 Message Date
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
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 5fbe0d385b rename deployment name for consistency 2017-02-08 15:46:51 -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 a8440dff44 store mon and rgw secrets 2017-02-06 17:47:57 -08:00
Travis Nielsen 37d85a374b cleanup the command line arguments and other PR feedback 2017-02-01 11:00:09 -08:00
Travis Nielsen a6b4430d8a start the rgw service 2017-02-01 09:50:02 -08:00
Travis Nielsen ba35f0a788 rook operator in a k8s deployment 2017-02-01 09:50:02 -08:00
Travis Nielsen 507580df70 take container version as an operator argument 2017-02-01 09:50:02 -08:00
Travis Nielsen 815da36b0e start mons one at a time 2017-02-01 09:50:02 -08:00
Travis Nielsen fbd1a0ce91 create osd daemon set for filestore and bluestore osds 2017-02-01 09:50:02 -08:00
Travis Nielsen 4d28447239 end to end single monitor pod launched by the operator 2017-02-01 09:50:02 -08:00
Travis Nielsen 0601091388 basic operator to launch placeholder services 2017-02-01 09:48:53 -08:00
Travis Nielsen 3c56abd279 factor out rgw daemon to run both in k8s and rook orchestration 2017-02-01 09:48:53 -08:00
Jared Watts 1dbc61ff6a allow public/cluster network config information to be specified to rookd 2017-01-30 21:13:05 -08:00
Jared Watts d383fc7d45 Backoff exponentially restarting processes that start but crash right away 2017-01-25 14:44:36 -08:00
Jared Watts 5d3c88963b Allow OSD bluestore partitions to be separated to a dedicated high performance metadata device (e.g., NVMe/SSD) 2017-01-23 09:49:21 -08:00
Travis Nielsen 5d76276f29 detect rook partitions
(cherry picked from commit 0f5552389eba6dad8babab027a05a5466517177f)
2017-01-20 16:48:17 -08:00
Travis Nielsen b2f92f5775 update the uuid of a disk after formatting 2017-01-06 07:45:47 -08:00
Travis Nielsen becc9d4f42 pass the inventory properties by reference 2017-01-06 07:44:59 -08:00
Jared Watts 2813e6931a allow ceph config file override with --ceph-config-override (or ROOKD_CEPH_CONFIG_OVERRIDE env var) 2017-01-04 09:01:47 -08:00
Travis Nielsen 5ce6c6f000 refresh all osds on the first refresh 2017-01-03 12:58:17 -08:00