Commit Graph
59 Commits
Author SHA1 Message Date
Travis Nielsen 9b94111dd2 consolidate the kvstore interface 2018-01-03 08:36:43 -08:00
Pavel Snagovsky 1eb6d5bb65 WIP: the first path of OSD monitoring
Re: #667
2017-11-01 13:45:31 -07:00
Travis Nielsen 4e6774c063 remove legacy standalone code 2017-10-17 12:23:57 -07:00
Steve Leon 724a78cc6b Moving FindRBDMappedFile to ceph/util/
Fixes https://github.com/rook/rook/issues/1056
2017-10-12 15:51:59 -07:00
Steve Leon b4279e06fb Rook plugin for Kubernetes implemented as flexvolume
- Operator is deployed under namespace rook-system
- Operator deploys rook-agent on all nodes as daemonset also on
  rook-system
- Rook-agent installs flexvolume driver on hosts
- Rook-agent listens on unix socket for driver requests
- Rook-agent perform attach/detach on its node
- Rook-agent creates/delete CRD volumeattach objects
- Added fencing to support ROX and RWO
- Added unit and integration tests
- Updated examples and docks

fixes #432
2017-10-09 09:14:08 -07:00
Jared Watts 113e861020 osd: Allow OSDs to recover from losing all their metadata and config 2017-10-03 15:54:02 -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 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
Travis Nielsen 059987e6cf build: unit tests pass on mac 2017-06-23 16:00:21 -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 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 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 fab106a16c Unit tests passing except api after the refactor 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
Travis Nielsen 58aa72a254 remove dependency on bash 2017-05-05 12:25:31 -07:00
Jared Watts d185e6b2cf For bluestore OSDs look at the data partition size to determine CRUSH weight 2017-04-14 15:12:25 -07:00
Steve Leon c46c076096 Updating dependency to support K8S 1.6 2017-04-12 13:27:55 -07:00
Jared Watts e5cca80654 Operator and cephmgr support for specifying storage resources and configuration 2017-04-04 15:32:49 -07: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 a6b4430d8a start the rgw service 2017-02-01 09:50:02 -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 d383fc7d45 Backoff exponentially restarting processes that start but crash right away 2017-01-25 14:44:36 -08:00
Travis Nielsen 5d76276f29 detect rook partitions
(cherry picked from commit 0f5552389eba6dad8babab027a05a5466517177f)
2017-01-20 16:48:17 -08:00
Travis Nielsen e355cdb68d write ceph daemon conf files to the log 2017-01-03 08:15:44 -08:00
Travis Nielsen 1d2cca0a26 check if process is being monitored before starting a new process 2016-12-16 09:11:26 -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 21f163e2ba rook support for shared filesystems 2016-12-01 13:34:45 -08:00
Travis Nielsen 47068f4f46 cache a random node id in the data dir 2016-11-21 14:03:52 -08:00
Travis Nielsen cd21a158d8 log child process output with specific log id 2016-11-18 22:45:21 -08:00
Jared Watts 4eb25458f1 Look for devices using a cleaned mount point 2016-11-16 16:51:11 -08:00
Jared Watts 0e00f57758 Migrate logging package from built-in to github.com/coreos/capnslog, allow user specified logging level, tune logging levels for existing log statements 2016-11-16 14:19:42 -08:00
Bassam Tabbara 7d3c31bfe2 readme changes and a few license updates 2016-11-08 01:02:29 -08:00
Bassam Tabbara b3c4f18c89 initial docs and licensing 2016-11-07 17:13:39 -08:00
Travis Nielsen 632f418cea execute all child processes with logging and same executor 2016-10-31 13:07:11 -07:00
Travis Nielsen af78fb0183 simplify refresh event notifications 2016-10-27 13:48:43 -07:00
Travis Nielsen 12a195ab0d usage of public and private ip addresses 2016-10-27 09:06:50 -07:00
Bassam Tabbara 7da39894c0 rename castle to rook
switched to using quay.io for all containers -- we are no longer
publishing to hub.docker.com.
2016-10-27 13:42:03 +02:00
Bassam Tabbara 4936587b94 go import fixes 2016-10-26 00:38:39 +02:00
Travis Nielsen 21f42d7ff0 more flexible parsing of sgdisk output of device guid 2016-10-24 20:15:40 -07:00
Travis Nielsen 3772349491 remove or convert sys calls that require bash 2016-10-21 14:55:32 -07:00
Travis Nielsen 31b394c52e osd tracking on id instead of serial number 2016-10-21 14:55:32 -07:00
Travis Nielsen 7f9cf16803 configuration of osds with bluestore 2016-10-19 11:35:58 -07:00
Jared Watts 90cf7a8261 Support for replicated and erasure coded storage pools 2016-10-14 10:59:02 -07:00
Mehdi Azarmi f1d56803bb Dynamic etcd cluster resizing added. 2016-10-12 11:52:28 -07:00
Jared Watts 4e6b5424b2 Move Executor functionality to its own package 2016-10-12 09:07:47 -07:00