Commit Graph

1968 Commits

Author SHA1 Message Date
Tsu-ba-me
411fd01a20 chore(striker-ui-api): enable clean on rebuild in webpack 2022-11-28 14:37:17 -05:00
Tsu-ba-me
94dee357d8 chore(striker-ui-api): switch to TypeScript 2022-11-28 14:37:09 -05:00
Tsu-ba-me
4af65abe8e build(striker-ui-api): move all source to src folder 2022-11-28 14:29:14 -05:00
Digimer
5d323c3ddf
Merge pull request #257 from ClusterLabs/anvil-tools-dev
Formatted the output of anvil-manage-alerts data (not yet machines) t…
2022-11-22 11:15:36 -05:00
Digimer
ee3bc3eb10 Updated the man page for anvil-manage-alerts.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-22 01:15:27 -05:00
Digimer
6eb99a2168 * FInished the anvil-manage-alerts tool. It can now send test alerts at a user-requested alert level.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-22 01:10:53 -05:00
Digimer
8b7a44cf75 * Finished cleaning up the output of Machines.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-22 00:19:00 -05:00
Digimer
3e53c87a6b Formatted the output of anvil-manage-alerts data (not yet machines) to be more presentable.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-17 23:28:50 -05:00
Digimer
90c7865012
Merge pull request #256 from ClusterLabs/anvil-tools-dev
* Renamed the 'notifications' table to 'alert-override', better refle…
2022-11-17 11:34:51 -05:00
Digimer
622fb84652 * Renamed the 'notifications' table to 'alert-override', better reflecting what it does.
* Got anvil-manage-alerts managing alert overrides.
* Created, but for now commented out, the new 'audit' table.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-17 00:34:52 -05:00
Digimer
753ea7518f
Merge pull request #255 from ClusterLabs/anvil-tools-dev
* Updated System->check_ram_use() to set the maximum RAM based on the…
2022-11-15 23:44:42 -05:00
Digimer
586ce6e5b9 * Got recipints working in anvil-manage-alerts().
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-15 22:17:12 -05:00
Digimer
35cf0c37fb * Updated System->check_ram_use() to set the maximum RAM based on the host type, and set those values in _set_default() so that the user can override if they want.
* Got anvil-manage-alerts to the point where you can add, edit and delete mail servers.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-11-14 17:17:30 -05:00
Digimer
8bfab0d0ac
Merge pull request #252 from ylei-tsubame/install-striker-access-db
Build: add striker-access-db to tools/Makefile.am
2022-10-29 09:07:08 -04:00
Digimer
1fba964a24
Merge branch 'main' into install-striker-access-db 2022-10-28 22:36:41 -04:00
Digimer
c65764a2a5
Merge pull request #253 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2022-10-28 22:36:06 -04:00
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>
2022-10-28 20:00:53 -04:00
Tsu-ba-me
0e2f119fef build(tools): add striker-access-db to tools/Makefile.am 2022-10-24 16:32:49 -04:00
Digimer
76f95d8e53 * Added a check to ignore IPMI sensors reporting "No Reading" in scan-ipmitool.
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-10-24 14:38:21 -04:00
Digimer
7c0b0edc68
Merge pull request #251 from ClusterLabs/anvil-tools-dev
* Fixed a bug where deleting ports from a fence device in an Install …
2022-10-21 00:15:42 -04:00
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>
2022-10-20 22:33:41 -04:00
Digimer
9556915cac
Merge pull request #250 from ClusterLabs/anvil-tools-dev
* Updated Get->switches() to always support job-uuid.
2022-10-19 10:36:26 -04:00
Digimer
9239961044
Merge branch 'main' into anvil-tools-dev 2022-10-18 19:18:17 -04:00
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>
2022-10-18 19:16:32 -04:00
digimer-bot
f6b23de2eb
Merge pull request #249 from ClusterLabs/anvil-tools-dev
* Added variables to record when pacemaker and DRBD are configured.
2022-10-18 12:59:43 -04:00
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>
2022-10-18 10:56:58 -04:00
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>
2022-10-17 21:57:00 -04:00
digimer-bot
14be224855
Merge pull request #248 from ClusterLabs/anvil-tools-dev
Bumped 'Exhaust Temp' jump threshold to 30c in scan-ipmitool.
2022-10-09 08:07:59 -04:00
Digimer
6721fd94e1
Merge branch 'main' into anvil-tools-dev 2022-10-08 20:36:00 -04:00
Digimer
13b0f5bdcc Bumped 'Exhaust Temp' jump threshold to 30c in scan-ipmitool.
Adjusted some logging.

Signed-off-by: Digimer <digimer@alteeve.ca>
2022-10-08 20:34:09 -04:00
Digimer
ba3e4424d1
Merge pull request #247 from ClusterLabs/anvil-tools-dev
* Fixed a bug in DRBD->gather_data() to remove trailing commas for ex…
2022-10-06 10:41:21 -04:00
Digimer
03f0cdad84 Updated anvil-manage-files to only remove files from /mnt/shared/files
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-10-05 20:56:57 -04:00
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>
2022-10-05 20:15:32 -04:00
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…
2022-09-28 22:03:33 -04:00
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>
2022-09-28 19:20:23 -04:00
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…
2022-09-27 11:15:06 -04:00
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>
2022-09-27 00:40:30 -04:00
Digimer
a7c2ab144a
Merge pull request #244 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2022-09-22 18:49:15 -04:00
Digimer
db85ca663e
Merge branch 'main' into anvil-tools-dev 2022-09-22 16:55:46 -04:00
Digimer
599373816f * Fixed bugs that came up in testing. Was now able to setup long-throw DR!
Signed-off-by: Digimer <digimer@alteeve.ca>
2022-09-22 16:40:40 -04:00
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>
2022-09-21 23:35:06 -04:00
kronosnet CI bot
6732df403b
Merge pull request #243 from ClusterLabs/fix-rhel9-db
spec: update Requires to deal with rhel-9 cloud images
2022-09-10 13:27:57 +02:00
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>
2022-09-10 09:39:40 +02:00
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>
2022-09-01 16:09:37 -04:00
Digimer
83e577d057
Merge pull request #242 from ClusterLabs/anvil-tools-dev
* Updated Cluster->parse_crm_mon() to record the role of stonith reso…
2022-09-01 00:09:27 -04:00
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>
2022-08-31 18:12:07 -04:00
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>
2022-08-31 12:57:01 -04:00
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
2022-08-29 22:43:01 -04:00
Digimer
0037907111
Merge branch 'main' into dependabot/npm_and_yarn/striker-ui-api/terser-5.14.2 2022-08-29 19:02:17 -04:00
digimer-bot
4a7f9f79df
Merge pull request #241 from ClusterLabs/anvil-tools-dev
* Changed the default trigger of live migrations to require a health …
2022-08-29 19:01:40 -04:00