anvil/tools
Fabio M. Di Nitto 824e3e07e3 virsh: add wrapper to serialize calls to virsh list
avoid storm of virsh list that overloads libvirtd API causing
unnecessary timeouts during pcmk monitoring operations.

Resolves: https://github.com/ClusterLabs/anvil/issues/395

Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2023-08-07 08:35:08 +02:00
..
anvil-access-module fix(tools): set script source in anvil-access-module 2023-07-12 18:24:21 -04:00
anvil-boot-server This fixes a race condition when multiple servers are provisioned at (nearly) the same time. 2023-04-28 00:19:53 -04:00
anvil-change-password * Adds the anvil-boot-server man page. 2022-08-02 19:09:57 -04:00
anvil-check-memory * Added the man page for anvil-check-memory 2022-08-02 20:26:54 -04:00
anvil-configure-host * Updated anvil-daemon to not hold jobs at startup is the host isn't configured yet. 2023-07-23 23:34:39 -04:00
anvil-cycle-vm-nics
anvil-daemon This commit fixes a bug where the drbd kernel module build was being killed mid-compile, leaving DBRD unusable. 2023-07-24 22:32:41 -04:00
anvil-delete-server * Updated anvil-delete-server to actively check for and delete any drbd-fenced attributes left over in the CIB after a server is deleted. This addresses issue #374. 2023-07-25 21:45:34 -04:00
anvil-download-file This fixes a race condition when multiple servers are provisioned at (nearly) the same time. 2023-04-28 00:19:53 -04:00
anvil-file-details
anvil-get-server-screenshot fix(tools): reduce unnecessary operations in anvil-get-server-screenshot 2023-07-13 00:40:39 -04:00
anvil-join-anvil Typo fix. 2023-04-18 12:32:52 -04:00
anvil-maintenance-mode
anvil-manage-alerts * FInished the anvil-manage-alerts tool. It can now send test alerts at a user-requested alert level. 2022-11-22 01:10:53 -05:00
anvil-manage-dr This adds the new 'striker-collect-debug' tool that collects all potentially useful debug info into a single tarball. 2023-07-05 21:04:05 -04:00
anvil-manage-files Added a skip to ignore dot files when looking at new files. 2023-04-19 12:36:05 -04:00
anvil-manage-firewall * Prefixed all 'virsh' calls with 'setsid --wait' to help prevent future hangs if the call happens without a shell. 2023-03-03 14:42:28 -05:00
anvil-manage-host * Updated Cluster->assemble_storage_groups() to remove refrences to anvil_dr1_host_uuid. Also added the logic for auto-adding DR host's VGs to a storage group. Commented it out though as, for now, this might be a bad idea. Needs more thought. 2023-02-01 23:19:38 -05:00
anvil-manage-keys
anvil-manage-power * Updated anvil-manage-power to not reboot if anvil-version-changes is running (which, if it's taking time, is generating new kmods). 2023-07-24 20:44:40 -04:00
anvil-manage-server This fixes a race condition when multiple servers are provisioned at (nearly) the same time. 2023-04-28 00:19:53 -04:00
anvil-manage-server-storage * Updated Network->find_access() to clear the data from previous scans, which fixes a bug where checking multiple hosts could return stale data for the previous host. 2023-07-24 15:43:54 -04:00
anvil-manage-storage-groups * Fixed a bug in DRBD->get_next_resource() where reserved minor numbers were not being released. Also added a new parameter, "minor_only", that returns the next minor number but doesn't bother processing TCP ports. 2023-06-26 23:55:19 -04:00
anvil-manage-vnc-pipe chore(tools): log start/stop pipe errors in manage vnc pipe 2023-07-23 21:43:26 -04:00
anvil-migrate-server * Added checks to anvil-provision-server to fail out if either of the SN IPs are not found when generating a DRBD resource config. 2023-06-19 21:44:45 -04:00
anvil-network-profiler Added the new 'anvil-network-profiler' tool. 2022-07-19 21:16:46 -04:00
anvil-parse-fence-agents
anvil-provision-server * Updated Remote->call() to take the new 'background' parameter. 2023-06-29 22:17:58 -04:00
anvil-rename-server This fixes a race condition when multiple servers are provisioned at (nearly) the same time. 2023-04-28 00:19:53 -04:00
anvil-report-usage Removed outer double-quotes from Anvil! node description in XML usage reporting. Related to issue #321. 2023-07-23 11:02:45 -04:00
anvil-safe-start * Upped the logging in these three tools to help diagnose run errors. To be removed before tagging beta 2023-07-25 13:07:38 -04:00
anvil-safe-stop Major thing in this commit is reworking striker-update-cluster to work without expecting anvil-daemon to be running on target machines. Similarly, they had to be able to work when the Striker DBs were not available. This is to account for cases where the Striker dashboards have updated, and the schema has changed, preventing the not-yet-updated DR hosts and subnodes from being able to use the DB. To do this, anvil-safe-stop, anvil-update-system, and anvil-shutdown-server had to be updated to use the new --no-db switch, which tells then to run without the database being available. 2023-07-22 18:09:01 -04:00
anvil-scan-network
anvil-show-local-ips Removed the '--' gateway holder to make it more consistent with the rest of the output. 2022-04-26 20:29:37 -04:00
anvil-shutdown-server Major thing in this commit is reworking striker-update-cluster to work without expecting anvil-daemon to be running on target machines. Similarly, they had to be able to work when the Striker DBs were not available. This is to account for cases where the Striker dashboards have updated, and the schema has changed, preventing the not-yet-updated DR hosts and subnodes from being able to use the DB. To do this, anvil-safe-stop, anvil-update-system, and anvil-shutdown-server had to be updated to use the new --no-db switch, which tells then to run without the database being available. 2023-07-22 18:09:01 -04:00
anvil-special-operations * Updated anvil-update-system to check if another instance of anvil-update-system is running and, if so, exit. 2023-07-22 20:03:39 -04:00
anvil-sync-shared This fixes a race condition when multiple servers are provisioned at (nearly) the same time. 2023-04-28 00:19:53 -04:00
anvil-test-alerts * 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
anvil-update-definition
anvil-update-issue
anvil-update-states * Prefixed all 'virsh' calls with 'setsid --wait' to help prevent future hangs if the call happens without a shell. 2023-03-03 14:42:28 -05:00
anvil-update-system * Fixed a double-$ bug in Remote->_check_known_hosts_for_target() 2023-07-25 19:13:41 -04:00
anvil-version-changes * Fixes issue #329; When multiple attributes exist when checking if we're in maintenance mode in fence_pacemaker, the expected hash reference was actually an array reference. 2023-05-08 15:03:29 -04:00
anvil-virsh-wrapper virsh: add wrapper to serialize calls to virsh list 2023-08-07 08:35:08 +02:00
anvil-watch-bonds
anvil-watch-drbd * Fixed a bug in DRBD->get_next_resource() where reserved minor numbers were not being released. Also added a new parameter, "minor_only", that returns the next minor number but doesn't bother processing TCP ports. 2023-06-26 23:55:19 -04:00
anvil-watch-power Updated anvil-daemon's new job launching logic to allow the restart of a running job that failed out early. 2023-06-16 11:43:49 -04:00
fence_delay * Fixed a bug where Database resync's where trying to resync tables without history schema entries. 2022-06-08 21:27:41 -04:00
fence_pacemaker * Fixes issue #329; When multiple attributes exist when checking if we're in maintenance mode in fence_pacemaker, the expected hash reference was actually an array reference. 2023-05-08 15:03:29 -04:00
generate_pm_dispatch_table
Makefile.am virsh: add wrapper to serialize calls to virsh list 2023-08-07 08:35:08 +02:00
scancore This commit fixes a bug where the drbd kernel module build was being killed mid-compile, leaving DBRD unusable. 2023-07-24 22:32:41 -04:00
striker-auto-initialize-all Small logging fix to striker-auto-initialize-all. 2022-06-17 16:43:50 -04:00
striker-auto-initialize-all.example
striker-boot-machine This fixes a race condition when multiple servers are provisioned at (nearly) the same time. 2023-04-28 00:19:53 -04:00
striker-check-machines * This adds the new tool 'striker-check-machines' which simply walks through all known physical machines and checks to see if they're accessible and powered on. 2023-06-20 19:57:21 -04:00
striker-collect-debug * Updated Network->find_access() to clear the data from previous scans, which fixes a bug where checking multiple hosts could return stale data for the previous host. 2023-07-24 15:43:54 -04:00
striker-db-report
striker-db-status
striker-file-manager
striker-get-peer-data Fix a variable quoting bug in Database->locking(). 2022-12-07 18:52:51 -05:00
striker-initialize-host * Fixed a bug where deleting ports from a fence device in an Install Manifest would not cause the fence methods to be removed from the associated cluster. 2022-10-20 22:33:41 -04:00
striker-manage-install-target This is another big commit with a lot of DB work. Getting closer to sorting out the frequent resyncs. 2022-06-16 20:10:43 -04:00
striker-manage-peers * Fixed a bug where, if a specific request to do a DB resync was made but the active_uuid wasn't matching the host, it wouldn't resync. This broke peering Strikers when the peer source was not the active_uuid. 2023-01-18 22:53:15 -05:00
striker-parse-os-list Updated striker-parse-os-list to now take '--all' and '--xml' to show the list of OSes available to optmize VMs for in a simple machine-parsable format or XML, and to show only the OSes not in the words file yet, or all OSes. 2022-04-01 17:34:34 -04:00
striker-parse-oui * Updated Get->switches() to take 'list' and 'man' parameters. With list, the passed in switches can be checked to ensure they're valid. With 'man', if set to the name of a man page (usually $THIS_FILE) will be displayed if --help, -h or -? are used. 2022-07-29 16:56:40 -04:00
striker-prep-database * Fixed a typo in anvil-daemon that prevented compiling. 2023-05-04 11:14:23 -04:00
striker-purge-target * Removed more references to 'dr1_host_uuid' from the old way of linking DR hosts to Anvil! nodes. 2023-03-30 12:50:44 -04:00
striker-scan-network * 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
striker-show-db-counts
striker-update-cluster * Fixed a double-$ bug in Remote->_check_known_hosts_for_target() 2023-07-25 19:13:41 -04:00
unfence_pacemaker * Updated fence_pacemaker to no longer use stonith_admin and instead use pcs. This should resolve the main part of issue #279 2023-01-18 00:22:03 -05:00