Commit Graph
103 Commits
Author SHA1 Message Date
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
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 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
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
Jared Watts 9e48da2e63 Add default timeout to rook client network calls. Log start and end of API server calls with request ID and response status 2016-12-09 20:25:32 -08:00
Jared Watts 2aebf70f67 cli: rook tool object connection information output to environment variables 2016-12-07 17:18:29 -08:00
Travis Nielsen 6c304df706 always use absolute path for data dir 2016-12-07 09:45:13 -08:00
Jared Watts 92bdb4531f rook tool support for object store creation and client connections 2016-12-06 14:36:22 -08:00
Michael Goff d6ccb72198 rook: Added the ability to set global flags with environment variables
The ability to set global flags via environment variables alleviates the need to pass flags on every invokation.
2016-12-05 10:06:00 -08:00
Travis Nielsen b276150822 run short-lived procs as tools instead of daemons 2016-12-02 16:33:30 -08:00
Travis Nielsen 79cdd85bc4 create the rgw admin user 2016-12-02 16:33:26 -08:00
Jared Watts fc6a58a952 Refactor rook tool so each command has its own package 2016-12-01 17:01:03 -08:00
Jared Watts 21f163e2ba rook support for shared filesystems 2016-12-01 13:34:45 -08:00
Bassam Tabbara cfdd7d800c ceph: add RGW to embedded ceph
this commit adds RGW to rook.
2016-11-28 09:10:43 -08:00
Travis Nielsen 47068f4f46 cache a random node id in the data dir 2016-11-21 14:03:52 -08:00
Bassam Tabbara be1ab65fba ceph: add MDS to embedded ceph
added MDS to embedded ceph and also exposed it through the daemon.
2016-11-18 20:57:21 -08:00
Michael Goff e804c5f778 rook: remove block mount and unmount on mac
Block mount and unmount is not supported and will error so I've removed it from the rook client (only on mac) for now.
2016-11-18 10:21:19 -08:00