Commit Graph

3285 Commits

Author SHA1 Message Date
Joshua Boniface 717d00cfcf Implement snapshot rename in node daemon
[4/2] Implements #44
2019-07-28 23:06:12 -04:00
Joshua Boniface 2dbf276e51 Implement snapshot renaming
[3/2] Implements #44
2019-07-28 23:00:35 -04:00
Joshua Boniface 5873cf6c53 Add cluster architecture document 2019-07-28 22:43:24 -04:00
Joshua Boniface c8404ecea7 Add daemon configuration reference 2019-07-28 20:27:15 -04:00
Joshua Boniface c38d9b31e1 Add section on API configuration file 2019-07-28 20:27:07 -04:00
Joshua Boniface 0d195121ba Wording tweaks in manual 2019-07-28 20:26:57 -04:00
Joshua Boniface 83b806d0b5 Move intervals config one level up
Makes for a slightly-better-organized configuration and explanation.
2019-07-28 19:33:23 -04:00
Joshua Boniface 0d79def842 Increase indentations 2019-07-28 18:26:41 -04:00
Joshua Boniface 8daafa150c Add configuration section to CLI manual 2019-07-28 18:22:46 -04:00
Joshua Boniface 67704198e4 Add basic architecture docs 2019-07-28 18:22:33 -04:00
Joshua Boniface 2f186f9d67 Remove extra colons 2019-07-27 16:10:44 -04:00
Joshua Boniface e2f153c3b1 Fix the same bug in a different place 2019-07-26 23:28:57 -04:00
Joshua Boniface a5ed776692 Fix missing format string 2019-07-26 20:54:52 -04:00
Joshua Boniface 68ca493b3b Fix bad error code 2019-07-26 20:53:01 -04:00
Joshua Boniface c464443a9c Fix snapshot lists 2019-07-26 16:44:25 -04:00
Joshua Boniface 2710ed8432 Fix up bugs in the naming 2019-07-26 16:38:35 -04:00
Joshua Boniface 837666a15e Revamp renamekey function
The function had numerous bugs and didn't work. Fix them up.
2019-07-26 16:38:05 -04:00
Joshua Boniface 4937c01075 Remove junk whitespace 2019-07-26 15:13:21 -04:00
Joshua Boniface 1872489b1d Correct duplicating fuzzy limits
These were put in a bad spot (inside the loop) and would cause
operations to take progressively longer. Only do these once.
2019-07-26 15:13:21 -04:00
Joshua Boniface 35363671a0 Implement Ceph volume resize and rename
Includes a simple implementation of a zookeeper "rename" facility,
allowing a key and all data to be replaced by a new key with a different
name but containing all the same child elements and data.

[2/2] Implements #44
2019-07-26 15:13:21 -04:00
Joshua Boniface d5f263bdd6 Implement Ceph volume resize and rename in clients
[1/2] Implements #44
2019-07-26 15:13:21 -04:00
Joshua Boniface 6b41f6556c Handle returning empty lists better (404) 2019-07-26 13:15:54 -04:00
Joshua Boniface b7960cd221 Use only one element in OSD state 2019-07-26 11:57:14 -04:00
Joshua Boniface 1da7462e0d Move bad-net colour outside of string
This just trashed the formatting of the string if the network didn't
exist, despite several previous attempts to get this to align. Give up;
set the colour for the whole net list if any one network is invalid.
This is not as nice as per-network colouring but saves the hassle and
complexity.
2019-07-26 11:41:51 -04:00
Joshua Boniface 50367c9190 Improve OSD create messages 2019-07-26 11:41:51 -04:00
Joshua Boniface d2b1a80a8b Merge branch 'api-restfulness'
Implement a more RESTful API with proper use of HTTP verbs and better
organization.
2019-07-26 11:41:09 -04:00
Joshua Boniface 17b463afd4 Replace retcodes with 400; implement OSD status 2019-07-26 11:23:19 -04:00
Joshua Boniface 4cf3ade10a RESTify the remaining components 2019-07-26 11:00:11 -04:00
Joshua Boniface d43ced176f RESTify the network endpoints; remove some cruft 2019-07-26 09:41:46 -04:00
Joshua Boniface 375bbf4b82 Fix quoting bugs in API 2019-07-25 16:50:17 -04:00
Joshua Boniface 1d944f5627 Fully remove dump endpoing; data is now in output 2019-07-25 16:46:03 -04:00
Joshua Boniface 8071fb87d7 Include XML in domain information 2019-07-25 16:29:29 -04:00
Joshua Boniface fb40ef5b04 Fix typo in common 2019-07-25 15:45:45 -04:00
Joshua Boniface f4d63b9088 Remove vm_dump API function 2019-07-25 15:45:31 -04:00
Joshua Boniface 75f80fa4bd Include XML output in VM information 2019-07-25 15:44:29 -04:00
Joshua Boniface dff1c68f6e RESTify the VM functions and enable debug mode 2019-07-25 15:42:17 -04:00
Joshua Boniface bcd48648b2 Add is_migrated check function 2019-07-25 14:33:50 -04:00
Joshua Boniface 19ae10e582 Update storage docs for RESTfulness 2019-07-25 12:49:02 -04:00
Joshua Boniface eb83305ac2 Update network docs for RESTfulness 2019-07-25 12:30:29 -04:00
Joshua Boniface ee6e219c92 Update node and VM docs for RESTfulness 2019-07-24 22:24:39 -04:00
Joshua Boniface 4284a0fae3 Correct file name 2019-07-24 20:56:31 -04:00
Joshua Boniface 96bc181877 Set the routerstate on daemon startup
Allows switching from coordinator to not coordinator with a service
restart.
2019-07-12 09:51:56 -04:00
Joshua Boniface 2a220cd16e Nicer colour output for coordinator state client 2019-07-12 09:31:42 -04:00
Joshua Boniface e765ec7f49 Handle client connection falures gracefully 2019-07-12 00:55:06 -04:00
Joshua Boniface 383bc958fe Add Ansible architecture doc 2019-07-12 00:30:22 -04:00
Joshua Boniface 439c5f18c3 Add router_state to output of keepalives 2019-07-11 20:11:05 -04:00
Joshua Boniface 0bf0721fda Add documentation manual for Ansible configuration 2019-07-11 13:27:06 -04:00
Joshua Boniface f30be555c1 Improve message output for logging
Improve some formatting of the messages being printed to make it nicer
for long-term logging.
2019-07-10 22:38:32 -04:00
Joshua Boniface ac36870a86 Implement hup for log rotation
This function was long-existent, but never used; implement it.
2019-07-10 22:22:02 -04:00
Joshua Boniface 58f4222ee7 Support disabling log colours and dates
For usecases such as a pure-syslog, allow disabling of dates or colours
in the log messages (separately).
2019-07-10 22:17:23 -04:00