digimer
bd2e4c46ae
Updated Network->load_ips() to use the device_name when available.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
8 months ago
digimer
7ecd0a4d70
Starting work on rejoining a replacement subnode to an Anvil! node
...
Signed-off-by: digimer <mkelly@alteeve.ca>
8 months ago
digimer
44aa0fb8d9
Bumped logging to debug periodic strike init resync failure
...
Signed-off-by: digimer <mkelly@alteeve.ca>
9 months ago
digimer
76e66e6fa6
Added anvil.conf to log collection.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
9 months ago
digimer
60759cd9aa
No longer fail is fence method exists already when trying to create it.
...
* Also fixed a string insertion variable typo
Signed-off-by: digimer <mkelly@alteeve.ca>
9 months ago
Tsu-ba-me
5d086f5e79
fix(tools): log websockify output
9 months ago
Tsu-ba-me
468a6d18ee
fix(tools): get all logs in audit/
9 months ago
Tsu-ba-me
11fd4098c4
fix(tools): collect /var/log/audit/audit.log for debug
9 months ago
digimer
937d8ed2ef
Added collecting corosync to log collection
...
Signed-off-by: digimer <mkelly@alteeve.ca>
9 months ago
digimer
cca4a7ea1b
Bumped logging.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
9 months ago
digimer
a28bb083fa
Commented out a stray debug print
...
Signed-off-by: digimer <mkelly@alteeve.ca>
9 months ago
Fabio M. Di Nitto
f1584c770d
striker-collect-debug: disable screenshot collection by default
...
Closes : #620
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
9 months ago
Fabio M. Di Nitto
510af7e4b1
striker-collect-debug: remove tempdir when done
...
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
9 months ago
Fabio M. Di Nitto
b64cf7052a
striker-collect-debug: align output format to other parts of the tool
...
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
9 months ago
Fabio M. Di Nitto
3b018e56c6
striker-collect-debug: create output dir only when necessary
...
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
9 months ago
Fabio M. Di Nitto
da67156ee1
striker-collect-debug: cleaner messages
...
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
9 months ago
Fabio M. Di Nitto
635f38b489
anvil-safe-stop: don´t use locked version of pcs
...
Add pcs_direct tool path and use it for anvil-safe-stop
Closes : #623
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
9 months ago
digimer
371aaae6a8
Updated to set location constraints to minimize migrations
...
Signed-off-by: digimer <mkelly@alteeve.ca>
9 months ago
digimer
21c8084b2f
Updated to support Sys::Virt::Domain generating PNG screenshots
...
* This should work with older versions still generating PPM screenshots.
Signed-off-by: digimer <mkelly@alteeve.ca>
9 months ago
digimer
15a79d7bac
Added '--all' to anvil-manage-daemons to enable optional daemons.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
9 months ago
digimer
b74900c2fc
Beginning to repurpose anvil-manage-server for server resync
...
Signed-off-by: digimer <mkelly@alteeve.ca>
9 months ago
Fabio M. Di Nitto
50ad874909
striker-collect-debug: fix collection of cib.xml
...
Closes : #534
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
9 months ago
Tsu-ba-me
f506ec4ac8
fix(tools): allow operations (currently set) on hash children in execute mode of access module
9 months ago
Tsu-ba-me
b5264131c4
fix(tools): allow reference to children of in execute operation of access module
9 months ago
digimer
2d92f339c2
Fixed a bug related to changing the hostname during a manifest run
...
* The original hostname would be used to form the cluster, even though
the hostname was updated.
Signed-off-by: digimer <mkelly@alteeve.ca>
9 months ago
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>
10 months ago
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>
10 months ago
digimer
0f1ff02e78
Added alarms around remote calls to better handle dropped networks.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
2f5fb32769
Quieted logging
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
c31880c2ec
Fixed the ordering holding on hosts and network config.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
b8c73fd3f2
Replaced hosts management in anvil-join-anvil with System->update_hosts.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
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>
10 months ago
digimer
5cf0bbc6be
Added Want=NetworkManager to anvil-daemon and scancore unit files.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
25841145b5
Reduced logging in anvil-configure-host.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
a65bf5090e
Updated anvil-monitor-performance to reduce logging volume.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
c79b76e2ee
Reduced the frequency of monitoring to 1/min and reduced log size
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
247cf0a238
Fixed using the wrong words key.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
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>
10 months ago
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>
10 months ago
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>
10 months ago
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>
10 months ago
digimer
741bcfa908
Added default logging level 2 and secure logging in CI tests.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
f40d25f2dd
Fixed a bug with /etc/hosts generation
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
a9850bef4e
Added a global variable to force fresh SSH connections.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
5517e43a81
Forcing anvil-daemon to run with log level 2 and secure logging.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
091ded803c
Added an attempt to assemble storage groups if not yet exist.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
4b5894625e
Updated anvil-configure-host to enable connection.autoconnect.
...
This closes issue #576
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
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>
10 months ago
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>
10 months ago
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>
10 months ago