622 Commits (eafd6d5090030027fc295c56dd4448cc3f554b62)

Author SHA1 Message Date
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
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. 4 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. 4 years ago
Digimer fd5d3c0434 * Finished (though testing still needed) scan-network. 4 years ago
Digimer a697011b08 * Disabled debug logging in anvil-daemon. 4 years ago
Tsu-ba-me e8f18d7aa1 fix(cgi-bin): enable sending power on/off server VM jobs 4 years ago
Tsu-ba-me 2d1987f91a fix(cgi-bin): enable sending power on/off server VM jobs 4 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. 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 30f478267a * Forced anvil-daemon to log-level 2 and to enable secure logging to continue debugging setup issues. 4 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. 4 years ago