Travis Nielsen
032c8bca03
add and remove device to desired state
2016-10-03 10:42:46 -07:00
Travis Nielsen
b123dca674
build tag to skip ceph during mocked tests
2016-09-30 11:20:22 -07:00
Travis Nielsen
d2bdd4b6b2
move cmd line tools to cmd package
2016-09-29 21:51:45 -07:00
Bassam Tabbara
a68d91f9be
Pickup latest ceph with reworked commits
2016-09-29 21:51:01 -07:00
Bassam Tabbara
60b0dc3b05
Dependency checking in Makefile and other improvements
...
Makefile now checks go dependencies and only builds what is needed.
Refactored the Makefile into three parts for better maintenance.
Add a buildall target that is the initial attempt at cross compiling
castlectl.
2016-09-29 12:17:42 -07:00
Jared Watts
4348cf2781
Full node details listing and pretty printing, unit tests
2016-09-29 09:25:11 -07:00
Travis Nielsen
c1acb9175e
move cephclient and cephd under cephmgr
2016-09-27 08:33:49 -07:00
Travis Nielsen
b89bccec09
point sources at cephmgr
2016-09-26 16:00:45 -07:00
Travis Nielsen
285d50f8a4
move cephmgr sources from castled package
2016-09-26 15:33:53 -07:00
Travis Nielsen
01ffc4db0a
fix formatting build requirements
2016-09-26 15:30:34 -07:00
Travis Nielsen
38622ad59d
Merge pull request #28 from travisn/move-mon
...
Move ceph mons to healthy nodes when the heartbeats are not seen for 10s
2016-09-26 14:46:39 -07:00
Travis Nielsen
4cc85d7978
rest api for getting ceph mon desired and actual status
2016-09-26 14:30:41 -07:00
Travis Nielsen
2bafccb814
move monitors to healthy nodes when heartbeats are not detected
2016-09-26 14:30:31 -07:00
Bassam Tabbara
7a609765f4
fix go fmt and vet issues
2016-09-23 23:33:49 -07:00
Travis Nielsen
d9a951a99c
Raise unhealthy node event when heartbeat is not seen for 10s
2016-09-23 10:12:02 -07:00
Jared Watts
b351d40e7e
Get and Create storage pools client and server side implementation, unit tests
2016-09-21 13:39:56 -07:00
Travis Nielsen
f4c200a06b
remove the obsolete node fallback ip address
2016-09-20 15:57:02 -07:00
Travis Nielsen
d689c6fdab
osd agent unit tests
2016-09-20 15:20:31 -07:00
Travis Nielsen
7111c976f0
add new monitors to the cluster when new nodes join
2016-09-20 15:20:31 -07:00
Mehdi Azarmi
8dd3a6e0df
restart scenario fixed.
2016-09-20 14:25:03 -07:00
Jared Watts
fcf762d88b
Castle REST API server side implementation, port castlectl to thin HTTP client, unit tests
2016-09-19 14:26:47 -07:00
Travis Nielsen
659d7457de
tests for crush map. test framework for mocking ceph.
2016-09-16 10:35:31 -07:00
Travis Nielsen
6c8349e116
accept args for crush map topology
2016-09-16 10:35:05 -07:00
Travis Nielsen
e4e7c37bd1
move clusterd and etcdmgr sources to castle
2016-09-15 09:26:21 -07:00
Travis Nielsen
38992afec5
add support for config settings as environment variables
2016-09-14 14:08:32 -07:00
Travis Nielsen
316bd1283d
Merge remote-tracking branch 'origin/master' into etcd-peers
2016-09-13 13:09:47 -07:00
Travis Nielsen
76df96fbc2
return an error code from starting a process
2016-09-13 12:52:44 -07:00
Travis Nielsen
233c631b47
accept etcd members or discovery url
2016-09-13 12:38:28 -07:00
Travis Nielsen
d80e88c279
Add unit tests for the ceph monitor
2016-09-12 13:52:46 -07:00
Travis Nielsen
ee3d3ba1f4
add a unit test for ceph mon and osd leaders
2016-09-09 10:24:15 -07:00
Jared Watts
96084e1bae
Merge branch 'master' into proc-man
2016-09-08 16:08:14 -07:00
Jared Watts
20d48ec85f
CAS-1379 Basic process management for mon/osd procs
2016-09-08 13:09:23 -07:00
Travis Nielsen
ae8773f88f
delay watching for leader events until leader election
2016-09-08 10:07:19 -07:00
Travis Nielsen
ffe695ed13
factor out method to handle ceph events
2016-09-07 15:26:13 -07:00
Jared Watts
e041d7e3bd
Merge branch 'master' into ceph-restart
2016-09-02 16:11:05 -07:00
Jared Watts
6129a77942
CAS-1377 create/register OSD before mounting so we can use a mountpoint that contains the OSD's true cluster ID
2016-09-02 16:01:11 -07:00
Jared Watts
2a6d7ad63d
CAS-1377 ceph restartability by making ceph orchestration idempotent
2016-09-02 14:51:11 -07:00
Travis Nielsen
f6a96af9bb
monitors and osd agents check desired state
2016-09-01 16:48:17 -07:00
Travis Nielsen
43f4b5b1d7
Merge pull request #4 from quantum/keycleanup
...
Clean up the etcd keys, refactor ceph manager, and other cleanup refactoring
2016-09-01 09:23:23 -07:00
Travis Nielsen
a96707a1db
update clusterd reference and better check for ip address
2016-09-01 09:22:47 -07:00
Jared Watts
54fd4b2305
CAS-1272 when preparing an IO context, don't shutdown the rados connection prematurely! start logging to /dev/stdout and handle success error codes from libcephd API
2016-08-31 23:00:50 -07:00
Travis Nielsen
d837ed38c9
update the config keys for a working orchestration
2016-08-31 14:27:49 -07:00
Travis Nielsen
6309808329
move cluster startup to the orchestrator
2016-08-31 11:31:55 -07:00
Travis Nielsen
7b07440965
Merge mon and osd services into the ceph service
2016-08-31 10:15:04 -07:00
Travis Nielsen
ea098ad19a
reference updates for castled.util package
2016-08-31 09:26:17 -07:00
Travis Nielsen
4db40ca97a
Rename the orchestration methods
2016-08-30 16:56:43 -07:00
Travis Nielsen
e75c91f6b6
Read the node id from /etc/machine-id
2016-08-30 16:56:26 -07:00
Travis Nielsen
43d5ed047f
CR feedback updates
2016-08-26 14:12:20 -07:00
Travis Nielsen
24bbc05570
Query the current user exactly once per process
2016-08-26 09:36:41 -07:00
Travis Nielsen
89059ef5d7
Remove obsolete change map
2016-08-25 09:54:36 -07:00