anvil/scancore-agents
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
..
scan-apc-pdu Updated scan-apc-pdu to remove PDUs that are associated with fence devices that have beed deleted. 2021-10-11 01:49:30 -04:00
scan-apc-ups * 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
scan-cluster Fixed a bug where, if the host IPMI BMC wouldn't allow spaces in the password and the user had a space, IPMI would never configure or get used as a fence method. 2022-01-17 17:54:46 -05:00
scan-drbd * Fixed a bug where scan-drbd, with DR configured, was not recording TCP ports assigned to connections properly. 2021-09-12 23:34:25 -04:00
scan-filesystems * Updated Network->get_ips() to check for 'permaddr' when processing 'ip addr list' to ensure the partmanent MAC is used. 2021-10-07 17:10:25 -04:00
scan-hardware * Updated Network->find_matches() to try to populate the first and second parameters if they're not passed in. 2022-05-20 10:28:21 -04:00
scan-hpacucli * Added support for setting per-agent log-level and log secure values in amvil.conf. 2021-08-18 23:07:15 -04:00
scan-ipmitool * Added support for setting per-agent log-level and log secure values in amvil.conf. 2021-08-18 23:07:15 -04:00
scan-lvm * Added support for setting per-agent log-level and log secure values in amvil.conf. 2021-08-18 23:07:15 -04:00
scan-network 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
scan-server * Updated Network->find_matches() to try to populate the first and second parameters if they're not passed in. 2022-05-20 10:28:21 -04:00
scan-storcli * Updated scab-storcli to not trigger a health alarm when the alarm state is "absent". 2021-10-09 21:24:36 -04:00
Makefile.am * Now with 100% less typos. 2021-04-20 23:22:45 -04:00