Commit Graph

2648 Commits

Author SHA1 Message Date
Joshua Boniface 3705daff43 Better handle failing RBD lock frees
If the VM is not in a stop state, failing to free the lock is now
considered a fatal error and will put the domain into fail state,
aborting the start. This is better than being unsafe or trying to start
a VM which will fail to boot due to read-only volumes.
2020-12-14 16:04:38 -05:00
Joshua Boniface 7c99a7bda7 Safely reset RBD locks on failed VMs
Should correct issues on cold start as well as if a VM crashes
uncleanly, which would prevent the VM from starting due to stale RBD
locks.

This implementation has four parts:
  1. Update how IP addresses are handled, specifically by replacing all
  previous instances of "vni_ipaddr" with "vni_floatingipaddr", and then
  adding the "vni_ipaddr" with the real data for this node's IPs. Also
  include the storage IPs in this where they weren't before, so each
  this_node actually has the local IPs plus floating IPs. This enables
  the next two steps.
  2. Modify flush_locks to take this_node as an argument, and update the
  run_command function to only operate against this node, rather than on
  the primary coordinator.
  3. Have the flush_locks check each lock against the current node, to
  verify that the lock is actually held by the current node. This is the
  only way to do this safely. During fencing, we override this by not
  passing a this_node which bypasses this check.
  4. Have the VM start do the check for VM failure/startup and execute a
  flush_locks before actually starting the VM.
2020-12-14 15:53:18 -05:00
Joshua Boniface 68d87c0b99 Formatting fixes and typos 2020-12-13 16:38:30 -05:00
Joshua Boniface 1af7c545b2 Fix broken link 2020-12-13 04:45:38 -05:00
Joshua Boniface 9a1b86bbbf Fix capitalization issue 2020-12-13 04:42:46 -05:00
Joshua Boniface 5b0066da3f Update provisioner manual 2020-12-13 04:35:42 -05:00
Joshua Boniface 89c7e225a0 Move OSD stats uploading to primary only
Instead of each node uploading its own OSD stats, which would not work
if the PVC daemon wasn't running, instead have the primary upload stats
for all OSDs in the cluster.
2020-12-09 02:46:09 -05:00
Joshua Boniface b36ec43a2d Bump version to 0.9.9 2020-12-09 02:20:20 -05:00
Joshua Boniface 2ac31e0a14 Handle issues with state retrieval 2020-12-08 23:26:29 -05:00
Joshua Boniface 938d67f96b Make help strings in network modify more detailed 2020-12-04 04:18:06 -05:00
Joshua Boniface f58e95e4c1 Fix bugs in modifying networks
1. Use a consistent "is not None" to verify records are changing.
2. Fix bug where IPv6 network had no remove setter (it is now a blank
string, the first thing I would expect).
3. 1 fixes a bug whereby it was impossible to unset DHCPv4 status.
2020-12-04 04:15:04 -05:00
Joshua Boniface 2338aa64f4 Fix bad param for DHCPv4 config 2020-12-04 04:09:23 -05:00
Joshua Boniface e8c6df49e6 Fix incorrect method on incoming list 2020-12-04 03:49:28 -05:00
Joshua Boniface c208898b34 Rename null migration method to any 2020-12-03 17:08:49 -05:00
Joshua Boniface 1d5b9c33b5 Unify handling of API list returns
Ensure that every API return is handled appropriately as it is a list
now.
2020-12-02 19:15:33 -05:00
Joshua Boniface 0820cb3c5b Update swagger documentation 2020-12-01 04:45:01 -05:00
Joshua Boniface 0f8e5c6536 Add VNI to VM network API list
Saves some processing on API clients.
2020-12-01 04:44:33 -05:00
Joshua Boniface 593810e53e Add volume_count to pool API data 2020-12-01 03:40:41 -05:00
Joshua Boniface 185615e6e8 Don't strip single-element lists
This was a dumb decision that complicated handling of single-item
entries.
2020-12-01 03:23:18 -05:00
Joshua Boniface 3a5955b41c Documentation tweaks in Ceph section 2020-11-25 17:58:33 -05:00
Joshua Boniface f06e0ea750 Add more OS info to cluster arch doc 2020-11-25 17:05:16 -05:00
Joshua Boniface 8ecd2c5e80 Emphasize the cluster architecture doc 2020-11-25 16:57:04 -05:00
Joshua Boniface 256c537159 Add additional information to docs 2020-11-25 16:55:20 -05:00
Joshua Boniface a5d495cfaf Update docs name of init command 2020-11-25 10:36:48 -05:00
Joshua Boniface ce5ee11841 Bump version to 0.9.8 2020-11-24 12:26:57 -05:00
Joshua Boniface 8f705c9cc2 Add cluster backup + restore functionality
Adds cluster backup (JSON dump) and restore functions for use in
disaster recovery.

Further, adds additional confirmation to the initialization (as well as
restore) endpoints to avoid accidental triggering, and also groups the
init, backup, and restore commands in the CLI into a new "task"
subsection.
2020-11-24 02:39:06 -05:00
Joshua Boniface 3f2c7293d1 Fix inconsistent name helpmsg
In the RequestParser this is called helptext, not helpmsg; make all of
the entries consistent and return the issue as a message.
2020-11-24 02:37:28 -05:00
Joshua Boniface d4a28d7a58 Bump version to 0.9.7 2020-11-19 10:48:28 -05:00
Joshua Boniface e8914eabb7 Better handle modifying consoles in templates
Before, the default False was problematic and would reset consoles if
the template was otherwise modified. Instead switch the flags to be full
true/false flags, and on modify, adjust the default to be None so they
will not be changed.
2020-11-19 10:28:00 -05:00
Joshua Boniface e69eb93cb3 Bump version to 0.9.6 2020-11-17 13:01:54 -05:00
Joshua Boniface 70dfcd434f Ensure inmigrate is cleared on failure 2020-11-17 12:57:37 -05:00
Joshua Boniface 0383f31086 Fix linting error 2020-11-17 12:37:33 -05:00
Joshua Boniface a4e5323e81 Bump version to 0.9.5 2020-11-17 12:34:04 -05:00
Joshua Boniface 7c520ec00c Add short pretty health output 2020-11-17 12:32:16 -05:00
Joshua Boniface 9a36fedcab More Spaaaaacing 2020-11-14 12:29:28 -05:00
Joshua Boniface aa075759c2 Correct more spacing issues 2020-11-14 12:12:55 -05:00
Joshua Boniface 568209c9af Correct spacing before commands 2020-11-14 12:11:56 -05:00
Joshua Boniface d47a2c29d4 Rephrase the power of 2 part 2020-11-14 11:58:03 -05:00
Joshua Boniface 5b92b822f1 Correct spelling 2020-11-14 11:28:39 -05:00
Joshua Boniface ac47fb5b58 Update getting-started documentation 2020-11-14 11:27:51 -05:00
Joshua Boniface 6e9081f8c3 Correct spelling mistakes 2020-11-13 01:30:38 -05:00
Joshua Boniface 1125382b8d Correct typo in replica configs 2020-11-13 01:23:57 -05:00
Joshua Boniface 06c97eed63 Mention limited exceptions to body request 2020-11-13 01:23:40 -05:00
Joshua Boniface f6b4ce909e Add more network info 2020-11-13 01:09:11 -05:00
Joshua Boniface 776a6982ff Add more about the networks 2020-11-13 01:07:00 -05:00
Joshua Boniface 9cec6a97d1 Apply proofreading to the about page 2020-11-12 02:41:50 -05:00
Joshua Boniface d34a996cf2 Add table of contents to about page 2020-11-12 02:06:03 -05:00
Joshua Boniface 59bf375d13 Merge FAQ into the about page 2020-11-12 02:00:39 -05:00
Joshua Boniface 57bd6babcb Rename the installing page 2020-11-12 01:50:18 -05:00
Joshua Boniface f199875e1a Rename the cluster architecture page 2020-11-12 01:50:04 -05:00