105 Commits (480745c8892add09141ee131004bbc18a25d695f)

Author SHA1 Message Date
digimer 480745c889 Disabled printing of the countdown. 10 months ago
digimer 495cb90ca6 Created Network->wait_for_network to hold startup for NM to be up. 10 months ago
digimer b3d1e53623 Added a log message if waiting for bonds times out. 10 months ago
digimer 6a193bf710 Added extra checks to Network->wait_for_bonds() 10 months ago
digimer d5ceca3dc6 Added a message when holding on a bond to activate. 10 months ago
digimer 05de34c7bc Scancore and anvil-daemon now holds for bonds to be up. 10 months ago
Tsu-ba-me 2306776c37 fix: rename load_interfces->load_interfaces of Network.pm 11 months ago
digimer 943bf2e8d3 Removed the no-longer-needed Network->check_network() method 11 months ago
digimer 827cf1f331 Fixed a bug that was crashing anvil-daemon 11 months ago
digimer 282fdbe7e0 Fixed a bug where IPs were being marked repeatedly as DELETEd. 11 months ago
digimer d7aa7966dc Fixed a couple bugs 11 months ago
digimer ff0e6c3575 Updated anvil-daemon to call scan-network if no interfaces exist. 11 months ago
digimer 518fddfa82 More progress on the new NM version of anvil-configure-host 11 months ago
digimer 83057d0b45 Fixed several bugs around renaming interfaces 11 months ago
digimer 71735947dc Created Job->bump_progress() to make advancing job progress easier 11 months ago
digimer 9c67b97fdd Fixed a bug in initializing DROP'ed DBs. 11 months ago
digimer ec11335197 Fixed DB initialization bugs. 11 months ago
digimer 201cd53265 Improved the logic behind Network->find_target_ip() 1 year ago
digimer 580980717d This commit covers the convertion of 'virsh' shell calls to using 'Sys::Virt' module, and fixes several small bugs related to scan-server; 1 year ago
digimer 556e91238d * Updated Network->find_access() to clear the data from previous scans, which fixes a bug where checking multiple hosts could return stale data for the previous host. 1 year ago
digimer 458cb267da * Fixed a bug in Cluster->get_primary_host_uuid() where servers were not loaded before trying to calculate RAM use. 1 year ago
digimer 4dc1b0e117 * Added a check to Network->get_company_from_mac() to manually set the company to KVM/qemu if the prefix is 52:54:00. 1 year ago
digimer 3016fb875b * Reworded striker-update-cluster to use anvil-update-system for on-system OS updates. 1 year ago
digimer fea10e5bb1 * Prefixed all 'virsh' calls with 'setsid --wait' to help prevent future hangs if the call happens without a shell. 2 years ago
digimer 7891c9b2b1 * Fixed a bug in Network->load_ips() where interfaces were being marked as type 'bridge' or 'bond'. 2 years ago
digimer 5dbdd20d7e * Fixed a bug in Network->load_ips() where the IP address on a bridge or bond was having the device name recorded incorrectly. 2 years ago
digimer 645f54ab89 This commit has more changes than I would normally like, but it's all linked to changing file uploads to rsync serially. 2 years ago
Digimer 93e6a59841 * Added 'vnc-server' to the list of firewall services enabled on strikers. 2 years ago
Digimer 4ecc6097d3 * Cleaned up some old 'die' calls with better nice_exit() calls to help avoid dangling db_in_use flags. 2 years ago
Digimer ddd28de112 * Fixed a couple typos that broke compilation. 2 years ago
Digimer 15aadc3a4e * Updated scan-network to check for inactive or activating interfaces and manually bring them up, if the uptime is less than 10 minutes. 2 years ago
Digimer cf8198ac9a Fixed a typo causing a compilation error. 2 years ago
Digimer 3343ecaf9f * Added check to disable/stop firewalld if running when anvil-daemon starts. 2 years ago
Digimer 7fd6185445 * Disabled firewalling for now. There appears to be an issue starting up with DRBD. 2 years ago
Digimer 0b3d282a2c * Updated Network->manage_firewall() to restore a debug level set to 1 for testing. 3 years ago
Digimer bce9e2caaf This is the first attempt at enabling firewalld completely. There is a decent chance that problems exist, so it won't be a surprise if a few more commits are needed to this branch before things work. 3 years ago
Digimer 9028611afb * Fixed a bug in Get->bridges were the bridge was not marked as found when parsing json output, breaking ocf:alteeve:server 3 years ago
Digimer f55d605270 * Disabled the new firewall management to prepare for a new merge with main. Needed to resolve in-field client issues. 3 years ago
Digimer b2ea4f9adc * Moved System->manage_firewall() to Network->manage_firewall(). Started working on actually implementing it, which involves basically fully rewritting it. 3 years ago
Digimer 24f5d39dff This is a set of changes all stemming from trying to debug frequent resyncs. More bugs still to be fixed. 3 years ago
Digimer 1b70b49cf8 * Updated Network->find_matches() to try to populate the first and second parameters if they're not passed in. 3 years ago
Digimer 1dbca79dde * Created Network->get_ip_from_mac() which takes a MAC address and returns an IP address. 3 years ago
Digimer aa7d9bdf14 * Fixed a bug where resync'ing the database was missing tables. 3 years ago
Digimer a633ab7f63 Added a periodic check to ensure all users can ping. This fixes a bug where a local striker dashboard whose DB was stopped wouldn't work. 3 years ago
Digimer 32d47f70f1 * Fixed bugs around ScanCore->check_power() so that it now returns time on batteries and highest charge are returned properly. 3 years ago
Digimer 226d1de6b5 Updated anvil-update-states to use the permanent MAC addresses, as done in scan-network. Updated Network->get_ips() to do the same. 3 years ago
Digimer 47c832bc0e * Updated Network->get_ips() to check for 'permaddr' when processing 'ip addr list' to ensure the partmanent MAC is used. 3 years ago
Digimer 6777104398 * Fixed a bug in anvil-daemon where, when an anvil-manage-power reboot run had triggered a reboot, anvil-daemon didn't set the job_progress to '100', causing constant reboots. Also fixed a bug where the log level was hard-set to '1' instead of '2' needed during debugging. 4 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. 4 years ago
Digimer 87b31a16bb * Clear out the bond health in Network->check_network(). 4 years ago