Tsu-ba-me
2eb96f9d10
fix(tools): reuse existing tunnels in manage vnc pipes
1 year ago
Tsu-ba-me
834e1a568a
fix(tools): improve debug log of start processes in manage vnc pipes
1 year ago
Tsu-ba-me
7baa52e37d
fix(tools): ignore mismatches when find websockify, tunnel parent processes
1 year ago
Tsu-ba-me
41abd4f9e4
fix(tools): correct websockify command in manage vnc pipes
1 year ago
Tsu-ba-me
75b6ab94df
fix(tools): correct reversed set, delete operations in manage vnc pipes
1 year ago
Tsu-ba-me
6906551851
fix(tools): remove repeated UUIDv4 test in manage vnc pipes
1 year ago
Tsu-ba-me
6ec2dea741
fix(tools): correct renamed call variable in manage vnc pipes
1 year ago
Tsu-ba-me
b1e7b0e244
fix(tools): correct input to keys in manage vnc pipes
1 year ago
Tsu-ba-me
9431d89b61
fix(tools): correct brackets of set_ws_process in manage vnc pipes
1 year ago
Tsu-ba-me
393782cf83
fix(tools): log inputs in manage vnc pipes
1 year ago
Tsu-ba-me
ff7fe8b3a3
fix(tools): add missing grep path in manage vnc pipes
1 year ago
Tsu-ba-me
d192356c5a
fix(tools): remove unused database connection in manage tunnel
1 year ago
Tsu-ba-me
afade80f39
fix(tools): manage all VNC pipe components on subnodes/dr
1 year ago
Tsu-ba-me
ba467ccfa7
fix(tools): manage forward list of parent connection in manage tunnel
1 year ago
Tsu-ba-me
db06747513
fix(tools): make target optional when using external parent in manage tunnel
1 year ago
Tsu-ba-me
d29dac4fa9
fix(tools): return code after port forward fails in manage tunnel
1 year ago
Tsu-ba-me
711cb5b696
refactor: rename striker-open-ssh-tunnel->anvil-manage-tunnel
1 year ago
Tsu-ba-me
40e94cda46
fix(tools): enable open parent connection, child tunnel in open ssh tunnel
1 year ago
Tsu-ba-me
f2d3b06a10
fix(tools): remove all remote calls in manage vnc pipes
1 year ago
Tsu-ba-me
6c776e5a6a
fix(tools): enable remote forward in open ssh tunnel
1 year ago
digimer
b24b81c17c
Removed outer double-quotes from Anvil! node description in XML usage reporting. Related to issue #321 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
942c4c94bf
Escaped double-quotes in Anvil! node descriptions when reporting usage as XML format. Should resolve issue #321 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
9b90647cc0
Fixed a bug where the XML output was not valid.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
d07933a31c
* Updated anvil-report-usage to accept the new '--machine' which reports the usage information in XML format.
...
* Added the anvil-report-usage.8 man page
* Updated anvil-update-system to enable scancore when the OS update is complete.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
01b714f3b3
Fixed typo from issue #369 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
b0c54b6dae
* Updated anvil-update-system to check if another instance of anvil-update-system is running and, if so, exit.
...
* Removed the new tasks from anvil-special-operations.
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
541381e317
* Finished getting anvil-manage-server-storage to add new volumes to running servers.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
afaf129733
* Updated anvil-manage-server-storage to connect the new drive to the VM. Still need to update the on-disk and in-DB definitions though.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
de86cf88fe
* Updated anvil-manage-server-storage to now handle a new volume stuck in 'Negotiating', and to do the initial sync when there are three connected peers.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
9bc78860a6
* Updated anvil-update-system to detect kmod-drbd upgrade problems and fix them.
...
* Updated striker-update-cluster and anvil-update-system to take '--reboot' to request a reboot if any packages are updated.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
f262da544d
Removed '--best --allowerasing' from dnf update.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
d741f4aa6f
* Updated anvil-daemon to not exit on high RAM use is any job is running.
...
* Updated anvil-update-system to reboot a target whose kernel updated using an anvil-manage-power job,
* Started making striker-update-cluster run as a job (not at all complete). Fixed a bug where the wrong IP was being used when finding access to a target.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
751687129a
* Updated anvil-daemon to not exit on RAM use if anvil-update-system is running.
...
* Fixed a bug in anvil-safe-stop where it wouldn't trigger a migration when the peer is online.
* Updated anvil-update-system to set job_data to 'failed' and exit with rc 4 if the os update failed.
* Got striker-update-cluster to error out and exit if a called 'anvil-update-system' job failed.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
02c3d204ea
* Updated anvil-update-system to set 'job_data' to track reboots, and striker-update-cluster to read it.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
digimer
3016fb875b
* Reworded striker-update-cluster to use anvil-update-system for on-system OS updates.
...
* Updated DRBD->get_status() to take the new 'host' paramter to allow the caller to define the hash key string used in the stored data.
* Updated Get->anvil_version() (and a few other places) to use the new 'striker-ui-api' shell user, replacing the 'apache' user.
* Updated Remote->test_access() to take the new 'close' parameter to close the SSH session used when testing access to the target.
* Fixed a logging bug in anvil-manage-power.
* Updated anvil-update-system to take the '--no-reboot' and 'clear-cache' command line switches.
Signed-off-by: digimer <mkelly@alteeve.ca>
1 year ago
Tsu-ba-me
4f46bb43eb
fix(tools): remove server screenshot fetching in anvil-daemon
1 year ago
Tsu-ba-me
b549ff2c1f
fix(tools): reduce unnecessary operations in anvil-get-server-screenshot
1 year ago
Tsu-ba-me
4647062111
fix(tools): set script source in anvil-access-module
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
Tsu-ba-me
d95eb699f9
chore: disable web VNC, screenshot pieces to avoid libvirt deadlock
1 year ago
Tsu-ba-me
54197a2f2c
fix(tools): wrap guest name with quotes when get vncdisplay in manage vnc pipes
1 year ago
Tsu-ba-me
64093d42a0
fix(tools): allow pass libvirt domain XML info to manage vnc pipes
1 year ago
Tsu-ba-me
d64e5ff17f
chore(tools): hide open all components in manage vnc pipes
1 year ago
Tsu-ba-me
d9d0244f3f
docs(tools): identify most variable outputs in manage vnc pipes
1 year ago
Tsu-ba-me
ce637cbf71
fix(tools): select 0/1 ws instance for given server
1 year ago
Tsu-ba-me
be82c6e267
fix(tools): print forward port after open SSH tunnel in manage vnc pipe
1 year ago
Tsu-ba-me
a48c6997fe
fix(tools): include server host UUID when open VNC SSH tunnel
1 year ago