231 Commits (7925a3f42c5fa56dd87624bafd4866332885b039)

Author SHA1 Message Date
digimer 3e63b726d3 Added node 2 joining an Anvil! node if not started by node 1. 8 months ago
digimer e00dec7cba Added loading existing corosync/authkey from peer during rebuild. 8 months ago
digimer ab0b1a262b Reworked Network->wait_for_bonds() to be ->wait_for_networks() 10 months ago
digimer 2f5fb32769 Quieted logging 10 months ago
digimer b8c73fd3f2 Replaced hosts management in anvil-join-anvil with System->update_hosts. 10 months ago
digimer 495cb90ca6 Created Network->wait_for_network to hold startup for NM to be up. 10 months ago
digimer 5cf0bbc6be Added Want=NetworkManager to anvil-daemon and scancore unit files. 10 months ago
digimer 05de34c7bc Scancore and anvil-daemon now holds for bonds to be up. 10 months ago
digimer 741bcfa908 Added default logging level 2 and secure logging in CI tests. 10 months ago
digimer 5517e43a81 Forcing anvil-daemon to run with log level 2 and secure logging. 10 months ago
digimer 14022896aa Added a call for non-striker machines to call check_sshd if no DBs. 11 months ago
digimer bf693ed212 Updated anvil-daemon to enable root SSH access during startup 11 months ago
digimer 943bf2e8d3 Removed the no-longer-needed Network->check_network() method 11 months ago
digimer b0cede49e3 Removed calls to check apache config. 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 92ed77e05b Fixed a bug blocking most jobs from running. 11 months ago
digimer ff0e6c3575 Updated anvil-daemon to call scan-network if no interfaces exist. 11 months ago
digimer cad524db9d Removed anvil-update-states 11 months ago
digimer ec11335197 Fixed DB initialization bugs. 11 months ago
digimer 52e7875252 Bumoed logging to find '!!error!!' related parsing errors. 11 months ago
digimer 3251154366 Updated anvil-daemon to run anvil-configure-host jobs when mapping net 1 year ago
digimer 4f6fa4b6ed Working on a bug where broken manifests are saved. 1 year ago
digimer 9ee8f782ee Continuing to try to resolve duplicate variables bug. 1 year ago
digimer 2a3f0bab24 Reworked how and when duplicate variables are checked/cleared. 1 year ago
digimer 5ec395c53a Reworked DB resync logic. 1 year ago
digimer 3d4d7abfe3 Increased logging to debug server install failure. 1 year ago
digimer 663a1e0527 Quieted screenshot logging in anvil-daemon. 1 year ago
digimer fcbace6713 Updated anvil-join-anvil to hold if either node is still running anvil-configure-host 1 year ago
digimer c039c58128 * This commit moves taking screenshots of hosted servers onto the strikers using the Sys::Virt module. This was needed because the screenshots were being taken by scan-server, and that was causing it to take a long time to run. It should never have been handled by the scan agent anyway. This update requires a WebUI fix to use the new screenshot tool. This tool also adds holding multiple screenshots to allow users to "scrub" through screenshots up to 10 hours in the past. 1 year ago
digimer d255adc7b4 * Updated anvil-daemon to set the mode of /mnt/shared/* to 0777 during creation and to check that that mode is set for existing sub-directories. This resolves issue #443. 1 year ago
digimer be290bf561 This commit fixes a bug where the drbd kernel module build was being killed mid-compile, leaving DBRD unusable. 1 year ago
digimer f57ab1a78c * Updated anvil-daemon to not hold jobs at startup is the host isn't configured yet. 1 year ago
digimer 66c82e5e22 * Fixed a bug in anvil-update-system where updating a single package with --reboot wouldn't request a reboot. Finished reworking it so that a check is made to see if the kernel or DRBD kmod will be updated and, if so, removes the kmod-drbd RPMs prior to doing the update (as opposed to the sloppier check-on-error method). 1 year ago
digimer e278de4b5a The main change in this commit deals with anvil-daemon startup. During OS updates, it would pick up the queued update job and run it while the other --no-db one was still running. This could become an issue for other tasks in the future, so updated anvil-daemon to not run any jobs for the first minute after startup. Also updated it to see if an OS update is underway (given how it can start mid-RPM update, before packages like kmod-drbd are ready to build). While doing this, implemented caching of daily tasks (like agine out data, archiving data, network scans, etc) to only run once per day, period. As it was before, they would always run on anvil-daemon startup, then wait 24 hours. 1 year ago
digimer d741f4aa6f * Updated anvil-daemon to not exit on high RAM use is any job is running. 1 year ago
digimer 751687129a * Updated anvil-daemon to not exit on RAM use if anvil-update-system is running. 1 year ago
Tsu-ba-me 4f46bb43eb fix(tools): remove server screenshot fetching in anvil-daemon 1 year ago
Tsu-ba-me d95eb699f9 chore: disable web VNC, screenshot pieces to avoid libvirt deadlock 1 year ago
Tsu-ba-me d98df4b2a4 fix(tools): isolate non-striker tasks in anvil-daemon 1 year ago
Tsu-ba-me 560d60c7e8 fix(tools): get server screenshots every minute and punt to strikers WIP 1 year ago
digimer 1d12fb32b4 * Completed the new anvil-watch-drbd which replaces watch_drbd. 2 years ago
digimer c9e11fbbfc * Added checks to anvil-provision-server to fail out if either of the SN IPs are not found when generating a DRBD resource config. 2 years ago
digimer 156a0ca201 Updated anvil-daemon's new job launching logic to allow the restart of a running job that failed out early. 2 years ago
digimer 47f7a35df3 The main purpose of this commit is to add serial execution of similar jobs to help reduce race conditions for scripted jobs, like multiple server creation. 2 years ago
digimer 8f375c58a9 * Fixed a typo in anvil-daemon that prevented compiling. 2 years ago
digimer c50a1936c0 * This adds the new 'file_locations' -> 'file_location_ready' column and associated methods. This is set to TRUE/1 when the file referenced is found on disk and it is the expected size and md5sum. This is meant to allow programs to wait/watch or a file to be ready if they need to use it. Files are now checked periodically via anvil-daemon. 2 years ago
digimer 895f1ec262 This fixes a race condition when multiple servers are provisioned at (nearly) the same time. 2 years ago
digimer 7710d9d109 * Created the new anvil-manage-server-storage tool which will specifically handle managing a server's disks. 2 years ago
digimer a3988cc3e5 * Added System->configure_logind() to ensure that nodes are configured to ignore ACPI power button events so that IPMI-based fences work immediately. 2 years ago