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
e86219c484
fix(libvirt): match hook with changes made to manage vnc pipes
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
c46ff969f3
fix: add UUID to server process during find in Server.pm
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
4bdd206e0c
fix: replace ps|grep with pgrep to reduce run time
2023-07-23 21:43:25 -04:00
Tsu-ba-me
ea345a0476
fix: add ss, websockify paths to Tools.pm
2023-07-23 21:43:25 -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
54c98f89ab
fix: allow extend remote call with openssh options
2023-07-23 21:43:25 -04:00
Tsu-ba-me
e28f9a0cf7
docs(libvirt): note hooks execute with uid=0, gid=0
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
Tsu-ba-me
7f9b418de1
fix: add signal INT, TERM hooks to Tools.pm
2023-07-23 21:43:25 -04:00
Digimer
74008ce744
Merge pull request #371 from ylei-tsubame/server-vnc-rework
...
Web UI: rework server VNC
2023-07-23 15:43:41 -04:00
digimer
9ebe192306
This fixes a variable substitution but, addressing issue #338 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-23 15:37:23 -04:00
digimer
7258781712
* Updated scan-cluster to detect stale drbd-fenced attributes in the CIB, generally left after a server is deleted. This addresses issue #374 .
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-23 15:28:43 -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
f998a44077
Removed duplicate anvil-manage-keys.1 from the man 8 section.
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-23 10:29:22 -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
583547af30
Fixed typo, resolves issue #342
...
Signed-off-by: digimer <mkelly@alteeve.ca>
2023-07-22 20:12:20 -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
e83baeb54f
Merge branch 'main' into anvil-tools-dev
2023-07-22 20:08:00 -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
Tsu-ba-me
7ab70d100b
chore(tools): log start/stop pipe errors in manage vnc pipe
2023-07-21 18:09:42 -04:00
Tsu-ba-me
6f4fb35c6a
chore(tools): remove unused anvil-manage-tunnel; missing from d2a61da
2023-07-21 16:43:55 -04:00
Tsu-ba-me
9f9d377171
fix(libvirt): correct log timestamp format
2023-07-21 16:39:55 -04:00