Commit Graph

870 Commits

Author SHA1 Message Date
Tsu-ba-me
47f7c71e95 fix(tools): stop ws with source port when target port is unavailable 2023-07-23 21:43:26 -04:00
Tsu-ba-me
99dc4ba6ba fix(tools): handle possible remnant websockify daemon wrapper 2023-07-23 21:43:26 -04:00
Tsu-ba-me
ba335cc411 fix(tools): match server vncinfo variable name 2023-07-23 21:43:26 -04:00
Tsu-ba-me
25f5c38ade chore: rename striker-manage-vnc-pipes->anvil-manage-vnc-pipe 2023-07-23 21:43:26 -04:00
Tsu-ba-me
c29041d2f7 fix(tools): start websockify as daemon, re-find its pid and ports 2023-07-23 21:43:26 -04:00
Tsu-ba-me
cb98d28eb0 fix(tools): add target host to vnc info variable 2023-07-23 21:43:26 -04:00
Tsu-ba-me
0b91ee0314 fix(tools): remove all tunnel-related tasks 2023-07-23 21:43:26 -04:00
Tsu-ba-me
084394c66f fix(tools): hoist find server vnc port 2023-07-23 21:43:26 -04:00
Tsu-ba-me
ee091d4e7b fix(tools): format output of existing tunnel 2023-07-23 21:43:26 -04:00
Tsu-ba-me
d42f202609 fix(tools): flip ports based on forward type 2023-07-23 21:43:26 -04:00
Tsu-ba-me
0210323730 fix(tools): pass tunnel list to start, stop tunnel 2023-07-23 21:43:26 -04:00
Tsu-ba-me
19f6cefd8d fix(tools): isolate prepare tunnel parents 2023-07-23 21:43:26 -04:00
Tsu-ba-me
9f8a153fe0 fix(tools): replace tilda with home path 2023-07-23 21:43:26 -04:00
Tsu-ba-me
f8e65416c4 fix(tools): correct receiving find tunnels output 2023-07-23 21:43:26 -04:00
Tsu-ba-me
1854cf4872 fix(tools): enable search full command in find tunnel parent processes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
02f89b24b1 fix(tools): pass debug level to find, start, stop tunnel in start pipe 2023-07-23 21:43:26 -04:00
Tsu-ba-me
6dbec289a1 fix(tools): treat empty tunnel list as no tunnels 2023-07-23 21:43:26 -04:00
Tsu-ba-me
3debdb846d fix(tools): start background processes with system call 2023-07-23 21:43:26 -04:00
Tsu-ba-me
b695414c86 fix(tools): improve debug hashes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
8c37b49132 fix(tools): remove extra space in find tunnel parent sed 2023-07-23 21:43:26 -04:00
Tsu-ba-me
55bc44fc6e fix(tools): correct typos in manage vnc pipes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
bedbf576ab fix(tools): correct loop over tunnel list 2023-07-23 21:43:26 -04:00
Tsu-ba-me
4de0b675f1 fix(tools): don't find when tunnel list doesn't exist 2023-07-23 21:43:26 -04:00
Tsu-ba-me
2eb96f9d10 fix(tools): reuse existing tunnels in manage vnc pipes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
834e1a568a fix(tools): improve debug log of start processes in manage vnc pipes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
7baa52e37d fix(tools): ignore mismatches when find websockify, tunnel parent processes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
41abd4f9e4 fix(tools): correct websockify command in manage vnc pipes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
75b6ab94df fix(tools): correct reversed set, delete operations in manage vnc pipes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
6906551851 fix(tools): remove repeated UUIDv4 test in manage vnc pipes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
6ec2dea741 fix(tools): correct renamed call variable in manage vnc pipes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
b1e7b0e244 fix(tools): correct input to keys in manage vnc pipes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
9431d89b61 fix(tools): correct brackets of set_ws_process in manage vnc pipes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
393782cf83 fix(tools): log inputs in manage vnc pipes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
ff7fe8b3a3 fix(tools): add missing grep path in manage vnc pipes 2023-07-23 21:43:26 -04:00
Tsu-ba-me
d192356c5a fix(tools): remove unused database connection in manage tunnel 2023-07-23 21:43:26 -04:00
Tsu-ba-me
afade80f39 fix(tools): manage all VNC pipe components on subnodes/dr 2023-07-23 21:43:26 -04:00
Tsu-ba-me
ba467ccfa7 fix(tools): manage forward list of parent connection in manage tunnel 2023-07-23 21:43:26 -04:00
Tsu-ba-me
db06747513 fix(tools): make target optional when using external parent in manage tunnel 2023-07-23 21:43:26 -04:00
Tsu-ba-me
d29dac4fa9 fix(tools): return code after port forward fails in manage tunnel 2023-07-23 21:43:25 -04:00
Tsu-ba-me
711cb5b696 refactor: rename striker-open-ssh-tunnel->anvil-manage-tunnel 2023-07-23 21:43:25 -04:00
Tsu-ba-me
40e94cda46 fix(tools): enable open parent connection, child tunnel in open ssh tunnel 2023-07-23 21:43:25 -04:00
Tsu-ba-me
f2d3b06a10 fix(tools): remove all remote calls in manage vnc pipes 2023-07-23 21:43:25 -04:00
Tsu-ba-me
6c776e5a6a fix(tools): enable remote forward in open ssh tunnel 2023-07-23 21:43:25 -04:00
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>
2023-07-23 11:02:45 -04:00
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>
2023-07-23 11:00:59 -04:00
digimer
9b90647cc0 Fixed a bug where the XML output was not valid.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-22 22:28:25 -04:00
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>
2023-07-22 22:21:48 -04:00
digimer
01b714f3b3 Fixed typo from issue #369.
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-22 20:09:13 -04:00
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>
2023-07-22 20:03:39 -04:00
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>
2023-07-22 18:09:01 -04:00