Commit Graph

2532 Commits

Author SHA1 Message Date
Joshua Boniface 554fa9f412 Use current live value for bridge_mtu
This will ensure that upgrading without the bridge_mtu config key set
will keep things as they are.
2021-10-12 12:24:03 -04:00
Joshua Boniface 5a5f924268 Use power off in fence instead of reset
Use a power off (and then make the power on a requirement) during a node
fence. Removes some potential ambiguity in the power state, since we
will know for certain if it is off.
2021-10-12 11:04:27 -04:00
Joshua Boniface cc309fc021 Validate network MTU after initial read 2021-10-12 10:53:17 -04:00
Joshua Boniface 5f783f1663 Make cluster example images clickable 2021-10-12 03:15:04 -04:00
Joshua Boniface bc89bb5b68 Mention fencing only in run state 2021-10-12 03:05:01 -04:00
Joshua Boniface eb233ef588 Adjust more wording and fix typos 2021-10-12 03:00:21 -04:00
Joshua Boniface d3efb54cb4 Adjust some wording 2021-10-12 02:54:16 -04:00
Joshua Boniface da15357c8a Remove codeql setup
I don't use this for anything useful, so disable it since a run takes
ages.
2021-10-12 02:51:19 -04:00
Joshua Boniface b6939a28c0 Fix formatting of subsection 2021-10-12 02:49:40 -04:00
Joshua Boniface a1da479a4c Add reference to Ansible manual 2021-10-12 02:48:47 -04:00
Joshua Boniface ace4082820 Fix spelling errors 2021-10-12 02:47:31 -04:00
Joshua Boniface 4036af6045 Fix link to cluster architecture docs 2021-10-12 02:41:22 -04:00
Joshua Boniface f96de97861 Adjust getting started docs
Update the docs with the current information on setting up a cluster,
including simplifying the Ansible configuration to use the new
create-local-repo.sh script, and simplifying some other sections.
2021-10-12 02:39:25 -04:00
Joshua Boniface 04cad46305 Default to removing build artifacts in b-a-d.sh 2021-10-11 16:41:00 -04:00
Joshua Boniface e9dea4d2d1 Add explicit 3 second timeout to requests 2021-10-11 16:31:18 -04:00
Joshua Boniface 39fd85fcc3 Add version function support to CLI 2021-10-11 15:34:41 -04:00
Joshua Boniface cbbab46b55 Add new configs for Ansible 2021-10-11 14:44:18 -04:00
Joshua Boniface d1f2ce0b0a Bump version to 0.9.41 2021-10-09 19:39:21 -04:00
Joshua Boniface 2f01edca14 Add bridge_mtu config to docs 2021-10-09 19:28:50 -04:00
Joshua Boniface 12a3a3a6a6 Adjust log type of object setup message 2021-10-09 19:23:12 -04:00
Joshua Boniface c44732be83 Avoid duplicate runs of MTU set
It wasn't the validator duplicating, but the update duplicating, so
avoid that happening properly this time.
2021-10-09 19:21:47 -04:00
Joshua Boniface a8b68e0968 Revert "Avoid duplicate runs of MTU validator"
This reverts commit 56021c443a.
2021-10-09 19:11:42 -04:00
Joshua Boniface e59152afee Set all log messages to information state
None of these were "success" messages and thus shouldn't have been ok
state.
2021-10-09 19:09:38 -04:00
Joshua Boniface 56021c443a Avoid duplicate runs of MTU validator 2021-10-09 19:07:41 -04:00
Joshua Boniface ebdea165f1 Use correct isinstance instead of type 2021-10-09 19:03:31 -04:00
Joshua Boniface fb0651fb05 Move MTU validation to function
Prevents code duplication and ensures validation runs when an MTU is
updated, not just on network creation.
2021-10-09 19:01:45 -04:00
Joshua Boniface 35e7e11403 Add logger message when setting MTU 2021-10-09 18:56:18 -04:00
Joshua Boniface b7555468eb Ensure vx_mtu is always an int() 2021-10-09 18:52:50 -04:00
Joshua Boniface f1b4ee02ba Fix bad header length in network list 2021-10-09 18:50:32 -04:00
Joshua Boniface 4698edc98e Add MTU value checking and log messages
Ensures that if a specified MTU is more than the maximum it is set to
the maximum instead, and adds warning messages for both situations.
2021-10-09 18:48:56 -04:00
Joshua Boniface 40e7e04aad Fix invalid schema key
Addresses #144
2021-10-09 18:42:33 -04:00
Joshua Boniface 7f074847c4 Add MTU support to network add/modify commands
Addresses #144
2021-10-09 18:06:21 -04:00
Joshua Boniface b0b0b75605 Have VXNetworkInstance set MTU if unset
Makes this explicit in Zookeeper if a network is unset, post-migration
(schema version 6).

Addresses #144
2021-10-09 17:52:57 -04:00
Joshua Boniface 89f62318bd Add MTU to network creation/modification
Addresses #144
2021-10-09 17:51:32 -04:00
Joshua Boniface 925141ed65 Fix migration bugs and invalid vx_mtu
Addresses #144
2021-10-09 17:35:10 -04:00
Joshua Boniface f7a826bf52 Add handlers for client network MTUs
Refactors some of the code in VXNetworkInterface to handle MTUs in a
more streamlined fashion. Also fixes a bug whereby bridge client
networks were being explicitly given the cluster dev MTU which might not
be correct. Now adds support for this option explicitly in the configs,
and defaults to 1500 for safety (the standard Ethernet MTU).

Addresses #144
2021-10-09 17:02:27 -04:00
Joshua Boniface e176f3b2f6 Make n-1 values clearer 2021-10-07 18:11:15 -04:00
Joshua Boniface b339d5e641 Correct levels in TOC 2021-10-07 18:08:28 -04:00
Joshua Boniface d476b13cc0 Correct spelling errors 2021-10-07 18:07:06 -04:00
Joshua Boniface ce8b2c22cc Add documentation sections on IPMI and fencing 2021-10-07 18:05:47 -04:00
Joshua Boniface feab5d3479 Correct flawed conditional in verify_ipmi 2021-10-07 15:11:19 -04:00
Joshua Boniface ee348593c9 Bump version to 0.9.40 2021-10-07 14:42:04 -04:00
Joshua Boniface e403146bcf Correct bad stop_keepalive_timer call 2021-10-07 14:41:12 -04:00
Joshua Boniface bde684dd3a Remove redundant wording from header 2021-10-07 12:20:04 -04:00
Joshua Boniface 992e003500 Replace headers with links in CHANGELOG.md 2021-10-07 12:17:44 -04:00
Joshua Boniface eaeb860a83 Add missing period to changelog sentence 2021-10-07 12:10:35 -04:00
Joshua Boniface 1198ca9f5c Move changelog into dedicated file
The changelog was getting far too long for the README/docs index to
support, so move it into CHANGELOG.md and link to it instead.
2021-10-07 12:09:26 -04:00
Joshua Boniface e79d200244 Bump version to 0.9.39 2021-10-07 11:52:38 -04:00
Joshua Boniface 5b3bb9f306 Add linting to build-and-deploy
Ensures that bad code isn't deployed during testing.
2021-10-07 11:51:05 -04:00
Joshua Boniface 5501586a47 Add limit negation to VM list
When using the "state", "node", or "tag" arguments to a VM list, add
support for a "negate" flag to look for all VMs *not in* the state,
node, or tag state.
2021-10-07 11:50:52 -04:00