anvil/Anvil/Tools
Digimer 24f5d39dff This is a set of changes all stemming from trying to debug frequent resyncs. More bugs still to be fixed.
* Updated Database->get_host_from_uuid() to cache results.
* Fixed a bug in Database->get_storage_group_data where a DELETE wasn't deleting from the history schema as well.
* In Database->resync_databases(), references to the old 'host_uuid' that we used to use to resync just the local host's data was removed. Added also a check where two or more entries in a given history schema had the same modified_date and, when found, the newest entry is preserved and the rest are deleted. Before this, a resync where two+ records had the same modified_time would only sync the last record, leaving a mismatch in history schema entries triggering repeated resyncs.
* Fixed a bug in Email->send_alerts() where the 'alerts' table was being updated without a modified_date being set.
* Fixed a bug in System->test_ipmi() where the 'hosts' table was being updated without a modified_date being set.
* Updated scan-network to clear up old deleted ip_addresses, bonds and bridges. Also fixed bugs where public schema records were being deleted without history records being deleted.
* Updated anvil-update-states to fix bugs where DELETEs were happening without setting the modified_date.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-06-12 23:14:49 -04:00
..
Account.pm * Fixed a bug (maybe) that was causing users to get immediately logged out of the WebUI 2021-11-15 01:01:23 -05:00
Alert.pm Fixed a bug in Alert->check_condition_age() where, when the 'clear' parameter was set and the value was already 'clear', it would flip to 'set' erroniously. 2022-01-13 21:07:25 -05:00
Cluster.pm Added a couple notes for later dev. 2021-07-16 11:13:48 -04:00
Convert.pm Added '#!no_value!#' to be handled properly by Convert->format_mmddyy_to_yymmdd. 2022-01-20 10:26:54 -05:00
Database.pm This is a set of changes all stemming from trying to debug frequent resyncs. More bugs still to be fixed. 2022-06-12 23:14:49 -04:00
DRBD.pm * Fixed a bug in striker-scan-network where the scan wasn't running properly when no network was specifically given. 2022-04-08 18:54:55 -04:00
Email.pm This is a set of changes all stemming from trying to debug frequent resyncs. More bugs still to be fixed. 2022-06-12 23:14:49 -04:00
Get.pm * Created Get->kernel_release() that returns the current kernel release (version) in use on the host or on a remote system. 2021-12-07 20:03:39 -05:00
Job.pm Updates Jobs->update_progress() to take a 'variables' hash reference, and to support logging as well. 2021-07-16 15:07:07 -04:00
Log.pm * I _might_ have fixed the network configuration issue in anvil-configure-host... Updated it so that if 'nmcli' doesn't report a valid device name, it looks for it in the ifcfg-X file, and uses 'X' if not found there. 2021-06-18 19:37:37 -04:00
Network.pm This is a set of changes all stemming from trying to debug frequent resyncs. More bugs still to be fixed. 2022-06-12 23:14:49 -04:00
Remote.pm * Added a check to Database->get_ip_addresses() to check is a hash is set before using it, to help avoid unitialized variable messages. 2021-03-10 20:35:05 -05:00
ScanCore.pm * Fixed a bug where Database resync's where trying to resync tables without history schema entries. 2022-06-08 21:27:41 -04:00
Server.pm Updated DRBD->get_devices() and Server->parse_definition() to take 'anvil_uuid' so that server data can be parsed from anywhere. 2022-04-06 00:16:32 -04:00
Storage.pm * Updated Database->configure_pgsql() to use 'postgresql-setup --initdb --unit postgresql' instead of the deprecaded 'initdb' switch. 2021-10-28 12:07:36 -04:00
Striker.pm * Fixed a bug where resync'ing the database was missing tables. 2022-03-29 17:12:26 -04:00
System.pm This is a set of changes all stemming from trying to debug frequent resyncs. More bugs still to be fixed. 2022-06-12 23:14:49 -04:00
Template.pm * This adds two new files; cgi-bin/get_anvils and cgi-bin/get_anvil_status, that will form the foundation of the new interactive web UI. 2021-02-09 22:45:40 -05:00
Validate.pm * Updated Database queries that were passing 'debug => $debug' to not do that, as it was causing far too much (useless) noise in the logs. 2021-04-15 02:35:58 -04:00
Words.pm * Created a new tool, anvil-watch-bonds, which is a live monitor of bonds and interfaces designed to be run from the command line on a given host. 2021-05-26 20:24:05 -04:00