Tsu-ba-me
f485bf860e
fix(striker-ui): move types of formik utils to type file
2024-01-29 13:13:51 -05:00
Tsu-ba-me
aa060a3dd1
feat(striker-ui): add CRUD list
2024-01-29 13:13:51 -05:00
Tsu-ba-me
4d65472694
fix(striker-ui): add loading setter to confirm dialog hook
2024-01-29 13:13:51 -05:00
Tsu-ba-me
3dcc2ba0c5
fix(striker-ui): remove redundant "extends unknown" in list
2024-01-29 13:13:51 -05:00
Tsu-ba-me
64c1b80adb
fix(striker-ui): isolate build delete dialog props args
2024-01-29 13:13:51 -05:00
Tsu-ba-me
c623170334
feat(striker-ui): add manager mail server components
2024-01-29 13:13:51 -05:00
Tsu-ba-me
ce2fad66c7
fix(striker-ui): add formik utils
2024-01-29 13:13:51 -05:00
Tsu-ba-me
e1d6567097
fix(striker-ui): correct types in get formik error messages
2024-01-29 13:13:51 -05:00
Tsu-ba-me
62b2f69aa4
fix(striker-ui): allow pre-config confirm dialog close-on-proceed
2024-01-29 13:13:50 -05:00
Tsu-ba-me
e2a61619b0
fix(striker-ui): remove mount status from dashboard
2024-01-29 13:13:50 -05:00
Tsu-ba-me
62f8cff980
feat(striker-ui): simplify debounce function from lodash
2024-01-29 13:13:50 -05:00
Tsu-ba-me
2544794c5d
fix(striker-ui): use variable id when getting field value in GateForm
2024-01-29 13:13:50 -05:00
Digimer
1b923be6a2
Merge pull request #572 from ylei-tsubame/issues/419api-add-mail-config
...
Web UI: add API support for mail config functions
2024-01-28 18:54:33 -05:00
Tsu-ba-me
e5cf18a562
fix(striker-ui-api): cascade delete alert override records when delete mail recipient
2024-01-28 12:25:43 -05:00
Tsu-ba-me
462a4ae999
fix(striker-ui-api): respond with created mail recipient uuid
2024-01-28 12:25:43 -05:00
Tsu-ba-me
6a47a4c9be
fix(striker-ui-api): correct condition to append flag to manage alerts
2024-01-28 12:25:43 -05:00
Tsu-ba-me
e340169dbe
fix(striker-ui-api): include brief node info in alert override response
2024-01-28 12:25:43 -05:00
Tsu-ba-me
dc0c919436
fix(striker-ui-api): allow filter alert override list with recipient
2024-01-28 12:25:43 -05:00
Tsu-ba-me
4a7feae98a
fix(striker-ui-api): make /alert-override, /mail-recipient available
2024-01-28 12:25:43 -05:00
Tsu-ba-me
e64b9dbf91
feat(striker-ui-api): add /alert-override handlers
2024-01-28 12:25:43 -05:00
Tsu-ba-me
08c0d09d08
fix(striker-ui-api): swap key-value of flag bundles in manage alerts
2024-01-28 12:25:43 -05:00
Tsu-ba-me
6288a52d99
feat(striker-ui-api): add /mail-recipient handlers
2024-01-28 12:25:43 -05:00
Tsu-ba-me
22fa465f1b
fix(striker-ui-api): move uuid assert for update mail server
2024-01-28 12:25:43 -05:00
Tsu-ba-me
9f1c2dd2c3
fix(striker-ui-api): add recipient and alert-override switches to manage alerts
2024-01-28 12:25:43 -05:00
Tsu-ba-me
0774c80703
feat(striker-ui-api): add /mail-server routes
2024-01-28 12:25:42 -05:00
digimer-bot
492983d7ad
Merge pull request #570 from ClusterLabs/log-collection
...
Log collection
2024-01-28 12:03:12 -05:00
digimer
050891d751
Fixed inverted file copy check logic.
...
This should resolve issue #534
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-28 00:12:13 -05:00
digimer
bb78d65c77
Bumped debug logging.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 21:36:54 -05:00
digimer
b85e38d20d
Added the short and full host names to hosts
...
* Updated anvil_join_anvil->wait_for_etc_hosts() to add the short host
name and the FQDN to the /etc/hosts file using the first BCN network's
IP address.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
7018703c24
Fixed a bug where the peer subnode would add a server to pacemaker
...
* Updated anvil-provision-server to only call add_server_to_cluster() if
it's NOT the peer.
* Added the new 'ok_if_exists' parameter to Cluster->add_server() to
return 0 if the server already existed in pacemaker as a resource.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
423f677716
Updated Storage->manage_lvm_conf() to only run on EL8.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
14022896aa
Added a call for non-striker machines to call check_sshd if no DBs.
...
Also added a check for sshd_config.d so that it doesn't error on EL8
machines.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
bf693ed212
Updated anvil-daemon to enable root SSH access during startup
...
This is required as we need to be able to ssh into peer strikers and
into nodes and DR hosts during initialization.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
943bf2e8d3
Removed the no-longer-needed Network->check_network() method
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
59a33306cc
Removed ifcfg support from scan-network.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
d8ceb7fbf4
Updated to add all subnode nets to /etc/hosts before forming cluster
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
760d9f53d8
Bumped logging.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
de4bb0d001
Bumped logging for debugging.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
476b285607
Added a wait_for_access() function to anvil-join-anvil
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
023bcf46a4
Fixed a bug with hung cluster startup in some cases
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
dd0175e05c
Now check for/backup/remove ifcfg-X files on EL8 hosts.
...
* Added caching to System->check_network_type()
* Changed anvil-configure-host job progress steps to 1.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
b0cede49e3
Removed calls to check apache config.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
e03219d1d8
Fixed a bug where non-strikers hung configuring their network.
...
* Updated Job->update_progress() to log and return if there are not DB
connections.
* Bumped some logging in Database->connect().
* Deleted ifcfg code from anvil-configure-host.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
827cf1f331
Fixed a bug that was crashing anvil-daemon
...
* Network->find_matches() was trying to compare two IPs when the second
IP wasn't actually defined.
* Disabled scancore's blocking of running before the host is configured.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
282fdbe7e0
Fixed a bug where IPs were being marked repeatedly as DELETEd.
...
* Database->get_ip_addresses() was marking IPs that weren't on a network
we managed, the IP would be marked as DELETEd, which caused problems
with initializing targets, and it generated a lot of repeat alerts.
* Updated logging in Network.pm to help with debugging.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
92ed77e05b
Fixed a bug blocking most jobs from running.
...
* Also updated a bunch of 'apache' ownership calls to now use
'striker-ui-api'.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
d7aa7966dc
Fixed a couple bugs
...
* Network->collect_data() wasn't deleting old data before rescans.
* anvil-configure-host wasn't checking links that should be in a bond if
the bond already existed.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
ebd96c7eb3
Disabled the collect_ifcfg_data() method entirely.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
76218dcd32
Updated logging and debugging.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00
digimer
1373345f33
Fixed a bug where inactive links weren't started
...
* anvil-configure-host now requests a start on the first scan of
network->collect_date().
* Fixed a minor bug where networks without bonds were being processed
needlessly.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-27 15:39:01 -05:00