Commit Graph

3926 Commits

Author SHA1 Message Date
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
digimer
43f4201861 Created Get->load_average().
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-12 18:31:00 -05:00
Digimer
b26c6e5632
Merge pull request #578 from ClusterLabs/dependabot/npm_and_yarn/striker-ui-api/follow-redirects-1.15.5
build(deps): bump follow-redirects from 1.15.2 to 1.15.5 in /striker-ui-api
2024-02-05 16:54:25 -05:00
dependabot[bot]
fd59e31b5b
build(deps): bump follow-redirects in /striker-ui-api
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.5.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.5)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 17:45:52 +00:00
Digimer
c00f90943b
Merge pull request #575 from ylei-tsubame/issues/561-correct-load-ifaces
Rename `Network->load_interfaces`
2024-02-04 01:18:52 -05:00
Digimer
6c6216fb88
Merge branch 'main' into issues/561-correct-load-ifaces 2024-02-03 13:45:02 -05:00
digimer-bot
a9a73b4f35
Merge pull request #574 from ClusterLabs/anvil-tools-dev
Bumped logging to debug striker-collect-debug
2024-02-03 13:44:54 -05:00
digimer
e166d181c4 Disabled RAM counting as a debug step.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-02 23:42:36 -05:00
digimer
f180f1adfc Added anvil-monitor-network to Makefile
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-02 22:30:17 -05:00
digimer
0d06004a3b Added a 60 second delay to restart in unit files.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-02 19:44:01 -05:00
digimer
f25323ba9b Fixed type on words variable insertion
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-02-02 19:43:36 -05:00
digimer
a3c3077963 Called pcs directly for CIB data collection.
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-30 20:07:29 -05:00
Tsu-ba-me
58e4fecd0f build(striker-ui-api): rebuild 2024-01-30 17:32:35 -05:00
Tsu-ba-me
2306776c37 fix: rename load_interfces->load_interfaces of Network.pm 2024-01-30 16:16:14 -05:00
digimer
f100bc94cd Bumped logging to debug striker-collect-debug
Signed-off-by: digimer <mkelly@alteeve.ca>
2024-01-29 21:18:32 -05:00
Digimer
3d38e10a57
Merge pull request #573 from ylei-tsubame/issues/419-add-mail-config
Web UI: add mail config on UI-side
2024-01-29 16:47:30 -05:00
Tsu-ba-me
925e19e6a0 build(striker-ui): rebuild 2024-01-29 13:13:52 -05:00
Tsu-ba-me
0e61e20cfb build(striker-ui-api): rebuild 2024-01-29 13:13:52 -05:00
Tsu-ba-me
c4250fbdb7 fix(striker-ui): use capitalize function from lodash 2024-01-29 13:13:52 -05:00
Tsu-ba-me
59e692bcbe fix(striker-ui): simplify field name in formik errors 2024-01-29 13:13:52 -05:00
Tsu-ba-me
d6ebd523c8 fix(striker-ui): export regexp string patterns 2024-01-29 13:13:52 -05:00
Tsu-ba-me
198dd08c18 fix(striker-ui): correct show error message condition in formik utils 2024-01-29 13:13:52 -05:00
Tsu-ba-me
6a6e460961 fix(striker-ui): close form dialog after success in manage mail server 2024-01-29 13:13:52 -05:00
Tsu-ba-me
c93fced70f build(striker-ui): remove deprecated 'next export' and use recommended 'output: export' 2024-01-29 13:13:52 -05:00
Tsu-ba-me
4c7792f17b fix(striker-ui): resolve type errors during build 2024-01-29 13:13:52 -05:00
Tsu-ba-me
ac4571f321 fix(striker-ui): add mail-config page and its link 2024-01-29 13:13:51 -05:00