Commit Graph

3562 Commits

Author SHA1 Message Date
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
Tsu-ba-me
5d0d521d91 build(striker-ui): rebuild 2023-07-20 22:28:04 -04:00
Tsu-ba-me
37f427aa64 fix(striker-ui): use full host string instead of hostname when building server VNC url 2023-07-20 22:28:04 -04:00
Tsu-ba-me
d2a61da663 chore: remove anvil-manage-tunnel 2023-07-20 22:28:04 -04:00
Tsu-ba-me
9d3f5b6b7f build: disable apache free ports for striker-ui-api 2023-07-20 22:28:04 -04:00
Tsu-ba-me
3a65915943 build(striker-ui): rebuild 2023-07-20 22:28:04 -04:00
Tsu-ba-me
c8a6c09627 build(striker-ui-api): rebuild 2023-07-20 22:28:04 -04:00
Tsu-ba-me
17b445c80d fix(tools): stop ws with source port when target port is unavailable 2023-07-20 22:28:04 -04:00
Tsu-ba-me
adb71c7f80 fix(libvirt): pass domain UUID to avoid name->UUID conversion 2023-07-20 22:28:04 -04:00
Tsu-ba-me
3649526421 fix(tools): handle possible remnant websockify daemon wrapper 2023-07-20 22:28:04 -04:00
Tsu-ba-me
44fa698927 fix(striker-ui): correct types on FullSize 2023-07-20 22:28:04 -04:00
Tsu-ba-me
0ada0d4292 fix(striker-ui): correct VNC key-combo menu colours 2023-07-20 22:28:04 -04:00
Tsu-ba-me
a00a5721d6 fix(striker-ui): auto-reconnect VNC upon failure 2023-07-20 22:28:04 -04:00
Tsu-ba-me
eb907affbc fix(striker-ui): restore server VNC to working state 2023-07-20 22:28:04 -04:00
Tsu-ba-me
04390bc416 chore(striker-ui): reorder imports in /server page 2023-07-20 22:28:04 -04:00
Tsu-ba-me
01addb706e fix(striker-ui-api): forward ws connections to /api/server/vnc/* 2023-07-20 22:28:04 -04:00
Tsu-ba-me
9192212bde chore(striker-ui-api): install http-proxy-middleware 2023-07-20 22:28:04 -04:00
Tsu-ba-me
d70c4cdc35 fix(striker-ui-api): correct reversed check on get server VNC info 2023-07-20 22:28:04 -04:00
Tsu-ba-me
9043023492 fix(tools): match server vncinfo variable name 2023-07-20 22:28:04 -04:00
Tsu-ba-me
7058ef0f4a fix(striker-ui-api): disconnect vnc-related management, only fetch vnc info 2023-07-20 22:28:04 -04:00