Digimer
a6cd5c6604
* Starting work in the new anvil-manage-alerts, which will (when done), allow for management of mail servers, alert recipients, notification over-rides and to trigger test alerts.
...
* Updated Database->get_recipients() to record recipients by name for better sorting.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Tsu-ba-me
0e2f119fef
build(tools): add striker-access-db to tools/Makefile.am
2 years ago
Digimer
76f95d8e53
* Added a check to ignore IPMI sensors reporting "No Reading" in scan-ipmitool.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
7c0b0edc68
Merge pull request #251 from ClusterLabs/anvil-tools-dev
...
* Fixed a bug where deleting ports from a fence device in an Install …
2 years ago
Digimer
bde0b2e7ec
* 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.
...
* Created Get->anvil_from_switch and Get->server_from_switch() (both need testing) that takes a string that could be either a name or UUID, figures out which it is, finds the entry in the DB and started the X_uuid and X_name switch variables.
* Started work on a second attempt at anvil-manage-server.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
9556915cac
Merge pull request #250 from ClusterLabs/anvil-tools-dev
...
* Updated Get->switches() to always support job-uuid.
2 years ago
Digimer
9239961044
Merge branch 'main' into anvil-tools-dev
2 years ago
Digimer
93427a7a38
* Updated Get->switches() to always support job-uuid.
...
* Updated striker-initialize-host to support calls from command line switches, and wrote the man page for it.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
digimer-bot
f6b23de2eb
Merge pull request #249 from ClusterLabs/anvil-tools-dev
...
* Added variables to record when pacemaker and DRBD are configured.
2 years ago
Digimer
c23c79cdf0
Added 'system::all::configured' to anvil-join-anvil to mark an explicit end of config.
...
Started updating striker-initialize-host to handle the new anvil repo config.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
596855405f
* Added variables to record when pacemaker and DRBD are configured.
...
* Added verify-alg to DRBD configs.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
digimer-bot
14be224855
Merge pull request #248 from ClusterLabs/anvil-tools-dev
...
Bumped 'Exhaust Temp' jump threshold to 30c in scan-ipmitool.
2 years ago
Digimer
6721fd94e1
Merge branch 'main' into anvil-tools-dev
2 years ago
Digimer
13b0f5bdcc
Bumped 'Exhaust Temp' jump threshold to 30c in scan-ipmitool.
...
Adjusted some logging.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
ba3e4424d1
Merge pull request #247 from ClusterLabs/anvil-tools-dev
...
* Fixed a bug in DRBD->gather_data() to remove trailing commas for ex…
2 years ago
Digimer
03f0cdad84
Updated anvil-manage-files to only remove files from /mnt/shared/files
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
a4ef93404c
* Fixed a bug in DRBD->gather_data() to remove trailing commas for existing TCP ports.
...
* Added the missing 'clear-mapping' switch to Get->switches in anvil-daemon.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
3ca8aa45b2
Merge pull request #246 from ClusterLabs/anvil-tools-dev
...
* Fixed a bug in anvil-configure-host where if the same MAC address w…
2 years ago
Digimer
3b721b849c
* Fixed a bug in anvil-configure-host where if the same MAC address was assigned to two interfaces, it would cause an endless reboot loop.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
digimer-bot
66bc212b6a
Merge pull request #245 from ClusterLabs/anvil-tools-dev
...
Fixed a bug where scan-server faulted with a divide by zero error whe…
2 years ago
Digimer
ac8135709a
Fixed a bug where scan-server faulted with a divide by zero error when the host had no swap.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
a7c2ab144a
Merge pull request #244 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
2 years ago
Digimer
db85ca663e
Merge branch 'main' into anvil-tools-dev
2 years ago
Digimer
599373816f
* Fixed bugs that came up in testing. Was now able to setup long-throw DR!
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
2fab7bc1b7
This adds support (testing needed) for "Long-Throw" DR; which is a wrapper for using 'drbd-proxy' to provide larger transmit buffers so slow/high-latency DR hosts.
...
* Created DRBD->check_proxy_license() to do (some level of) sanity checks on the DRBD proxy license file.
* Updated DRBD->gather_data() to parse out the inside and outside ports for resource configs using proxy.
* Reworked DRBD->get_next_resource() to return 1, 3 or 7 TCP ports depending, with the new long_throw_ports parameter triggering the 7 ports.
* Added 'tcpdump' to the anvil-core requires list.
* Reworked scan-drbd to record the ports used in proxy configs. This required adding a check to change the 'scan_drbd_peer_tcp_port' column type to 'text' to support CSVs.
* Reworked anvil-manage-dr (needs testing!) to support "long-throw" DR configs.
* Updated anvil-safe-stop to check if the nodes are in the cluster before trying to migrate.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
kronosnet CI bot
6732df403b
Merge pull request #243 from ClusterLabs/fix-rhel9-db
...
spec: update Requires to deal with rhel-9 cloud images
2 years ago
Fabio M. Di Nitto
c683ef84f6
spec: update Requires to deal with rhel-9 cloud images
...
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
2 years ago
Digimer
c8ee75420d
* Updated anvil-manage-dr to check if a server is protected before processing a --connect or --disconnect request. Also made it smarter if an attempt to connect a resource fails.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
83e577d057
Merge pull request #242 from ClusterLabs/anvil-tools-dev
...
* Updated Cluster->parse_crm_mon() to record the role of stonith reso…
2 years ago
Digimer
e90dae96f7
* In Server->shutdown_virsh(), disabled trying to resume a paused VM. Also updated the logging around not waiting for a VM to stop.
...
* Updated anvil-safe-stop to check for VMs running, even if the cluster is stopped, when --stop-servers is used.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
d271ffec26
* Updated Cluster->parse_crm_mon() to record the role of stonith resources.
...
* Fixed a bug in System->parse_arguments() where a quoted password without spaces was returned without being recorded in the hash. Also updated logging to log 'suppressed' for passwords when secure logging is disabled.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
digimer-bot
d1595faf74
Merge pull request #237 from ClusterLabs/dependabot/npm_and_yarn/striker-ui-api/terser-5.14.2
...
build(deps): bump terser from 5.12.1 to 5.14.2 in /striker-ui-api
2 years ago
Digimer
0037907111
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui-api/terser-5.14.2
2 years ago
digimer-bot
4a7f9f79df
Merge pull request #241 from ClusterLabs/anvil-tools-dev
...
* Changed the default trigger of live migrations to require a health …
2 years ago
Digimer
89121a2b3b
* Fixed a bug in Alert->check_condition_age() where not setting a host_uuid caused the returned age to always be 0.
...
* Updated scan_apc_pdu to not report a lost PDU unless it's been gone for ten minutes.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
dependabot[bot]
250c493292
build(deps): bump terser from 5.12.1 to 5.14.2 in /striker-ui-api
...
Bumps [terser](https://github.com/terser/terser ) from 5.12.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Digimer
99a6593fe6
* Fixed a bug when connecting to databases when one DB has no variable entries, making it seem like a DB was disabled.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
b8bb7cc423
* Changed the default trigger of live migrations to require a health score difference of 2 or higher. This can be user-adjusted using the new 'feature::scancore::threshold::preventative-live-migration' anvil.conf option.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
c1a3f8099d
Merge pull request #240 from ClusterLabs/anvil-tools-dev
...
* Added --remove support to anvil-manage-dr, completing all the featu…
2 years ago
Digimer
9675ebf986
* Added --remove support to anvil-manage-dr, completing all the features for this tool.
...
* Updated DRBD.pm to move the logic to wipe and delete an LV into a new method called 'remove_backing_lv'.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
af41c40a65
Merge pull request #239 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
2 years ago
Digimer
93e6a59841
* Added 'vnc-server' to the list of firewall services enabled on strikers.
...
* Created the anvil-manage-dr man page.
* Reworked anvil-manage-dr's --protect logic to search for which network works with the DR host, instead of assuming it's the SN.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
29a28ee97a
* Fixed a bug with anvil-provision-server where running the command line menu from a Striker would not assign the job to the target Anvil!.
...
* Updated Server->parse_definition() to check if a failed 'virsh list' output was passed in. Also changed it to not exit if the XML can't be parsed.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
069fab6a69
Merge pull request #238 from ClusterLabs/anvil-tools-dev
...
Anvil tools dev
2 years ago
Digimer
cbb441759e
* Fixed a couple bugs in anvil-manage-files where a file moved from incoming to files or definitions wasn't having the directory updated properly in the database. Also made an explicit check when looking for missing files to check to see if the file exists in another managed directory and, if so and if a striker, update the DB.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
7b1771e498
Updated anvil-provision-server to wait until the local machine is a full cluster member before proceeding.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
4ecc6097d3
* Cleaned up some old 'die' calls with better nice_exit() calls to help avoid dangling db_in_use flags.
...
* Reworked Network->bridge_info() to use 'ip' to get the list of bridges, and 'bridge' to find interfaces connected to the bridge.
* Added 'test' messages to Words->string().
* Fixed a bug in scan-lvm where mdadm based PVs didn't read the sector size properly.
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
ef3ac86162
* Fixed a bug where setting the db_in_use flag without a valid $ENV{_}.
...
* Added a nice_exit call to tools/striker-access-database
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
21738ab0d4
Added a bit more logging to the Database->mark_active method.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago
Digimer
a81478f2bc
* Updated 'db_in_use' state to add the caller's name to the state name. This is pulled out when logging stale locks that are being reaped, to help debug where stale locks are coming from.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
2 years ago