Commit Graph

3952 Commits

Author SHA1 Message Date
Tsu-ba-me
96be4a41b2 fix(striker-ui): isolate disassemble camel string 2024-03-07 11:53:54 -05:00
Tsu-ba-me
47a84a86e8 feat(striker-ui): add manage host components 2024-03-07 11:53:54 -05:00
Tsu-ba-me
ddece3750d fix(striker-ui): remove disableAutocomplete from formik utils 2024-03-07 11:53:54 -05:00
Tsu-ba-me
bd65517449 fix(striker-ui): remove blur handlers in add mail server form 2024-03-07 11:53:54 -05:00
Tsu-ba-me
550bbc26df fix(striker-ui): adjust grid layout in add mail server form 2024-03-07 11:53:54 -05:00
Tsu-ba-me
d40efa9289 fix(striker-ui): add option to disable autofill in outlined input 2024-03-07 11:53:54 -05:00
Tsu-ba-me
1cfd588448 fix(striker-ui): allow skip entry in form summary 2024-03-07 11:53:54 -05:00
Tsu-ba-me
e8ac1a9c4f fix(striker-ui): expose id, name in radio group 2024-03-07 11:53:54 -05:00
Tsu-ba-me
325594ef4b fix(striker-ui): always show test button in init host 2024-03-07 11:53:54 -05:00
Digimer
6264aada30
Merge pull request #587 from ClusterLabs/add-dual-ip-support
Added support for multiple IP's per interface
2024-03-06 23:46:56 -05:00
digimer
870c990632 Added support for multiple IP's per interface
* Created Database->get_mac_to_ip()
* Updated Database->insert_or_update_mac_to_ip() to find an entry using
  both the IP and MAC address.
* Updated Network->get_ips() to store only the first IP it finds on an
  interface as the main IP (for use in /etc/hosts, etc) and to store it
  and any other IPs in a new hash.
* Updated scan-network to use the new hash above to record them in the
  'mac_to_ip' table. Similarly, before marking an IP as removed, it
  checks to see if it's an alternate IP.

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-03-06 19:06:05 -05:00
Digimer
bc910b14e4
Merge pull request #579 from ylei-tsubame/issues/488-file-upload-message
Web UI: adjust messages during file uploads
2024-03-02 17:06:51 -05:00
Digimer
2e185b8909
Merge branch 'main' into issues/488-file-upload-message 2024-03-01 17:13:16 -05:00
Digimer
d080fbacce
Merge pull request #582 from ClusterLabs/anvil-tools-dev
Anvil tools dev
2024-03-01 17:12:58 -05:00
digimer
4452020986 When OCF_RESKEY_name isn't set, but OCF_RESOURCE_INSTANCE is, copy it
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-03-01 00:02:29 -05:00
digimer
ab0b1a262b Reworked Network->wait_for_bonds() to be ->wait_for_networks()
* Renamed the old ->wait_for_networks() to be ->wait_for_nm_online().
* The new ->wait_for_networks() waits for all interfaces we manage to be
  'activated' before returning.

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-29 01:32:32 -05:00
digimer
fe2806b5df Bumped up timeouts
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-28 23:38:50 -05:00
digimer
0f1ff02e78 Added alarms around remote calls to better handle dropped networks.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-28 20:35:00 -05:00
digimer
480745c889 Disabled printing of the countdown.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-28 16:37:31 -05:00
digimer
2f5fb32769 Quieted logging
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-28 16:37:20 -05:00
digimer
fef0d8f83f Fixed a spacing issue.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-27 21:54:05 -05:00
digimer
c31880c2ec Fixed the ordering holding on hosts and network config.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-27 18:44:58 -05:00
digimer
b8c73fd3f2 Replaced hosts management in anvil-join-anvil with System->update_hosts.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-26 18:29:55 -05:00
digimer
3fd2a172a4 Simplified Wants in units
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-25 02:15:33 -05:00
digimer
495cb90ca6 Created Network->wait_for_network to hold startup for NM to be up.
Added the call to Network->wait_for_network to pause scancore and
anvil-daemon startups until NetworkManager says it's up and running.

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-24 17:16:46 -05:00
digimer
5cf0bbc6be Added Want=NetworkManager to anvil-daemon and scancore unit files.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-24 16:51:33 -05:00
digimer
b3d1e53623 Added a log message if waiting for bonds times out.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-23 19:15:50 -05:00
digimer
25841145b5 Reduced logging in anvil-configure-host.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-23 19:01:47 -05:00
digimer
a65bf5090e Updated anvil-monitor-performance to reduce logging volume.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-23 18:49:58 -05:00
digimer
c79b76e2ee Reduced the frequency of monitoring to 1/min and reduced log size
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-23 18:37:44 -05:00
digimer
247cf0a238 Fixed using the wrong words key.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-23 17:48:37 -05:00
digimer
f4a314e4b5 Removed compression during log collection
The finishing compression provides all the space saving, and compression
slows down collection.

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-23 14:13:22 -05:00
digimer
0795bbb2de Added compression to anvil.log files collected by debug.
Also fixed a bug on validating the collection of remote previous boot
journalctl logs.

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-23 11:14:51 -05:00
digimer
6a193bf710 Added extra checks to Network->wait_for_bonds()
* Added a default timeout of 180 seconds, and updated
  anvil-configure-host to reduce this to 60 seconds while configuring
  the host.
* Added a check for interfaces configured under a bond. If none are
  found, the bond is ignored.
* Updated Storage->update_config() to take the new 'append' attribute to
  allow adding a variable if it wasn't found already in the config.
* Added the new 'network::wait_for_bonds::timeout' variable to enable
  changing the default timeout for Network->wait_for_bonds().

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-22 23:46:49 -05:00
digimer
d5ceca3dc6 Added a message when holding on a bond to activate.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-22 02:06:44 -05:00
digimer
05de34c7bc Scancore and anvil-daemon now holds for bonds to be up.
Created Network->wait_for_bonds(), and added it to the startup for
scancore and anvil-daemon.

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-22 02:01:33 -05:00
digimer
741bcfa908 Added default logging level 2 and secure logging in CI tests.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-21 21:46:27 -05:00
digimer
f40d25f2dd Fixed a bug with /etc/hosts generation
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-20 21:56:07 -05:00
digimer
a9850bef4e Added a global variable to force fresh SSH connections.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-16 23:28:58 -05:00
digimer
5517e43a81 Forcing anvil-daemon to run with log level 2 and secure logging.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-15 23:04:11 -05:00
digimer
091ded803c Added an attempt to assemble storage groups if not yet exist.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-15 17:41:26 -05:00
digimer
46b298e7e8 Added debugging of missing bond data
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-14 19:42:56 -05:00
digimer
4b5894625e Updated anvil-configure-host to enable connection.autoconnect.
This closes issue #576

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-14 15:36:40 -05:00
digimer
e0c4ed6de5 Added log-only option to anvil-manage-daemons and enabled
anvil-monitor-daemons.service to only monitor daemons.

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-14 13:55:03 -05:00
digimer
1455066cd1 Fixed a typo and added a missing man page.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-14 01:51:30 -05:00
digimer
c399053ace Finished new anvil-manage-daemons tool.
This tool (and it's parent 'anvil-monitor-daemons' daemon) simplies
starting, stopping, enabling, and disabling all Anvil! daemons.

More importantly, the daemon will monitor for failed daemons and attempt
to restart them.

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-14 01:39:56 -05:00
digimer
835d9e79cb Updated Scancore->post_scan_analysis_striker() to check the RC when
booting an unexpectedly off host and only update it's power state if the
boot actually succeeded.

* Started work on a new anvil-manage-daemons tool and
  anvil-monitor-daemons systemd unit.

Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-13 21:11:22 -05:00
digimer
27152845fd Attempts to create an existing fence method no longer fails.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-13 16:25:48 -05:00
Digimer
04fe4c1bff
Merge branch 'main' into anvil-tools-dev 2024-02-12 23:01:10 -05:00
digimer
4e367acd11 Created anvil-monitor-performance tool and daemon.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-12 22:58:36 -05:00