221 Commits (04fe4c1bffea58d2ddde7de4c14da954f81c51a5)

Author SHA1 Message Date
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
Digimer 6d59399c73 * Updated the short OS list. 2 years ago
Digimer 9194eb3d09 * Updated System->check_if_configured() to record that a host is configured in /etc/anvil to make the system auto-mark as configured if the host is removed from the DB (or, more specifically, variables -> system::configured is lost). 2 years ago
Digimer f9ca6fb170 * This adds the new anvil-version-change tool which anvil-daemon will call on startup to handle checks for changes made over releases/updates. 2 years ago
Digimer 622fb84652 * Renamed the 'notifications' table to 'alert-override', better reflecting what it does. 2 years ago
Digimer a4ef93404c * Fixed a bug in DRBD->gather_data() to remove trailing commas for existing TCP ports. 2 years ago
Digimer ef3ac86162 * Fixed a bug where setting the db_in_use flag without a valid $ENV{_}. 2 years ago
Digimer 21738ab0d4 Added a bit more logging to the Database->mark_active method. 2 years ago
Digimer a81478f2bc * Updated 'db_in_use' state to add the caller's name to the state name. This is pulled out when logging stale locks that are being reaped, to help debug where stale locks are coming from. 2 years ago
Digimer e7cf8ac789 * Got more work done on anvil-manage-files. It now picks up new files on nodes/dr hosts in an Anvil! and downloads them if needed. 2 years ago
Digimer 5fea8ff46a * Adds the anvil-boot-server man page. 2 years ago