532 Commits (78b75c649a46898f438759d2c91944aba66730f2)

Author SHA1 Message Date
Madison Kelly 922899ea78 * WIP: Working on a new method of failing over between which Striker is the active database, instead of running N-number of databases all the time. 3 years ago
Digimer 6664c5b77f * Fixed a bug where scan-drbd, with DR configured, was not recording TCP ports assigned to connections properly. 3 years ago
Digimer da9dc03d04 Updated anvil-manage-dr to update the job progress and convert prints into strings. 3 years ago
Digimer 5b35204af4 * Updated DRBD->get_next_resource() to take the new 'dr_tcp_ports' ports which, if set, returns two free TCP ports. 3 years ago
Digimer 9edf698c37 Updated Database->get_storage_group_data() to determine when a node or DR host needs to be removed from a Storage group, or when a member of an Anvil! needs to be added to a storage group. 3 years ago
Tsu-ba-me d195a53ba2 feat(cgi-bin): add endpoint for fetching server screenshot 3 years ago
Tsu-ba-me 1014299d38 fix(tools): enable anvil-get-server-screenshot to be a job 3 years ago
Digimer 2f8b1fb72e Updated anvil-provision-server so that when the OS type is 'win7', set the disk to sata and the NIC to e1000e. Also updated it to store the virt-install call in the 'variables' table and write it out to /mnt/shared/provision. 3 years ago
Digimer 06f679d7e7 * Added the ability to disable anvil-daemon management of /etc/hosts. 3 years ago
Digimer 4c7bb45ab9 Fixed a race condition where configuring the IPMI BMC would appear to fail because the BMC wouldn't report the user list after a cold reset. 3 years ago
Digimer 04cb116c1b Updated anvil-parse-fence-agents to validate each fence agent's metadata is valid before adding it to the unified XML. 3 years ago
Digimer 3674a47179 WIP - Working a tool to manually load updated server definition files. 3 years ago
Digimer aec22bb79c Added a check in scan-network that finds/removes duplicate network interface names. 3 years ago
Digimer 4800f7181f * Updated ScanCore to boot a node that is off without a stop reason. 3 years ago
Tsu-ba-me 2b6e1bb51b chore(share): add missing labels to error messages 3 years ago
Tsu-ba-me bb155a5786 fix(tools): update job progress in catch-all case 3 years ago
Tsu-ba-me 1d61c8fff7 fix(cgi-bin): modify manage_vnc_pipes endpoint to trigger a job 3 years ago
Tsu-ba-me 7d9013a60b fix(tools): allow striker-manage-vnc-pipes to be executed as a job 3 years ago
Digimer 8d2e454d69 * Updated fence_delay to set the ownership of the log file to 'hacluster:haclient'. This should address https://github.com/digimer/fence_delay/issues/1 3 years ago
Digimer bc8b9274cb WIP; Reworked anvil-manage-server to have a more interactive menu system (for the sections done so far). 3 years ago
Digimer 28865780f8 * Updated Database->get_server_definitions() to take a specific server UUID, allowing just the one definition to be loaded. Also had it clear previous loads. 3 years ago
Digimer 623dbb0863 WIP; Restarted work on anvil-manage-server. 3 years ago
Digimer cebae28716 * WIP - Fixing a bug in scan-network where vnet devices aren't being recorded against their bridge. 3 years ago
Digimer 7e7b91b286 * Updates anvil-join-anvil to update corosync.conf to use the BCN1 link as the main knet network with the SN1 link as the backup link. 3 years ago
Digimer fd5d3c0434 * Finished (though testing still needed) scan-network. 3 years ago
Digimer a697011b08 * Disabled debug logging in anvil-daemon. 3 years ago
Tsu-ba-me e8f18d7aa1 fix(cgi-bin): enable sending power on/off server VM jobs 3 years ago
Tsu-ba-me 2d1987f91a fix(cgi-bin): enable sending power on/off server VM jobs 3 years ago
Digimer 607c097fc8 * Fixed a bug where, once a DRBD resource was allowed to be dual-primary for migration, that wasn't properly disabled post-migration. 3 years ago
Digimer d3052c0229 * Finished Cluster->check_server_constraints() and added it to scan-cluster. This now makes sure servers don't roll back to their old host after it has been fenced and recovers. 3 years ago
Digimer 30f478267a * Forced anvil-daemon to log-level 2 and to enable secure logging to continue debugging setup issues. 3 years ago
Digimer 023f43eda9 * In the never-ending attempt to resolve the build consistency issues, this commit enables extra debugging logging and, hopefully, implements a fix in anvil-daemon where a job could be started repeatedly. 3 years ago
Digimer b71ed28f64 * Added Cluster->manage_fence_delay() that reports back and, optionally, sets a preferred node in a fence race. 3 years ago
Digimer 08a958ec60 * Finished updating Network->check_network() to check/heal bridges. 3 years ago
Digimer bd24c1c5bb * I _might_ have fixed the network configuration issue in anvil-configure-host... Updated it so that if 'nmcli' doesn't report a valid device name, it looks for it in the ifcfg-X file, and uses 'X' if not found there. 3 years ago
Digimer 11b1900e1b Note: Continuing to resolve the build issues with network startup. Expect breakage. 3 years ago
Digimer 3f32a56d0c * Created Network->check_bonds() that checks to see if any bonds are down, or if any interfaces configured to be in a bond are not actually in it. It accepts a 'heal' parameter that, by default, will bring up a bond with no active links, but leaves degraded bonds alone. It call also take 'all' and will try to bring up any missing interfaces. This distinction exists so that if a link is flaky and someone takes it down manually until it can be repaired, it doesn't get turned back on. 3 years ago
Digimer 0b6a9e37fa * Added scan_lvm_pv_sector_size to the scan_lvm_pvs table in the scan-lvm. This will be used later for growing a requested disk size for the DRBD metadata. 3 years ago
Digimer 5b4bfa747c * Reworked the anvil-join-anvil job parsing to help diagnose occassional faults. Also changed a fatal parse error to one that allows the run to be retried. 3 years ago
Tsu-ba-me 9fda3af2ce fix(cgi-bin): move error string key to 0307 3 years ago
Digimer 24ec17f8f7 * Added a new parameter called 'sensitive' to Database->connect() that returns after connections before any ancilliary checks are done, minimizing connect time. 3 years ago
Tsu-ba-me 419ec52d2b fix(cgi-bin): add job title and description to set_membership 3 years ago
Digimer 73267a8ea9 * WIP - Slowly working on anvil-manage-server 3 years ago
Tsu-ba-me 1ec32bfbaf fix(cgi-bin): filled in logic to power on/off target host(s) 3 years ago
Tsu-ba-me 869a5ec807 fix(share): add error template 0304 for request body parse failure 3 years ago
Digimer 4dcd505753 * Biggest change in this commit; scan-apc-pdu and scan-apc-ups now only run on Striker dashboards! This was because we found that if two machines ran their agents at the same time, the reponce time from SNMP read requests grew a lot. This meant it was likely a third, fourth and so on machne would also then have their scan agent runs while the existing runs were still trying to process, causing the SNMP reads to get slower still until timeouts popped. 3 years ago
Digimer 8807915bb7 The theme of this commit is database cleanup and fixes. 3 years ago
Digimer 6abe06f125 The theme of these commits is improving DB responsiveness. 3 years ago
Digimer bbad058b33 * Created a new tool, anvil-watch-bonds, which is a live monitor of bonds and interfaces designed to be run from the command line on a given host. 3 years ago
Digimer ff65712fd9 * Created the function check_daemons() in anvil-daemon to check that needed daemons are running when it starts. This was specifically added to address a periodic issue with machines booting without NetworkManager running. 3 years ago