Commit Graph

3363 Commits

Author SHA1 Message Date
Joshua Boniface 7f828a27a5 Free RBD locks when fencing node 2019-07-09 10:59:31 -04:00
Joshua Boniface ffc2a6ee1b Fix display bug 2019-07-09 10:47:56 -04:00
Joshua Boniface 6426607769 Store list of RBD disks in ZK
Store a basic list of RBD disks in Zookeeper for access by the node
subsystem to handle RBD locks. This avoids the need to implement complex
parsing logic inside the fencing configuration (or elsewhere).

Also handle a malformed XML content properly during VM define.
2019-07-09 10:22:23 -04:00
Joshua Boniface e263a05237 Reorganize client functions
Move some functions to the common file for future usage.
2019-07-09 09:29:47 -04:00
Joshua Boniface b5af3a16a8 Join features list in CLI output 2019-07-08 22:47:04 -04:00
Joshua Boniface a3de9da513 Add quotes around vars in all return messages 2019-07-08 22:37:26 -04:00
Joshua Boniface dd78aa8fb8 Use quotes around variables in output 2019-07-08 22:31:24 -04:00
Joshua Boniface b0bdf72310 Fix bad variable name 2019-07-08 22:24:18 -04:00
Joshua Boniface 7889bd88e3 Use equality instead of in 2019-07-08 22:22:43 -04:00
Joshua Boniface 1ce2cfc3e3 Convert units on CLI output and format ops too 2019-07-08 22:03:34 -04:00
Joshua Boniface dda4cc282e Fix bad element names 2019-07-08 21:41:54 -04:00
Joshua Boniface b2cc444024 Correct bad bracket type 2019-07-08 21:40:06 -04:00
Joshua Boniface 359886e335 Correct variable name bugs 2019-07-08 21:35:18 -04:00
Joshua Boniface bc54ea2449 Log message when starting or stopping API client 2019-07-08 19:29:49 -04:00
Joshua Boniface 31b4dd9aed Show radosdf output in clients 2019-07-08 10:59:49 -04:00
Joshua Boniface cda690e94f Set RADOS df information in ZK 2019-07-08 10:19:56 -04:00
Joshua Boniface 9c89a22ec4 Remove missed return message 2019-07-07 16:42:54 -04:00
Joshua Boniface 128db8e683 Remove indent 2019-07-07 16:39:07 -04:00
Joshua Boniface 771c193343 Add even nicer startup message 2019-07-07 15:46:38 -04:00
Joshua Boniface c9bad6edf9 Log messages during startup 2019-07-07 15:44:47 -04:00
Joshua Boniface fed6dd6639 Fix bad replace 2019-07-07 15:36:45 -04:00
Joshua Boniface 143639cc3b Update URLs in badges 2019-07-07 15:35:41 -04:00
Joshua Boniface 021fcb2c59 Add section about the author 2019-07-07 15:34:26 -04:00
Joshua Boniface d9ebd04264 Fix missing dom_uuid values in data reads 2019-07-07 15:30:28 -04:00
Joshua Boniface b82ccaa84d Improve flush handling
Similar to recent client changes, don't replace the previous node record
of an already-migrated VM. Wait for shutdown if required. Use a
continue statement instead of a needless else block.
2019-07-07 15:27:37 -04:00
Joshua Boniface 0d398f663b Rename "Domain" to "VM" in various class names
The name "Domain", though technically correct from a Libvirt
perspective, was unnecessarily confusing. Call the class instances what
they are, VMs.
2019-07-07 15:20:37 -04:00
Joshua Boniface 4a93945b58 Add additional e for consistency 2019-07-07 15:18:35 -04:00
Joshua Boniface f75216d946 Make force_migrate not replace existing node
Previous to this, if once force-migrated a VM, the previous_node value
would be updated to the current node, which is likely never what an
administrator would want. Change this functionality so that the previous
node value is not changed, and update the documentation to reflect this.
2019-07-07 15:10:48 -04:00
Joshua Boniface be146d7364 Add wording and formatting tweaks 2019-07-07 15:01:21 -04:00
Joshua Boniface 5e15c171da Add fixed-width tags around endpoint addresses 2019-07-07 14:49:36 -04:00
Joshua Boniface b18e282987 Add further wording tweaks and remove repeat lines 2019-07-07 14:44:54 -04:00
Joshua Boniface 3f67bcd31d Tweaks to API documentation 2019-07-07 14:37:59 -04:00
Joshua Boniface dd186c1228 Add API reference manual documentation 2019-07-07 14:18:40 -04:00
Joshua Boniface 7769b322f4 Bold NOTEs instead of italicizing 2019-07-07 12:01:24 -04:00
Joshua Boniface 2297d0b69e Add mention of buildiso.sh help 2019-07-07 11:19:45 -04:00
Joshua Boniface c3e86be6a3 Disable debugging of API 2019-07-07 02:26:46 -04:00
Joshua Boniface a2362db11e Fix some typos 2019-07-07 01:17:05 -04:00
Joshua Boniface f41969094e Tweak wording in install doc intro 2019-07-07 00:49:04 -04:00
Joshua Boniface 1f0f7bc5a6 Add blurb about patience with old tools 2019-07-07 00:40:10 -04:00
Joshua Boniface f666fc0673 Add manual stubs for API and Ansible 2019-07-07 00:24:17 -04:00
Joshua Boniface 48f02a379d Add CLI manual 2019-07-07 00:19:49 -04:00
Joshua Boniface 425392f2e6 Better handle auth enabling 2019-07-07 00:16:50 -04:00
Joshua Boniface 4724f79877 Change order in sample yaml 2019-07-07 00:10:01 -04:00
Joshua Boniface 9215931ceb Support token authentication with login/logout 2019-07-07 00:08:02 -04:00
Joshua Boniface 8aedd78879 Support SSL for the API 2019-07-06 23:28:29 -04:00
Joshua Boniface 804f72d905 Remove obsolete init attempt 2019-07-06 19:03:55 -04:00
Joshua Boniface 17046f923f Add Ansible manual 2019-07-06 18:41:51 -04:00
Joshua Boniface c04f959fa6 Add empty architecture files 2019-07-06 18:39:27 -04:00
Joshua Boniface 7ab8c81c4f Even more formatting tweaks 2019-07-06 18:16:28 -04:00
Joshua Boniface 2b657f73a1 One more attempt 2019-07-06 18:15:11 -04:00