anvil/Anvil/Tools
Digimer 4b9ec56106 * Updated DRBD->delete_resource() to return a success if asked to delete a non-existent resource (as can happen when partial anvil-delete-server runs are re-run).
* Reworked DRBD->get_next_resource() to pull from the database, and to no longer do that increments-of-three nonsense. Avoidable complexity. Also added a call to Cluster->get_anvil_uuid() if the 'anvil_uuid' parameter wasn't passed.
* Updated Database->get_host_from_uuid() and ->get_hosts() to now take 'include_deleted' parameter and default to not returning deleted hosts. This fixed issues where anvil-{delete,provision}-server calls could assign jobs to now-deleted hosts with reused host names.
* Updated anvil-delete-server to print log entries to STDOUT. Also updated it to not wait of shutdown of a server in pacemaker to complete, and instead to destroy it after calling pacemaker's resource stop. Updated to also check to see if the server being deleted is already out of pacemaker and, if so, skip that step and directly try to destroy the server, if it's running.
* Updated anvil-provision-server to force 'peer_mode' runs to pull their TCP Port and DRBD minor numbers from the job. This fixes a bug where the same resource on two machines could use different TCP ports.

Signed-off-by: Digimer <digimer@alteeve.ca>
2021-02-02 23:09:47 -05:00
..
Account.pm * Updated all methods to add (or fix) logging the method entry. 2020-09-06 01:52:03 -04:00
Alert.pm * Finished porting scan-storcli! This was the largest scan agent to migrate to M3. 2020-11-23 11:18:00 -05:00
Cluster.pm * Updated DRBD->delete_resource() to return a success if asked to delete a non-existent resource (as can happen when partial anvil-delete-server runs are re-run). 2021-02-02 23:09:47 -05:00
Convert.pm * Created Convert->fence_ipmilan_to_ipmitool() that takes a 'fence_ipmilan' call and converts it into a direct 'ipmitool' call. 2020-12-21 16:00:35 -05:00
Database.pm * Updated DRBD->delete_resource() to return a success if asked to delete a non-existent resource (as can happen when partial anvil-delete-server runs are re-run). 2021-02-02 23:09:47 -05:00
DRBD.pm * Updated DRBD->delete_resource() to return a success if asked to delete a non-existent resource (as can happen when partial anvil-delete-server runs are re-run). 2021-02-02 23:09:47 -05:00
Email.pm [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
Get.pm * Fixed a bug in Get->host_from_ip_address() where hosts that are no longer used are returned, meaning 2+ results could be returned after a node was replaced, meaning no host name was returned. 2021-01-31 00:00:23 -05:00
Job.pm * Updated DRBD->delete_resource() to return a success if asked to delete a non-existent resource (as can happen when partial anvil-delete-server runs are re-run). 2021-02-02 23:09:47 -05:00
Log.pm * Updated .spec for the new source location. 2021-01-22 00:37:30 -05:00
Network.pm [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
Remote.pm * Updated Tools->_anvil_version() and Get->anvil_version() to now pick up a SchemaVersion from anvil.sql. This will change only when the schema changes and is used when Database->connect() is checking compatibility with other anvil database hosts. This will make it only break connection when there is a reason to do so. The anvil_version still remains as an informational version that will help when supporting users later. 2021-01-30 14:03:13 -05:00
ScanCore.pm [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
Server.pm [build] first pass at adding a build system to integrate with CI 2021-01-30 20:16:30 +01:00
Storage.pm * Updated Tools->_anvil_version() and Get->anvil_version() to now pick up a SchemaVersion from anvil.sql. This will change only when the schema changes and is used when Database->connect() is checking compatibility with other anvil database hosts. This will make it only break connection when there is a reason to do so. The anvil_version still remains as an informational version that will help when supporting users later. 2021-01-30 14:03:13 -05:00
Striker.pm * Created Database->get_bridges() that, surprise, loads data from the 'bridges' table. 2020-12-23 01:10:23 -05:00
System.pm * Updated Tools->_anvil_version() and Get->anvil_version() to now pick up a SchemaVersion from anvil.sql. This will change only when the schema changes and is used when Database->connect() is checking compatibility with other anvil database hosts. This will make it only break connection when there is a reason to do so. The anvil_version still remains as an informational version that will help when supporting users later. 2021-01-30 14:03:13 -05:00
Template.pm * Updated all methods to add (or fix) logging the method entry. 2020-09-06 01:52:03 -04:00
Validate.pm * Updated all methods to add (or fix) logging the method entry. 2020-09-06 01:52:03 -04:00
Words.pm * Fixed a bug in Words->parse_banged_string() Where the flattened string wasn't being used for the variable substitutions. 2021-02-01 12:27:05 -05:00