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
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
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
741bcfa908
Added default logging level 2 and secure logging in CI tests.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
10 months ago
digimer
a3c3077963
Called pcs directly for CIB data collection.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
11 months ago
digimer
f100bc94cd
Bumped logging to debug striker-collect-debug
...
Signed-off-by: digimer <mkelly@alteeve.ca>
11 months ago
digimer
050891d751
Fixed inverted file copy check logic.
...
This should resolve issue #534
Signed-off-by: digimer <mkelly@alteeve.ca>
11 months ago
digimer
bb78d65c77
Bumped debug logging.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
11 months ago
digimer
b8fb3d62e3
Added checks for the screenshot directory before collection.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
d58521ceca
Added screenshot capture to striker-collect-debug.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
556e91238d
* Updated Network->find_access() to clear the data from previous scans, which fixes a bug where checking multiple hosts could return stale data for the previous host.
...
* Updated anvil-manage-server-storage, striker-collect-debug, and striker-update-cluster to be able to find a connection on an interface when none were found on preferred networks.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
7bd76c10dc
Major thing in this commit is reworking striker-update-cluster to work without expecting anvil-daemon to be running on target machines. Similarly, they had to be able to work when the Striker DBs were not available. This is to account for cases where the Striker dashboards have updated, and the schema has changed, preventing the not-yet-updated DR hosts and subnodes from being able to use the DB. To do this, anvil-safe-stop, anvil-update-system, and anvil-shutdown-server had to be updated to use the new --no-db switch, which tells then to run without the database being available.
...
* Updated Server->shutdown_virsh() to work without a database connection.
* Updated System->reboot_needed() to store/read from a cache file when the database is not available.
* Updated anvil-safe-start to remove the old --enable/disable/status switches, now that we use anvil-safe-start.service systemd unit.
* Reworked anvil-safe-stop to work without a database connection, and to work on DR hosts.
* Updated anvil-special-operations to add new tasks, but it's likely these new tasks aren't needed and will be removed very shortly.
* Added/updated multiple man pages.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
d56b7f9a84
* Created (but not finished!) the new striker-update-cluster tool.
...
* Updated Cluster->get_primary_host_uuid() to only load anvils if not already loaded.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
3215e178ef
* Updated striker-collect-debug to support '--output-file /path/to/file.tar.bz2'.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
a7ebe45f76
This adds the new 'striker-collect-debug' tool that collects all potentially useful debug info into a single tarball.
...
* Fixed a bug in Get->anvil_from_switch() to work when the Anvil! name is passed.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago