Joshua Boniface
b8d336423e
Add basic testing procedures to manual
2019-08-07 11:07:05 -04:00
Joshua Boniface
3b27a88128
Allow abort of shutdown state
...
Adds some logic to allow an active shutdown state to be aborted by
changing the VM to another state. Useful mostly if a VM is doing funky
things and not responding to the shutdown, but the administrator either
doesn't want to wait for the timer to expire (forcing an immediate
termination) or wishes to abort the shutdown attempt.
Fixes #49
2019-08-07 10:58:18 -04:00
Joshua Boniface
e2ae58b62c
Add the missing newline to the string compare
2019-08-04 17:00:33 -04:00
Joshua Boniface
d0d5ab4425
Fix bug if the switchover target is the same
2019-08-04 16:51:11 -04:00
Joshua Boniface
a329376d33
Lock primary_node key during primary switchover
...
Also implements a looping to switch over the Patroni leader to ensure
this always follows the primary and clean up the code around here a bit.
2019-08-04 16:42:06 -04:00
Joshua Boniface
710d2cf9c2
Fix record duplication bug and general cleanup
...
Fixes #47
2019-08-01 13:11:45 -04:00
Joshua Boniface
8bdec03cf1
Properly support debug logging via config
2019-08-01 11:22:27 -04:00
Joshua Boniface
c6e58796ba
Clean up redundant return section
2019-07-31 23:57:31 -04:00
Joshua Boniface
6a712ffe7a
Don't crash if VM has invalid disks
...
Useful if storage=False and removing a VM.
2019-07-31 23:05:00 -04:00
Joshua Boniface
7380f45b1b
Improve dnsmasq interface handling
...
listen-address is enough; adding interface too causes weird issues where
dnsmasq is listening on an IPv6 global wildcard too which conflicts with
the PowerDNS instance.
2019-07-31 10:03:56 -04:00
Joshua Boniface
324990739e
Make DNS aggregator listen on port 53
...
Using the non-standard port was a pain. Now that all the DNSMasq stuff
works, move back to the default port.
2019-07-30 09:20:01 -04:00
Joshua Boniface
37eaf000c8
Remove extra text
2019-07-29 22:49:52 -04:00
Joshua Boniface
c2aaa713ac
Use updated storage ceph commands
2019-07-29 21:17:52 -04:00
Joshua Boniface
14dc33ca1b
Add links to author section
2019-07-29 00:25:21 -04:00
Joshua Boniface
8992536dea
Tweak wording of API about
2019-07-29 00:23:28 -04:00
Joshua Boniface
b8d11302ef
Fix a few more typos
2019-07-29 00:12:15 -04:00
Joshua Boniface
171e4067e4
Use real arrow in titles
2019-07-29 00:06:33 -04:00
Joshua Boniface
8dec54ef23
Fix spacing in sublist
2019-07-29 00:04:29 -04:00
Joshua Boniface
5678446bca
Fix indenting on sublist
2019-07-29 00:03:45 -04:00
Joshua Boniface
c3e4d97aa0
Fix typos and errors
2019-07-29 00:01:54 -04:00
Joshua Boniface
0041cbc2ee
Remove extrenuous period
2019-07-28 23:43:04 -04:00
Joshua Boniface
f8074ffbaa
Correct image location
2019-07-28 23:41:56 -04:00
Joshua Boniface
a3c96764e0
Implement getting Node states via API
2019-07-28 23:31:59 -04:00
Joshua Boniface
47c72d9b68
Move token authentication to X-Api-Token header
...
Implements #46
2019-07-28 23:12:53 -04:00
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