437 Commits (8c60aaaf5fa7fe11245ee4205c450df6b81478f9)

Author SHA1 Message Date
Digimer 422d248cbe * Updated Database->insert_or_update_states() to not actually record unless the state_host_uuid exists in all available databases. 3 years ago
Digimer 7b090e1623 * Updated Database->shutdown() to disconnect, stop the postgresql daemon, then reconnect. 3 years ago
Digimer 3fd0db15bf * This rather heavily reworks how database shutdowns works. It adds much more intelligent shutdown, tracking who is using the database, being able to mark a database as "offline" and waiting for users of the database to disconnect before it shuts down. 3 years ago
Digimer b234b79544 Updated anvil-daemon to check if anvil-sync-shared is running if the reported RAM use is too high. If so, it doesn't exit. This fixes an issue where anvil-sync-shared would loop forever as it would constantly be killed when downloading large files. 3 years ago
Digimer 7023ffb56b Further improved startup DRBD logic in ocf:alteeve:server. Specifically, it will startup if a local resource/volume is sync'ing. 3 years ago
Digimer bc39c3fe5c Updated ocf:alteeve:server to better handle multi-peer DRBD configurations. 3 years ago
Digimer e62e5d7b0c * Updated ocf:alteeve:server to better handle starting up DRBD resources before trying to boot a VM. 3 years ago
Digimer 87a2454a09 Moved anvil-configure-host reboot logging to use log_0687 to help grep for reboot causes. 3 years ago
Digimer 3c0435a455 * Updated ocf:alteeve:server to better handle starting up DRBD resources before trying to boot a VM. 3 years ago
Digimer 920d38d250 Moved anvil-configure-host reboot logging to use log_0687 to help grep for reboot causes. 3 years ago
Digimer dc989f0950 Added more logging to track when and how reboots happen in systems. 3 years ago
Digimer d70b9a4956 Updated scancore and anvil-daemon to check their RAM use at the end of each loop and, if it's using more than 1 GiB of RAM, it sends an alert and exits. 3 years ago
Digimer a886653af1 * Updated scan-network to purge duplicate bridges and bonds. 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 e37f487704 Fixed a bug in System->check_ssh_keys where the 'admin' user's RSA keys were owned by root. 3 years ago
Digimer 892a475881 * Fixed a bug in Convert->format_mmddyy_to_yymmdd() where being passed '--' didn't return the same. 3 years ago
Digimer 0a9f81d852 * Created the new striker-db-report that shows how many records are in each database table, and if passed a table name, report how many times each record has been recorded in the history schema. 3 years ago
Digimer 72038e8358 * Fixed a bug where ethtool's Media type contained tab characters that broke JSON when configuring the netowrk interfaces. 3 years ago
Digimer 3346d31194 * Created Get->kernel_release() that returns the current kernel release (version) in use on the host or on a remote system. 3 years ago
Digimer 65dfc22a38 Added an eval{} call around Database->query()'s ->prepare() DBI call to better handle lost database handle. 3 years ago
Digimer 9eec6c4977 * Created ScanCore->check_temperature_direct() based around that start logic from ScanCore->post_scan_analysis_striker() temperature check, and updated the later to use the former. 3 years ago
Digimer 958267e38f * Enabled scancore in the .spec file. Disabled calling striker-prep-database and anvil-update-state in the same. 3 years ago
Digimer 6225ce1943 Updated striker-prep-database to not configure the firewall if firewalld isn't running. 3 years ago
Digimer b517117bc1 * Did more work on trying to figure out why iniital setup of the database was failing. I believe it was because, in anvil-daemon, after calling 'prep_database' we called ->connect() _without_ 'check_if_configured' set. Next round of function testing should help confirm is this was the case. 3 years ago
Digimer 090c59a873 Updated striker-prep-database to enable extra logging to help diagnose a function test build failure problem. 3 years ago
Digimer 257a998743 * Updated Database->configure_pgsql() to use 'postgresql-setup --initdb --unit postgresql' instead of the deprecaded 'initdb' switch. 3 years ago
Digimer 63c45430bb * Updated scan-network to clear duplicate IP addresses. 3 years ago
Digimer 0fc394b294 Updated ocf:akteeve:server to see in the target for a migration has a '<shortname>.mn1' host name, and if so, and if the target can be reached on that address, it will be used for the live migration. This is to allow for inexpensive 10 Gbps live migration speeds. 3 years ago
Digimer ea368a942b Finished the '--update' switch function in anvil-manage-dr. 3 years ago
Digimer 5ee7b2ccaf Got the '--connect' and '--disconnect' functions working in anvil-manage-dr. 3 years ago
Digimer fbe9adc306 Resolve a words key conflict. 3 years ago
Digimer 5c07179aa6 * Resolved a words.xml conflict. 3 years ago
Digimer e60a1b46b3 Fixed bugs related to automatic database startup and conditional backup loading. 3 years ago
Digimer 72b17ff1f9 * Reworked how databases are stopped, now being handled in anvil-daemon. This way, initial starts will still do traditional resyncs, then shut down. This should allow the best of both worlds, where data is not lost on striker start/stop loss/recovery, but operate normally otherwise without delays. 3 years ago
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